Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "sayari"

[tool.poetry]
name = "sayari"
version = "0.1.43"
version = "0.1.44"
description = "A Python SDK for Sayari"
readme = "README.md"
authors = [
Expand Down
193 changes: 193 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -3684,6 +3684,190 @@ client.project_entity.get_project_entity(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.project_entity.<a href="src/sayari/project_entity/client.py">add_project_entity_matches</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds matches to a project entity.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from sayari import Sayari
from sayari.project_entity import UpdateProjectEntityMatchesBody

client = Sayari(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
client.project_entity.add_project_entity_matches(
project_id="project_id",
project_entity_id="project_entity_id",
request=UpdateProjectEntityMatchesBody(
entity_ids=["entity_ids", "entity_ids"],
),
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**project_id:** `str`

</dd>
</dl>

<dl>
<dd>

**project_entity_id:** `str`

</dd>
</dl>

<dl>
<dd>

**request:** `UpdateProjectEntityMatchesBody`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.project_entity.<a href="src/sayari/project_entity/client.py">replace_project_entity_matches</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Replace matches in a project entity.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from sayari import Sayari
from sayari.project_entity import UpdateProjectEntityMatchesBody

client = Sayari(
client_id="YOUR_CLIENT_ID",
client_secret="YOUR_CLIENT_SECRET",
)
client.project_entity.replace_project_entity_matches(
project_id="project_id",
project_entity_id="project_entity_id",
request=UpdateProjectEntityMatchesBody(
entity_ids=["entity_ids", "entity_ids"],
),
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**project_id:** `str`

</dd>
</dl>

<dl>
<dd>

**project_entity_id:** `str`

</dd>
</dl>

<dl>
<dd>

**request:** `UpdateProjectEntityMatchesBody`

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down Expand Up @@ -5016,6 +5200,7 @@ client = Sayari(
client.project.create_project(
request=CreateProjectRequest(
label="My First Project",
type="network",
share=ProjectShareOnCreate(
org="admin",
),
Expand Down Expand Up @@ -5140,6 +5325,14 @@ client.project.get_projects(
<dl>
<dd>

**type:** `typing.Optional[ProjectType]` — Which project types to return

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
Expand Down
8 changes: 8 additions & 0 deletions src/sayari/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,7 @@
ProjectEntity,
ProjectEntityUpstream,
ProjectShareOnCreate,
ProjectType,
ProjectWithMembers,
PsaSummary,
Role,
Expand Down Expand Up @@ -279,6 +280,8 @@
TradeCounts,
Translation,
UpdateEntityTagsResponse,
UpdateProjectEntityMatchesBody,
UpdateProjectEntityMatchesResponse,
UpdateProjectEntityTagsBody,
UpstreamCount,
UpstreamInfo,
Expand Down Expand Up @@ -353,6 +356,7 @@
UnprocessableContentResponse,
)
from .shared_types import (
CaseInfo,
CaseStatus,
ClientName,
CompanyType,
Expand Down Expand Up @@ -467,6 +471,7 @@
"BusinessPurposeProperties",
"BusinessPurposeStandard",
"BuyerSearchResponse",
"CaseInfo",
"CaseStatus",
"ClientName",
"CompanyStatus",
Expand Down Expand Up @@ -692,6 +697,7 @@
"ProjectRiskChangesResponseData",
"ProjectRiskFactor",
"ProjectShareOnCreate",
"ProjectType",
"ProjectWithMembers",
"Psa",
"PsaEntity",
Expand Down Expand Up @@ -817,6 +823,8 @@
"UpdateProjectEntityAttributeRequest",
"UpdateProjectEntityAttributeResponse",
"UpdateProjectEntityAttributeResponseData",
"UpdateProjectEntityMatchesBody",
"UpdateProjectEntityMatchesResponse",
"UpdateProjectEntityTagsBody",
"UpstreamCount",
"UpstreamInfo",
Expand Down
2 changes: 1 addition & 1 deletion src/sayari/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "sayari",
"X-Fern-SDK-Version": "0.1.43",
"X-Fern-SDK-Version": "0.1.44",
}
token = self._get_token()
if token is not None:
Expand Down
7 changes: 7 additions & 0 deletions src/sayari/generated_types/types/identifier_type.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"aus_credit_licence_number",
"aus_credit_rep_number",
"aus_passport",
"aus_trademark_reg_no",
"aut_firmenbuch_no",
"aut_uid",
"aze_tin_number",
Expand Down Expand Up @@ -287,8 +288,10 @@
"ind_passport",
"ind_permanent_account_number",
"ind_society_registration_number",
"ind_techsalerator_id",
"ind_tin",
"ind_trademark_submission_ref",
"ind_udyam",
"int_maritime_org_id",
"internal_curated_merge_id",
"internal_curated_split_id",
Expand Down Expand Up @@ -328,6 +331,7 @@
"jpn_edinet_code",
"jpn_trade_internal_shipment_id",
"kaz_bin",
"kaz_business_identification_number",
"kaz_identifier",
"kaz_okpo_num",
"kaz_state_reg_num",
Expand Down Expand Up @@ -545,6 +549,8 @@
"tjk_ein_number",
"tjk_tin_number",
"tokyo_stock_exchange_no",
"ton_reg_id",
"ton_tax_id",
"tto_biz_number",
"tun_passport",
"tur_id",
Expand Down Expand Up @@ -701,6 +707,7 @@
"wcpfc_rfmo_id",
"wipo_intl_ref_no",
"wipo_intl_reg_no",
"wsm_reg_id",
"xxx_acuris_id",
"xxx_cedar_rose_uid",
"xxx_crb_monitor_entity_id",
Expand Down
Loading
Loading