Skip to content

Commit

Permalink
SDK regeneration (#145)
Browse files Browse the repository at this point in the history
Co-authored-by: fern-api <115122769+fern-api[bot]@users.noreply.github.com>
  • Loading branch information
fern-api[bot] authored Nov 18, 2024
1 parent b1688d4 commit 4ef38c4
Show file tree
Hide file tree
Showing 22 changed files with 146 additions and 86 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@sayari/sdk",
"version": "0.1.24",
"version": "0.1.25",
"private": false,
"repository": "https://github.com/sayari-analytics/sayari-node",
"main": "./index.js",
Expand Down
12 changes: 6 additions & 6 deletions src/api/resources/attributes/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ export class Attributes {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -226,8 +226,8 @@ export class Attributes {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -376,8 +376,8 @@ export class Attributes {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/auth/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,8 @@ export class Auth {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/entity/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ export class Entity {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -461,8 +461,8 @@ export class Entity {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
10 changes: 9 additions & 1 deletion src/api/resources/generatedTypes/types/IdentifierType.ts
Original file line number Diff line number Diff line change
Expand Up @@ -732,6 +732,9 @@ export type IdentifierType =
/**
* Mauritius Company File No. */
| "mus_file_no"
/**
* Mexico Yucatan parcel ID number. Assigned to every parcel and property registered by the Government of the State of Yucatan. */
| "mex_yucatan_folio"
/**
* Colombian tax identification number */
| "col_nit_no"
Expand Down Expand Up @@ -1842,7 +1845,10 @@ export type IdentifierType =
| "ind_ifsc"
/**
* 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";
| "ind_trademark_submission_ref"
/**
* Indonesia Trade Internal Shipment ID */
| "idn_trade_internal_shipment_id";

export const IdentifierType = {
CnTianyanchaCompanyId: "cn_tianyancha_company_id",
Expand Down Expand Up @@ -2095,6 +2101,7 @@ export const IdentifierType = {
EspBormeRegId: "esp_borme_reg_id",
MexTmNo: "mex_tm_no",
MusFileNo: "mus_file_no",
MexYucatanFolio: "mex_yucatan_folio",
ColNitNo: "col_nit_no",
JpnCorporateNo: "jpn_corporate_no",
UsaCgacAgencyCode: "usa_cgac_agency_code",
Expand Down Expand Up @@ -2472,4 +2479,5 @@ export const IdentifierType = {
IndCoopsocRegistrationNumber: "ind_coopsoc_registration_number",
IndIfsc: "ind_ifsc",
IndTrademarkSubmissionRef: "ind_trademark_submission_ref",
IdnTradeInternalShipmentId: "idn_trade_internal_shipment_id",
} as const;
24 changes: 24 additions & 0 deletions src/api/resources/generatedTypes/types/Risk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,26 @@ export type Risk =
| "basel_aml"
| "bis_boycott_requester_list"
| "cmic_entity"
| "cmic_entity_50_percent_rule"
| "controlled_by_eu_sanctioned"
| "controlled_by_ofac_sdn"
| "controlled_by_uk_sanctioned"
| "cpi_score"
| "entity_licensed_with_fsb_rf"
| "eu_50_percent_rule"
| "eu_high_risk_third"
| "eu_minority_ownership"
| "eu_sanctioned"
| "export_controls"
| "export_controls_adjacent"
| "export_controls_bis_entity"
| "export_controls_bis_entity_50_percent_rule"
| "export_controls_bis_meu"
| "export_controls_bis_meu_50_percent_rule"
| "export_controls_section_1260h"
| "export_controls_section_1260h_50_percent_rule"
| "export_controls_unverified_list"
| "export_controls_unverified_list_50_percent_rule"
| "export_to_sanctioned"
| "export_to_soe"
| "exports_bis_high_priority_items"
Expand Down Expand Up @@ -57,6 +67,7 @@ export type Risk =
| "military_civil_fusion"
| "military_civil_fusion_50_percent_rule"
| "ofac_50_percent_rule"
| "ofac_minority_ownership"
| "ofac_sdn"
| "owned_by_aspi_forced_labor_entity"
| "owned_by_bis_meu_entity"
Expand Down Expand Up @@ -117,6 +128,7 @@ export type Risk =
| "soe_adjacent"
| "state_owned"
| "uk_50_percent_rule"
| "uk_minority_ownership"
| "uk_sanctioned"
| "wro_entity"
| "wro_entity_adjacent";
Expand All @@ -127,16 +139,26 @@ export const Risk = {
BaselAml: "basel_aml",
BisBoycottRequesterList: "bis_boycott_requester_list",
CmicEntity: "cmic_entity",
CmicEntity50PercentRule: "cmic_entity_50_percent_rule",
ControlledByEuSanctioned: "controlled_by_eu_sanctioned",
ControlledByOfacSdn: "controlled_by_ofac_sdn",
ControlledByUkSanctioned: "controlled_by_uk_sanctioned",
CpiScore: "cpi_score",
EntityLicensedWithFsbRf: "entity_licensed_with_fsb_rf",
Eu50PercentRule: "eu_50_percent_rule",
EuHighRiskThird: "eu_high_risk_third",
EuMinorityOwnership: "eu_minority_ownership",
EuSanctioned: "eu_sanctioned",
ExportControls: "export_controls",
ExportControlsAdjacent: "export_controls_adjacent",
ExportControlsBisEntity: "export_controls_bis_entity",
ExportControlsBisEntity50PercentRule: "export_controls_bis_entity_50_percent_rule",
ExportControlsBisMeu: "export_controls_bis_meu",
ExportControlsBisMeu50PercentRule: "export_controls_bis_meu_50_percent_rule",
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",
ExportToSanctioned: "export_to_sanctioned",
ExportToSoe: "export_to_soe",
ExportsBisHighPriorityItems: "exports_bis_high_priority_items",
Expand Down Expand Up @@ -179,6 +201,7 @@ export const Risk = {
MilitaryCivilFusion: "military_civil_fusion",
MilitaryCivilFusion50PercentRule: "military_civil_fusion_50_percent_rule",
Ofac50PercentRule: "ofac_50_percent_rule",
OfacMinorityOwnership: "ofac_minority_ownership",
OfacSdn: "ofac_sdn",
OwnedByAspiForcedLaborEntity: "owned_by_aspi_forced_labor_entity",
OwnedByBisMeuEntity: "owned_by_bis_meu_entity",
Expand Down Expand Up @@ -243,6 +266,7 @@ export const Risk = {
SoeAdjacent: "soe_adjacent",
StateOwned: "state_owned",
Uk50PercentRule: "uk_50_percent_rule",
UkMinorityOwnership: "uk_minority_ownership",
UkSanctioned: "uk_sanctioned",
WroEntity: "wro_entity",
WroEntityAdjacent: "wro_entity_adjacent",
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/info/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export class Info {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -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.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/metadata/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ export class Metadata {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
20 changes: 10 additions & 10 deletions src/api/resources/notifications/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ export class Notifications {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -248,8 +248,8 @@ export class Notifications {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -396,8 +396,8 @@ export class Notifications {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -520,8 +520,8 @@ export class Notifications {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -644,8 +644,8 @@ export class Notifications {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
16 changes: 8 additions & 8 deletions src/api/resources/project/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export class Project {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -217,8 +217,8 @@ export class Project {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -462,8 +462,8 @@ export class Project {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
Accept: accept,
Expand Down Expand Up @@ -593,8 +593,8 @@ export class Project {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
4 changes: 2 additions & 2 deletions src/api/resources/record/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@ export class Record_ {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/resolution/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ export class Resolution {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -355,8 +355,8 @@ export class Resolution {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
8 changes: 4 additions & 4 deletions src/api/resources/resource/client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ export class Resource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down Expand Up @@ -201,8 +201,8 @@ export class Resource {
Authorization: await this._getAuthorizationHeader(),
"X-Fern-Language": "JavaScript",
"X-Fern-SDK-Name": "@sayari/sdk",
"X-Fern-SDK-Version": "0.1.24",
"User-Agent": "@sayari/sdk/0.1.24",
"X-Fern-SDK-Version": "0.1.25",
"User-Agent": "@sayari/sdk/0.1.25",
"X-Fern-Runtime": core.RUNTIME.type,
"X-Fern-Runtime-Version": core.RUNTIME.version,
},
Expand Down
Loading

0 comments on commit 4ef38c4

Please sign in to comment.