From 66563281ecdf8b9e072e196e66c383c978e6f030 Mon Sep 17 00:00:00 2001 From: "fern-api[bot]" <115122769+fern-api[bot]@users.noreply.github.com> Date: Tue, 4 Nov 2025 17:59:42 +0000 Subject: [PATCH] SDK regeneration --- package.json | 2 +- src/api/resources/attributes/client/Client.ts | 12 ++-- src/api/resources/auth/client/Client.ts | 4 +- src/api/resources/entity/client/Client.ts | 8 +-- src/api/resources/info/client/Client.ts | 8 +-- src/api/resources/metadata/client/Client.ts | 4 +- .../resources/negativeNews/client/Client.ts | 4 +- .../resources/notifications/client/Client.ts | 20 +++---- src/api/resources/ontology/client/Client.ts | 56 +++++++++---------- src/api/resources/project/client/Client.ts | 12 ++-- .../resources/projectEntity/client/Client.ts | 56 +++++++++---------- .../types/ProjectEntitiesResponse.ts | 6 +- .../types/ProjectEntityResponse.ts | 2 +- .../types/SingleProjectEntityResponse.ts | 12 +++- .../projectEntityAttributes/client/Client.ts | 16 +++--- .../client/Client.ts | 16 +++--- src/api/resources/record/client/Client.ts | 4 +- src/api/resources/resolution/client/Client.ts | 16 +++--- src/api/resources/resource/client/Client.ts | 8 +-- src/api/resources/search/client/Client.ts | 16 +++--- .../resources/sharedTypes/types/CaseInfo.ts | 12 ++++ .../sharedTypes/types/PossiblySameAs.ts | 2 +- src/api/resources/sharedTypes/types/index.ts | 1 + .../resources/supplyChain/client/Client.ts | 4 +- src/api/resources/trade/client/Client.ts | 12 ++-- src/api/resources/traversal/client/Client.ts | 20 +++---- .../types/ProjectEntityResponse.ts | 6 +- .../resources/sharedTypes/types/CaseInfo.ts | 25 +++++++++ .../resources/sharedTypes/types/index.ts | 1 + src/version.ts | 2 +- yarn.lock | 30 +++++----- 31 files changed, 224 insertions(+), 173 deletions(-) create mode 100644 src/api/resources/sharedTypes/types/CaseInfo.ts create mode 100644 src/serialization/resources/sharedTypes/types/CaseInfo.ts diff --git a/package.json b/package.json index 7c8e3110..2f42dff8 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/api/resources/attributes/client/Client.ts b/src/api/resources/attributes/client/Client.ts index 08ad5475..8e3da67d 100644 --- a/src/api/resources/attributes/client/Client.ts +++ b/src/api/resources/attributes/client/Client.ts @@ -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, @@ -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, @@ -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, diff --git a/src/api/resources/auth/client/Client.ts b/src/api/resources/auth/client/Client.ts index 6c1fb63c..6822f1f0 100644 --- a/src/api/resources/auth/client/Client.ts +++ b/src/api/resources/auth/client/Client.ts @@ -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, diff --git a/src/api/resources/entity/client/Client.ts b/src/api/resources/entity/client/Client.ts index 4237afb4..71f4eba8 100644 --- a/src/api/resources/entity/client/Client.ts +++ b/src/api/resources/entity/client/Client.ts @@ -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, @@ -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, diff --git a/src/api/resources/info/client/Client.ts b/src/api/resources/info/client/Client.ts index 810bb7d5..53d4ee98 100644 --- a/src/api/resources/info/client/Client.ts +++ b/src/api/resources/info/client/Client.ts @@ -73,8 +73,8 @@ export class Info { 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, @@ -222,8 +222,8 @@ export class Info { 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, diff --git a/src/api/resources/metadata/client/Client.ts b/src/api/resources/metadata/client/Client.ts index 1cfb94d9..d5c9aafa 100644 --- a/src/api/resources/metadata/client/Client.ts +++ b/src/api/resources/metadata/client/Client.ts @@ -58,8 +58,8 @@ export class Metadata { 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, diff --git a/src/api/resources/negativeNews/client/Client.ts b/src/api/resources/negativeNews/client/Client.ts index bfb00fc7..0fa76814 100644 --- a/src/api/resources/negativeNews/client/Client.ts +++ b/src/api/resources/negativeNews/client/Client.ts @@ -93,8 +93,8 @@ export class NegativeNews { 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, diff --git a/src/api/resources/notifications/client/Client.ts b/src/api/resources/notifications/client/Client.ts index 1a0d0d6f..1cf33032 100644 --- a/src/api/resources/notifications/client/Client.ts +++ b/src/api/resources/notifications/client/Client.ts @@ -97,8 +97,8 @@ export class Notifications { 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, @@ -266,8 +266,8 @@ export class Notifications { 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, @@ -419,8 +419,8 @@ export class Notifications { 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, @@ -548,8 +548,8 @@ export class Notifications { 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, @@ -677,8 +677,8 @@ export class Notifications { 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, diff --git a/src/api/resources/ontology/client/Client.ts b/src/api/resources/ontology/client/Client.ts index 23985e69..b4e211c8 100644 --- a/src/api/resources/ontology/client/Client.ts +++ b/src/api/resources/ontology/client/Client.ts @@ -61,8 +61,8 @@ export class Ontology { 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, @@ -201,8 +201,8 @@ export class Ontology { 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, @@ -342,8 +342,8 @@ export class Ontology { 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, @@ -483,8 +483,8 @@ export class Ontology { 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, @@ -624,8 +624,8 @@ export class Ontology { 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, @@ -765,8 +765,8 @@ export class Ontology { 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, @@ -906,8 +906,8 @@ export class Ontology { 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, @@ -1047,8 +1047,8 @@ export class Ontology { 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, @@ -1188,8 +1188,8 @@ export class Ontology { 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, @@ -1329,8 +1329,8 @@ export class Ontology { 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, @@ -1470,8 +1470,8 @@ export class Ontology { 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, @@ -1636,8 +1636,8 @@ export class Ontology { 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, @@ -1787,8 +1787,8 @@ export class Ontology { 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, @@ -1928,8 +1928,8 @@ export class Ontology { 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, diff --git a/src/api/resources/project/client/Client.ts b/src/api/resources/project/client/Client.ts index bb3cef20..0d34a086 100644 --- a/src/api/resources/project/client/Client.ts +++ b/src/api/resources/project/client/Client.ts @@ -69,8 +69,8 @@ export class Project { 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, @@ -229,8 +229,8 @@ export class Project { 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, @@ -362,8 +362,8 @@ export class Project { 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, diff --git a/src/api/resources/projectEntity/client/Client.ts b/src/api/resources/projectEntity/client/Client.ts index 730d0686..c7fa56ae 100644 --- a/src/api/resources/projectEntity/client/Client.ts +++ b/src/api/resources/projectEntity/client/Client.ts @@ -90,8 +90,8 @@ export class ProjectEntity { 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, @@ -307,8 +307,8 @@ export class ProjectEntity { 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, @@ -444,8 +444,8 @@ export class ProjectEntity { 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, @@ -580,8 +580,8 @@ export class ProjectEntity { 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, @@ -713,8 +713,8 @@ export class ProjectEntity { 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, @@ -847,8 +847,8 @@ export class ProjectEntity { 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, @@ -991,8 +991,8 @@ export class ProjectEntity { 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, @@ -1165,8 +1165,8 @@ export class ProjectEntity { 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, @@ -1350,8 +1350,8 @@ export class ProjectEntity { 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, @@ -1494,8 +1494,8 @@ export class ProjectEntity { 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, @@ -1625,8 +1625,8 @@ export class ProjectEntity { 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, @@ -1866,8 +1866,8 @@ export class ProjectEntity { 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, @@ -2024,8 +2024,8 @@ export class ProjectEntity { 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, @@ -2235,8 +2235,8 @@ export class ProjectEntity { 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, diff --git a/src/api/resources/projectEntity/types/ProjectEntitiesResponse.ts b/src/api/resources/projectEntity/types/ProjectEntitiesResponse.ts index 9bf68c3a..5fdd7f49 100644 --- a/src/api/resources/projectEntity/types/ProjectEntitiesResponse.ts +++ b/src/api/resources/projectEntity/types/ProjectEntitiesResponse.ts @@ -87,7 +87,11 @@ import * as Sayari from "../../../index"; * products: [] * }, * tags: [], - * case: Sayari.CaseStatus.NotAssigned, + * case: { + * id: "YZB88Y", + * status: Sayari.CaseStatus.NotAssigned, + * createdAt: "2025-10-02" + * }, * matches: [{ * matchId: "52z4Wa:dy-rh2g0QtzUN_jC_e9S_A", * sayariEntityId: "dy-rh2g0QtzUN_jC_e9S_A", diff --git a/src/api/resources/projectEntity/types/ProjectEntityResponse.ts b/src/api/resources/projectEntity/types/ProjectEntityResponse.ts index 42f83623..69305fbe 100644 --- a/src/api/resources/projectEntity/types/ProjectEntityResponse.ts +++ b/src/api/resources/projectEntity/types/ProjectEntityResponse.ts @@ -17,7 +17,7 @@ export interface ProjectEntityResponse { riskFactors: Sayari.ProjectRiskFactor[]; upstream: Sayari.UpstreamInfo; tags: Sayari.TagResponse[]; - case?: Sayari.CaseStatus; + case?: Sayari.CaseInfo; matches: Sayari.ProjectEntityMatchResponse[]; updatedAt?: string; } diff --git a/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts b/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts index 376ae876..5d434691 100644 --- a/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts +++ b/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts @@ -86,7 +86,11 @@ import * as Sayari from "../../../index"; * products: [] * }, * tags: [], - * case: Sayari.CaseStatus.NotAssigned, + * case: { + * id: "YVB88Y", + * status: Sayari.CaseStatus.NotAssigned, + * createdAt: "2025-10-02" + * }, * matches: [{ * matchId: "52z4Wa:dy-rh2g0QtzUN_jC_e9S_A", * sayariEntityId: "dy-rh2g0QtzUN_jC_e9S_A", @@ -397,7 +401,11 @@ import * as Sayari from "../../../index"; * hasUpstream: true * }, * tags: [], - * case: Sayari.CaseStatus.NotAssigned, + * case: { + * id: "YZB88Y", + * status: Sayari.CaseStatus.NotAssigned, + * createdAt: "2025-10-02" + * }, * matches: [] * } * } diff --git a/src/api/resources/projectEntityAttributes/client/Client.ts b/src/api/resources/projectEntityAttributes/client/Client.ts index e20e97c2..c6639b63 100644 --- a/src/api/resources/projectEntityAttributes/client/Client.ts +++ b/src/api/resources/projectEntityAttributes/client/Client.ts @@ -66,8 +66,8 @@ export class ProjectEntityAttributes { 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, @@ -208,8 +208,8 @@ export class ProjectEntityAttributes { 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, @@ -355,8 +355,8 @@ export class ProjectEntityAttributes { 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, @@ -496,8 +496,8 @@ export class ProjectEntityAttributes { 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, diff --git a/src/api/resources/projectEntitySupplyChainSnapshots/client/Client.ts b/src/api/resources/projectEntitySupplyChainSnapshots/client/Client.ts index f29d1d0f..83399f44 100644 --- a/src/api/resources/projectEntitySupplyChainSnapshots/client/Client.ts +++ b/src/api/resources/projectEntitySupplyChainSnapshots/client/Client.ts @@ -66,8 +66,8 @@ export class ProjectEntitySupplyChainSnapshots { 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, @@ -204,8 +204,8 @@ export class ProjectEntitySupplyChainSnapshots { 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, @@ -344,8 +344,8 @@ export class ProjectEntitySupplyChainSnapshots { 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, @@ -485,8 +485,8 @@ export class ProjectEntitySupplyChainSnapshots { 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, diff --git a/src/api/resources/record/client/Client.ts b/src/api/resources/record/client/Client.ts index f515cad6..89d3d9c1 100644 --- a/src/api/resources/record/client/Client.ts +++ b/src/api/resources/record/client/Client.ts @@ -76,8 +76,8 @@ export class Record_ { 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, diff --git a/src/api/resources/resolution/client/Client.ts b/src/api/resources/resolution/client/Client.ts index ae2a2798..50ae15c0 100644 --- a/src/api/resources/resolution/client/Client.ts +++ b/src/api/resources/resolution/client/Client.ts @@ -230,8 +230,8 @@ export class Resolution { 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, @@ -405,8 +405,8 @@ export class Resolution { 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, @@ -565,8 +565,8 @@ export class Resolution { 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, @@ -720,8 +720,8 @@ export class Resolution { 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, diff --git a/src/api/resources/resource/client/Client.ts b/src/api/resources/resource/client/Client.ts index 3bec1dca..5ffa4bc5 100644 --- a/src/api/resources/resource/client/Client.ts +++ b/src/api/resources/resource/client/Client.ts @@ -73,8 +73,8 @@ export class Resource { 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, @@ -208,8 +208,8 @@ export class Resource { 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, diff --git a/src/api/resources/search/client/Client.ts b/src/api/resources/search/client/Client.ts index 6e3faa3a..86258c6e 100644 --- a/src/api/resources/search/client/Client.ts +++ b/src/api/resources/search/client/Client.ts @@ -77,8 +77,8 @@ export class Search { 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, @@ -249,8 +249,8 @@ export class Search { 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, @@ -395,8 +395,8 @@ export class Search { 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, @@ -551,8 +551,8 @@ export class Search { 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, diff --git a/src/api/resources/sharedTypes/types/CaseInfo.ts b/src/api/resources/sharedTypes/types/CaseInfo.ts new file mode 100644 index 00000000..087027d5 --- /dev/null +++ b/src/api/resources/sharedTypes/types/CaseInfo.ts @@ -0,0 +1,12 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as Sayari from "../../../index"; + +export interface CaseInfo { + id: string; + status: Sayari.CaseStatus; + createdAt: string; + comment?: string; +} diff --git a/src/api/resources/sharedTypes/types/PossiblySameAs.ts b/src/api/resources/sharedTypes/types/PossiblySameAs.ts index a9b05b51..5993a066 100644 --- a/src/api/resources/sharedTypes/types/PossiblySameAs.ts +++ b/src/api/resources/sharedTypes/types/PossiblySameAs.ts @@ -5,7 +5,7 @@ import * as Sayari from "../../../index"; /** - * List of entities that are Possibly the Same As (PSA) the entity. + * This property is deprecated. List of entities that are Possibly the Same As (PSA) the entity. */ export interface PossiblySameAs extends Sayari.PaginatedResponse { offset?: number; diff --git a/src/api/resources/sharedTypes/types/index.ts b/src/api/resources/sharedTypes/types/index.ts index 5b1d79b7..5c0afa73 100644 --- a/src/api/resources/sharedTypes/types/index.ts +++ b/src/api/resources/sharedTypes/types/index.ts @@ -33,6 +33,7 @@ export * from "./RiskValue"; export * from "./RiskData"; export * from "./RiskLevel"; export * from "./ClientName"; +export * from "./CaseInfo"; export * from "./CaseStatus"; export * from "./MatchStrengthEnum"; export * from "./MatchCount"; diff --git a/src/api/resources/supplyChain/client/Client.ts b/src/api/resources/supplyChain/client/Client.ts index 1bb2f228..7d546842 100644 --- a/src/api/resources/supplyChain/client/Client.ts +++ b/src/api/resources/supplyChain/client/Client.ts @@ -169,8 +169,8 @@ export class SupplyChain { 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, diff --git a/src/api/resources/trade/client/Client.ts b/src/api/resources/trade/client/Client.ts index 6a75ee71..06f61ba7 100644 --- a/src/api/resources/trade/client/Client.ts +++ b/src/api/resources/trade/client/Client.ts @@ -81,8 +81,8 @@ export class Trade { 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, @@ -223,8 +223,8 @@ export class Trade { 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, @@ -365,8 +365,8 @@ export class Trade { 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, diff --git a/src/api/resources/traversal/client/Client.ts b/src/api/resources/traversal/client/Client.ts index f4b25df2..1b6b80cd 100644 --- a/src/api/resources/traversal/client/Client.ts +++ b/src/api/resources/traversal/client/Client.ts @@ -236,8 +236,8 @@ export class Traversal { 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, @@ -563,8 +563,8 @@ export class Traversal { 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, @@ -890,8 +890,8 @@ export class Traversal { 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, @@ -1217,8 +1217,8 @@ export class Traversal { 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, @@ -1380,8 +1380,8 @@ export class Traversal { 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, diff --git a/src/serialization/resources/projectEntity/types/ProjectEntityResponse.ts b/src/serialization/resources/projectEntity/types/ProjectEntityResponse.ts index 83978933..97d08b37 100644 --- a/src/serialization/resources/projectEntity/types/ProjectEntityResponse.ts +++ b/src/serialization/resources/projectEntity/types/ProjectEntityResponse.ts @@ -11,7 +11,7 @@ import { ProjectRiskCategory } from "./ProjectRiskCategory"; import { ProjectRiskFactor } from "./ProjectRiskFactor"; import { UpstreamInfo } from "./UpstreamInfo"; import { TagResponse } from "./TagResponse"; -import { CaseStatus } from "../../sharedTypes/types/CaseStatus"; +import { CaseInfo } from "../../sharedTypes/types/CaseInfo"; import { ProjectEntityMatchResponse } from "./ProjectEntityMatchResponse"; export const ProjectEntityResponse: core.serialization.ObjectSchema< @@ -30,7 +30,7 @@ export const ProjectEntityResponse: core.serialization.ObjectSchema< riskFactors: core.serialization.property("risk_factors", core.serialization.list(ProjectRiskFactor)), upstream: UpstreamInfo, tags: core.serialization.list(TagResponse), - case: CaseStatus.optional(), + case: CaseInfo.optional(), matches: core.serialization.list(ProjectEntityMatchResponse), updatedAt: core.serialization.property("updated_at", core.serialization.string().optional()), }); @@ -49,7 +49,7 @@ export declare namespace ProjectEntityResponse { risk_factors: ProjectRiskFactor.Raw[]; upstream: UpstreamInfo.Raw; tags: TagResponse.Raw[]; - case?: CaseStatus.Raw | null; + case?: CaseInfo.Raw | null; matches: ProjectEntityMatchResponse.Raw[]; updated_at?: string | null; } diff --git a/src/serialization/resources/sharedTypes/types/CaseInfo.ts b/src/serialization/resources/sharedTypes/types/CaseInfo.ts new file mode 100644 index 00000000..4d63d545 --- /dev/null +++ b/src/serialization/resources/sharedTypes/types/CaseInfo.ts @@ -0,0 +1,25 @@ +/** + * This file was auto-generated by Fern from our API Definition. + */ + +import * as serializers from "../../../index"; +import * as Sayari from "../../../../api/index"; +import * as core from "../../../../core"; +import { CaseStatus } from "./CaseStatus"; + +export const CaseInfo: core.serialization.ObjectSchema = + core.serialization.object({ + id: core.serialization.string(), + status: CaseStatus, + createdAt: core.serialization.property("created_at", core.serialization.string()), + comment: core.serialization.string().optional(), + }); + +export declare namespace CaseInfo { + export interface Raw { + id: string; + status: CaseStatus.Raw; + created_at: string; + comment?: string | null; + } +} diff --git a/src/serialization/resources/sharedTypes/types/index.ts b/src/serialization/resources/sharedTypes/types/index.ts index 5b1d79b7..5c0afa73 100644 --- a/src/serialization/resources/sharedTypes/types/index.ts +++ b/src/serialization/resources/sharedTypes/types/index.ts @@ -33,6 +33,7 @@ export * from "./RiskValue"; export * from "./RiskData"; export * from "./RiskLevel"; export * from "./ClientName"; +export * from "./CaseInfo"; export * from "./CaseStatus"; export * from "./MatchStrengthEnum"; export * from "./MatchCount"; diff --git a/src/version.ts b/src/version.ts index 20f2aacd..b1cf1929 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export const SDK_VERSION = "0.1.44"; +export const SDK_VERSION = "0.1.45"; diff --git a/yarn.lock b/yarn.lock index ed7aa0eb..c6a6e7af 100644 --- a/yarn.lock +++ b/yarn.lock @@ -655,9 +655,9 @@ form-data "^4.0.4" "@types/node@*": - version "24.9.2" - resolved "https://registry.yarnpkg.com/@types/node/-/node-24.9.2.tgz#90ded2422dbfcafcf72080f28975adc21366148d" - integrity sha512-uWN8YqxXxqFMX2RqGOrumsKeti4LlmIMIyV0lgut4jx7KQBcBiW6vkDtIBvHnHIquwNfJhk8v2OtmO8zXWHfPA== + version "24.10.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-24.10.0.tgz#6b79086b0dfc54e775a34ba8114dcc4e0221f31f" + integrity sha512-qzQZRBqkFsYyaSWXuEHc2WR9c0a0CXwiE5FWUvn7ZM+vdy1uZLfCunD38UzhuB7YN/J11ndbDBcTmOdxJo9Q7A== dependencies: undici-types "~7.16.0" @@ -1024,9 +1024,9 @@ base64-js@^1.3.1: integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== baseline-browser-mapping@^2.8.19: - version "2.8.20" - resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.20.tgz#6766cf270f3668d20b6712b9c54cc911b87da714" - integrity sha512-JMWsdF+O8Orq3EMukbUN1QfbLK9mX2CkUmQBcW2T0s8OmdAUL5LLM/6wFwSrqXzlXB13yhyK9gTKS1rIizOduQ== + version "2.8.24" + resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.8.24.tgz#f70388d8a136b701c819567f6798b797378be7b0" + integrity sha512-uUhTRDPXamakPyghwrUcjaGvvBqGrWvBHReoiULMIpOJVM9IYzQh83Xk2Onx5HlGI2o10NNCzcs9TG/S3TkwrQ== brace-expansion@^1.1.7: version "1.1.12" @@ -1113,9 +1113,9 @@ camelcase@^6.2.0: integrity sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA== caniuse-lite@^1.0.30001751: - version "1.0.30001751" - resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001751.tgz#dacd5d9f4baeea841641640139d2b2a4df4226ad" - integrity sha512-A0QJhug0Ly64Ii3eIqHu5X51ebln3k4yTUkY1j8drqpWHVreg/VLijN48cZ1bYPiqOQuqpkIKnzr/Ul8V+p6Cw== + version "1.0.30001753" + resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001753.tgz#419f8fc9bab6f1a1d10d9574d0b3374f823c5b00" + integrity sha512-Bj5H35MD/ebaOV4iDLqPEtiliTN29qkGtEHCwawWn4cYm+bPJM2NsaP30vtZcnERClMzp52J4+aw2UNbK4o+zw== chalk@^4.0.0, chalk@^4.1.0: version "4.1.2" @@ -1305,9 +1305,9 @@ dunder-proto@^1.0.1: gopd "^1.2.0" electron-to-chromium@^1.5.238: - version "1.5.241" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.241.tgz#350a2cdcde43829d36af245a27167243e917c6ed" - integrity sha512-ILMvKX/ZV5WIJzzdtuHg8xquk2y0BOGlFOxBVwTpbiXqWIH0hamG45ddU4R3PQ0gYu+xgo0vdHXHli9sHIGb4w== + version "1.5.244" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.244.tgz#b9b61e3d24ef4203489951468614f2a360763820" + integrity sha512-OszpBN7xZX4vWMPJwB9illkN/znA8M36GQqQxi6MNy9axWxhOfJyZZJtSLQCpEFLHP2xK33BiWx9aIuIEXVCcw== emittery@^0.13.1: version "0.13.1" @@ -2394,9 +2394,9 @@ node-int64@^0.4.0: integrity sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw== node-releases@^2.0.26: - version "2.0.26" - resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.26.tgz#fdfa272f2718a1309489d18aef4ef5ba7f5dfb52" - integrity sha512-S2M9YimhSjBSvYnlr5/+umAnPHE++ODwt5e2Ij6FoX45HA/s4vHdkDx1eax2pAPeAOqu4s9b7ppahsyEFdVqQA== + version "2.0.27" + resolved "https://registry.yarnpkg.com/node-releases/-/node-releases-2.0.27.tgz#eedca519205cf20f650f61d56b070db111231e4e" + integrity sha512-nmh3lCkYZ3grZvqcCH+fjmQ7X+H0OeZgP40OierEaAptX4XofMh5kwNbWh7lBduUzCcV/8kZ+NDLCwm2iorIlA== normalize-path@^3.0.0: version "3.0.0"