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
186 changes: 179 additions & 7 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -2621,11 +2621,14 @@ The resolution endpoints allow users to search for matching entities against a p
```typescript
await client.projectEntity.createProjectEntity("YVB88Y", {
body: {
name: ["VTB Bank"],
country: ["RUS"],
address: ["Moscow"],
identifier: ["253400V1H6ART1UQ0N98"],
limit: 10,
profile: "corporate",
attributes: {
name: ["VTB Bank"],
country: ["RUS"],
address: ["Moscow"],
identifier: ["253400V1H6ART1UQ0N98"],
},
},
});
```
Expand Down Expand Up @@ -2826,6 +2829,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 @@ -3005,8 +3174,10 @@ Checks if a project entity with the given attributes already exists.

```typescript
await client.projectEntity.projectEntityExists("YVB88Y", {
name: ["Example Company"],
country: ["USA"],
attributes: {
name: ["Example Company"],
country: ["USA"],
},
});
```

Expand Down Expand Up @@ -3050,7 +3221,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 +3868,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
Loading
Loading