Skip to content

Commit 79b669a

Browse files
SDK regeneration
1 parent 91913a5 commit 79b669a

13 files changed

Lines changed: 72 additions & 7 deletions

pyproject.toml

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

44
[tool.poetry]
55
name = "sayari"
6-
version = "0.1.43"
6+
version = "0.1.44"
77
description = "A Python SDK for Sayari"
88
readme = "README.md"
99
authors = [

src/sayari/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,7 @@
353353
UnprocessableContentResponse,
354354
)
355355
from .shared_types import (
356+
CaseInfo,
356357
CaseStatus,
357358
ClientName,
358359
CompanyType,
@@ -467,6 +468,7 @@
467468
"BusinessPurposeProperties",
468469
"BusinessPurposeStandard",
469470
"BuyerSearchResponse",
471+
"CaseInfo",
470472
"CaseStatus",
471473
"ClientName",
472474
"CompanyStatus",

src/sayari/core/client_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
2222
headers: typing.Dict[str, str] = {
2323
"X-Fern-Language": "Python",
2424
"X-Fern-SDK-Name": "sayari",
25-
"X-Fern-SDK-Version": "0.1.43",
25+
"X-Fern-SDK-Version": "0.1.44",
2626
}
2727
token = self._get_token()
2828
if token is not None:

src/sayari/generated_types/types/identifier_type.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@
4444
"aus_credit_licence_number",
4545
"aus_credit_rep_number",
4646
"aus_passport",
47+
"aus_trademark_reg_no",
4748
"aut_firmenbuch_no",
4849
"aut_uid",
4950
"aze_tin_number",
@@ -287,8 +288,10 @@
287288
"ind_passport",
288289
"ind_permanent_account_number",
289290
"ind_society_registration_number",
291+
"ind_techsalerator_id",
290292
"ind_tin",
291293
"ind_trademark_submission_ref",
294+
"ind_udyam",
292295
"int_maritime_org_id",
293296
"internal_curated_merge_id",
294297
"internal_curated_split_id",
@@ -328,6 +331,7 @@
328331
"jpn_edinet_code",
329332
"jpn_trade_internal_shipment_id",
330333
"kaz_bin",
334+
"kaz_business_identification_number",
331335
"kaz_identifier",
332336
"kaz_okpo_num",
333337
"kaz_state_reg_num",
@@ -545,6 +549,8 @@
545549
"tjk_ein_number",
546550
"tjk_tin_number",
547551
"tokyo_stock_exchange_no",
552+
"ton_reg_id",
553+
"ton_tax_id",
548554
"tto_biz_number",
549555
"tun_passport",
550556
"tur_id",
@@ -701,6 +707,7 @@
701707
"wcpfc_rfmo_id",
702708
"wipo_intl_ref_no",
703709
"wipo_intl_reg_no",
710+
"wsm_reg_id",
704711
"xxx_acuris_id",
705712
"xxx_cedar_rose_uid",
706713
"xxx_crb_monitor_entity_id",

src/sayari/generated_types/types/risk.py

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"aspi_uyghur_forced_labor_report_entity_adjacent",
99
"basel_aml",
1010
"bis_addresses_high_diversion_risk",
11+
"bis_affiliates_50_percent_rule",
1112
"bis_boycott_requester_list",
1213
"chinese_soe_adjacent",
1314
"chinese_state_owned",
@@ -40,12 +41,15 @@
4041
"export_controls_bis_entity_50_percent_rule",
4142
"export_controls_bis_meu",
4243
"export_controls_bis_meu_50_percent_rule",
44+
"export_controls_other",
45+
"export_controls_other_adjacent",
4346
"export_controls_section_1260h",
4447
"export_controls_section_1260h_50_percent_rule",
4548
"export_controls_unverified_list",
4649
"export_controls_unverified_list_50_percent_rule",
4750
"export_to_chinese_soe",
4851
"export_to_sanctioned",
52+
"export_to_sanctioned_other",
4953
"export_to_soe",
5054
"exports_bis_high_priority_items_critical_components_direct",
5155
"exports_bis_high_priority_items_critical_components_indirect",
@@ -202,6 +206,7 @@
202206
"owned_by_chinese_soe",
203207
"owned_by_cmic_entity",
204208
"owned_by_entity_in_export_controls",
209+
"owned_by_entity_in_export_controls_other",
205210
"owned_by_forced_labor_xinjiang_uflpa",
206211
"owned_by_jpn_meti_end_user_entity",
207212
"owned_by_jpn_mofa_export_ban_entity",
@@ -233,6 +238,7 @@
233238
"owned_by_sanctioned_mys_moha_entity",
234239
"owned_by_sanctioned_nld_mofa_entity",
235240
"owned_by_sanctioned_nzl_mfat_rus_entity",
241+
"owned_by_sanctioned_other_entity",
236242
"owned_by_sanctioned_pol_mia_entity",
237243
"owned_by_sanctioned_sgp_agc_entity",
238244
"owned_by_sanctioned_ukr_nsdc_entity",
@@ -257,6 +263,7 @@
257263
"owner_of_aspi_forced_labor_entity",
258264
"owner_of_chinese_soe",
259265
"owner_of_export_controls_entity",
266+
"owner_of_export_controls_other_entity",
260267
"owner_of_forced_labor_xinjiang_entity",
261268
"owner_of_forced_labor_xinjiang_uflpa",
262269
"owner_of_jpn_meti_end_user_entity",
@@ -289,6 +296,7 @@
289296
"owner_of_sanctioned_mys_moha_entity",
290297
"owner_of_sanctioned_nld_mofa_entity",
291298
"owner_of_sanctioned_nzl_mfat_rus_entity",
299+
"owner_of_sanctioned_other_entity",
292300
"owner_of_sanctioned_pol_mia_entity",
293301
"owner_of_sanctioned_sgp_agc_entity",
294302
"owner_of_sanctioned_ukr_nsdc_entity",
@@ -319,10 +327,12 @@
319327
"psa_export_controls",
320328
"psa_export_controls_bis_entity_50_percent_rule",
321329
"psa_export_controls_bis_meu_50_percent_rule",
330+
"psa_export_controls_other",
322331
"psa_export_controls_section_1260h_50_percent_rule",
323332
"psa_export_controls_unverified_list_50_percent_rule",
324333
"psa_export_to_chinese_soe",
325334
"psa_export_to_sanctioned",
335+
"psa_export_to_sanctioned_other",
326336
"psa_export_to_soe",
327337
"psa_exports_bis_high_priority_items_critical_components_direct",
328338
"psa_exports_bis_high_priority_items_critical_components_indirect",
@@ -429,6 +439,7 @@
429439
"psa_owned_by_chinese_soe",
430440
"psa_owned_by_cmic_entity",
431441
"psa_owned_by_entity_in_export_controls",
442+
"psa_owned_by_entity_in_export_controls_other",
432443
"psa_owned_by_forced_labor_xinjiang_uflpa",
433444
"psa_owned_by_jpn_meti_end_user_entity",
434445
"psa_owned_by_jpn_mofa_export_ban_entity",
@@ -460,6 +471,7 @@
460471
"psa_owned_by_sanctioned_mys_moha_entity",
461472
"psa_owned_by_sanctioned_nld_mofa_entity",
462473
"psa_owned_by_sanctioned_nzl_mfat_rus_entity",
474+
"psa_owned_by_sanctioned_other_entity",
463475
"psa_owned_by_sanctioned_pol_mia_entity",
464476
"psa_owned_by_sanctioned_sgp_agc_entity",
465477
"psa_owned_by_sanctioned_ukr_nsdc_entity",
@@ -484,6 +496,7 @@
484496
"psa_owner_of_aspi_forced_labor_entity",
485497
"psa_owner_of_chinese_soe",
486498
"psa_owner_of_export_controls_entity",
499+
"psa_owner_of_export_controls_other_entity",
487500
"psa_owner_of_forced_labor_xinjiang_entity",
488501
"psa_owner_of_forced_labor_xinjiang_uflpa",
489502
"psa_owner_of_jpn_meti_end_user_entity",
@@ -516,6 +529,7 @@
516529
"psa_owner_of_sanctioned_mys_moha_entity",
517530
"psa_owner_of_sanctioned_nld_mofa_entity",
518531
"psa_owner_of_sanctioned_nzl_mfat_rus_entity",
532+
"psa_owner_of_sanctioned_other_entity",
519533
"psa_owner_of_sanctioned_pol_mia_entity",
520534
"psa_owner_of_sanctioned_sgp_agc_entity",
521535
"psa_owner_of_sanctioned_ukr_nsdc_entity",
@@ -558,6 +572,7 @@
558572
"psa_sanctioned_mys_moha",
559573
"psa_sanctioned_nld_mofa",
560574
"psa_sanctioned_nzl_mfat_rus",
575+
"psa_sanctioned_other",
561576
"psa_sanctioned_pol_mia",
562577
"psa_sanctioned_sgp_agc",
563578
"psa_sanctioned_ukr_nsdc",
@@ -616,6 +631,8 @@
616631
"sanctioned_mys_moha",
617632
"sanctioned_nld_mofa",
618633
"sanctioned_nzl_mfat_rus",
634+
"sanctioned_other",
635+
"sanctioned_other_adjacent",
619636
"sanctioned_pol_mia",
620637
"sanctioned_sgp_agc",
621638
"sanctioned_ukr_nsdc",

src/sayari/generated_types/types/weak_identifier_type.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
"ind_sebi",
5555
"ind_shipment_bill_id",
5656
"int_trade_internal_shipment_id",
57+
"international_trademark_no",
5758
"irl_registration_no",
5859
"irn_reg_number",
5960
"irq_provision_card",
@@ -129,6 +130,7 @@
129130
"south_africa_partial_id_number",
130131
"svk_filing_number",
131132
"tokyo_shoko_id",
133+
"ton_foreign_investor_id",
132134
"tur_declaration_number",
133135
"tur_office_registration_number",
134136
"tur_partial_mersis_number",

src/sayari/project_entity/types/project_entities_response.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class ProjectEntitiesResponse(UniversalBaseModel):
2727
TradeCounts,
2828
UpstreamInfo,
2929
)
30+
from sayari.shared_types import CaseInfo
3031
3132
ProjectEntitiesResponse(
3233
limit=20,
@@ -138,7 +139,11 @@ class ProjectEntitiesResponse(UniversalBaseModel):
138139
products=[],
139140
),
140141
tags=[],
141-
case="not_assigned",
142+
case=CaseInfo(
143+
id="YZB88Y",
144+
status="not_assigned",
145+
created_at="2025-10-02",
146+
),
142147
matches=[
143148
ProjectEntityMatchResponse(
144149
match_id="52z4Wa:dy-rh2g0QtzUN_jC_e9S_A",

src/sayari/project_entity/types/project_entity_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
from .project_risk_factor import ProjectRiskFactor
99
from .upstream_info import UpstreamInfo
1010
from .tag_response import TagResponse
11-
from ...shared_types.types.case_status import CaseStatus
11+
from ...shared_types.types.case_info import CaseInfo
1212
from .project_entity_match_response import ProjectEntityMatchResponse
1313
from ...core.pydantic_utilities import IS_PYDANTIC_V2
1414
import pydantic
@@ -27,7 +27,7 @@ class ProjectEntityResponse(UniversalBaseModel):
2727
risk_factors: typing.List[ProjectRiskFactor]
2828
upstream: UpstreamInfo
2929
tags: typing.List[TagResponse]
30-
case: typing.Optional[CaseStatus] = None
30+
case: typing.Optional[CaseInfo] = None
3131
matches: typing.List[ProjectEntityMatchResponse]
3232
updated_at: typing.Optional[str] = None
3333

src/sayari/project_entity/types/single_project_entity_response.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ class SingleProjectEntityResponse(UniversalBaseModel):
2525
TradeCounts,
2626
UpstreamInfo,
2727
)
28+
from sayari.shared_types import CaseInfo
2829
2930
SingleProjectEntityResponse(
3031
data=ProjectEntityResponse(
@@ -134,7 +135,11 @@ class SingleProjectEntityResponse(UniversalBaseModel):
134135
products=[],
135136
),
136137
tags=[],
137-
case="not_assigned",
138+
case=CaseInfo(
139+
id="YVB88Y",
140+
status="not_assigned",
141+
created_at="2025-10-02",
142+
),
138143
matches=[
139144
ProjectEntityMatchResponse(
140145
match_id="52z4Wa:dy-rh2g0QtzUN_jC_e9S_A",

src/sayari/shared_types/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# This file was auto-generated by Fern from our API Definition.
22

33
from .types import (
4+
CaseInfo,
45
CaseStatus,
56
ClientName,
67
CompanyType,
@@ -42,6 +43,7 @@
4243
)
4344

4445
__all__ = [
46+
"CaseInfo",
4547
"CaseStatus",
4648
"ClientName",
4749
"CompanyType",

0 commit comments

Comments
 (0)