diff --git a/package.json b/package.json index 197c0ea..b47196e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flagright", - "version": "1.6.16", + "version": "1.6.17", "private": false, "repository": "https://github.com/flagright/flagright-node", "main": "./index.js", diff --git a/src/api/resources/businessUserEvents/client/Client.ts b/src/api/resources/businessUserEvents/client/Client.ts index 470a881..4607bbb 100644 --- a/src/api/resources/businessUserEvents/client/Client.ts +++ b/src/api/resources/businessUserEvents/client/Client.ts @@ -76,7 +76,7 @@ export class BusinessUserEvents { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -172,7 +172,7 @@ export class BusinessUserEvents { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/businessUsers/client/Client.ts b/src/api/resources/businessUsers/client/Client.ts index c321feb..76c4215 100644 --- a/src/api/resources/businessUsers/client/Client.ts +++ b/src/api/resources/businessUsers/client/Client.ts @@ -69,7 +69,7 @@ export class BusinessUsers { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -166,7 +166,7 @@ export class BusinessUsers { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/consumerUserEvents/client/Client.ts b/src/api/resources/consumerUserEvents/client/Client.ts index f0faaa1..4cfff19 100644 --- a/src/api/resources/consumerUserEvents/client/Client.ts +++ b/src/api/resources/consumerUserEvents/client/Client.ts @@ -76,7 +76,7 @@ export class ConsumerUserEvents { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -172,7 +172,7 @@ export class ConsumerUserEvents { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/consumerUsers/client/Client.ts b/src/api/resources/consumerUsers/client/Client.ts index f30e347..72f382a 100644 --- a/src/api/resources/consumerUsers/client/Client.ts +++ b/src/api/resources/consumerUsers/client/Client.ts @@ -102,7 +102,7 @@ export class ConsumerUsers { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -199,7 +199,7 @@ export class ConsumerUsers { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/transactionEvents/client/Client.ts b/src/api/resources/transactionEvents/client/Client.ts index 60854aa..6c4ff94 100644 --- a/src/api/resources/transactionEvents/client/Client.ts +++ b/src/api/resources/transactionEvents/client/Client.ts @@ -79,7 +79,7 @@ export class TransactionEvents { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -176,7 +176,7 @@ export class TransactionEvents { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/resources/transactions/client/Client.ts b/src/api/resources/transactions/client/Client.ts index 07464d3..71e9b6b 100644 --- a/src/api/resources/transactions/client/Client.ts +++ b/src/api/resources/transactions/client/Client.ts @@ -126,7 +126,7 @@ export class Transactions { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, @@ -224,7 +224,7 @@ export class Transactions { "x-api-key": await core.Supplier.get(this._options.apiKey), "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "flagright", - "X-Fern-SDK-Version": "1.6.16", + "X-Fern-SDK-Version": "1.6.17", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version, }, diff --git a/src/api/types/SanctionsHitContext.ts b/src/api/types/SanctionsHitContext.ts index c879c5d..c2780b8 100644 --- a/src/api/types/SanctionsHitContext.ts +++ b/src/api/types/SanctionsHitContext.ts @@ -6,8 +6,11 @@ import * as Flagright from ".."; export interface SanctionsHitContext { entity?: Flagright.SanctionsScreeningEntity; + entityType?: Flagright.SanctionsDetailsEntityType; userId?: string; transactionId?: string; ruleInstanceId?: string; iban?: string; + yearOfBirth?: number; + searchTerm?: string; } diff --git a/src/serialization/types/SanctionsHitContext.ts b/src/serialization/types/SanctionsHitContext.ts index 3aa1414..f71790f 100644 --- a/src/serialization/types/SanctionsHitContext.ts +++ b/src/serialization/types/SanctionsHitContext.ts @@ -11,18 +11,24 @@ export const SanctionsHitContext: core.serialization.ObjectSchema< Flagright.SanctionsHitContext > = core.serialization.object({ entity: core.serialization.lazy(async () => (await import("..")).SanctionsScreeningEntity).optional(), + entityType: core.serialization.lazy(async () => (await import("..")).SanctionsDetailsEntityType).optional(), userId: core.serialization.string().optional(), transactionId: core.serialization.string().optional(), ruleInstanceId: core.serialization.string().optional(), iban: core.serialization.string().optional(), + yearOfBirth: core.serialization.number().optional(), + searchTerm: core.serialization.string().optional(), }); export declare namespace SanctionsHitContext { interface Raw { entity?: serializers.SanctionsScreeningEntity.Raw | null; + entityType?: serializers.SanctionsDetailsEntityType.Raw | null; userId?: string | null; transactionId?: string | null; ruleInstanceId?: string | null; iban?: string | null; + yearOfBirth?: number | null; + searchTerm?: string | null; } } diff --git a/yarn.lock b/yarn.lock index 856f615..6bb8d52 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1040,9 +1040,9 @@ ejs@^3.1.10: jake "^10.8.5" electron-to-chromium@^1.4.820: - version "1.5.1" - resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.1.tgz#24640bd4dcfaccb6d82bb4c3f4c7311503241581" - integrity sha512-FKbOCOQ5QRB3VlIbl1LZQefWIYwszlBloaXcY2rbfpu9ioJnNh3TK03YtIDKDo3WKBi8u+YV4+Fn2CkEozgf4w== + version "1.5.2" + resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.5.2.tgz#6126ad229ce45e781ec54ca40db0504787f23d19" + integrity sha512-kc4r3U3V3WLaaZqThjYz/Y6z8tJe+7K0bbjUVo3i+LWIypVdMx5nXCkwRe6SWbY6ILqLdc1rKcKmr3HoH7wjSQ== emittery@^0.13.1: version "0.13.1"