Skip to content

Commit e0b76ef

Browse files
Release 1.8.37
1 parent 96fa27d commit e0b76ef

19 files changed

Lines changed: 264 additions & 6 deletions

poetry.lock

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

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.36"
6+
version = "1.8.37"
77
description = ""
88
readme = "README.md"
99
authors = []

reference.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,6 +1931,14 @@ client.business_users.create(
19311931
<dl>
19321932
<dd>
19331933

1934+
**associated_parties:** `typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]]` — Parties associated with the company. Can be another company or an individual
1935+
1936+
</dd>
1937+
</dl>
1938+
1939+
<dl>
1940+
<dd>
1941+
19341942
**business_partners:** `typing.Optional[typing.Sequence[LegalEntity]]` — Business partners of the company
19351943

19361944
</dd>

src/flagright/__init__.py

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
BatchBusinessUserEventWithRulesResult,
2020
BatchBusinessUserEventsWithRulesResult,
2121
BatchBusinessUserWithRulesResult,
22+
BatchBusinessUserWithRulesResultAssociatedPartiesItem,
2223
BatchBusinessUserWithRulesResultSavedPaymentDetailsItem,
2324
BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Ach,
2425
BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Card,
@@ -70,8 +71,10 @@
7071
BlockchainRiskSubjectType,
7172
BooleanString,
7273
Business,
74+
BusinessAssociatedPartiesItem,
7375
BusinessBase,
7476
BusinessOptional,
77+
BusinessOptionalAssociatedPartiesItem,
7578
BusinessOptionalSavedPaymentDetailsItem,
7679
BusinessOptionalSavedPaymentDetailsItem_Ach,
7780
BusinessOptionalSavedPaymentDetailsItem_Card,
@@ -103,6 +106,7 @@
103106
BusinessUserMonitoringResult,
104107
BusinessUserSegment,
105108
BusinessWithRulesResult,
109+
BusinessWithRulesResultAssociatedPartiesItem,
106110
BusinessWithRulesResultSavedPaymentDetailsItem,
107111
BusinessWithRulesResultSavedPaymentDetailsItem_Ach,
108112
BusinessWithRulesResultSavedPaymentDetailsItem_Card,
@@ -172,6 +176,7 @@
172176
KycStatusDetails,
173177
LegalDocument,
174178
LegalEntity,
179+
LegalEntityWithRole,
175180
ListData,
176181
ListExisted,
177182
ListHeader,
@@ -199,6 +204,7 @@
199204
PepStatus,
200205
Person,
201206
PersonAttachment,
207+
PersonWithRole,
202208
PlaceOfBirth,
203209
PosDetails,
204210
PosEntryMode,
@@ -406,6 +412,7 @@
406412
"BatchBusinessUserEventWithRulesResult": ".types",
407413
"BatchBusinessUserEventsWithRulesResult": ".types",
408414
"BatchBusinessUserWithRulesResult": ".types",
415+
"BatchBusinessUserWithRulesResultAssociatedPartiesItem": ".types",
409416
"BatchBusinessUserWithRulesResultSavedPaymentDetailsItem": ".types",
410417
"BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Ach": ".types",
411418
"BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Card": ".types",
@@ -457,8 +464,10 @@
457464
"BlockchainRiskSubjectType": ".types",
458465
"BooleanString": ".types",
459466
"Business": ".types",
467+
"BusinessAssociatedPartiesItem": ".types",
460468
"BusinessBase": ".types",
461469
"BusinessOptional": ".types",
470+
"BusinessOptionalAssociatedPartiesItem": ".types",
462471
"BusinessOptionalSavedPaymentDetailsItem": ".types",
463472
"BusinessOptionalSavedPaymentDetailsItem_Ach": ".types",
464473
"BusinessOptionalSavedPaymentDetailsItem_Card": ".types",
@@ -491,6 +500,7 @@
491500
"BusinessUserSegment": ".types",
492501
"BusinessUsersCreateResponse": ".business_users",
493502
"BusinessWithRulesResult": ".types",
503+
"BusinessWithRulesResultAssociatedPartiesItem": ".types",
494504
"BusinessWithRulesResultSavedPaymentDetailsItem": ".types",
495505
"BusinessWithRulesResultSavedPaymentDetailsItem_Ach": ".types",
496506
"BusinessWithRulesResultSavedPaymentDetailsItem_Card": ".types",
@@ -564,6 +574,7 @@
564574
"KycStatusDetails": ".types",
565575
"LegalDocument": ".types",
566576
"LegalEntity": ".types",
577+
"LegalEntityWithRole": ".types",
567578
"ListData": ".types",
568579
"ListExisted": ".types",
569580
"ListHeader": ".types",
@@ -592,6 +603,7 @@
592603
"PepStatus": ".types",
593604
"Person": ".types",
594605
"PersonAttachment": ".types",
606+
"PersonWithRole": ".types",
595607
"PlaceOfBirth": ".types",
596608
"PosDetails": ".types",
597609
"PosEntryMode": ".types",
@@ -817,6 +829,7 @@ def __dir__():
817829
"BatchBusinessUserEventWithRulesResult",
818830
"BatchBusinessUserEventsWithRulesResult",
819831
"BatchBusinessUserWithRulesResult",
832+
"BatchBusinessUserWithRulesResultAssociatedPartiesItem",
820833
"BatchBusinessUserWithRulesResultSavedPaymentDetailsItem",
821834
"BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Ach",
822835
"BatchBusinessUserWithRulesResultSavedPaymentDetailsItem_Card",
@@ -868,8 +881,10 @@ def __dir__():
868881
"BlockchainRiskSubjectType",
869882
"BooleanString",
870883
"Business",
884+
"BusinessAssociatedPartiesItem",
871885
"BusinessBase",
872886
"BusinessOptional",
887+
"BusinessOptionalAssociatedPartiesItem",
873888
"BusinessOptionalSavedPaymentDetailsItem",
874889
"BusinessOptionalSavedPaymentDetailsItem_Ach",
875890
"BusinessOptionalSavedPaymentDetailsItem_Card",
@@ -902,6 +917,7 @@ def __dir__():
902917
"BusinessUserSegment",
903918
"BusinessUsersCreateResponse",
904919
"BusinessWithRulesResult",
920+
"BusinessWithRulesResultAssociatedPartiesItem",
905921
"BusinessWithRulesResultSavedPaymentDetailsItem",
906922
"BusinessWithRulesResultSavedPaymentDetailsItem_Ach",
907923
"BusinessWithRulesResultSavedPaymentDetailsItem_Card",
@@ -975,6 +991,7 @@ def __dir__():
975991
"KycStatusDetails",
976992
"LegalDocument",
977993
"LegalEntity",
994+
"LegalEntityWithRole",
978995
"ListData",
979996
"ListExisted",
980997
"ListHeader",
@@ -1003,6 +1020,7 @@ def __dir__():
10031020
"PepStatus",
10041021
"Person",
10051022
"PersonAttachment",
1023+
"PersonWithRole",
10061024
"PlaceOfBirth",
10071025
"PosDetails",
10081026
"PosEntryMode",

src/flagright/business_users/client.py

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
from ..core.request_options import RequestOptions
77
from ..types.acquisition_channel import AcquisitionChannel
88
from ..types.boolean_string import BooleanString
9+
from ..types.business_associated_parties_item import BusinessAssociatedPartiesItem
910
from ..types.business_saved_payment_details_item import BusinessSavedPaymentDetailsItem
1011
from ..types.business_share_holders_item import BusinessShareHoldersItem
1112
from ..types.business_with_rules_result import BusinessWithRulesResult
@@ -62,6 +63,7 @@ def create(
6263
corporate_entities: typing.Optional[typing.Sequence[CorporateEntityDetails]] = OMIT,
6364
share_holders: typing.Optional[typing.Sequence[BusinessShareHoldersItem]] = OMIT,
6465
directors: typing.Optional[typing.Sequence[Person]] = OMIT,
66+
associated_parties: typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]] = OMIT,
6567
business_partners: typing.Optional[typing.Sequence[LegalEntity]] = OMIT,
6668
transaction_limits: typing.Optional[TransactionLimits] = OMIT,
6769
risk_level: typing.Optional[RiskLevel] = OMIT,
@@ -136,6 +138,9 @@ def create(
136138
directors : typing.Optional[typing.Sequence[Person]]
137139
Director(s) of the company. Must be at least one
138140
141+
associated_parties : typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]]
142+
Parties associated with the company. Can be another company or an individual
143+
139144
business_partners : typing.Optional[typing.Sequence[LegalEntity]]
140145
Business partners of the company
141146
@@ -225,6 +230,7 @@ def create(
225230
corporate_entities=corporate_entities,
226231
share_holders=share_holders,
227232
directors=directors,
233+
associated_parties=associated_parties,
228234
business_partners=business_partners,
229235
transaction_limits=transaction_limits,
230236
risk_level=risk_level,
@@ -315,6 +321,7 @@ async def create(
315321
corporate_entities: typing.Optional[typing.Sequence[CorporateEntityDetails]] = OMIT,
316322
share_holders: typing.Optional[typing.Sequence[BusinessShareHoldersItem]] = OMIT,
317323
directors: typing.Optional[typing.Sequence[Person]] = OMIT,
324+
associated_parties: typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]] = OMIT,
318325
business_partners: typing.Optional[typing.Sequence[LegalEntity]] = OMIT,
319326
transaction_limits: typing.Optional[TransactionLimits] = OMIT,
320327
risk_level: typing.Optional[RiskLevel] = OMIT,
@@ -389,6 +396,9 @@ async def create(
389396
directors : typing.Optional[typing.Sequence[Person]]
390397
Director(s) of the company. Must be at least one
391398
399+
associated_parties : typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]]
400+
Parties associated with the company. Can be another company or an individual
401+
392402
business_partners : typing.Optional[typing.Sequence[LegalEntity]]
393403
Business partners of the company
394404
@@ -486,6 +496,7 @@ async def main() -> None:
486496
corporate_entities=corporate_entities,
487497
share_holders=share_holders,
488498
directors=directors,
499+
associated_parties=associated_parties,
489500
business_partners=business_partners,
490501
transaction_limits=transaction_limits,
491502
risk_level=risk_level,

src/flagright/business_users/raw_client.py

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
from ..types.acquisition_channel import AcquisitionChannel
1717
from ..types.api_error_response import ApiErrorResponse
1818
from ..types.boolean_string import BooleanString
19+
from ..types.business_associated_parties_item import BusinessAssociatedPartiesItem
1920
from ..types.business_saved_payment_details_item import BusinessSavedPaymentDetailsItem
2021
from ..types.business_share_holders_item import BusinessShareHoldersItem
2122
from ..types.business_with_rules_result import BusinessWithRulesResult
@@ -60,6 +61,7 @@ def create(
6061
corporate_entities: typing.Optional[typing.Sequence[CorporateEntityDetails]] = OMIT,
6162
share_holders: typing.Optional[typing.Sequence[BusinessShareHoldersItem]] = OMIT,
6263
directors: typing.Optional[typing.Sequence[Person]] = OMIT,
64+
associated_parties: typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]] = OMIT,
6365
business_partners: typing.Optional[typing.Sequence[LegalEntity]] = OMIT,
6466
transaction_limits: typing.Optional[TransactionLimits] = OMIT,
6567
risk_level: typing.Optional[RiskLevel] = OMIT,
@@ -134,6 +136,9 @@ def create(
134136
directors : typing.Optional[typing.Sequence[Person]]
135137
Director(s) of the company. Must be at least one
136138
139+
associated_parties : typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]]
140+
Parties associated with the company. Can be another company or an individual
141+
137142
business_partners : typing.Optional[typing.Sequence[LegalEntity]]
138143
Business partners of the company
139144
@@ -218,6 +223,11 @@ def create(
218223
"directors": convert_and_respect_annotation_metadata(
219224
object_=directors, annotation=typing.Sequence[Person], direction="write"
220225
),
226+
"associatedParties": convert_and_respect_annotation_metadata(
227+
object_=associated_parties,
228+
annotation=typing.Sequence[BusinessAssociatedPartiesItem],
229+
direction="write",
230+
),
221231
"businessPartners": convert_and_respect_annotation_metadata(
222232
object_=business_partners, annotation=typing.Sequence[LegalEntity], direction="write"
223233
),
@@ -411,6 +421,7 @@ async def create(
411421
corporate_entities: typing.Optional[typing.Sequence[CorporateEntityDetails]] = OMIT,
412422
share_holders: typing.Optional[typing.Sequence[BusinessShareHoldersItem]] = OMIT,
413423
directors: typing.Optional[typing.Sequence[Person]] = OMIT,
424+
associated_parties: typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]] = OMIT,
414425
business_partners: typing.Optional[typing.Sequence[LegalEntity]] = OMIT,
415426
transaction_limits: typing.Optional[TransactionLimits] = OMIT,
416427
risk_level: typing.Optional[RiskLevel] = OMIT,
@@ -485,6 +496,9 @@ async def create(
485496
directors : typing.Optional[typing.Sequence[Person]]
486497
Director(s) of the company. Must be at least one
487498
499+
associated_parties : typing.Optional[typing.Sequence[BusinessAssociatedPartiesItem]]
500+
Parties associated with the company. Can be another company or an individual
501+
488502
business_partners : typing.Optional[typing.Sequence[LegalEntity]]
489503
Business partners of the company
490504
@@ -569,6 +583,11 @@ async def create(
569583
"directors": convert_and_respect_annotation_metadata(
570584
object_=directors, annotation=typing.Sequence[Person], direction="write"
571585
),
586+
"associatedParties": convert_and_respect_annotation_metadata(
587+
object_=associated_parties,
588+
annotation=typing.Sequence[BusinessAssociatedPartiesItem],
589+
direction="write",
590+
),
572591
"businessPartners": convert_and_respect_annotation_metadata(
573592
object_=business_partners, annotation=typing.Sequence[LegalEntity], direction="write"
574593
),

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.36",
25+
"User-Agent": "flagright/1.8.37",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "flagright",
28-
"X-Fern-SDK-Version": "1.8.36",
28+
"X-Fern-SDK-Version": "1.8.37",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
headers["x-api-key"] = self.api_key

0 commit comments

Comments
 (0)