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/reference.md b/reference.md
index 9e487152..16b09256 100644
--- a/reference.md
+++ b/reference.md
@@ -2826,6 +2826,172 @@ await client.projectEntity.getProjectEntity("project_id", "project_entity_id");
+client.projectEntity.addProjectEntityMatches(projectId, projectEntityId, { ...params }) -> Sayari.UpdateProjectEntityMatchesResponse
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Adds matches to a project entity.
+
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.projectEntity.addProjectEntityMatches("project_id", "project_entity_id", {
+ entityIds: ["entity_ids", "entity_ids"],
+ overrideDeleted: undefined,
+ limit: undefined,
+});
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**projectId:** `string`
+
+
+
+
+
+-
+
+**projectEntityId:** `string`
+
+
+
+
+
+-
+
+**request:** `Sayari.UpdateProjectEntityMatchesBody`
+
+
+
+
+
+-
+
+**requestOptions:** `ProjectEntity.RequestOptions`
+
+
+
+
+
+
+
+
+
+
+client.projectEntity.replaceProjectEntityMatches(projectId, projectEntityId, { ...params }) -> Sayari.UpdateProjectEntityMatchesResponse
+
+-
+
+#### 📝 Description
+
+
+-
+
+
+-
+
+Replace matches in a project entity.
+
+
+
+
+
+
+#### 🔌 Usage
+
+
+-
+
+
+-
+
+```typescript
+await client.projectEntity.replaceProjectEntityMatches("project_id", "project_entity_id", {
+ entityIds: ["entity_ids", "entity_ids"],
+ overrideDeleted: undefined,
+ limit: undefined,
+});
+```
+
+
+
+
+
+
+#### ⚙️ Parameters
+
+
+-
+
+
+-
+
+**projectId:** `string`
+
+
+
+
+
+-
+
+**projectEntityId:** `string`
+
+
+
+
+
+-
+
+**request:** `Sayari.UpdateProjectEntityMatchesBody`
+
+
+
+
+
+-
+
+**requestOptions:** `ProjectEntity.RequestOptions`
+
+
+
+
+
+
+
+
+
+
client.projectEntity.deleteProjectEntity(projectId, projectEntityId) -> void
-
@@ -3697,6 +3863,7 @@ Create a new project.
```typescript
await client.project.createProject({
label: "My First Project",
+ type: "network",
share: {
org: "admin",
},
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/generatedTypes/types/IdentifierType.ts b/src/api/resources/generatedTypes/types/IdentifierType.ts
index 8d909b63..b550bd96 100644
--- a/src/api/resources/generatedTypes/types/IdentifierType.ts
+++ b/src/api/resources/generatedTypes/types/IdentifierType.ts
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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"
@@ -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",
@@ -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",
@@ -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",
@@ -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",
@@ -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",
diff --git a/src/api/resources/generatedTypes/types/Risk.ts b/src/api/resources/generatedTypes/types/Risk.ts
index 50a34188..52123006 100644
--- a/src/api/resources/generatedTypes/types/Risk.ts
+++ b/src/api/resources/generatedTypes/types/Risk.ts
@@ -7,6 +7,7 @@ export type Risk =
| "aspi_uyghur_forced_labor_report_entity_adjacent"
| "basel_aml"
| "bis_addresses_high_diversion_risk"
+ | "bis_affiliates_50_percent_rule"
| "bis_boycott_requester_list"
| "chinese_soe_adjacent"
| "chinese_state_owned"
@@ -39,12 +40,15 @@ export type Risk =
| "export_controls_bis_entity_50_percent_rule"
| "export_controls_bis_meu"
| "export_controls_bis_meu_50_percent_rule"
+ | "export_controls_other"
+ | "export_controls_other_adjacent"
| "export_controls_section_1260h"
| "export_controls_section_1260h_50_percent_rule"
| "export_controls_unverified_list"
| "export_controls_unverified_list_50_percent_rule"
| "export_to_chinese_soe"
| "export_to_sanctioned"
+ | "export_to_sanctioned_other"
| "export_to_soe"
| "exports_bis_high_priority_items_critical_components_direct"
| "exports_bis_high_priority_items_critical_components_indirect"
@@ -201,6 +205,7 @@ export type Risk =
| "owned_by_chinese_soe"
| "owned_by_cmic_entity"
| "owned_by_entity_in_export_controls"
+ | "owned_by_entity_in_export_controls_other"
| "owned_by_forced_labor_xinjiang_uflpa"
| "owned_by_jpn_meti_end_user_entity"
| "owned_by_jpn_mofa_export_ban_entity"
@@ -232,6 +237,7 @@ export type Risk =
| "owned_by_sanctioned_mys_moha_entity"
| "owned_by_sanctioned_nld_mofa_entity"
| "owned_by_sanctioned_nzl_mfat_rus_entity"
+ | "owned_by_sanctioned_other_entity"
| "owned_by_sanctioned_pol_mia_entity"
| "owned_by_sanctioned_sgp_agc_entity"
| "owned_by_sanctioned_ukr_nsdc_entity"
@@ -256,6 +262,7 @@ export type Risk =
| "owner_of_aspi_forced_labor_entity"
| "owner_of_chinese_soe"
| "owner_of_export_controls_entity"
+ | "owner_of_export_controls_other_entity"
| "owner_of_forced_labor_xinjiang_entity"
| "owner_of_forced_labor_xinjiang_uflpa"
| "owner_of_jpn_meti_end_user_entity"
@@ -288,6 +295,7 @@ export type Risk =
| "owner_of_sanctioned_mys_moha_entity"
| "owner_of_sanctioned_nld_mofa_entity"
| "owner_of_sanctioned_nzl_mfat_rus_entity"
+ | "owner_of_sanctioned_other_entity"
| "owner_of_sanctioned_pol_mia_entity"
| "owner_of_sanctioned_sgp_agc_entity"
| "owner_of_sanctioned_ukr_nsdc_entity"
@@ -318,10 +326,12 @@ export type Risk =
| "psa_export_controls"
| "psa_export_controls_bis_entity_50_percent_rule"
| "psa_export_controls_bis_meu_50_percent_rule"
+ | "psa_export_controls_other"
| "psa_export_controls_section_1260h_50_percent_rule"
| "psa_export_controls_unverified_list_50_percent_rule"
| "psa_export_to_chinese_soe"
| "psa_export_to_sanctioned"
+ | "psa_export_to_sanctioned_other"
| "psa_export_to_soe"
| "psa_exports_bis_high_priority_items_critical_components_direct"
| "psa_exports_bis_high_priority_items_critical_components_indirect"
@@ -428,6 +438,7 @@ export type Risk =
| "psa_owned_by_chinese_soe"
| "psa_owned_by_cmic_entity"
| "psa_owned_by_entity_in_export_controls"
+ | "psa_owned_by_entity_in_export_controls_other"
| "psa_owned_by_forced_labor_xinjiang_uflpa"
| "psa_owned_by_jpn_meti_end_user_entity"
| "psa_owned_by_jpn_mofa_export_ban_entity"
@@ -459,6 +470,7 @@ export type Risk =
| "psa_owned_by_sanctioned_mys_moha_entity"
| "psa_owned_by_sanctioned_nld_mofa_entity"
| "psa_owned_by_sanctioned_nzl_mfat_rus_entity"
+ | "psa_owned_by_sanctioned_other_entity"
| "psa_owned_by_sanctioned_pol_mia_entity"
| "psa_owned_by_sanctioned_sgp_agc_entity"
| "psa_owned_by_sanctioned_ukr_nsdc_entity"
@@ -483,6 +495,7 @@ export type Risk =
| "psa_owner_of_aspi_forced_labor_entity"
| "psa_owner_of_chinese_soe"
| "psa_owner_of_export_controls_entity"
+ | "psa_owner_of_export_controls_other_entity"
| "psa_owner_of_forced_labor_xinjiang_entity"
| "psa_owner_of_forced_labor_xinjiang_uflpa"
| "psa_owner_of_jpn_meti_end_user_entity"
@@ -515,6 +528,7 @@ export type Risk =
| "psa_owner_of_sanctioned_mys_moha_entity"
| "psa_owner_of_sanctioned_nld_mofa_entity"
| "psa_owner_of_sanctioned_nzl_mfat_rus_entity"
+ | "psa_owner_of_sanctioned_other_entity"
| "psa_owner_of_sanctioned_pol_mia_entity"
| "psa_owner_of_sanctioned_sgp_agc_entity"
| "psa_owner_of_sanctioned_ukr_nsdc_entity"
@@ -557,6 +571,7 @@ export type Risk =
| "psa_sanctioned_mys_moha"
| "psa_sanctioned_nld_mofa"
| "psa_sanctioned_nzl_mfat_rus"
+ | "psa_sanctioned_other"
| "psa_sanctioned_pol_mia"
| "psa_sanctioned_sgp_agc"
| "psa_sanctioned_ukr_nsdc"
@@ -615,6 +630,8 @@ export type Risk =
| "sanctioned_mys_moha"
| "sanctioned_nld_mofa"
| "sanctioned_nzl_mfat_rus"
+ | "sanctioned_other"
+ | "sanctioned_other_adjacent"
| "sanctioned_pol_mia"
| "sanctioned_sgp_agc"
| "sanctioned_ukr_nsdc"
@@ -652,6 +669,7 @@ export const Risk = {
AspiUyghurForcedLaborReportEntityAdjacent: "aspi_uyghur_forced_labor_report_entity_adjacent",
BaselAml: "basel_aml",
BisAddressesHighDiversionRisk: "bis_addresses_high_diversion_risk",
+ BisAffiliates50PercentRule: "bis_affiliates_50_percent_rule",
BisBoycottRequesterList: "bis_boycott_requester_list",
ChineseSoeAdjacent: "chinese_soe_adjacent",
ChineseStateOwned: "chinese_state_owned",
@@ -684,12 +702,15 @@ export const Risk = {
ExportControlsBisEntity50PercentRule: "export_controls_bis_entity_50_percent_rule",
ExportControlsBisMeu: "export_controls_bis_meu",
ExportControlsBisMeu50PercentRule: "export_controls_bis_meu_50_percent_rule",
+ ExportControlsOther: "export_controls_other",
+ ExportControlsOtherAdjacent: "export_controls_other_adjacent",
ExportControlsSection1260H: "export_controls_section_1260h",
ExportControlsSection1260H50PercentRule: "export_controls_section_1260h_50_percent_rule",
ExportControlsUnverifiedList: "export_controls_unverified_list",
ExportControlsUnverifiedList50PercentRule: "export_controls_unverified_list_50_percent_rule",
ExportToChineseSoe: "export_to_chinese_soe",
ExportToSanctioned: "export_to_sanctioned",
+ ExportToSanctionedOther: "export_to_sanctioned_other",
ExportToSoe: "export_to_soe",
ExportsBisHighPriorityItemsCriticalComponentsDirect: "exports_bis_high_priority_items_critical_components_direct",
ExportsBisHighPriorityItemsCriticalComponentsIndirect:
@@ -850,6 +871,7 @@ export const Risk = {
OwnedByChineseSoe: "owned_by_chinese_soe",
OwnedByCmicEntity: "owned_by_cmic_entity",
OwnedByEntityInExportControls: "owned_by_entity_in_export_controls",
+ OwnedByEntityInExportControlsOther: "owned_by_entity_in_export_controls_other",
OwnedByForcedLaborXinjiangUflpa: "owned_by_forced_labor_xinjiang_uflpa",
OwnedByJpnMetiEndUserEntity: "owned_by_jpn_meti_end_user_entity",
OwnedByJpnMofaExportBanEntity: "owned_by_jpn_mofa_export_ban_entity",
@@ -881,6 +903,7 @@ export const Risk = {
OwnedBySanctionedMysMohaEntity: "owned_by_sanctioned_mys_moha_entity",
OwnedBySanctionedNldMofaEntity: "owned_by_sanctioned_nld_mofa_entity",
OwnedBySanctionedNzlMfatRusEntity: "owned_by_sanctioned_nzl_mfat_rus_entity",
+ OwnedBySanctionedOtherEntity: "owned_by_sanctioned_other_entity",
OwnedBySanctionedPolMiaEntity: "owned_by_sanctioned_pol_mia_entity",
OwnedBySanctionedSgpAgcEntity: "owned_by_sanctioned_sgp_agc_entity",
OwnedBySanctionedUkrNsdcEntity: "owned_by_sanctioned_ukr_nsdc_entity",
@@ -906,6 +929,7 @@ export const Risk = {
OwnerOfAspiForcedLaborEntity: "owner_of_aspi_forced_labor_entity",
OwnerOfChineseSoe: "owner_of_chinese_soe",
OwnerOfExportControlsEntity: "owner_of_export_controls_entity",
+ OwnerOfExportControlsOtherEntity: "owner_of_export_controls_other_entity",
OwnerOfForcedLaborXinjiangEntity: "owner_of_forced_labor_xinjiang_entity",
OwnerOfForcedLaborXinjiangUflpa: "owner_of_forced_labor_xinjiang_uflpa",
OwnerOfJpnMetiEndUserEntity: "owner_of_jpn_meti_end_user_entity",
@@ -938,6 +962,7 @@ export const Risk = {
OwnerOfSanctionedMysMohaEntity: "owner_of_sanctioned_mys_moha_entity",
OwnerOfSanctionedNldMofaEntity: "owner_of_sanctioned_nld_mofa_entity",
OwnerOfSanctionedNzlMfatRusEntity: "owner_of_sanctioned_nzl_mfat_rus_entity",
+ OwnerOfSanctionedOtherEntity: "owner_of_sanctioned_other_entity",
OwnerOfSanctionedPolMiaEntity: "owner_of_sanctioned_pol_mia_entity",
OwnerOfSanctionedSgpAgcEntity: "owner_of_sanctioned_sgp_agc_entity",
OwnerOfSanctionedUkrNsdcEntity: "owner_of_sanctioned_ukr_nsdc_entity",
@@ -969,10 +994,12 @@ export const Risk = {
PsaExportControls: "psa_export_controls",
PsaExportControlsBisEntity50PercentRule: "psa_export_controls_bis_entity_50_percent_rule",
PsaExportControlsBisMeu50PercentRule: "psa_export_controls_bis_meu_50_percent_rule",
+ PsaExportControlsOther: "psa_export_controls_other",
PsaExportControlsSection1260H50PercentRule: "psa_export_controls_section_1260h_50_percent_rule",
PsaExportControlsUnverifiedList50PercentRule: "psa_export_controls_unverified_list_50_percent_rule",
PsaExportToChineseSoe: "psa_export_to_chinese_soe",
PsaExportToSanctioned: "psa_export_to_sanctioned",
+ PsaExportToSanctionedOther: "psa_export_to_sanctioned_other",
PsaExportToSoe: "psa_export_to_soe",
PsaExportsBisHighPriorityItemsCriticalComponentsDirect:
"psa_exports_bis_high_priority_items_critical_components_direct",
@@ -1083,6 +1110,7 @@ export const Risk = {
PsaOwnedByChineseSoe: "psa_owned_by_chinese_soe",
PsaOwnedByCmicEntity: "psa_owned_by_cmic_entity",
PsaOwnedByEntityInExportControls: "psa_owned_by_entity_in_export_controls",
+ PsaOwnedByEntityInExportControlsOther: "psa_owned_by_entity_in_export_controls_other",
PsaOwnedByForcedLaborXinjiangUflpa: "psa_owned_by_forced_labor_xinjiang_uflpa",
PsaOwnedByJpnMetiEndUserEntity: "psa_owned_by_jpn_meti_end_user_entity",
PsaOwnedByJpnMofaExportBanEntity: "psa_owned_by_jpn_mofa_export_ban_entity",
@@ -1114,6 +1142,7 @@ export const Risk = {
PsaOwnedBySanctionedMysMohaEntity: "psa_owned_by_sanctioned_mys_moha_entity",
PsaOwnedBySanctionedNldMofaEntity: "psa_owned_by_sanctioned_nld_mofa_entity",
PsaOwnedBySanctionedNzlMfatRusEntity: "psa_owned_by_sanctioned_nzl_mfat_rus_entity",
+ PsaOwnedBySanctionedOtherEntity: "psa_owned_by_sanctioned_other_entity",
PsaOwnedBySanctionedPolMiaEntity: "psa_owned_by_sanctioned_pol_mia_entity",
PsaOwnedBySanctionedSgpAgcEntity: "psa_owned_by_sanctioned_sgp_agc_entity",
PsaOwnedBySanctionedUkrNsdcEntity: "psa_owned_by_sanctioned_ukr_nsdc_entity",
@@ -1139,6 +1168,7 @@ export const Risk = {
PsaOwnerOfAspiForcedLaborEntity: "psa_owner_of_aspi_forced_labor_entity",
PsaOwnerOfChineseSoe: "psa_owner_of_chinese_soe",
PsaOwnerOfExportControlsEntity: "psa_owner_of_export_controls_entity",
+ PsaOwnerOfExportControlsOtherEntity: "psa_owner_of_export_controls_other_entity",
PsaOwnerOfForcedLaborXinjiangEntity: "psa_owner_of_forced_labor_xinjiang_entity",
PsaOwnerOfForcedLaborXinjiangUflpa: "psa_owner_of_forced_labor_xinjiang_uflpa",
PsaOwnerOfJpnMetiEndUserEntity: "psa_owner_of_jpn_meti_end_user_entity",
@@ -1171,6 +1201,7 @@ export const Risk = {
PsaOwnerOfSanctionedMysMohaEntity: "psa_owner_of_sanctioned_mys_moha_entity",
PsaOwnerOfSanctionedNldMofaEntity: "psa_owner_of_sanctioned_nld_mofa_entity",
PsaOwnerOfSanctionedNzlMfatRusEntity: "psa_owner_of_sanctioned_nzl_mfat_rus_entity",
+ PsaOwnerOfSanctionedOtherEntity: "psa_owner_of_sanctioned_other_entity",
PsaOwnerOfSanctionedPolMiaEntity: "psa_owner_of_sanctioned_pol_mia_entity",
PsaOwnerOfSanctionedSgpAgcEntity: "psa_owner_of_sanctioned_sgp_agc_entity",
PsaOwnerOfSanctionedUkrNsdcEntity: "psa_owner_of_sanctioned_ukr_nsdc_entity",
@@ -1214,6 +1245,7 @@ export const Risk = {
PsaSanctionedMysMoha: "psa_sanctioned_mys_moha",
PsaSanctionedNldMofa: "psa_sanctioned_nld_mofa",
PsaSanctionedNzlMfatRus: "psa_sanctioned_nzl_mfat_rus",
+ PsaSanctionedOther: "psa_sanctioned_other",
PsaSanctionedPolMia: "psa_sanctioned_pol_mia",
PsaSanctionedSgpAgc: "psa_sanctioned_sgp_agc",
PsaSanctionedUkrNsdc: "psa_sanctioned_ukr_nsdc",
@@ -1272,6 +1304,8 @@ export const Risk = {
SanctionedMysMoha: "sanctioned_mys_moha",
SanctionedNldMofa: "sanctioned_nld_mofa",
SanctionedNzlMfatRus: "sanctioned_nzl_mfat_rus",
+ SanctionedOther: "sanctioned_other",
+ SanctionedOtherAdjacent: "sanctioned_other_adjacent",
SanctionedPolMia: "sanctioned_pol_mia",
SanctionedSgpAgc: "sanctioned_sgp_agc",
SanctionedUkrNsdc: "sanctioned_ukr_nsdc",
diff --git a/src/api/resources/generatedTypes/types/WeakIdentifierType.ts b/src/api/resources/generatedTypes/types/WeakIdentifierType.ts
index ec4ee5c5..abcf1611 100644
--- a/src/api/resources/generatedTypes/types/WeakIdentifierType.ts
+++ b/src/api/resources/generatedTypes/types/WeakIdentifierType.ts
@@ -156,6 +156,9 @@ export type WeakIdentifierType =
/**
* Global Trade Internal Shipment ID */
| "int_trade_internal_shipment_id"
+ /**
+ * International Trademark Number registered via the Madrid System administered by the World Intellectual Property Organization (WIPO). Madrid System is a solution for registering and managing trademarks worldwide. */
+ | "international_trademark_no"
/**
* Unique Ireland ID number. Assigned to every legal entity registered with Ireland Companies Registration Office. */
| "irl_registration_no"
@@ -379,6 +382,9 @@ export type WeakIdentifierType =
/**
* Tokyo Shoko Research Business Identifier. Identification code, assigned by credit reporting company, Tokyo Shoko Research, for businesses in Japan. */
| "tokyo_shoko_id"
+ /**
+ * Unique foreign investor number. Assigned to every non-Tongan or foreign-registered company wishing to conduct business in the country. */
+ | "ton_foreign_investor_id"
/**
* Declaration number for import and export shipments in Turkey */
| "tur_declaration_number"
@@ -589,6 +595,7 @@ export const WeakIdentifierType = {
IndSebi: "ind_sebi",
IndShipmentBillId: "ind_shipment_bill_id",
IntTradeInternalShipmentId: "int_trade_internal_shipment_id",
+ InternationalTrademarkNo: "international_trademark_no",
IrlRegistrationNo: "irl_registration_no",
IrnRegNumber: "irn_reg_number",
IrqProvisionCard: "irq_provision_card",
@@ -664,6 +671,7 @@ export const WeakIdentifierType = {
SouthAfricaPartialIdNumber: "south_africa_partial_id_number",
SvkFilingNumber: "svk_filing_number",
TokyoShokoId: "tokyo_shoko_id",
+ TonForeignInvestorId: "ton_foreign_investor_id",
TurDeclarationNumber: "tur_declaration_number",
TurOfficeRegistrationNumber: "tur_office_registration_number",
TurPartialMersisNumber: "tur_partial_mersis_number",
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..d7de9fb2 100644
--- a/src/api/resources/project/client/Client.ts
+++ b/src/api/resources/project/client/Client.ts
@@ -48,6 +48,7 @@ export class Project {
* @example
* await client.project.createProject({
* label: "My First Project",
+ * type: "network",
* share: {
* org: "admin"
* }
@@ -69,8 +70,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,
@@ -199,7 +200,7 @@ export class Project {
request: Sayari.GetProjects = {},
requestOptions?: Project.RequestOptions,
): Promise {
- const { next, prev, limit, archived } = request;
+ const { next, prev, limit, archived, type: type_ } = request;
const _queryParams: Record = {};
if (next != null) {
_queryParams["next"] = next;
@@ -217,6 +218,10 @@ export class Project {
_queryParams["archived"] = archived.toString();
}
+ if (type_ != null) {
+ _queryParams["type"] = serializers.ProjectType.jsonOrThrow(type_, { unrecognizedObjectKeys: "strip" });
+ }
+
const _response = await core.fetcher({
url: urlJoin(
(await core.Supplier.get(this._options.baseUrl)) ??
@@ -229,8 +234,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 +367,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/project/client/requests/GetProjects.ts b/src/api/resources/project/client/requests/GetProjects.ts
index 8d1eae6f..21f4da6e 100644
--- a/src/api/resources/project/client/requests/GetProjects.ts
+++ b/src/api/resources/project/client/requests/GetProjects.ts
@@ -2,6 +2,8 @@
* This file was auto-generated by Fern from our API Definition.
*/
+import * as Sayari from "../../../../index";
+
/**
* @example
* {
@@ -32,4 +34,8 @@ export interface GetProjects {
* Toggle between projects that have been archived (true) or not (false). Defaults to false.
*/
archived?: boolean;
+ /**
+ * Which project types to return
+ */
+ type?: Sayari.ProjectType;
}
diff --git a/src/api/resources/project/types/CreateProjectRequest.ts b/src/api/resources/project/types/CreateProjectRequest.ts
index 2e3f17c2..b510d724 100644
--- a/src/api/resources/project/types/CreateProjectRequest.ts
+++ b/src/api/resources/project/types/CreateProjectRequest.ts
@@ -8,6 +8,7 @@ import * as Sayari from "../../../index";
* @example
* {
* label: "My First Project",
+ * type: Sayari.ProjectType.Network,
* share: {
* org: Sayari.Role.Admin
* }
@@ -15,6 +16,8 @@ import * as Sayari from "../../../index";
*/
export interface CreateProjectRequest {
label: string;
+ /** Specifies which type of project to create. Defaults to 'network' */
+ type?: Sayari.ProjectType;
/** Specifies access levels available to users in a project within an organization. For comprehensive access, the admin role is recommended. */
share?: Sayari.ProjectShareOnCreate;
}
diff --git a/src/api/resources/project/types/CreateProjectResponse.ts b/src/api/resources/project/types/CreateProjectResponse.ts
index 5ea661a8..1e201bef 100644
--- a/src/api/resources/project/types/CreateProjectResponse.ts
+++ b/src/api/resources/project/types/CreateProjectResponse.ts
@@ -19,7 +19,8 @@ import * as Sayari from "../../../index";
* record: 0,
* search: 0
* },
- * isScrm: false
+ * isScrm: false,
+ * type: Sayari.ProjectType.Network
* }
* }
*/
diff --git a/src/api/resources/project/types/DeleteProjectResponse.ts b/src/api/resources/project/types/DeleteProjectResponse.ts
index 42af2190..ec4834b0 100644
--- a/src/api/resources/project/types/DeleteProjectResponse.ts
+++ b/src/api/resources/project/types/DeleteProjectResponse.ts
@@ -13,6 +13,7 @@ import * as Sayari from "../../../index";
* archived: false,
* created: "2024-04-24 13:43:56.546705+00",
* updated: "2024-04-24 13:43:56.546705+00",
+ * type: Sayari.ProjectType.Network,
* counts: {
* entity: 2,
* graph: 0,
diff --git a/src/api/resources/project/types/GetProjectsResponse.ts b/src/api/resources/project/types/GetProjectsResponse.ts
index 3361ef98..e2b89c84 100644
--- a/src/api/resources/project/types/GetProjectsResponse.ts
+++ b/src/api/resources/project/types/GetProjectsResponse.ts
@@ -16,6 +16,7 @@ import * as Sayari from "../../../index";
* archived: false,
* created: "2023-10-25 14:44:06.322117+00",
* updated: "2023-10-25 14:44:06.322117+00",
+ * type: Sayari.ProjectType.Network,
* counts: {},
* members: [{
* type: Sayari.RoleMemberType.User,
@@ -30,6 +31,7 @@ import * as Sayari from "../../../index";
* archived: false,
* created: "2023-10-24 20:41:21.235451+00",
* updated: "2023-10-24 20:41:21.235451+00",
+ * type: Sayari.ProjectType.Network,
* counts: {
* graph: 1,
* entity: 2530
@@ -59,6 +61,7 @@ import * as Sayari from "../../../index";
* archived: true,
* created: "2023-06-18 04:28:05.136302+00",
* updated: "2023-06-20 18:44:03.624841+00",
+ * type: Sayari.ProjectType.Network,
* counts: {
* entity: 10
* },
diff --git a/src/api/resources/project/types/Project.ts b/src/api/resources/project/types/Project.ts
index a2b7ae98..f28c3a90 100644
--- a/src/api/resources/project/types/Project.ts
+++ b/src/api/resources/project/types/Project.ts
@@ -14,5 +14,7 @@ export interface Project {
created: string;
updated: string;
counts: Sayari.ProjectCounts;
+ /** **Deprecated.** Use `type == 'supply_chain'` instead. */
isScrm?: boolean;
+ type: Sayari.ProjectType;
}
diff --git a/src/api/resources/project/types/ProjectType.ts b/src/api/resources/project/types/ProjectType.ts
new file mode 100644
index 00000000..4825fe81
--- /dev/null
+++ b/src/api/resources/project/types/ProjectType.ts
@@ -0,0 +1,9 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export type ProjectType = "network" | "supply_chain";
+export const ProjectType = {
+ Network: "network",
+ SupplyChain: "supply_chain",
+} as const;
diff --git a/src/api/resources/project/types/index.ts b/src/api/resources/project/types/index.ts
index 68679279..8b3d21bb 100644
--- a/src/api/resources/project/types/index.ts
+++ b/src/api/resources/project/types/index.ts
@@ -16,6 +16,7 @@ export * from "./TierCountAgg";
export * from "./TierCount";
export * from "./TierCountKeys";
export * from "./IntKeyValue";
+export * from "./ProjectType";
export * from "./Project";
export * from "./ProjectEntitiesAggsDefinition";
export * from "./UpstreamTiers";
diff --git a/src/api/resources/projectEntity/client/Client.ts b/src/api/resources/projectEntity/client/Client.ts
index 730d0686..0ee3d0bf 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,
@@ -546,6 +546,292 @@ export class ProjectEntity {
}
}
+ /**
+ * Adds matches to a project entity.
+ *
+ * @param {string} projectId
+ * @param {string} projectEntityId
+ * @param {Sayari.UpdateProjectEntityMatchesBody} request
+ * @param {ProjectEntity.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link Sayari.BadRequest}
+ * @throws {@link Sayari.Unauthorized}
+ * @throws {@link Sayari.NotFound}
+ * @throws {@link Sayari.MethodNotAllowed}
+ * @throws {@link Sayari.RateLimitExceeded}
+ * @throws {@link Sayari.InternalServerError}
+ *
+ * @example
+ * await client.projectEntity.addProjectEntityMatches("project_id", "project_entity_id", {
+ * entityIds: ["entity_ids", "entity_ids"],
+ * overrideDeleted: undefined,
+ * limit: undefined
+ * })
+ */
+ public async addProjectEntityMatches(
+ projectId: string,
+ projectEntityId: string,
+ request: Sayari.UpdateProjectEntityMatchesBody,
+ requestOptions?: ProjectEntity.RequestOptions,
+ ): Promise {
+ const _response = await core.fetcher({
+ url: urlJoin(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.SayariEnvironment.Production,
+ `/v1/projects/${encodeURIComponent(projectId)}/entities/${encodeURIComponent(projectEntityId)}/matches`,
+ ),
+ method: "POST",
+ headers: {
+ Authorization: await this._getAuthorizationHeader(),
+ "X-Fern-Language": "JavaScript",
+ "X-Fern-SDK-Name": "@sayari/sdk",
+ "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,
+ },
+ contentType: "application/json",
+ requestType: "json",
+ body: serializers.UpdateProjectEntityMatchesBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
+ timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
+ maxRetries: requestOptions?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ });
+ if (_response.ok) {
+ return serializers.UpdateProjectEntityMatchesResponse.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ });
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 400:
+ throw new Sayari.BadRequest(
+ serializers.BadRequestResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 401:
+ throw new Sayari.Unauthorized(
+ serializers.UnauthorizedResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 404:
+ throw new Sayari.NotFound(
+ serializers.NotFoundResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 405:
+ throw new Sayari.MethodNotAllowed(
+ serializers.MethodNotAllowedResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 429:
+ throw new Sayari.RateLimitExceeded(
+ serializers.RateLimitResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 500:
+ throw new Sayari.InternalServerError(
+ serializers.InternalServerErrorResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ default:
+ throw new errors.SayariError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
+ }
+
+ switch (_response.error.reason) {
+ case "non-json":
+ throw new errors.SayariError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.rawBody,
+ });
+ case "timeout":
+ throw new errors.SayariTimeoutError(
+ "Timeout exceeded when calling POST /v1/projects/{project_id}/entities/{project_entity_id}/matches.",
+ );
+ case "unknown":
+ throw new errors.SayariError({
+ message: _response.error.errorMessage,
+ });
+ }
+ }
+
+ /**
+ * Replace matches in a project entity.
+ *
+ * @param {string} projectId
+ * @param {string} projectEntityId
+ * @param {Sayari.UpdateProjectEntityMatchesBody} request
+ * @param {ProjectEntity.RequestOptions} requestOptions - Request-specific configuration.
+ *
+ * @throws {@link Sayari.BadRequest}
+ * @throws {@link Sayari.Unauthorized}
+ * @throws {@link Sayari.NotFound}
+ * @throws {@link Sayari.MethodNotAllowed}
+ * @throws {@link Sayari.RateLimitExceeded}
+ * @throws {@link Sayari.InternalServerError}
+ *
+ * @example
+ * await client.projectEntity.replaceProjectEntityMatches("project_id", "project_entity_id", {
+ * entityIds: ["entity_ids", "entity_ids"],
+ * overrideDeleted: undefined,
+ * limit: undefined
+ * })
+ */
+ public async replaceProjectEntityMatches(
+ projectId: string,
+ projectEntityId: string,
+ request: Sayari.UpdateProjectEntityMatchesBody,
+ requestOptions?: ProjectEntity.RequestOptions,
+ ): Promise {
+ const _response = await core.fetcher({
+ url: urlJoin(
+ (await core.Supplier.get(this._options.baseUrl)) ??
+ (await core.Supplier.get(this._options.environment)) ??
+ environments.SayariEnvironment.Production,
+ `/v1/projects/${encodeURIComponent(projectId)}/entities/${encodeURIComponent(projectEntityId)}/matches`,
+ ),
+ method: "PATCH",
+ headers: {
+ Authorization: await this._getAuthorizationHeader(),
+ "X-Fern-Language": "JavaScript",
+ "X-Fern-SDK-Name": "@sayari/sdk",
+ "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,
+ },
+ contentType: "application/json",
+ requestType: "json",
+ body: serializers.UpdateProjectEntityMatchesBody.jsonOrThrow(request, { unrecognizedObjectKeys: "strip" }),
+ timeoutMs: requestOptions?.timeoutInSeconds != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
+ maxRetries: requestOptions?.maxRetries,
+ abortSignal: requestOptions?.abortSignal,
+ });
+ if (_response.ok) {
+ return serializers.UpdateProjectEntityMatchesResponse.parseOrThrow(_response.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ });
+ }
+
+ if (_response.error.reason === "status-code") {
+ switch (_response.error.statusCode) {
+ case 400:
+ throw new Sayari.BadRequest(
+ serializers.BadRequestResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 401:
+ throw new Sayari.Unauthorized(
+ serializers.UnauthorizedResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 404:
+ throw new Sayari.NotFound(
+ serializers.NotFoundResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 405:
+ throw new Sayari.MethodNotAllowed(
+ serializers.MethodNotAllowedResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 429:
+ throw new Sayari.RateLimitExceeded(
+ serializers.RateLimitResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ case 500:
+ throw new Sayari.InternalServerError(
+ serializers.InternalServerErrorResponse.parseOrThrow(_response.error.body, {
+ unrecognizedObjectKeys: "passthrough",
+ allowUnrecognizedUnionMembers: true,
+ allowUnrecognizedEnumValues: true,
+ breadcrumbsPrefix: ["response"],
+ }),
+ );
+ default:
+ throw new errors.SayariError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.body,
+ });
+ }
+ }
+
+ switch (_response.error.reason) {
+ case "non-json":
+ throw new errors.SayariError({
+ statusCode: _response.error.statusCode,
+ body: _response.error.rawBody,
+ });
+ case "timeout":
+ throw new errors.SayariTimeoutError(
+ "Timeout exceeded when calling PATCH /v1/projects/{project_id}/entities/{project_entity_id}/matches.",
+ );
+ case "unknown":
+ throw new errors.SayariError({
+ message: _response.error.errorMessage,
+ });
+ }
+ }
+
/**
* Deletes a project entity.
*
@@ -580,8 +866,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 +999,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 +1133,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 +1277,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 +1451,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 +1636,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 +1780,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 +1911,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 +2152,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 +2310,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 +2521,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..fbeee833 100644
--- a/src/api/resources/projectEntity/types/ProjectEntitiesResponse.ts
+++ b/src/api/resources/projectEntity/types/ProjectEntitiesResponse.ts
@@ -15,6 +15,8 @@ import * as Sayari from "../../../index";
* uploadIds: [],
* strength: Sayari.MatchStrengthEnum.Strong,
* createdAt: "2025-04-22 22:54:00.913586+00",
+ * updatedAt: "2025-04-23 13:37:00.215522+00",
+ * updatedBy: "auth0|5e45bd8caccd890e68147513",
* attributes: {
* "name": {
* matchResolution: true,
@@ -87,7 +89,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..bf2a4415 100644
--- a/src/api/resources/projectEntity/types/ProjectEntityResponse.ts
+++ b/src/api/resources/projectEntity/types/ProjectEntityResponse.ts
@@ -17,7 +17,8 @@ export interface ProjectEntityResponse {
riskFactors: Sayari.ProjectRiskFactor[];
upstream: Sayari.UpstreamInfo;
tags: Sayari.TagResponse[];
- case?: Sayari.CaseStatus;
+ case?: Sayari.CaseInfo;
matches: Sayari.ProjectEntityMatchResponse[];
updatedAt?: string;
+ updatedBy?: string;
}
diff --git a/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts b/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts
index 376ae876..e63de294 100644
--- a/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts
+++ b/src/api/resources/projectEntity/types/SingleProjectEntityResponse.ts
@@ -14,6 +14,8 @@ import * as Sayari from "../../../index";
* uploadIds: [],
* strength: Sayari.MatchStrengthEnum.Strong,
* createdAt: "2025-04-22 22:54:00.913586+00",
+ * updatedAt: "2025-04-23 13:37:00.215522+00",
+ * updatedBy: "auth0|5e45bd8caccd890e68147513",
* attributes: {
* "name": {
* matchResolution: true,
@@ -86,7 +88,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 +403,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/projectEntity/types/UpdateProjectEntityMatchesBody.ts b/src/api/resources/projectEntity/types/UpdateProjectEntityMatchesBody.ts
new file mode 100644
index 00000000..620693ff
--- /dev/null
+++ b/src/api/resources/projectEntity/types/UpdateProjectEntityMatchesBody.ts
@@ -0,0 +1,11 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export interface UpdateProjectEntityMatchesBody {
+ entityIds: string[];
+ /** Add a previously deleted match. Defaults to false. */
+ overrideDeleted?: boolean;
+ /** Limit total matches to update. Defaults to 10. Max 50. */
+ limit?: number;
+}
diff --git a/src/api/resources/projectEntity/types/UpdateProjectEntityMatchesResponse.ts b/src/api/resources/projectEntity/types/UpdateProjectEntityMatchesResponse.ts
new file mode 100644
index 00000000..9982c613
--- /dev/null
+++ b/src/api/resources/projectEntity/types/UpdateProjectEntityMatchesResponse.ts
@@ -0,0 +1,8 @@
+/**
+ * This file was auto-generated by Fern from our API Definition.
+ */
+
+export interface UpdateProjectEntityMatchesResponse {
+ /** Updated entity ids */
+ data: string[];
+}
diff --git a/src/api/resources/projectEntity/types/index.ts b/src/api/resources/projectEntity/types/index.ts
index 7c6098e9..494c6cb1 100644
--- a/src/api/resources/projectEntity/types/index.ts
+++ b/src/api/resources/projectEntity/types/index.ts
@@ -46,6 +46,8 @@ export * from "./UpstreamCount";
export * from "./SourceField";
export * from "./Address";
export * from "./Location";
+export * from "./UpdateProjectEntityMatchesBody";
+export * from "./UpdateProjectEntityMatchesResponse";
export * from "./TagResponse";
export * from "./UpdateProjectEntityTagsBody";
export * from "./UpdateEntityTagsResponse";
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/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.ts b/src/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.ts
index 6f1a82e9..7d83aef2 100644
--- a/src/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.ts
+++ b/src/core/fetcher/stream-wrappers/Node18UniversalStreamWrapper.ts
@@ -2,10 +2,12 @@ import type { Writable } from "readable-stream";
import { EventCallback, StreamWrapper } from "./chooseStreamWrapper";
-export class Node18UniversalStreamWrapper
- implements
- StreamWrapper | Writable | WritableStream, ReadFormat>
-{
+export class Node18UniversalStreamWrapper<
+ ReadFormat extends Uint8Array | Uint16Array | Uint32Array,
+> implements StreamWrapper<
+ Node18UniversalStreamWrapper | Writable | WritableStream,
+ ReadFormat
+> {
private readableStream: ReadableStream;
private reader: ReadableStreamDefaultReader;
private events: Record;
diff --git a/src/core/fetcher/stream-wrappers/UndiciStreamWrapper.ts b/src/core/fetcher/stream-wrappers/UndiciStreamWrapper.ts
index 091e2a7f..e5e8b680 100644
--- a/src/core/fetcher/stream-wrappers/UndiciStreamWrapper.ts
+++ b/src/core/fetcher/stream-wrappers/UndiciStreamWrapper.ts
@@ -2,9 +2,10 @@ import { StreamWrapper } from "./chooseStreamWrapper";
type EventCallback = (data?: any) => void;
-export class UndiciStreamWrapper
- implements StreamWrapper | WritableStream, ReadFormat>
-{
+export class UndiciStreamWrapper implements StreamWrapper<
+ UndiciStreamWrapper | WritableStream,
+ ReadFormat
+> {
private readableStream: ReadableStream;
private reader: ReadableStreamDefaultReader;
private events: Record;
diff --git a/src/serialization/resources/generatedTypes/types/IdentifierType.ts b/src/serialization/resources/generatedTypes/types/IdentifierType.ts
index c74d0050..8906e85f 100644
--- a/src/serialization/resources/generatedTypes/types/IdentifierType.ts
+++ b/src/serialization/resources/generatedTypes/types/IdentifierType.ts
@@ -48,6 +48,7 @@ export const IdentifierType: core.serialization.Schema
"aspi_uyghur_forced_labor_report_entity_adjacent",
"basel_aml",
"bis_addresses_high_diversion_risk",
+ "bis_affiliates_50_percent_rule",
"bis_boycott_requester_list",
"chinese_soe_adjacent",
"chinese_state_owned",
@@ -43,12 +44,15 @@ export const Risk: core.serialization.Schema
"export_controls_bis_entity_50_percent_rule",
"export_controls_bis_meu",
"export_controls_bis_meu_50_percent_rule",
+ "export_controls_other",
+ "export_controls_other_adjacent",
"export_controls_section_1260h",
"export_controls_section_1260h_50_percent_rule",
"export_controls_unverified_list",
"export_controls_unverified_list_50_percent_rule",
"export_to_chinese_soe",
"export_to_sanctioned",
+ "export_to_sanctioned_other",
"export_to_soe",
"exports_bis_high_priority_items_critical_components_direct",
"exports_bis_high_priority_items_critical_components_indirect",
@@ -205,6 +209,7 @@ export const Risk: core.serialization.Schema
"owned_by_chinese_soe",
"owned_by_cmic_entity",
"owned_by_entity_in_export_controls",
+ "owned_by_entity_in_export_controls_other",
"owned_by_forced_labor_xinjiang_uflpa",
"owned_by_jpn_meti_end_user_entity",
"owned_by_jpn_mofa_export_ban_entity",
@@ -236,6 +241,7 @@ export const Risk: core.serialization.Schema
"owned_by_sanctioned_mys_moha_entity",
"owned_by_sanctioned_nld_mofa_entity",
"owned_by_sanctioned_nzl_mfat_rus_entity",
+ "owned_by_sanctioned_other_entity",
"owned_by_sanctioned_pol_mia_entity",
"owned_by_sanctioned_sgp_agc_entity",
"owned_by_sanctioned_ukr_nsdc_entity",
@@ -260,6 +266,7 @@ export const Risk: core.serialization.Schema
"owner_of_aspi_forced_labor_entity",
"owner_of_chinese_soe",
"owner_of_export_controls_entity",
+ "owner_of_export_controls_other_entity",
"owner_of_forced_labor_xinjiang_entity",
"owner_of_forced_labor_xinjiang_uflpa",
"owner_of_jpn_meti_end_user_entity",
@@ -292,6 +299,7 @@ export const Risk: core.serialization.Schema
"owner_of_sanctioned_mys_moha_entity",
"owner_of_sanctioned_nld_mofa_entity",
"owner_of_sanctioned_nzl_mfat_rus_entity",
+ "owner_of_sanctioned_other_entity",
"owner_of_sanctioned_pol_mia_entity",
"owner_of_sanctioned_sgp_agc_entity",
"owner_of_sanctioned_ukr_nsdc_entity",
@@ -322,10 +330,12 @@ export const Risk: core.serialization.Schema
"psa_export_controls",
"psa_export_controls_bis_entity_50_percent_rule",
"psa_export_controls_bis_meu_50_percent_rule",
+ "psa_export_controls_other",
"psa_export_controls_section_1260h_50_percent_rule",
"psa_export_controls_unverified_list_50_percent_rule",
"psa_export_to_chinese_soe",
"psa_export_to_sanctioned",
+ "psa_export_to_sanctioned_other",
"psa_export_to_soe",
"psa_exports_bis_high_priority_items_critical_components_direct",
"psa_exports_bis_high_priority_items_critical_components_indirect",
@@ -432,6 +442,7 @@ export const Risk: core.serialization.Schema
"psa_owned_by_chinese_soe",
"psa_owned_by_cmic_entity",
"psa_owned_by_entity_in_export_controls",
+ "psa_owned_by_entity_in_export_controls_other",
"psa_owned_by_forced_labor_xinjiang_uflpa",
"psa_owned_by_jpn_meti_end_user_entity",
"psa_owned_by_jpn_mofa_export_ban_entity",
@@ -463,6 +474,7 @@ export const Risk: core.serialization.Schema
"psa_owned_by_sanctioned_mys_moha_entity",
"psa_owned_by_sanctioned_nld_mofa_entity",
"psa_owned_by_sanctioned_nzl_mfat_rus_entity",
+ "psa_owned_by_sanctioned_other_entity",
"psa_owned_by_sanctioned_pol_mia_entity",
"psa_owned_by_sanctioned_sgp_agc_entity",
"psa_owned_by_sanctioned_ukr_nsdc_entity",
@@ -487,6 +499,7 @@ export const Risk: core.serialization.Schema
"psa_owner_of_aspi_forced_labor_entity",
"psa_owner_of_chinese_soe",
"psa_owner_of_export_controls_entity",
+ "psa_owner_of_export_controls_other_entity",
"psa_owner_of_forced_labor_xinjiang_entity",
"psa_owner_of_forced_labor_xinjiang_uflpa",
"psa_owner_of_jpn_meti_end_user_entity",
@@ -519,6 +532,7 @@ export const Risk: core.serialization.Schema
"psa_owner_of_sanctioned_mys_moha_entity",
"psa_owner_of_sanctioned_nld_mofa_entity",
"psa_owner_of_sanctioned_nzl_mfat_rus_entity",
+ "psa_owner_of_sanctioned_other_entity",
"psa_owner_of_sanctioned_pol_mia_entity",
"psa_owner_of_sanctioned_sgp_agc_entity",
"psa_owner_of_sanctioned_ukr_nsdc_entity",
@@ -561,6 +575,7 @@ export const Risk: core.serialization.Schema
"psa_sanctioned_mys_moha",
"psa_sanctioned_nld_mofa",
"psa_sanctioned_nzl_mfat_rus",
+ "psa_sanctioned_other",
"psa_sanctioned_pol_mia",
"psa_sanctioned_sgp_agc",
"psa_sanctioned_ukr_nsdc",
@@ -619,6 +634,8 @@ export const Risk: core.serialization.Schema
"sanctioned_mys_moha",
"sanctioned_nld_mofa",
"sanctioned_nzl_mfat_rus",
+ "sanctioned_other",
+ "sanctioned_other_adjacent",
"sanctioned_pol_mia",
"sanctioned_sgp_agc",
"sanctioned_ukr_nsdc",
@@ -659,6 +676,7 @@ export declare namespace Risk {
| "aspi_uyghur_forced_labor_report_entity_adjacent"
| "basel_aml"
| "bis_addresses_high_diversion_risk"
+ | "bis_affiliates_50_percent_rule"
| "bis_boycott_requester_list"
| "chinese_soe_adjacent"
| "chinese_state_owned"
@@ -691,12 +709,15 @@ export declare namespace Risk {
| "export_controls_bis_entity_50_percent_rule"
| "export_controls_bis_meu"
| "export_controls_bis_meu_50_percent_rule"
+ | "export_controls_other"
+ | "export_controls_other_adjacent"
| "export_controls_section_1260h"
| "export_controls_section_1260h_50_percent_rule"
| "export_controls_unverified_list"
| "export_controls_unverified_list_50_percent_rule"
| "export_to_chinese_soe"
| "export_to_sanctioned"
+ | "export_to_sanctioned_other"
| "export_to_soe"
| "exports_bis_high_priority_items_critical_components_direct"
| "exports_bis_high_priority_items_critical_components_indirect"
@@ -853,6 +874,7 @@ export declare namespace Risk {
| "owned_by_chinese_soe"
| "owned_by_cmic_entity"
| "owned_by_entity_in_export_controls"
+ | "owned_by_entity_in_export_controls_other"
| "owned_by_forced_labor_xinjiang_uflpa"
| "owned_by_jpn_meti_end_user_entity"
| "owned_by_jpn_mofa_export_ban_entity"
@@ -884,6 +906,7 @@ export declare namespace Risk {
| "owned_by_sanctioned_mys_moha_entity"
| "owned_by_sanctioned_nld_mofa_entity"
| "owned_by_sanctioned_nzl_mfat_rus_entity"
+ | "owned_by_sanctioned_other_entity"
| "owned_by_sanctioned_pol_mia_entity"
| "owned_by_sanctioned_sgp_agc_entity"
| "owned_by_sanctioned_ukr_nsdc_entity"
@@ -908,6 +931,7 @@ export declare namespace Risk {
| "owner_of_aspi_forced_labor_entity"
| "owner_of_chinese_soe"
| "owner_of_export_controls_entity"
+ | "owner_of_export_controls_other_entity"
| "owner_of_forced_labor_xinjiang_entity"
| "owner_of_forced_labor_xinjiang_uflpa"
| "owner_of_jpn_meti_end_user_entity"
@@ -940,6 +964,7 @@ export declare namespace Risk {
| "owner_of_sanctioned_mys_moha_entity"
| "owner_of_sanctioned_nld_mofa_entity"
| "owner_of_sanctioned_nzl_mfat_rus_entity"
+ | "owner_of_sanctioned_other_entity"
| "owner_of_sanctioned_pol_mia_entity"
| "owner_of_sanctioned_sgp_agc_entity"
| "owner_of_sanctioned_ukr_nsdc_entity"
@@ -970,10 +995,12 @@ export declare namespace Risk {
| "psa_export_controls"
| "psa_export_controls_bis_entity_50_percent_rule"
| "psa_export_controls_bis_meu_50_percent_rule"
+ | "psa_export_controls_other"
| "psa_export_controls_section_1260h_50_percent_rule"
| "psa_export_controls_unverified_list_50_percent_rule"
| "psa_export_to_chinese_soe"
| "psa_export_to_sanctioned"
+ | "psa_export_to_sanctioned_other"
| "psa_export_to_soe"
| "psa_exports_bis_high_priority_items_critical_components_direct"
| "psa_exports_bis_high_priority_items_critical_components_indirect"
@@ -1080,6 +1107,7 @@ export declare namespace Risk {
| "psa_owned_by_chinese_soe"
| "psa_owned_by_cmic_entity"
| "psa_owned_by_entity_in_export_controls"
+ | "psa_owned_by_entity_in_export_controls_other"
| "psa_owned_by_forced_labor_xinjiang_uflpa"
| "psa_owned_by_jpn_meti_end_user_entity"
| "psa_owned_by_jpn_mofa_export_ban_entity"
@@ -1111,6 +1139,7 @@ export declare namespace Risk {
| "psa_owned_by_sanctioned_mys_moha_entity"
| "psa_owned_by_sanctioned_nld_mofa_entity"
| "psa_owned_by_sanctioned_nzl_mfat_rus_entity"
+ | "psa_owned_by_sanctioned_other_entity"
| "psa_owned_by_sanctioned_pol_mia_entity"
| "psa_owned_by_sanctioned_sgp_agc_entity"
| "psa_owned_by_sanctioned_ukr_nsdc_entity"
@@ -1135,6 +1164,7 @@ export declare namespace Risk {
| "psa_owner_of_aspi_forced_labor_entity"
| "psa_owner_of_chinese_soe"
| "psa_owner_of_export_controls_entity"
+ | "psa_owner_of_export_controls_other_entity"
| "psa_owner_of_forced_labor_xinjiang_entity"
| "psa_owner_of_forced_labor_xinjiang_uflpa"
| "psa_owner_of_jpn_meti_end_user_entity"
@@ -1167,6 +1197,7 @@ export declare namespace Risk {
| "psa_owner_of_sanctioned_mys_moha_entity"
| "psa_owner_of_sanctioned_nld_mofa_entity"
| "psa_owner_of_sanctioned_nzl_mfat_rus_entity"
+ | "psa_owner_of_sanctioned_other_entity"
| "psa_owner_of_sanctioned_pol_mia_entity"
| "psa_owner_of_sanctioned_sgp_agc_entity"
| "psa_owner_of_sanctioned_ukr_nsdc_entity"
@@ -1209,6 +1240,7 @@ export declare namespace Risk {
| "psa_sanctioned_mys_moha"
| "psa_sanctioned_nld_mofa"
| "psa_sanctioned_nzl_mfat_rus"
+ | "psa_sanctioned_other"
| "psa_sanctioned_pol_mia"
| "psa_sanctioned_sgp_agc"
| "psa_sanctioned_ukr_nsdc"
@@ -1267,6 +1299,8 @@ export declare namespace Risk {
| "sanctioned_mys_moha"
| "sanctioned_nld_mofa"
| "sanctioned_nzl_mfat_rus"
+ | "sanctioned_other"
+ | "sanctioned_other_adjacent"
| "sanctioned_pol_mia"
| "sanctioned_sgp_agc"
| "sanctioned_ukr_nsdc"
diff --git a/src/serialization/resources/generatedTypes/types/WeakIdentifierType.ts b/src/serialization/resources/generatedTypes/types/WeakIdentifierType.ts
index ad712282..4203ad8e 100644
--- a/src/serialization/resources/generatedTypes/types/WeakIdentifierType.ts
+++ b/src/serialization/resources/generatedTypes/types/WeakIdentifierType.ts
@@ -60,6 +60,7 @@ export const WeakIdentifierType: core.serialization.Schema<
"ind_sebi",
"ind_shipment_bill_id",
"int_trade_internal_shipment_id",
+ "international_trademark_no",
"irl_registration_no",
"irn_reg_number",
"irq_provision_card",
@@ -135,6 +136,7 @@ export const WeakIdentifierType: core.serialization.Schema<
"south_africa_partial_id_number",
"svk_filing_number",
"tokyo_shoko_id",
+ "ton_foreign_investor_id",
"tur_declaration_number",
"tur_office_registration_number",
"tur_partial_mersis_number",
@@ -242,6 +244,7 @@ export declare namespace WeakIdentifierType {
| "ind_sebi"
| "ind_shipment_bill_id"
| "int_trade_internal_shipment_id"
+ | "international_trademark_no"
| "irl_registration_no"
| "irn_reg_number"
| "irq_provision_card"
@@ -317,6 +320,7 @@ export declare namespace WeakIdentifierType {
| "south_africa_partial_id_number"
| "svk_filing_number"
| "tokyo_shoko_id"
+ | "ton_foreign_investor_id"
| "tur_declaration_number"
| "tur_office_registration_number"
| "tur_partial_mersis_number"
diff --git a/src/serialization/resources/project/types/CreateProjectRequest.ts b/src/serialization/resources/project/types/CreateProjectRequest.ts
index 49f9d64c..946ed7fd 100644
--- a/src/serialization/resources/project/types/CreateProjectRequest.ts
+++ b/src/serialization/resources/project/types/CreateProjectRequest.ts
@@ -5,6 +5,7 @@
import * as serializers from "../../../index";
import * as Sayari from "../../../../api/index";
import * as core from "../../../../core";
+import { ProjectType } from "./ProjectType";
import { ProjectShareOnCreate } from "./ProjectShareOnCreate";
export const CreateProjectRequest: core.serialization.ObjectSchema<
@@ -12,12 +13,14 @@ export const CreateProjectRequest: core.serialization.ObjectSchema<
Sayari.CreateProjectRequest
> = core.serialization.object({
label: core.serialization.string(),
+ type: ProjectType.optional(),
share: ProjectShareOnCreate.optional(),
});
export declare namespace CreateProjectRequest {
export interface Raw {
label: string;
+ type?: ProjectType.Raw | null;
share?: ProjectShareOnCreate.Raw | null;
}
}
diff --git a/src/serialization/resources/project/types/Project.ts b/src/serialization/resources/project/types/Project.ts
index 617f8834..06fe2957 100644
--- a/src/serialization/resources/project/types/Project.ts
+++ b/src/serialization/resources/project/types/Project.ts
@@ -6,6 +6,7 @@ import * as serializers from "../../../index";
import * as Sayari from "../../../../api/index";
import * as core from "../../../../core";
import { ProjectCounts } from "./ProjectCounts";
+import { ProjectType } from "./ProjectType";
export const Project: core.serialization.ObjectSchema =
core.serialization.object({
@@ -16,6 +17,7 @@ export const Project: core.serialization.ObjectSchema =
+ core.serialization.enum_(["network", "supply_chain"]);
+
+export declare namespace ProjectType {
+ export type Raw = "network" | "supply_chain";
+}
diff --git a/src/serialization/resources/project/types/index.ts b/src/serialization/resources/project/types/index.ts
index 68679279..8b3d21bb 100644
--- a/src/serialization/resources/project/types/index.ts
+++ b/src/serialization/resources/project/types/index.ts
@@ -16,6 +16,7 @@ export * from "./TierCountAgg";
export * from "./TierCount";
export * from "./TierCountKeys";
export * from "./IntKeyValue";
+export * from "./ProjectType";
export * from "./Project";
export * from "./ProjectEntitiesAggsDefinition";
export * from "./UpstreamTiers";
diff --git a/src/serialization/resources/projectEntity/types/ProjectEntityResponse.ts b/src/serialization/resources/projectEntity/types/ProjectEntityResponse.ts
index 83978933..42d960d8 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,9 +30,10 @@ 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()),
+ updatedBy: core.serialization.property("updated_by", core.serialization.string().optional()),
});
export declare namespace ProjectEntityResponse {
@@ -49,8 +50,9 @@ 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;
+ updated_by?: string | null;
}
}
diff --git a/src/serialization/resources/projectEntity/types/UpdateProjectEntityMatchesBody.ts b/src/serialization/resources/projectEntity/types/UpdateProjectEntityMatchesBody.ts
new file mode 100644
index 00000000..5c4b65e9
--- /dev/null
+++ b/src/serialization/resources/projectEntity/types/UpdateProjectEntityMatchesBody.ts
@@ -0,0 +1,24 @@
+/**
+ * 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";
+
+export const UpdateProjectEntityMatchesBody: core.serialization.ObjectSchema<
+ serializers.UpdateProjectEntityMatchesBody.Raw,
+ Sayari.UpdateProjectEntityMatchesBody
+> = core.serialization.object({
+ entityIds: core.serialization.property("entity_ids", core.serialization.list(core.serialization.string())),
+ overrideDeleted: core.serialization.property("override_deleted", core.serialization.boolean().optional()),
+ limit: core.serialization.number().optional(),
+});
+
+export declare namespace UpdateProjectEntityMatchesBody {
+ export interface Raw {
+ entity_ids: string[];
+ override_deleted?: boolean | null;
+ limit?: number | null;
+ }
+}
diff --git a/src/serialization/resources/projectEntity/types/UpdateProjectEntityMatchesResponse.ts b/src/serialization/resources/projectEntity/types/UpdateProjectEntityMatchesResponse.ts
new file mode 100644
index 00000000..2db6b8fc
--- /dev/null
+++ b/src/serialization/resources/projectEntity/types/UpdateProjectEntityMatchesResponse.ts
@@ -0,0 +1,20 @@
+/**
+ * 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";
+
+export const UpdateProjectEntityMatchesResponse: core.serialization.ObjectSchema<
+ serializers.UpdateProjectEntityMatchesResponse.Raw,
+ Sayari.UpdateProjectEntityMatchesResponse
+> = core.serialization.object({
+ data: core.serialization.list(core.serialization.string()),
+});
+
+export declare namespace UpdateProjectEntityMatchesResponse {
+ export interface Raw {
+ data: string[];
+ }
+}
diff --git a/src/serialization/resources/projectEntity/types/index.ts b/src/serialization/resources/projectEntity/types/index.ts
index 7c6098e9..494c6cb1 100644
--- a/src/serialization/resources/projectEntity/types/index.ts
+++ b/src/serialization/resources/projectEntity/types/index.ts
@@ -46,6 +46,8 @@ export * from "./UpstreamCount";
export * from "./SourceField";
export * from "./Address";
export * from "./Location";
+export * from "./UpdateProjectEntityMatchesBody";
+export * from "./UpdateProjectEntityMatchesResponse";
export * from "./TagResponse";
export * from "./UpdateProjectEntityTagsBody";
export * from "./UpdateEntityTagsResponse";
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..133c8304 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.1"
+ resolved "https://registry.yarnpkg.com/@types/node/-/node-24.10.1.tgz#91e92182c93db8bd6224fca031e2370cef9a8f01"
+ integrity sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==
dependencies:
undici-types "~7.16.0"
@@ -701,9 +701,9 @@
integrity sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==
"@types/yargs@^17.0.8":
- version "17.0.34"
- resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.34.tgz#1c2f9635b71d5401827373a01ce2e8a7670ea839"
- integrity sha512-KExbHVa92aJpw9WDQvzBaGVE2/Pz+pLZQloT2hjL8IqsZnV62rlPOYvNnLmf/L2dyllfVUOVBj64M0z/46eR2A==
+ version "17.0.35"
+ resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-17.0.35.tgz#07013e46aa4d7d7d50a49e15604c1c5340d4eb24"
+ integrity sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==
dependencies:
"@types/yargs-parser" "*"
@@ -1023,10 +1023,10 @@ base64-js@^1.3.1:
resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a"
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==
+baseline-browser-mapping@^2.9.0:
+ version "2.9.2"
+ resolved "https://registry.yarnpkg.com/baseline-browser-mapping/-/baseline-browser-mapping-2.9.2.tgz#0ae89ec3e10e07c368b77def89db8044409461d1"
+ integrity sha512-PxSsosKQjI38iXkmb3d0Y32efqyA0uW4s41u4IVBsLlWLhCiYNpH/AfNOVWRqCQBlD8TFJTz6OUWNd4DFJCnmw==
brace-expansion@^1.1.7:
version "1.1.12"
@@ -1044,15 +1044,15 @@ braces@^3.0.3:
fill-range "^7.1.1"
browserslist@^4.24.0, browserslist@^4.26.3:
- version "4.27.0"
- resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.27.0.tgz#755654744feae978fbb123718b2f139bc0fa6697"
- integrity sha512-AXVQwdhot1eqLihwasPElhX2tAZiBjWdJ9i/Zcj2S6QYIjkx62OKSfnobkriB81C3l4w0rVy3Nt4jaTBltYEpw==
+ version "4.28.1"
+ resolved "https://registry.yarnpkg.com/browserslist/-/browserslist-4.28.1.tgz#7f534594628c53c63101079e27e40de490456a95"
+ integrity sha512-ZC5Bd0LgJXgwGqUknZY/vkUQ04r8NXnJZ3yYi4vDmSiZmC/pdSN0NbNRPxZpbtO4uAfDUAFffO8IZoM3Gj8IkA==
dependencies:
- baseline-browser-mapping "^2.8.19"
- caniuse-lite "^1.0.30001751"
- electron-to-chromium "^1.5.238"
- node-releases "^2.0.26"
- update-browserslist-db "^1.1.4"
+ baseline-browser-mapping "^2.9.0"
+ caniuse-lite "^1.0.30001759"
+ electron-to-chromium "^1.5.263"
+ node-releases "^2.0.27"
+ update-browserslist-db "^1.2.0"
bs-logger@^0.2.6:
version "0.2.6"
@@ -1112,10 +1112,10 @@ camelcase@^6.2.0:
resolved "https://registry.yarnpkg.com/camelcase/-/camelcase-6.3.0.tgz#5685b95eb209ac9c0c177467778c9c84df58ba9a"
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==
+caniuse-lite@^1.0.30001759:
+ version "1.0.30001759"
+ resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001759.tgz#d569e7b010372c6b0ca3946e30dada0a2e9d5006"
+ integrity sha512-Pzfx9fOKoKvevQf8oCXoyNRQ5QyxJj+3O0Rqx2V5oxT61KGx8+n6hV/IUyJeifUci2clnmmKVpvtiqRzgiWjSw==
chalk@^4.0.0, chalk@^4.1.0:
version "4.1.2"
@@ -1304,10 +1304,10 @@ dunder-proto@^1.0.1:
es-errors "^1.3.0"
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==
+electron-to-chromium@^1.5.263:
+ version "1.5.264"
+ resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.264.tgz#38d2262e290bf5b424ba1488e072c7b0163400be"
+ integrity sha512-1tEf0nLgltC3iy9wtlYDlQDc5Rg9lEKVjEmIHJ21rI9OcqkvD45K1oyNIRA4rR1z3LgJ7KeGzEBojVcV6m4qjA==
emittery@^0.13.1:
version "0.13.1"
@@ -1506,9 +1506,9 @@ find-up@^4.0.0, find-up@^4.1.0:
path-exists "^4.0.0"
form-data@^4.0.0, form-data@^4.0.4:
- version "4.0.4"
- resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.4.tgz#784cdcce0669a9d68e94d11ac4eea98088edd2c4"
- integrity sha512-KrGhL9Q4zjj0kiUt5OO4Mr/A/jlI2jDYs5eHBpYHPcBEVSiipAvn2Ko2HnPe20rmcuuvMHNdZFp+4IlGTMF0Ow==
+ version "4.0.5"
+ resolved "https://registry.yarnpkg.com/form-data/-/form-data-4.0.5.tgz#b49e48858045ff4cbf6b03e1805cebcad3679053"
+ integrity sha512-8RipRLol37bNs2bhoV67fiTEvdTrbMUYcFTiy3+wuuOnUog2QBHCZWXDRijWQfAkhBj2Uf5UnVaiWwA5vdd82w==
dependencies:
asynckit "^0.4.0"
combined-stream "^1.0.8"
@@ -2202,9 +2202,9 @@ js-tokens@^4.0.0:
integrity sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==
js-yaml@^3.13.1:
- version "3.14.1"
- resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.1.tgz#dae812fdb3825fa306609a8717383c50c36a0537"
- integrity sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==
+ version "3.14.2"
+ resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.14.2.tgz#77485ce1dd7f33c061fd1b16ecea23b55fcb04b0"
+ integrity sha512-PMSmkqxr106Xa156c2M265Z+FTrPl+oxd/rgOQy2tijQeK5TxQ43psO1ZCwhVOSdnn+RzkzlRz/eY4BgJBYVpg==
dependencies:
argparse "^1.0.7"
esprima "^4.0.0"
@@ -2276,7 +2276,7 @@ lines-and-columns@^1.1.6:
resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632"
integrity sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==
-loader-runner@^4.2.0:
+loader-runner@^4.3.1:
version "4.3.1"
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.1.tgz#6c76ed29b0ccce9af379208299f07f876de737e3"
integrity sha512-IWqP2SCPhyVFTBtRcgMHdzlf9ul25NwaFx4wCEH/KjAXuuHY4yNjvPXsBokp8jCB936PyWRaPKUNh8NvylLp2Q==
@@ -2393,10 +2393,10 @@ node-int64@^0.4.0:
resolved "https://registry.yarnpkg.com/node-int64/-/node-int64-0.4.0.tgz#87a9065cdb355d3182d8f94ce11188b825c68a3b"
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==
+node-releases@^2.0.27:
+ 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"
@@ -2520,9 +2520,9 @@ pkg-dir@^4.2.0:
find-up "^4.0.0"
prettier@^3.4.2:
- version "3.6.2"
- resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.6.2.tgz#ccda02a1003ebbb2bfda6f83a074978f608b9393"
- integrity sha512-I7AIg5boAr5R0FFtJ6rCfD+LFsWHp81dolrFD8S79U9tb8Az2nGrJncnMSnys+bpQJfRUzqs9hnA81OAA3hCuQ==
+ version "3.7.4"
+ resolved "https://registry.yarnpkg.com/prettier/-/prettier-3.7.4.tgz#d2f8335d4b1cec47e1c8098645411b0c9dff9c0f"
+ integrity sha512-v6UNi1+3hSlVvv8fSaoUbggEM5VErKmmpGA7Pl3HF8V6uKY7rvClBOJlH6yNwQtfTueNkGVpOv/mtWL9L4bgRA==
pretty-format@^29.0.0, pretty-format@^29.7.0:
version "29.7.0"
@@ -2875,9 +2875,9 @@ terser-webpack-plugin@^5.3.11:
terser "^5.31.1"
terser@^5.31.1:
- version "5.44.0"
- resolved "https://registry.yarnpkg.com/terser/-/terser-5.44.0.tgz#ebefb8e5b8579d93111bfdfc39d2cf63879f4a82"
- integrity sha512-nIVck8DK+GM/0Frwd+nIhZ84pR/BX7rmXMfYwyg+Sri5oGVE99/E3KvXqpC2xHFxyqXyGHTKBSioxxplrO4I4w==
+ version "5.44.1"
+ resolved "https://registry.yarnpkg.com/terser/-/terser-5.44.1.tgz#e391e92175c299b8c284ad6ded609e37303b0a9c"
+ integrity sha512-t/R3R/n0MSwnnazuPpPNVO60LX0SKL45pyl9YlvxIdkH0Of7D5qM2EVe+yASRIlY5pZ73nclYJfNANGWPwFDZw==
dependencies:
"@jridgewell/source-map" "^0.3.3"
acorn "^8.15.0"
@@ -2928,9 +2928,9 @@ tr46@~0.0.3:
integrity sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==
ts-jest@^29.1.1:
- version "29.4.5"
- resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.5.tgz#a6b0dc401e521515d5342234be87f1ca96390a6f"
- integrity sha512-HO3GyiWn2qvTQA4kTgjDcXiMwYQt68a1Y8+JuLRVpdIzm+UOLSHgl/XqR4c6nzJkq5rOkjc02O2I7P7l/Yof0Q==
+ version "29.4.6"
+ resolved "https://registry.yarnpkg.com/ts-jest/-/ts-jest-29.4.6.tgz#51cb7c133f227396818b71297ad7409bb77106e9"
+ integrity sha512-fSpWtOO/1AjSNQguk43hb/JCo16oJDnMJf3CdEGNkqsEX3t0KX96xvyX1D7PfLCpVoKu4MfVrqUkFyblYoY4lA==
dependencies:
bs-logger "^0.2.6"
fast-json-stable-stringify "^2.1.0"
@@ -2993,10 +2993,10 @@ universalify@^0.2.0:
resolved "https://registry.yarnpkg.com/universalify/-/universalify-0.2.0.tgz#6451760566fa857534745ab1dde952d1b1761be0"
integrity sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==
-update-browserslist-db@^1.1.4:
- version "1.1.4"
- resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.1.4.tgz#7802aa2ae91477f255b86e0e46dbc787a206ad4a"
- integrity sha512-q0SPT4xyU84saUX+tomz1WLkxUbuaJnR1xWt17M7fJtEJigJeWUNGUqrauFXsHnqev9y9JTRGwk13tFBuKby4A==
+update-browserslist-db@^1.2.0:
+ version "1.2.2"
+ resolved "https://registry.yarnpkg.com/update-browserslist-db/-/update-browserslist-db-1.2.2.tgz#cfb4358afa08b3d5731a2ecd95eebf4ddef8033e"
+ integrity sha512-E85pfNzMQ9jpKkA7+TJAi4TJN+tBCuWh5rUcS/sv6cFi+1q9LYDwDI5dpUL0u/73EElyQ8d3TEaeW4sPedBqYA==
dependencies:
escalade "^3.2.0"
picocolors "^1.1.1"
@@ -3061,9 +3061,9 @@ webpack-sources@^3.3.3:
integrity sha512-yd1RBzSGanHkitROoPFd6qsrxt+oFhg/129YzheDGqeustzX0vTZJZsSsQjVQC4yzBQ56K55XU8gaNCtIzOnTg==
webpack@^5.97.1:
- version "5.102.1"
- resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.102.1.tgz#1003a3024741a96ba99c37431938bf61aad3d988"
- integrity sha512-7h/weGm9d/ywQ6qzJ+Xy+r9n/3qgp/thalBbpOi5i223dPXKi04IBtqPN9nTd+jBc7QKfvDbaBnFipYp4sJAUQ==
+ version "5.103.0"
+ resolved "https://registry.yarnpkg.com/webpack/-/webpack-5.103.0.tgz#17a7c5a5020d5a3a37c118d002eade5ee2c6f3da"
+ integrity sha512-HU1JOuV1OavsZ+mfigY0j8d1TgQgbZ6M+J75zDkpEAwYeXjWSqrGJtgnPblJjd/mAyTNQ7ygw0MiKOn6etz8yw==
dependencies:
"@types/eslint-scope" "^3.7.7"
"@types/estree" "^1.0.8"
@@ -3082,7 +3082,7 @@ webpack@^5.97.1:
glob-to-regexp "^0.4.1"
graceful-fs "^4.2.11"
json-parse-even-better-errors "^2.3.1"
- loader-runner "^4.2.0"
+ loader-runner "^4.3.1"
mime-types "^2.1.27"
neo-async "^2.6.2"
schema-utils "^4.3.3"