Skip to content
Open
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
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sayari/sdk",
"version": "0.1.44",
"version": "0.1.45",
"private": false,
"repository": "https://github.com/sayari-analytics/sayari-node",
"main": "./index.js",
Expand Down
169 changes: 168 additions & 1 deletion reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2826,6 +2826,172 @@ await client.projectEntity.getProjectEntity("project_id", "project_entity_id");
</dl>
</details>

<details><summary><code>client.projectEntity.<a href="/src/api/resources/projectEntity/client/Client.ts">addProjectEntityMatches</a>(projectId, projectEntityId, { ...params }) -> Sayari.UpdateProjectEntityMatchesResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Adds matches to a project entity.

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

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.projectEntity.addProjectEntityMatches("project_id", "project_entity_id", {
entityIds: ["entity_ids", "entity_ids"],
overrideDeleted: undefined,
limit: undefined,
});
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**projectId:** `string`

</dd>
</dl>

<dl>
<dd>

**projectEntityId:** `string`

</dd>
</dl>

<dl>
<dd>

**request:** `Sayari.UpdateProjectEntityMatchesBody`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ProjectEntity.RequestOptions`

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

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

<details><summary><code>client.projectEntity.<a href="/src/api/resources/projectEntity/client/Client.ts">replaceProjectEntityMatches</a>(projectId, projectEntityId, { ...params }) -> Sayari.UpdateProjectEntityMatchesResponse</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Replace matches in a project entity.

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

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```typescript
await client.projectEntity.replaceProjectEntityMatches("project_id", "project_entity_id", {
entityIds: ["entity_ids", "entity_ids"],
overrideDeleted: undefined,
limit: undefined,
});
```

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**projectId:** `string`

</dd>
</dl>

<dl>
<dd>

**projectEntityId:** `string`

</dd>
</dl>

<dl>
<dd>

**request:** `Sayari.UpdateProjectEntityMatchesBody`

</dd>
</dl>

<dl>
<dd>

**requestOptions:** `ProjectEntity.RequestOptions`

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

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

<details><summary><code>client.projectEntity.<a href="/src/api/resources/projectEntity/client/Client.ts">deleteProjectEntity</a>(projectId, projectEntityId) -> void</code></summary>
<dl>
<dd>
Expand Down Expand Up @@ -3050,7 +3216,7 @@ await client.projectEntity.projectEntityExists("YVB88Y", {
</dl>
</details>

<details><summary><code>client.projectEntity.<a href="/src/api/resources/projectEntity/client/Client.ts">saveProjectEntity</a>(projectId, { ...params }) -> Sayari.ProjectEntityIdResponse</code></summary>
<details><summary><code>client.projectEntity.<a href="/src/api/resources/projectEntity/client/Client.ts">saveProjectEntity</a>(projectId, { ...params }) -> Sayari.SingleProjectEntityResponse</code></summary>
<dl>
<dd>

Expand Down Expand Up @@ -3697,6 +3863,7 @@ Create a new project.
```typescript
await client.project.createProject({
label: "My First Project",
type: "network",
share: {
org: "admin",
},
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/attributes/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ export class Attributes {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.44",
"User-Agent": "@sayari/sdk/0.1.44",
"X-Fern-SDK-Version": "0.1.45",
"User-Agent": "@sayari/sdk/0.1.45",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -235,8 +235,8 @@ export class Attributes {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.44",
"User-Agent": "@sayari/sdk/0.1.44",
"X-Fern-SDK-Version": "0.1.45",
"User-Agent": "@sayari/sdk/0.1.45",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -388,8 +388,8 @@ export class Attributes {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.44",
"User-Agent": "@sayari/sdk/0.1.44",
"X-Fern-SDK-Version": "0.1.45",
"User-Agent": "@sayari/sdk/0.1.45",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/auth/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ export class Auth {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.44",
"User-Agent": "@sayari/sdk/0.1.44",
"X-Fern-SDK-Version": "0.1.45",
"User-Agent": "@sayari/sdk/0.1.45",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/entity/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -357,8 +357,8 @@ export class Entity {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.44",
"User-Agent": "@sayari/sdk/0.1.44",
"X-Fern-SDK-Version": "0.1.45",
"User-Agent": "@sayari/sdk/0.1.45",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down Expand Up @@ -490,8 +490,8 @@ export class Entity {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.44",
"User-Agent": "@sayari/sdk/0.1.44",
"X-Fern-SDK-Version": "0.1.45",
"User-Agent": "@sayari/sdk/0.1.45",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
...requestOptions?.headers,
Expand Down
28 changes: 28 additions & 0 deletions src/api/resources/generatedTypes/types/IdentifierType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ export type IdentifierType =
/**
* Australia Passport Number */
| "aus_passport"
/**
* Unique Australia ID number. Assigned to every registered trademark. */
| "aus_trademark_reg_no"
/**
* Austrian Company Register Number */
| "aut_firmenbuch_no"
Expand Down Expand Up @@ -841,12 +844,18 @@ export type IdentifierType =
/**
* Unique India registration number. Assigned to every legal entity registered with the India Registrar of Societies. */
| "ind_society_registration_number"
/**
* Internal Identifier used by Techsalerator to identify published companies */
| "ind_techsalerator_id"
/**
* India tax identification number. Unique ID number assigned to every taxpayer by the Commercial Tax Department of each state. */
| "ind_tin"
/**
* Unique India intellectual property ID number. Assigned to every trademark application submitted to the Controller General of Patents, Designs and Trademarks of the Ministry of Commerce and Industry, Government of India. */
| "ind_trademark_submission_ref"
/**
* Unique identification number issued to Micro, Small and Medium Enterprises (MSMEs) in India. */
| "ind_udyam"
/**
* Unique global ID number. Assigned to ships, registered ship owners, and management companies. */
| "int_maritime_org_id"
Expand Down Expand Up @@ -962,6 +971,9 @@ export type IdentifierType =
/**
* A 12-digit Kazakh business identification number */
| "kaz_bin"
/**
* Kazakhstan business and company identification number that is not explicitly designated as a BIN in source data. */
| "kaz_business_identification_number"
/**
* A nine-digit Kazakh identifier */
| "kaz_identifier"
Expand Down Expand Up @@ -1595,6 +1607,12 @@ export type IdentifierType =
/**
* Unique identifier for Tokyo Stock Exchange companies */
| "tokyo_stock_exchange_no"
/**
* Unique business registration number. Assigned to every registered business in Tonga. */
| "ton_reg_id"
/**
* Unique tax ID. Assigned to every registered business in Tonga or Tonga residents. */
| "ton_tax_id"
/**
* Trinbagonian Business Number */
| "tto_biz_number"
Expand Down Expand Up @@ -2053,6 +2071,9 @@ export type IdentifierType =
/**
* Unique USA ID number. Assigned to every registered foreign trademark. */
| "wipo_intl_reg_no"
/**
* Unique business identification number. Assigned to every registered business in Samoa. */
| "wsm_reg_id"
/**
* Acuris Unique ID */
| "xxx_acuris_id"
Expand Down Expand Up @@ -2130,6 +2151,7 @@ export const IdentifierType = {
AusCreditLicenceNumber: "aus_credit_licence_number",
AusCreditRepNumber: "aus_credit_rep_number",
AusPassport: "aus_passport",
AusTrademarkRegNo: "aus_trademark_reg_no",
AutFirmenbuchNo: "aut_firmenbuch_no",
AutUid: "aut_uid",
AzeTinNumber: "aze_tin_number",
Expand Down Expand Up @@ -2373,8 +2395,10 @@ export const IdentifierType = {
IndPassport: "ind_passport",
IndPermanentAccountNumber: "ind_permanent_account_number",
IndSocietyRegistrationNumber: "ind_society_registration_number",
IndTechsaleratorId: "ind_techsalerator_id",
IndTin: "ind_tin",
IndTrademarkSubmissionRef: "ind_trademark_submission_ref",
IndUdyam: "ind_udyam",
IntMaritimeOrgId: "int_maritime_org_id",
InternalCuratedMergeId: "internal_curated_merge_id",
InternalCuratedSplitId: "internal_curated_split_id",
Expand Down Expand Up @@ -2414,6 +2438,7 @@ export const IdentifierType = {
JpnEdinetCode: "jpn_edinet_code",
JpnTradeInternalShipmentId: "jpn_trade_internal_shipment_id",
KazBin: "kaz_bin",
KazBusinessIdentificationNumber: "kaz_business_identification_number",
KazIdentifier: "kaz_identifier",
KazOkpoNum: "kaz_okpo_num",
KazStateRegNum: "kaz_state_reg_num",
Expand Down Expand Up @@ -2631,6 +2656,8 @@ export const IdentifierType = {
TjkEinNumber: "tjk_ein_number",
TjkTinNumber: "tjk_tin_number",
TokyoStockExchangeNo: "tokyo_stock_exchange_no",
TonRegId: "ton_reg_id",
TonTaxId: "ton_tax_id",
TtoBizNumber: "tto_biz_number",
TunPassport: "tun_passport",
TurId: "tur_id",
Expand Down Expand Up @@ -2787,6 +2814,7 @@ export const IdentifierType = {
WcpfcRfmoId: "wcpfc_rfmo_id",
WipoIntlRefNo: "wipo_intl_ref_no",
WipoIntlRegNo: "wipo_intl_reg_no",
WsmRegId: "wsm_reg_id",
XxxAcurisId: "xxx_acuris_id",
XxxCedarRoseUid: "xxx_cedar_rose_uid",
XxxCrbMonitorEntityId: "xxx_crb_monitor_entity_id",
Expand Down
Loading
Loading