Skip to content

Commit 5de0fa1

Browse files
SDK regeneration
1 parent 91913a5 commit 5de0fa1

30 files changed

+924
-24
lines changed

poetry.lock

Lines changed: 6 additions & 6 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 = "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 = [

reference.md

Lines changed: 193 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3684,6 +3684,190 @@ client.project_entity.get_project_entity(
36843684
</dl>
36853685

36863686

3687+
</dd>
3688+
</dl>
3689+
</details>
3690+
3691+
<details><summary><code>client.project_entity.<a href="src/sayari/project_entity/client.py">add_project_entity_matches</a>(...)</code></summary>
3692+
<dl>
3693+
<dd>
3694+
3695+
#### 📝 Description
3696+
3697+
<dl>
3698+
<dd>
3699+
3700+
<dl>
3701+
<dd>
3702+
3703+
Adds matches to a project entity.
3704+
</dd>
3705+
</dl>
3706+
</dd>
3707+
</dl>
3708+
3709+
#### 🔌 Usage
3710+
3711+
<dl>
3712+
<dd>
3713+
3714+
<dl>
3715+
<dd>
3716+
3717+
```python
3718+
from sayari import Sayari
3719+
from sayari.project_entity import UpdateProjectEntityMatchesBody
3720+
3721+
client = Sayari(
3722+
client_id="YOUR_CLIENT_ID",
3723+
client_secret="YOUR_CLIENT_SECRET",
3724+
)
3725+
client.project_entity.add_project_entity_matches(
3726+
project_id="project_id",
3727+
project_entity_id="project_entity_id",
3728+
request=UpdateProjectEntityMatchesBody(
3729+
entity_ids=["entity_ids", "entity_ids"],
3730+
),
3731+
)
3732+
3733+
```
3734+
</dd>
3735+
</dl>
3736+
</dd>
3737+
</dl>
3738+
3739+
#### ⚙️ Parameters
3740+
3741+
<dl>
3742+
<dd>
3743+
3744+
<dl>
3745+
<dd>
3746+
3747+
**project_id:** `str`
3748+
3749+
</dd>
3750+
</dl>
3751+
3752+
<dl>
3753+
<dd>
3754+
3755+
**project_entity_id:** `str`
3756+
3757+
</dd>
3758+
</dl>
3759+
3760+
<dl>
3761+
<dd>
3762+
3763+
**request:** `UpdateProjectEntityMatchesBody`
3764+
3765+
</dd>
3766+
</dl>
3767+
3768+
<dl>
3769+
<dd>
3770+
3771+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3772+
3773+
</dd>
3774+
</dl>
3775+
</dd>
3776+
</dl>
3777+
3778+
3779+
</dd>
3780+
</dl>
3781+
</details>
3782+
3783+
<details><summary><code>client.project_entity.<a href="src/sayari/project_entity/client.py">replace_project_entity_matches</a>(...)</code></summary>
3784+
<dl>
3785+
<dd>
3786+
3787+
#### 📝 Description
3788+
3789+
<dl>
3790+
<dd>
3791+
3792+
<dl>
3793+
<dd>
3794+
3795+
Replace matches in a project entity.
3796+
</dd>
3797+
</dl>
3798+
</dd>
3799+
</dl>
3800+
3801+
#### 🔌 Usage
3802+
3803+
<dl>
3804+
<dd>
3805+
3806+
<dl>
3807+
<dd>
3808+
3809+
```python
3810+
from sayari import Sayari
3811+
from sayari.project_entity import UpdateProjectEntityMatchesBody
3812+
3813+
client = Sayari(
3814+
client_id="YOUR_CLIENT_ID",
3815+
client_secret="YOUR_CLIENT_SECRET",
3816+
)
3817+
client.project_entity.replace_project_entity_matches(
3818+
project_id="project_id",
3819+
project_entity_id="project_entity_id",
3820+
request=UpdateProjectEntityMatchesBody(
3821+
entity_ids=["entity_ids", "entity_ids"],
3822+
),
3823+
)
3824+
3825+
```
3826+
</dd>
3827+
</dl>
3828+
</dd>
3829+
</dl>
3830+
3831+
#### ⚙️ Parameters
3832+
3833+
<dl>
3834+
<dd>
3835+
3836+
<dl>
3837+
<dd>
3838+
3839+
**project_id:** `str`
3840+
3841+
</dd>
3842+
</dl>
3843+
3844+
<dl>
3845+
<dd>
3846+
3847+
**project_entity_id:** `str`
3848+
3849+
</dd>
3850+
</dl>
3851+
3852+
<dl>
3853+
<dd>
3854+
3855+
**request:** `UpdateProjectEntityMatchesBody`
3856+
3857+
</dd>
3858+
</dl>
3859+
3860+
<dl>
3861+
<dd>
3862+
3863+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3864+
3865+
</dd>
3866+
</dl>
3867+
</dd>
3868+
</dl>
3869+
3870+
36873871
</dd>
36883872
</dl>
36893873
</details>
@@ -5016,6 +5200,7 @@ client = Sayari(
50165200
client.project.create_project(
50175201
request=CreateProjectRequest(
50185202
label="My First Project",
5203+
type="network",
50195204
share=ProjectShareOnCreate(
50205205
org="admin",
50215206
),
@@ -5140,6 +5325,14 @@ client.project.get_projects(
51405325
<dl>
51415326
<dd>
51425327

5328+
**type:** `typing.Optional[ProjectType]` — Which project types to return
5329+
5330+
</dd>
5331+
</dl>
5332+
5333+
<dl>
5334+
<dd>
5335+
51435336
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
51445337

51455338
</dd>

src/sayari/__init__.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,7 @@
204204
ProjectEntity,
205205
ProjectEntityUpstream,
206206
ProjectShareOnCreate,
207+
ProjectType,
207208
ProjectWithMembers,
208209
PsaSummary,
209210
Role,
@@ -279,6 +280,8 @@
279280
TradeCounts,
280281
Translation,
281282
UpdateEntityTagsResponse,
283+
UpdateProjectEntityMatchesBody,
284+
UpdateProjectEntityMatchesResponse,
282285
UpdateProjectEntityTagsBody,
283286
UpstreamCount,
284287
UpstreamInfo,
@@ -353,6 +356,7 @@
353356
UnprocessableContentResponse,
354357
)
355358
from .shared_types import (
359+
CaseInfo,
356360
CaseStatus,
357361
ClientName,
358362
CompanyType,
@@ -467,6 +471,7 @@
467471
"BusinessPurposeProperties",
468472
"BusinessPurposeStandard",
469473
"BuyerSearchResponse",
474+
"CaseInfo",
470475
"CaseStatus",
471476
"ClientName",
472477
"CompanyStatus",
@@ -692,6 +697,7 @@
692697
"ProjectRiskChangesResponseData",
693698
"ProjectRiskFactor",
694699
"ProjectShareOnCreate",
700+
"ProjectType",
695701
"ProjectWithMembers",
696702
"Psa",
697703
"PsaEntity",
@@ -817,6 +823,8 @@
817823
"UpdateProjectEntityAttributeRequest",
818824
"UpdateProjectEntityAttributeResponse",
819825
"UpdateProjectEntityAttributeResponseData",
826+
"UpdateProjectEntityMatchesBody",
827+
"UpdateProjectEntityMatchesResponse",
820828
"UpdateProjectEntityTagsBody",
821829
"UpstreamCount",
822830
"UpstreamInfo",

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",

0 commit comments

Comments
 (0)