Skip to content

Commit 1f19986

Browse files
Release 1.8.72
1 parent 1e5fb6e commit 1f19986

29 files changed

Lines changed: 251 additions & 3 deletions

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name = "flagright"
33

44
[tool.poetry]
55
name = "flagright"
6-
version = "1.8.71"
6+
version = "1.8.72"
77
description = ""
88
readme = "README.md"
99
authors = []

‎reference.md‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,14 @@ client.transactions.verify(
331331
<dl>
332332
<dd>
333333

334+
**custom_object:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Typed Object defined on the console for additional data
335+
336+
</dd>
337+
</dl>
338+
339+
<dl>
340+
<dd>
341+
334342
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
335343

336344
</dd>
@@ -2037,6 +2045,14 @@ client.consumer_users.create(
20372045
<dl>
20382046
<dd>
20392047

2048+
**custom_object:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Typed Object defined on the console for additional data
2049+
2050+
</dd>
2051+
</dl>
2052+
2053+
<dl>
2054+
<dd>
2055+
20402056
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
20412057

20422058
</dd>
@@ -2471,6 +2487,14 @@ client.business_users.create(
24712487
<dl>
24722488
<dd>
24732489

2490+
**custom_object:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]` — Typed Object defined on the console for additional data
2491+
2492+
</dd>
2493+
</dl>
2494+
2495+
<dl>
2496+
<dd>
2497+
24742498
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
24752499

24762500
</dd>

‎src/flagright/__init__.py‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
AdverseMediaStatus,
1515
AlertOpenedDetails,
1616
AlertStatusDetails,
17+
AlertTagsUpdate,
1718
Amount,
1819
ApiErrorResponse,
1920
BatchBusinessUserEventWithRulesResult,
@@ -138,6 +139,7 @@
138139
CaseManagementEventCaseStatusReason,
139140
CaseOpenedDetails,
140141
CaseStatusDetails,
142+
CaseTagsUpdate,
141143
CaseType,
142144
CashDetails,
143145
CashPaymentMethod,
@@ -374,6 +376,7 @@
374376
UserStateDetails,
375377
UserTag,
376378
UserTagsUpdate,
379+
UserType,
377380
UserWithRulesResult,
378381
UserWithRulesResultSavedPaymentDetailsItem,
379382
UserWithRulesResultSavedPaymentDetailsItem_Ach,
@@ -428,6 +431,7 @@
428431
"AdverseMediaStatus": ".types",
429432
"AlertOpenedDetails": ".types",
430433
"AlertStatusDetails": ".types",
434+
"AlertTagsUpdate": ".types",
431435
"Amount": ".types",
432436
"ApiErrorResponse": ".types",
433437
"AsyncFlagright": ".client",
@@ -556,6 +560,7 @@
556560
"CaseManagementEventCaseStatusReason": ".types",
557561
"CaseOpenedDetails": ".types",
558562
"CaseStatusDetails": ".types",
563+
"CaseTagsUpdate": ".types",
559564
"CaseType": ".types",
560565
"CashDetails": ".types",
561566
"CashPaymentMethod": ".types",
@@ -801,6 +806,7 @@
801806
"UserStateDetails": ".types",
802807
"UserTag": ".types",
803808
"UserTagsUpdate": ".types",
809+
"UserType": ".types",
804810
"UserWithRulesResult": ".types",
805811
"UserWithRulesResultSavedPaymentDetailsItem": ".types",
806812
"UserWithRulesResultSavedPaymentDetailsItem_Ach": ".types",
@@ -868,6 +874,7 @@ def __dir__():
868874
"AdverseMediaStatus",
869875
"AlertOpenedDetails",
870876
"AlertStatusDetails",
877+
"AlertTagsUpdate",
871878
"Amount",
872879
"ApiErrorResponse",
873880
"AsyncFlagright",
@@ -996,6 +1003,7 @@ def __dir__():
9961003
"CaseManagementEventCaseStatusReason",
9971004
"CaseOpenedDetails",
9981005
"CaseStatusDetails",
1006+
"CaseTagsUpdate",
9991007
"CaseType",
10001008
"CashDetails",
10011009
"CashPaymentMethod",
@@ -1241,6 +1249,7 @@ def __dir__():
12411249
"UserStateDetails",
12421250
"UserTag",
12431251
"UserTagsUpdate",
1252+
"UserType",
12441253
"UserWithRulesResult",
12451254
"UserWithRulesResultSavedPaymentDetailsItem",
12461255
"UserWithRulesResultSavedPaymentDetailsItem_Ach",

‎src/flagright/business_users/client.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ def create(
8686
sanctions_status: typing.Optional[bool] = OMIT,
8787
adverse_media_status: typing.Optional[bool] = OMIT,
8888
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
89+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
8990
request_options: typing.Optional[RequestOptions] = None,
9091
) -> BusinessUsersCreateResponse:
9192
"""
@@ -191,6 +192,9 @@ def create(
191192
external_links : typing.Optional[typing.Sequence[str]]
192193
External links related to the business user
193194
195+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
196+
Typed Object defined on the console for additional data
197+
194198
request_options : typing.Optional[RequestOptions]
195199
Request-specific configuration.
196200
@@ -257,6 +261,7 @@ def create(
257261
sanctions_status=sanctions_status,
258262
adverse_media_status=adverse_media_status,
259263
external_links=external_links,
264+
custom_object=custom_object,
260265
request_options=request_options,
261266
)
262267
return _response.data
@@ -349,6 +354,7 @@ async def create(
349354
sanctions_status: typing.Optional[bool] = OMIT,
350355
adverse_media_status: typing.Optional[bool] = OMIT,
351356
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
357+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
352358
request_options: typing.Optional[RequestOptions] = None,
353359
) -> BusinessUsersCreateResponse:
354360
"""
@@ -454,6 +460,9 @@ async def create(
454460
external_links : typing.Optional[typing.Sequence[str]]
455461
External links related to the business user
456462
463+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
464+
Typed Object defined on the console for additional data
465+
457466
request_options : typing.Optional[RequestOptions]
458467
Request-specific configuration.
459468
@@ -528,6 +537,7 @@ async def main() -> None:
528537
sanctions_status=sanctions_status,
529538
adverse_media_status=adverse_media_status,
530539
external_links=external_links,
540+
custom_object=custom_object,
531541
request_options=request_options,
532542
)
533543
return _response.data

‎src/flagright/business_users/raw_client.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ def create(
8484
sanctions_status: typing.Optional[bool] = OMIT,
8585
adverse_media_status: typing.Optional[bool] = OMIT,
8686
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
87+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
8788
request_options: typing.Optional[RequestOptions] = None,
8889
) -> HttpResponse[BusinessUsersCreateResponse]:
8990
"""
@@ -189,6 +190,9 @@ def create(
189190
external_links : typing.Optional[typing.Sequence[str]]
190191
External links related to the business user
191192
193+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
194+
Typed Object defined on the console for additional data
195+
192196
request_options : typing.Optional[RequestOptions]
193197
Request-specific configuration.
194198
@@ -279,6 +283,7 @@ def create(
279283
"sanctionsStatus": sanctions_status,
280284
"adverseMediaStatus": adverse_media_status,
281285
"externalLinks": external_links,
286+
"customObject": custom_object,
282287
},
283288
headers={
284289
"content-type": "application/json",
@@ -452,6 +457,7 @@ async def create(
452457
sanctions_status: typing.Optional[bool] = OMIT,
453458
adverse_media_status: typing.Optional[bool] = OMIT,
454459
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
460+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
455461
request_options: typing.Optional[RequestOptions] = None,
456462
) -> AsyncHttpResponse[BusinessUsersCreateResponse]:
457463
"""
@@ -557,6 +563,9 @@ async def create(
557563
external_links : typing.Optional[typing.Sequence[str]]
558564
External links related to the business user
559565
566+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
567+
Typed Object defined on the console for additional data
568+
560569
request_options : typing.Optional[RequestOptions]
561570
Request-specific configuration.
562571
@@ -647,6 +656,7 @@ async def create(
647656
"sanctionsStatus": sanctions_status,
648657
"adverseMediaStatus": adverse_media_status,
649658
"externalLinks": external_links,
659+
"customObject": custom_object,
650660
},
651661
headers={
652662
"content-type": "application/json",

‎src/flagright/consumer_users/client.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ def create(
9393
jurisdiction: typing.Optional[str] = OMIT,
9494
products_enabled: typing.Optional[typing.Sequence[ProductsEnabled]] = OMIT,
9595
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
96+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
9697
request_options: typing.Optional[RequestOptions] = None,
9798
) -> ConsumerUsersCreateResponse:
9899
"""
@@ -197,6 +198,9 @@ def create(
197198
external_links : typing.Optional[typing.Sequence[str]]
198199
External links related to the consumer user
199200
201+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
202+
Typed Object defined on the console for additional data
203+
200204
request_options : typing.Optional[RequestOptions]
201205
Request-specific configuration.
202206
@@ -318,6 +322,7 @@ def create(
318322
jurisdiction=jurisdiction,
319323
products_enabled=products_enabled,
320324
external_links=external_links,
325+
custom_object=custom_object,
321326
request_options=request_options,
322327
)
323328
return _response.data
@@ -413,6 +418,7 @@ async def create(
413418
jurisdiction: typing.Optional[str] = OMIT,
414419
products_enabled: typing.Optional[typing.Sequence[ProductsEnabled]] = OMIT,
415420
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
421+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
416422
request_options: typing.Optional[RequestOptions] = None,
417423
) -> ConsumerUsersCreateResponse:
418424
"""
@@ -517,6 +523,9 @@ async def create(
517523
external_links : typing.Optional[typing.Sequence[str]]
518524
External links related to the consumer user
519525
526+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
527+
Typed Object defined on the console for additional data
528+
520529
request_options : typing.Optional[RequestOptions]
521530
Request-specific configuration.
522531
@@ -646,6 +655,7 @@ async def main() -> None:
646655
jurisdiction=jurisdiction,
647656
products_enabled=products_enabled,
648657
external_links=external_links,
658+
custom_object=custom_object,
649659
request_options=request_options,
650660
)
651661
return _response.data

‎src/flagright/consumer_users/raw_client.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ def create(
9191
jurisdiction: typing.Optional[str] = OMIT,
9292
products_enabled: typing.Optional[typing.Sequence[ProductsEnabled]] = OMIT,
9393
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
94+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
9495
request_options: typing.Optional[RequestOptions] = None,
9596
) -> HttpResponse[ConsumerUsersCreateResponse]:
9697
"""
@@ -195,6 +196,9 @@ def create(
195196
external_links : typing.Optional[typing.Sequence[str]]
196197
External links related to the consumer user
197198
199+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
200+
Typed Object defined on the console for additional data
201+
198202
request_options : typing.Optional[RequestOptions]
199203
Request-specific configuration.
200204
@@ -284,6 +288,7 @@ def create(
284288
object_=products_enabled, annotation=typing.Sequence[ProductsEnabled], direction="write"
285289
),
286290
"externalLinks": external_links,
291+
"customObject": custom_object,
287292
},
288293
headers={
289294
"content-type": "application/json",
@@ -460,6 +465,7 @@ async def create(
460465
jurisdiction: typing.Optional[str] = OMIT,
461466
products_enabled: typing.Optional[typing.Sequence[ProductsEnabled]] = OMIT,
462467
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
468+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
463469
request_options: typing.Optional[RequestOptions] = None,
464470
) -> AsyncHttpResponse[ConsumerUsersCreateResponse]:
465471
"""
@@ -564,6 +570,9 @@ async def create(
564570
external_links : typing.Optional[typing.Sequence[str]]
565571
External links related to the consumer user
566572
573+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
574+
Typed Object defined on the console for additional data
575+
567576
request_options : typing.Optional[RequestOptions]
568577
Request-specific configuration.
569578
@@ -653,6 +662,7 @@ async def create(
653662
object_=products_enabled, annotation=typing.Sequence[ProductsEnabled], direction="write"
654663
),
655664
"externalLinks": external_links,
665+
"customObject": custom_object,
656666
},
657667
headers={
658668
"content-type": "application/json",

‎src/flagright/core/client_wrapper.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(
2222

2323
def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
25-
"User-Agent": "flagright/1.8.71",
25+
"User-Agent": "flagright/1.8.72",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "flagright",
28-
"X-Fern-SDK-Version": "1.8.71",
28+
"X-Fern-SDK-Version": "1.8.72",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
headers["x-api-key"] = self.api_key

‎src/flagright/transactions/client.py‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def verify(
6464
tags: typing.Optional[typing.Sequence[Tag]] = OMIT,
6565
jurisdiction: typing.Optional[str] = OMIT,
6666
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
67+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
6768
request_options: typing.Optional[RequestOptions] = None,
6869
) -> TransactionsVerifyResponse:
6970
"""
@@ -154,6 +155,9 @@ def verify(
154155
external_links : typing.Optional[typing.Sequence[str]]
155156
External links related to the transaction
156157
158+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
159+
Typed Object defined on the console for additional data
160+
157161
request_options : typing.Optional[RequestOptions]
158162
Request-specific configuration.
159163
@@ -267,6 +271,7 @@ def verify(
267271
tags=tags,
268272
jurisdiction=jurisdiction,
269273
external_links=external_links,
274+
custom_object=custom_object,
270275
request_options=request_options,
271276
)
272277
return _response.data
@@ -351,6 +356,7 @@ async def verify(
351356
tags: typing.Optional[typing.Sequence[Tag]] = OMIT,
352357
jurisdiction: typing.Optional[str] = OMIT,
353358
external_links: typing.Optional[typing.Sequence[str]] = OMIT,
359+
custom_object: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
354360
request_options: typing.Optional[RequestOptions] = None,
355361
) -> TransactionsVerifyResponse:
356362
"""
@@ -441,6 +447,9 @@ async def verify(
441447
external_links : typing.Optional[typing.Sequence[str]]
442448
External links related to the transaction
443449
450+
custom_object : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
451+
Typed Object defined on the console for additional data
452+
444453
request_options : typing.Optional[RequestOptions]
445454
Request-specific configuration.
446455
@@ -562,6 +571,7 @@ async def main() -> None:
562571
tags=tags,
563572
jurisdiction=jurisdiction,
564573
external_links=external_links,
574+
custom_object=custom_object,
565575
request_options=request_options,
566576
)
567577
return _response.data

0 commit comments

Comments
 (0)