@nexeraid/identity-schemas 2.232.0-dev → 2.233.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -254,6 +254,44 @@ export declare const SelectKybSession: z.ZodObject<{
254
254
  customerStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>>>;
255
255
  /** Topograph-emitted ISO2 country code; drives the dashboard flag render. */
256
256
  topographCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
257
+ /** True while a reviewer's resubmission round is open & unfinished (REQUESTED)
258
+ * — lets an already-open widget live-detect it and route the rep to fix. */
259
+ resubmissionRequested: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
260
+ /** Free-text neutral message from the reviewer describing what to fix. */
261
+ resubmissionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
262
+ /** Rep contact address already stored for this session, so the widget can
263
+ * show what's saved instead of an empty box the rep can't verify. */
264
+ notificationEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
265
+ /** Current company details (only during a resubmission round) so the company
266
+ * step can pre-fill the form for correction. Country is alpha-2. */
267
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
268
+ companyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
269
+ registrationNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
270
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
271
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
272
+ legalAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
273
+ incorporationDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
274
+ taxId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
275
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ type?: string | null | undefined;
278
+ country?: string | null | undefined;
279
+ companyName?: string | null | undefined;
280
+ registrationNumber?: string | null | undefined;
281
+ legalAddress?: string | null | undefined;
282
+ taxId?: string | null | undefined;
283
+ website?: string | null | undefined;
284
+ incorporationDate?: string | null | undefined;
285
+ }, {
286
+ type?: string | null | undefined;
287
+ country?: string | null | undefined;
288
+ companyName?: string | null | undefined;
289
+ registrationNumber?: string | null | undefined;
290
+ legalAddress?: string | null | undefined;
291
+ taxId?: string | null | undefined;
292
+ website?: string | null | undefined;
293
+ incorporationDate?: string | null | undefined;
294
+ }>>>;
257
295
  }, "strip", z.ZodTypeAny, {
258
296
  id: string;
259
297
  createdAt: Date;
@@ -266,6 +304,16 @@ export declare const SelectKybSession: z.ZodObject<{
266
304
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
267
305
  result?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
268
306
  address?: string | null | undefined;
307
+ company?: {
308
+ type?: string | null | undefined;
309
+ country?: string | null | undefined;
310
+ companyName?: string | null | undefined;
311
+ registrationNumber?: string | null | undefined;
312
+ legalAddress?: string | null | undefined;
313
+ taxId?: string | null | undefined;
314
+ website?: string | null | undefined;
315
+ incorporationDate?: string | null | undefined;
316
+ } | null | undefined;
269
317
  ip?: string | null | undefined;
270
318
  sandboxMode?: boolean | null | undefined;
271
319
  beneficiaries?: {
@@ -280,9 +328,12 @@ export declare const SelectKybSession: z.ZodObject<{
280
328
  calculatedResult?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
281
329
  }[] | null | undefined;
282
330
  sandboxSimulated?: boolean | null | undefined;
331
+ notificationEmail?: string | null | undefined;
283
332
  isBeneficiary?: boolean | null | undefined;
284
333
  customerStatus?: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null | undefined;
285
334
  topographCountry?: string | null | undefined;
335
+ resubmissionRequested?: boolean | null | undefined;
336
+ resubmissionNote?: string | null | undefined;
286
337
  }, {
287
338
  id: string;
288
339
  createdAt: Date;
@@ -295,6 +346,16 @@ export declare const SelectKybSession: z.ZodObject<{
295
346
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
296
347
  result?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
297
348
  address?: string | null | undefined;
349
+ company?: {
350
+ type?: string | null | undefined;
351
+ country?: string | null | undefined;
352
+ companyName?: string | null | undefined;
353
+ registrationNumber?: string | null | undefined;
354
+ legalAddress?: string | null | undefined;
355
+ taxId?: string | null | undefined;
356
+ website?: string | null | undefined;
357
+ incorporationDate?: string | null | undefined;
358
+ } | null | undefined;
298
359
  ip?: string | null | undefined;
299
360
  sandboxMode?: boolean | null | undefined;
300
361
  beneficiaries?: {
@@ -309,9 +370,12 @@ export declare const SelectKybSession: z.ZodObject<{
309
370
  calculatedResult?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
310
371
  }[] | null | undefined;
311
372
  sandboxSimulated?: boolean | null | undefined;
373
+ notificationEmail?: string | null | undefined;
312
374
  isBeneficiary?: boolean | null | undefined;
313
375
  customerStatus?: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null | undefined;
314
376
  topographCountry?: string | null | undefined;
377
+ resubmissionRequested?: boolean | null | undefined;
378
+ resubmissionNote?: string | null | undefined;
315
379
  }>;
316
380
  export type SelectKybSession = z.infer<typeof SelectKybSession>;
317
381
  export declare const GetKybSessionInput: z.ZodObject<{
@@ -372,6 +436,44 @@ export declare const GetKybSessionResponse: z.ZodObject<{
372
436
  customerStatus: z.ZodOptional<z.ZodNullable<z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>>>;
373
437
  /** Topograph-emitted ISO2 country code; drives the dashboard flag render. */
374
438
  topographCountry: z.ZodOptional<z.ZodNullable<z.ZodString>>;
439
+ /** True while a reviewer's resubmission round is open & unfinished (REQUESTED)
440
+ * — lets an already-open widget live-detect it and route the rep to fix. */
441
+ resubmissionRequested: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
442
+ /** Free-text neutral message from the reviewer describing what to fix. */
443
+ resubmissionNote: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
+ /** Rep contact address already stored for this session, so the widget can
445
+ * show what's saved instead of an empty box the rep can't verify. */
446
+ notificationEmail: z.ZodOptional<z.ZodNullable<z.ZodString>>;
447
+ /** Current company details (only during a resubmission round) so the company
448
+ * step can pre-fill the form for correction. Country is alpha-2. */
449
+ company: z.ZodOptional<z.ZodNullable<z.ZodObject<{
450
+ companyName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
451
+ registrationNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
452
+ country: z.ZodOptional<z.ZodNullable<z.ZodString>>;
453
+ type: z.ZodOptional<z.ZodNullable<z.ZodString>>;
454
+ legalAddress: z.ZodOptional<z.ZodNullable<z.ZodString>>;
455
+ incorporationDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
456
+ taxId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
457
+ website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ type?: string | null | undefined;
460
+ country?: string | null | undefined;
461
+ companyName?: string | null | undefined;
462
+ registrationNumber?: string | null | undefined;
463
+ legalAddress?: string | null | undefined;
464
+ taxId?: string | null | undefined;
465
+ website?: string | null | undefined;
466
+ incorporationDate?: string | null | undefined;
467
+ }, {
468
+ type?: string | null | undefined;
469
+ country?: string | null | undefined;
470
+ companyName?: string | null | undefined;
471
+ registrationNumber?: string | null | undefined;
472
+ legalAddress?: string | null | undefined;
473
+ taxId?: string | null | undefined;
474
+ website?: string | null | undefined;
475
+ incorporationDate?: string | null | undefined;
476
+ }>>>;
375
477
  }, "strip", z.ZodTypeAny, {
376
478
  id: string;
377
479
  createdAt: Date;
@@ -384,6 +486,16 @@ export declare const GetKybSessionResponse: z.ZodObject<{
384
486
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
385
487
  result?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
386
488
  address?: string | null | undefined;
489
+ company?: {
490
+ type?: string | null | undefined;
491
+ country?: string | null | undefined;
492
+ companyName?: string | null | undefined;
493
+ registrationNumber?: string | null | undefined;
494
+ legalAddress?: string | null | undefined;
495
+ taxId?: string | null | undefined;
496
+ website?: string | null | undefined;
497
+ incorporationDate?: string | null | undefined;
498
+ } | null | undefined;
387
499
  ip?: string | null | undefined;
388
500
  sandboxMode?: boolean | null | undefined;
389
501
  beneficiaries?: {
@@ -398,9 +510,12 @@ export declare const GetKybSessionResponse: z.ZodObject<{
398
510
  calculatedResult?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
399
511
  }[] | null | undefined;
400
512
  sandboxSimulated?: boolean | null | undefined;
513
+ notificationEmail?: string | null | undefined;
401
514
  isBeneficiary?: boolean | null | undefined;
402
515
  customerStatus?: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null | undefined;
403
516
  topographCountry?: string | null | undefined;
517
+ resubmissionRequested?: boolean | null | undefined;
518
+ resubmissionNote?: string | null | undefined;
404
519
  }, {
405
520
  id: string;
406
521
  createdAt: Date;
@@ -413,6 +528,16 @@ export declare const GetKybSessionResponse: z.ZodObject<{
413
528
  reviewRejectType?: "FINAL" | "RETRY" | null | undefined;
414
529
  result?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
415
530
  address?: string | null | undefined;
531
+ company?: {
532
+ type?: string | null | undefined;
533
+ country?: string | null | undefined;
534
+ companyName?: string | null | undefined;
535
+ registrationNumber?: string | null | undefined;
536
+ legalAddress?: string | null | undefined;
537
+ taxId?: string | null | undefined;
538
+ website?: string | null | undefined;
539
+ incorporationDate?: string | null | undefined;
540
+ } | null | undefined;
416
541
  ip?: string | null | undefined;
417
542
  sandboxMode?: boolean | null | undefined;
418
543
  beneficiaries?: {
@@ -427,9 +552,12 @@ export declare const GetKybSessionResponse: z.ZodObject<{
427
552
  calculatedResult?: "Passed" | "Rejected" | "ToBeManuallyChecked" | "Retry" | null | undefined;
428
553
  }[] | null | undefined;
429
554
  sandboxSimulated?: boolean | null | undefined;
555
+ notificationEmail?: string | null | undefined;
430
556
  isBeneficiary?: boolean | null | undefined;
431
557
  customerStatus?: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null | undefined;
432
558
  topographCountry?: string | null | undefined;
559
+ resubmissionRequested?: boolean | null | undefined;
560
+ resubmissionNote?: string | null | undefined;
433
561
  }>;
434
562
  export type GetKybSessionResponse = z.infer<typeof GetKybSessionResponse>;
435
563
  export declare const UpdateKybSessionOutput: z.ZodString;
@@ -1 +1 @@
1
- {"version":3,"file":"kyb-sessions.schema.d.ts","sourceRoot":"../../../../src/providers","sources":["kyb-sessions.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,cAAc,sBAAuB,CAAC;AACnD,eAAO,MAAM,OAAO,wBAAyB,CAAC;AAC9C,MAAM,MAAM,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,OAAO,CAAC,CAAC;AAE9C,eAAO,MAAM,WAAW,iEAKd,CAAC;AACX,eAAO,MAAM,SAAS,mEAAsB,CAAC;AAC7C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,oBAAoB,8CAIvB,CAAC;AACX,eAAO,MAAM,gBAAgB,gDAA+B,CAAC;AAC7D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAehE,eAAO,MAAM,uBAAuB,gDAI1B,CAAC;AACX,eAAO,MAAM,qBAAqB,kDAAkC,CAAC;AACrE,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,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M,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,kBAAkB;;;;;;EAE7B,CAAC;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAjChC,0FAA0F;;IAE1F,6EAA6E;;IAE7E;gFAC4E;;IAE5E,0EAA0E;;IAE1E;yEACqE;;IAErE;wEACoE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBjB,CAAC;AACtD,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,eAAO,MAAM,sBAAsB,aAAa,CAAC;AACjD,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC"}
@@ -2,6 +2,21 @@ import { z } from "zod";
2
2
  export declare const AlertStatuses: readonly ["Open", "Under Investigation", "Pending", "Closed", "Escalated"];
3
3
  export declare const AlertStatus: z.ZodEnum<["Open", "Under Investigation", "Pending", "Closed", "Escalated"]>;
4
4
  export type AlertStatus = z.infer<typeof AlertStatus>;
5
+ /**
6
+ * An alert still awaiting a decision — NOT only "Open".
7
+ *
8
+ * This lived in three places that drifted: the alert writer and the review
9
+ * detail page counted all three, while the review QUEUE counted "Open" alone.
10
+ * A reviewer moving an alert to "Under Investigation" — the Alerts UI working
11
+ * exactly as designed — therefore dropped the company out of the KYB review
12
+ * queue while every other surface still considered it open, so nothing ever
13
+ * put it back. No failure was required; it was permanent.
14
+ *
15
+ * Defined here, next to the statuses themselves, because both services need
16
+ * the same answer: apps/api writes and reads these alerts, apps/data-analytics
17
+ * lists them.
18
+ */
19
+ export declare const OPEN_ALERT_STATUSES: readonly ["Open", "Under Investigation", "Pending"];
5
20
  export declare const AlertTypes: readonly ["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring", "Compliance Review Required"];
6
21
  export declare const AlertType: z.ZodEnum<["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring", "Compliance Review Required"]>;
7
22
  export type AlertType = z.infer<typeof AlertType>;
@@ -1 +1 @@
1
- {"version":3,"file":"alert.schema.d.ts","sourceRoot":"../../../../src/webhooks","sources":["alert.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,eAAO,MAAM,aAAa,4EAMhB,CAAC;AACX,eAAO,MAAM,WAAW,8EAAwB,CAAC;AACjD,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,UAAU,4MAYb,CAAC;AACX,eAAO,MAAM,SAAS,8MAAqB,CAAC;AAC5C,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC;AAElD,eAAO,MAAM,eAAe,oCAAqC,CAAC;AAClE,eAAO,MAAM,aAAa,sCAA0B,CAAC;AACrD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,eAAe,+CAAgD,CAAC;AAC7E,eAAO,MAAM,aAAa,iDAA0B,CAAC;AACrD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB,oOAgBpB,CAAC;AAEX,eAAO,MAAM,cAAc,sOAA4B,CAAC;AACxD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc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AAa,iDAA0B,CAAC;AACrD,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC;AAE1D,eAAO,MAAM,iBAAiB,oOAgBpB,CAAC;AAEX,eAAO,MAAM,cAAc,sOAA4B,CAAC;AACxD,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB,2HAWtB,CAAC;AAEX,eAAO,MAAM,gBAAgB,6HAA8B,CAAC;AAC5D,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;EAK/B,CAAC;AAEH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAGxB,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,aAAa,CAAC,CAAC"}
@@ -7,7 +7,7 @@ var z = require('zod');
7
7
  var identityApi_schema = require('./identity-api.schema-ba410353.cjs.dev.cjs');
8
8
  var tfheUtilities = require('./tfhe-utilities-5bac62f1.cjs.dev.cjs');
9
9
  var vault_dist_nexeraidIdentitySchemasVault = require('../vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs');
10
- var veriffWebhook_schema = require('./veriff-webhook.schema-7a0110f8.cjs.dev.cjs');
10
+ var veriffWebhook_schema = require('./veriff-webhook.schema-d8f5b0df.cjs.dev.cjs');
11
11
  require('nanoid');
12
12
  require('decimal.js');
13
13
  require('crypto');
@@ -7,7 +7,7 @@ var z = require('zod');
7
7
  var identityApi_schema = require('./identity-api.schema-1d6c48b0.cjs.prod.cjs');
8
8
  var tfheUtilities = require('./tfhe-utilities-daf1c4fc.cjs.prod.cjs');
9
9
  var vault_dist_nexeraidIdentitySchemasVault = require('../vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs');
10
- var veriffWebhook_schema = require('./veriff-webhook.schema-ebd3b5e3.cjs.prod.cjs');
10
+ var veriffWebhook_schema = require('./veriff-webhook.schema-3a4e348a.cjs.prod.cjs');
11
11
  require('nanoid');
12
12
  require('decimal.js');
13
13
  require('crypto');
@@ -5,7 +5,7 @@ import { C as CredentialTypes } from './identity-api.schema-235de44b.esm.mjs';
5
5
  export { v as ACTION_STATUSES, t as ACTION_TRIGGERS, b8 as ARRAY_OPERATORS, aM as AUTHORIZATION_REQUEST_MESSAGE_TYPES, A as AVAILABLE_FLOWS, a4 as AbbreviatedWorkflowScenario, a2 as Action, w as ActionStatus, u as ActionTrigger, s as ActionType, x as ActionValue, bo as AllCredentialValues, c4 as AllScenarioExecutionAuthorizationData, bY as AnyTxAuthDataSignatureResponse, b$ as AnyTxAuthInputJsSdk, bR as ApiTezosTxAuthInput, bL as ApiTxAuthInput, b9 as ArrayOperator, aU as AuthQrCodeData, ap as AuthSession, ar as AuthSessionData, aP as AuthorizationRequestMessage, aO as AuthorizationRequestMessageType, aN as AuthorizationRequestMessageTypes, aS as AuthorizationResponseMessage, n as AvailableFlow, be as BOOLEAN_OPERATORS, M as BackwardsCompatibleScenarioType, L as BackwardsCompatibleScenarioTypes, N as BaseQueryResponse, bf as BooleanOperator, aJ as CIRCUIT_IDS, bz as ChallengeQuerySchema, as as ChallengeResponse, aK as CircuitId, b as CloseScreenNotification, a7 as ComplianceImplementationStepsInput, c3 as CreateAuthRequestProps, a6 as CreateTemplateScenario, cf as CredentialMediaType, ca as CredentialNames, aT as CredentialQrCodeData, c9 as CredentialSchemas, cd as CredentialType, C as CredentialTypes, bg as DATE_OPERATORS, bi as DISPLAY_MODE, D as DataAvailableOnStart, bh as DateOperator, bj as DisplayMode, bZ as Eip155TxAuthInputJsSdk, U as ExecuteQueryResponse, bX as ExtendedTezosTxAuthDataSignatureResponse, bV as ExtendedTezosTxAuthInput, bW as ExtendedTxAuthDataSignatureResponse, bU as ExtendedTxAuthInput, ao as GenerateWalletChallengeRequest, a9 as GetCredentialsRequest, aa as GetCredentialsResponse, av as GetCustomerStatusRequest, aA as GetCustomerStatusResponse, bT as GetTezosTxAuthDataSignatureResponse, bO as GetTxAuthDataSignatureFailureResponse, bP as GetTxAuthDataSignatureResponse, bN as GetTxAuthDataSignatureSuccessResponse, ai as GetTxAuthSigRequest, ak as GetTxAuthSigRequestTezos, aj as GetTxAuthSigResponse, al as GetTxAuthSigResponseTezos, aD as HostMessage, am as HostRequestMessage, H as HostResponseMessage, bn as IDInformationTfhe, aB as IdentityAppMessage, aE as IdentityMessage, i as IdentityNotificationMessage, m as IdentityRequestMessage, an as IdentityResponseMessage, aw as IdentitySdkMessage, ax as IdentitySdkMessageWithIdentifier, aC as IdentityWallet, j as InitialDataRequest, o as InitialDataResponse, I as IsVerifiedNotification, ag as IsVerifiedRequest, ah as IsVerifiedResponse, K as KycCompletionData, c as KycCompletionNotification, cg as Language, aH as MediaType, aI as MediaTypePID, aq as MobileExchangeTokenResponse, bc as NUMERIC_OPERATORS, cb as NexeraCredentialType, bd as NumericOperator, bA as OLD_CHALLENGE_QUERY_OPERATORS, bB as OLD_ChallengeQueryOperator, bE as OLD_ChallengeQueryOperatorToOperator, bw as OLD_ChallengeQuerySchema, bG as OLD_QueryCredentialType, bF as OLD_QueryCredentialTypes, b0 as OPERATORS, g as OcvSdkInitialized, O as OffChainScenarioExecutionData, Q as OffChainZKPRuleResult, d as OnChainScenarioExecutionData, b1 as Operator, bC as OperatorMappings, bD as OperatorToOLD_ChallengeQueryOperator, bv as PartialQueryConfigSimplified, P as PolygonIdInitialized, ac as PolygonIdRequest, ab as PolygonIdRequestData, ae as PolygonIdResponse, ad as PolygonIdResponseData, c2 as PrivacyPreservingMonitoring, aQ as ProofData, a_ as QUERY_LOGIC_OPERATOR, aV as QrCodeLinkWithSchemaType, bp as QueriesOptions, bs as QueryConfigSimplified, br as QueryConfigTfhe, by as QueryCredentialType, bx as QueryCredentialTypes, bt as QueryGroupConfigSimplified, a$ as QueryLogicOperator, bq as QueryType, aF as RequiredDataRowSchema, aG as RequiredVerificationData, V as RuleEngineResponse, R as RuleEngineScenarioExecutionData, bu as RuleResultQueryConfig, Y as RuleResultStatus, Z as RuleResultStatusLabels, X as RuleResultStatuses, b3 as RuleTimeframe, r as SCENARIO_ACTION_TYPES, c5 as SCENARIO_AUTHORIZATION_STATUSES, ba as STRING_OPERATORS, bk as SUPPORTED_TYPES, S as ScenarioAuthorizationData, c6 as ScenarioAuthorizationStatus, e as ScenarioExecutionData, f as ScenarioExecutionNotification, W as ScenarioExecutionResponse, E as ScenarioMode, B as ScenarioModes, J as ScenarioSchema, G as ScenarioStatus, F as ScenarioStatuses, z as ScenarioType, y as ScenarioTypes, _ as SdkVerificationOutput, a as SdkVerificationResponseSchema, l as SendTransactionRequest, k as SignatureRequest, p as SignatureResponse, a8 as SimplifiedCredential, a3 as SimplifiedScenario, aZ as SpecialDataSetType, aY as SpecialDataSetTypes, h as StartCompletedNotification, af as StartFlowRequest, bb as StringOperator, bl as SupportedQueryInputType, bm as SupportedQueryInputTypes, b2 as TIMEFRAME, a5 as TemplateScenario, bQ as TezosTxAuthInput, b_ as TezosTxAuthInputJsSdk, bS as TezosTxSignatureResponse, T as TransactionData, q as TransactionResponse, az as TxAuthDataSignatureGatingError, au as TxAuthDataSignatureGatingRequest, ay as TxAuthDataSignatureResponse, bK as TxAuthInput, bM as TxSignatureResponse, ce as VerifiableCredential, a1 as VerificationOutput, a0 as VerificationSessionStatus, $ as VerificationSessionStatuses, c8 as VerifyWalletChallengeRequest, at as WalletSignResponse, c7 as WalletSignatureResponse, b4 as ZKPOperator, c0 as ZKPRequest, c1 as ZKPRequestFromZKVerifier, aL as ZeroKnowledgeProofRequest, aR as ZeroKnowledgeProofResponse, cc as getCredentialName, bI as getOldCredentialPath, bH as getOldCredentialType, bJ as oldCredentialPathToDataLink, b5 as operatorDisplayMap, aW as parseIden3Message, aX as parseSessionIdFromUrl, b7 as timeframeAlertDisplayMap, b6 as timeframeDisplayMap } from './identity-api.schema-235de44b.esm.mjs';
6
6
  export { s as IDInformationTfheCredentialSubjectCONFIG, V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation, b as getFieldConfig } from './tfhe-utilities-1ca8cf1f.esm.mjs';
7
7
  export { Separator, computeVaultKey, generateZodObjectPaths, resolvePathOnDataSchema, resolvePathOnMapSchema } from '../vault/dist/nexeraid-identity-schemas-vault.esm.mjs';
8
- import { N as NotabeneTxCreateStatus } from './veriff-webhook.schema-2e01c2c7.esm.mjs';
8
+ import { N as NotabeneTxCreateStatus } from './veriff-webhook.schema-01b55f80.esm.mjs';
9
9
  import 'nanoid';
10
10
  import 'decimal.js';
11
11
  import 'crypto';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.232.0",
3
+ "version": "2.233.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -2726,7 +2726,27 @@ var SelectKybSession = z.object({
2726
2726
  /** Server-side snapshot so the rep widget can detect compliance flips without polling. */
2727
2727
  customerStatus: CustomerStatus.nullish(),
2728
2728
  /** Topograph-emitted ISO2 country code; drives the dashboard flag render. */
2729
- topographCountry: z.string().nullish()
2729
+ topographCountry: z.string().nullish(),
2730
+ /** True while a reviewer's resubmission round is open & unfinished (REQUESTED)
2731
+ * — lets an already-open widget live-detect it and route the rep to fix. */
2732
+ resubmissionRequested: z.coerce["boolean"]().nullish(),
2733
+ /** Free-text neutral message from the reviewer describing what to fix. */
2734
+ resubmissionNote: z.string().nullish(),
2735
+ /** Rep contact address already stored for this session, so the widget can
2736
+ * show what's saved instead of an empty box the rep can't verify. */
2737
+ notificationEmail: z.string().nullish(),
2738
+ /** Current company details (only during a resubmission round) so the company
2739
+ * step can pre-fill the form for correction. Country is alpha-2. */
2740
+ company: z.object({
2741
+ companyName: z.string().nullish(),
2742
+ registrationNumber: z.string().nullish(),
2743
+ country: z.string().nullish(),
2744
+ type: z.string().nullish(),
2745
+ legalAddress: z.string().nullish(),
2746
+ incorporationDate: z.string().nullish(),
2747
+ taxId: z.string().nullish(),
2748
+ website: z.string().nullish()
2749
+ }).nullish()
2730
2750
  });
2731
2751
  var GetKybSessionInput = z.object({
2732
2752
  projectId: z.string()
@@ -2732,7 +2732,27 @@ var SelectKybSession = z.z.object({
2732
2732
  /** Server-side snapshot so the rep widget can detect compliance flips without polling. */
2733
2733
  customerStatus: vault_schema.CustomerStatus.nullish(),
2734
2734
  /** Topograph-emitted ISO2 country code; drives the dashboard flag render. */
2735
- topographCountry: z.z.string().nullish()
2735
+ topographCountry: z.z.string().nullish(),
2736
+ /** True while a reviewer's resubmission round is open & unfinished (REQUESTED)
2737
+ * — lets an already-open widget live-detect it and route the rep to fix. */
2738
+ resubmissionRequested: z.z.coerce["boolean"]().nullish(),
2739
+ /** Free-text neutral message from the reviewer describing what to fix. */
2740
+ resubmissionNote: z.z.string().nullish(),
2741
+ /** Rep contact address already stored for this session, so the widget can
2742
+ * show what's saved instead of an empty box the rep can't verify. */
2743
+ notificationEmail: z.z.string().nullish(),
2744
+ /** Current company details (only during a resubmission round) so the company
2745
+ * step can pre-fill the form for correction. Country is alpha-2. */
2746
+ company: z.z.object({
2747
+ companyName: z.z.string().nullish(),
2748
+ registrationNumber: z.z.string().nullish(),
2749
+ country: z.z.string().nullish(),
2750
+ type: z.z.string().nullish(),
2751
+ legalAddress: z.z.string().nullish(),
2752
+ incorporationDate: z.z.string().nullish(),
2753
+ taxId: z.z.string().nullish(),
2754
+ website: z.z.string().nullish()
2755
+ }).nullish()
2736
2756
  });
2737
2757
  var GetKybSessionInput = z.z.object({
2738
2758
  projectId: z.z.string()
@@ -2732,7 +2732,27 @@ var SelectKybSession = z.z.object({
2732
2732
  /** Server-side snapshot so the rep widget can detect compliance flips without polling. */
2733
2733
  customerStatus: vault_schema.CustomerStatus.nullish(),
2734
2734
  /** Topograph-emitted ISO2 country code; drives the dashboard flag render. */
2735
- topographCountry: z.z.string().nullish()
2735
+ topographCountry: z.z.string().nullish(),
2736
+ /** True while a reviewer's resubmission round is open & unfinished (REQUESTED)
2737
+ * — lets an already-open widget live-detect it and route the rep to fix. */
2738
+ resubmissionRequested: z.z.coerce["boolean"]().nullish(),
2739
+ /** Free-text neutral message from the reviewer describing what to fix. */
2740
+ resubmissionNote: z.z.string().nullish(),
2741
+ /** Rep contact address already stored for this session, so the widget can
2742
+ * show what's saved instead of an empty box the rep can't verify. */
2743
+ notificationEmail: z.z.string().nullish(),
2744
+ /** Current company details (only during a resubmission round) so the company
2745
+ * step can pre-fill the form for correction. Country is alpha-2. */
2746
+ company: z.z.object({
2747
+ companyName: z.z.string().nullish(),
2748
+ registrationNumber: z.z.string().nullish(),
2749
+ country: z.z.string().nullish(),
2750
+ type: z.z.string().nullish(),
2751
+ legalAddress: z.z.string().nullish(),
2752
+ incorporationDate: z.z.string().nullish(),
2753
+ taxId: z.z.string().nullish(),
2754
+ website: z.z.string().nullish()
2755
+ }).nullish()
2736
2756
  });
2737
2757
  var GetKybSessionInput = z.z.object({
2738
2758
  projectId: z.z.string()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexeraid/identity-schemas",
3
- "version": "2.232.0-dev",
3
+ "version": "2.233.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "ISC",
@@ -67,7 +67,7 @@
67
67
  "remeda": "^2.31.0",
68
68
  "zod": "^3.25.76",
69
69
  "zod-to-json-schema": "^3.24.6",
70
- "@nexeraid/logger": "2.35.3-dev"
70
+ "@nexeraid/logger": "2.35.3"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@types/bun": "^1.3.6",
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vault_schema = require('../../dist/vault.schema-fc13f09a.cjs.dev.cjs');
6
- var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-7a0110f8.cjs.dev.cjs');
6
+ var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-d8f5b0df.cjs.dev.cjs');
7
7
  require('zod');
8
8
  require('nanoid');
9
9
  require('decimal.js');
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var vault_schema = require('../../dist/vault.schema-f25c0d9b.cjs.prod.cjs');
6
- var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-ebd3b5e3.cjs.prod.cjs');
6
+ var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-3a4e348a.cjs.prod.cjs');
7
7
  require('zod');
8
8
  require('nanoid');
9
9
  require('decimal.js');
@@ -1,5 +1,5 @@
1
1
  export { gN as ANALYSIS_TYPES, gO as AnalysisType, gW as Coin, g$ as EntityRiskDefaultsMap, g_ as EntityRiskDefaultsValues, h5 as GetActiveBlockchains, h4 as GetActiveBlockchainsRequest, h6 as GetActiveBlockchainsResponse, ha as GetAddressAnalysis, h7 as GetAddressAnalysisRequest, hc as GetAddressAnalysisResponse, hb as GetTransactionAnalysis, h8 as GetTransactionAnalysisRequest, hd as GetTransactionAnalysisResponse, gS as NonMinimalScorechainBlockchain, gP as OBJECT_TYPES, gQ as ObjectType, hf as RawScorechainResult, gZ as RiskExplanation, gX as RiskSeverity, h2 as ScorechainAnalysis, gR as ScorechainBlockchain, gT as ScorechainBlockchainToNamespace, h9 as ScorechainEntity, gY as ScorechainEntityType, h1 as ScorechainError, h0 as ScorechainErrorResponse, hg as ScorechainRiskToRiskLevel, hj as ScorechainTransactionRiskLevel, hi as ScorechainWalletRiskLevel, hh as ScorechainWalletRiskLevels, he as ScoringAnalysisApiRequest, gI as ScoringAnalysisRequest, h3 as ScoringAnalysisResponse, gJ as WorkflowsScoringAnalysisRequest, gV as compareRiskLevels, gU as getRiskLevelByRiskScore } from '../../dist/vault.schema-ac945548.esm.mjs';
2
- export { O as AMLMetadata, cT as APPLICANT_CHECK_STATUSES, d8 as ApiErrorCommandResponse, d7 as ApiErrorResponse, d9 as ApiSuccessCommandResponse, cU as ApplicantCheckStatus, cF as ApplicantImages, bD as ApplicantMemberOfSchema, d$ as AuthToken, e0 as AuthTokenError, d_ as AuthTokenRequest, e1 as AuthTokenResponse, bU as BENEFICIARY_TYPES, bF as BaseApplicantActionSchema, ba as BaseProvider, dm as BeneficiaryAttestationDocumentMetaData, bW as BeneficiaryCompanyCustomerClaims, bX as BeneficiaryCompanyCustomerClaimsArray, bV as BeneficiaryType, dp as BeneficiaryVerificationStatus, dq as BeneficiaryVerificationStatusArray, j as BigCSErrorCodes, b5 as BigConfig, B as BigCryptoChain, h as BigProperties, g as BigPropertiesLiteral, i as BigProperty, bd as BigProvider, k as BitRankRequest, l as BitRankVerified, n as BitRankVerifiedError, m as BitRankVerifiedErrorResponse, o as BitRankVerifiedResponse, dj as COMPANY_DOCUMENT_STATUS, aq as COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES, as as COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES, ao as COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES, ah as COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS, ae as COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE, dJ as ChainalysisApiError, b0 as ChainalysisConfig, dH as ChainalysisErrorCodes, bg as ChainalysisProvider, dF as ChainalysisRegisterApiResponse, dK as ChainalysisRegisterResponse, dE as ChainalysisRequest, dI as ChainalysisRiskAssessmentApiResponse, dL as ChainalysisRiskAssessmentResponse, dG as ChainalysisRiskLevel, a5 as CoerceDateUTC, dP as CoinMarketCapApiResponse, dQ as CoinMarketCapFiatId, dN as CoinMarketCapQuote, dO as CoinMarketCapQuotes, dM as CoinMarketCapRequest, dl as CompanyDocumentMetaData, dk as CompanyDocumentStatus, aI as ComplyAdvantageAmlFullListing, aH as ComplyAdvantageAmlItemSource, ar as ComplyAdvantageCountryFieldSources, at as ComplyAdvantageDateOfBirthFieldSources, aG as ComplyAdvantageKeyInformation, aD as ComplyAdvantageMedia, aS as ComplyAdvantageMonitorSearchDataResponse, aU as ComplyAdvantageMonitorSearchResponse, aT as ComplyAdvantageMonitorSearchSuccessResponse, aV as ComplyAdvantageMonitoredSearchUpdate, ap as ComplyAdvantageNationalityFieldSources, bo as ComplyAdvantageProvider, bn as ComplyAdvantageProviderConfigElement, bm as ComplyAdvantageProviderConfigFilters, bl as ComplyAdvantageProviderConfigTypes, ai as ComplyAdvantageReponseMatchStatus, af as ComplyAdvantageResponseMatchType, aF as ComplyAdvantageSearchDataResponse, aE as ComplyAdvantageSearchDataResponseHit, aJ as ComplyAdvantageSearchEntitiesDataResponse, aL as ComplyAdvantageSearchEntitiesResponse, aK as ComplyAdvantageSearchEntitiesSuccessResponse, a as ComplyAdvantageSearchErrorResponse, aM as ComplyAdvantageSearchRequest, aN as ComplyAdvantageSearchRequests, C as ComplyAdvantageSearchResponse, b as ComplyAdvantageSearchSuccessResponse, aP as ComplyAdvantageUpdateSearchEntitiesRequest, aR as ComplyAdvantageUpdateSearchEntitiesResponse, aQ as ComplyAdvantageUpdateSearchEntitiesSuccessResponse, aO as ComplyAdvantageUpdateSearchRequest, aB as ComplyAdvantageUser, bu as CreateProviderInput, bv as CreateProviderResponse, au as CreateSearchInput, d3 as CredentialMetadata, b2 as CrystalIntelligenceConfig, bi as CrystalIntelligenceProvider, dX as CrystalWalletScreeningApiRequest, dY as CrystalWalletScreeningResponse, d2 as CustomerContactInformationOutput, dv as CustomerDocumentMetaData, dw as CustomerStatusResults, a_ as DataProvider, aZ as DataProviderOptions, bz as DeleteProviderInput, bA as DeleteProviderResponse, z as DocumentIdMetadata, y as DocumentIdType, D as DocumentIdTypes, cr as DocumentMetadataSchema, cs as DocumentSubmitResponse, K as EmailMetadata, E as EmailVerificationAnalysisResponse, cR as EmailVerificationResponse, F as File, d1 as GetCredentialsOutput, ds as GetKybSessionInput, dt as GetKybSessionResponse, cX as GetKycSessionInput, cY as GetKycSessionResponse, d4 as GetKycSessionResponseWithCredentialsMetadata, da as GetKycSessionsOutput, bt as GetProviderResponse, bs as GetProvidersResponse, ac as HIGH_RISK_TYPES, d5 as IDImageMetaData, bS as INDIVIDUAL_BENEFICIARY_RELATIONS, aY as IdentityProvider, aX as IdentityProviderOptions, bT as IndividualBeneficiaryRelation, c as IpQualityAnalysisRequest, d as IpQualityAnalysisResponse, b6 as IpQualityConfig, e as IpQualityServiceAnalysis, I as IpQualityServiceAnalysisResponse, f as IpQualityServiceErrorResponse, bk as IpqualityscoreProvider, df as KYB_RESULTS, dh as KYB_SESSION_STATUSES, dd as KYB_STEP_TYPES, c6 as KYC_DOC_SIDES, db as KYC_PROVIDER_NAMES, cN as KYC_RESULTS, cP as KYC_SESSION_STATUSES, cJ as KYC_STEP_TYPES, dg as KybResult, di as KybSessionStatus, de as KybStep, c7 as KycDocSide, dc as KycProviderName, cO as KycResult, cQ as KycSessionStatus, cK as KycStep, cM as KycStepStatus, cL as KycStepStatuses, e5 as LegalPersonNameIdentifierType, L as LivenessMetadata, ad as MEDIUM_RISK_TYPES, aw as MatchStatus, av as MatchStatuses, aC as MatchTypeDetail, M as MergedProviders, dC as MerkleAddressApiError, dB as MerkleAddressApiResponse, dA as MerkleAddressRequest, dD as MerkleAddressResponse, dz as MerkleBlockChainCodes, dy as MerkleBlockChainName, dx as MerkleBlockChainTypes, a$ as MerkleScienceConfig, bf as MerkleScienceProvider, e7 as NOTABENE_TX_CREATE_STATUS, e3 as NameIdentifierType, e4 as NationalIdentifierType, r as NestedSession, bc as NexeraIdKYBProvider, bb as NexeraIdSSIDProvider, e2 as NotabeneAssetResponse, dZ as NotabeneAudience, b7 as NotabeneConfig, e9 as NotabeneErrorCode, ed as NotabeneJurisdictionsCondition, ec as NotabeneJurisdictionsRequest, ef as NotabeneJurisdictionsResponse, ee as NotabeneJurisdictionsUnitaryResponse, bj as NotabeneProvider, ea as NotabeneTxCreateError, e6 as NotabeneTxCreateRequest, e8 as NotabeneTxCreateResponse, N as NotabeneTxCreateStatus, eb as NotabeneTxValidateFullResponse, eg as NotabeneWebhookPayload, eh as NotabeneWebhookSchema, J as PhoneMetadata, P as PhoneVerificationAnalysisResponse, G as ProofOfAddressDocumentType, A as ProofOfAddressDocumentTypes, H as ProofOfAddressMetadata, d0 as ProofOfResidenceDocumentType, c$ as ProofOfResidenceMetaData, bq as ProviderData, br as ProviderDataProject, b9 as ProviderIntegrationType, b8 as ProviderIntegrationTypeOptions, aW as ProviderWithoutConfig, _ as RESULT_PARSER_ERROR, x as ReasonCode, w as ReasonCodes, R as RequestProperty, ay as RiskLevel, ax as RiskLevels, aa as SEARCH_FILTER_ADVERSE_MEDIA_TYPE, a8 as SEARCH_FILTER_PEP_TYPE, a6 as SEARCH_FILTER_SANCTION_TYPE, aj as SEARCH_FILTER_TYPES, Y as SESSION_NOT_FOUND, a2 as STEP_NOT_FOUND, bI as SUMSUB_APPLICANT_TYPES, ck as SUMSUB_COMPANY_BENEFICIARY_GROUP, c1 as SUMSUB_DOC_TYPES, c2 as SUMSUB_DOC_TYPES_ARRAY, c8 as SUMSUB_FLOW_LEVEL, cA as SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS, c4 as SUMSUB_KYC_DOC_TYPES, cp as SUMSUB_MEDIA_CONTENT_TYPES, bK as SUMSUB_REVIEW_ANSWERS, cG as SUMSUB_REVIEW_REJECT_LABELS, cI as SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION, bM as SUMSUB_REVIEW_REJECT_TYPES, b$ as SUMSUB_REVIEW_STATUSES, bG as SUMSUB_STEPS, bZ as SUMSUB_WEBHOOK_INTERNAL_STATUS, b3 as ScorechainConfig, be as ScorechainProvider, am as SearchEntityType, al as SearchEntityTypes, ab as SearchFilterAdverseMediaType, a9 as SearchFilterPepType, a7 as SearchFilterSanctionType, ak as SearchFilterType, an as SearchFilters, dr as SelectKybSession, cV as SelectKycSession, cS as SelectKycSessionStep, cW as SelectKycSessionWithCompletedSteps, d6 as SelfieImageMetaData, s as Session, t as SessionWithoutSteps, p as Status, S as Statuses, Q as Step, v as StepType, u as StepTypes, bQ as SumSubAddress, bR as SumSubApplicantInfo, cu as SumSubApplicantResetSchema, ct as SumSubApplicantReviewStatusSchema, cz as SumSubApplicantSchema, bJ as SumSubApplicantType, co as SumSubApplicantVerificationStepSchema, bY as SumSubCompanyApplicantInfo, ci as SumSubCompanyApplicantSchema, c3 as SumSubDocType, c9 as SumSubFlowLevel, cv as SumSubGenerateExternalWebSdkLinkSchema, cj as SumSubImageId, cd as SumSubImageReviewResultSchema, ce as SumSubImageStatus, ch as SumSubIndividualApplicantSchema, c5 as SumSubKycDocType, cq as SumSubMediaContentType, ca as SumSubRequiredIdDoc, bL as SumSubReviewAnswer, cH as SumSubReviewRejectLabel, bN as SumSubReviewRejectType, cc as SumSubReviewResultSchema, c0 as SumSubReviewStatus, cE as SumSubSimilarApplicantsSchema, bH as SumSubStep, cn as SumSubVerificationStepSchema, bE as SumSubWebhookSchema, cg as SumsubApplicantType, cf as SumsubApplicantTypes, cl as SumsubCompanyBeneficiaryGroup, bP as SumsubCountryCode, cy as SumsubKybDataSchema, cD as SumsubKybSessionFlowSection, cC as SumsubKybSessionFlowSectionItem, cB as SumsubKybSessionFlowSectionStatus, cx as SumsubKycDataSchema, bO as SumsubReviewDecision, cm as SumsubStepStatus, cw as SumsubVideoCallData, b_ as SumsubWebhookInternalStatus, bp as SynapsProvider, $ as SynapsSessionErrorResponse, T as SynapsSessionEvent, X as SynapsSessionRequest, a0 as SynapsSessionResponse, a3 as SynapsStepErrorResponse, U as SynapsStepEvent, a1 as SynapsStepRequest, a4 as SynapsStepResponse, dV as TRMLabsAddressesScreening, dR as TRMLabsAddressesScreeningApiRequest, dW as TRMLabsAddressesScreeningResponse, b1 as TRMLabsConfig, bh as TRMLabsProvider, dU as TRMLabsRiskScoreToScorechainRiskMapping, dS as TRM_RISK_SCORE_LEVEL, dT as TRM_RISK_SCORE_LEVEL_LABEL, by as ToggleProviderInput, dn as TopographRegistryDocumentMetaData, Z as UNKNOWN_ERROR, du as UpdateKybSessionOutput, cZ as UpdateKycSessionOutput, bw as UpdateProviderInput, bx as UpdateProviderResponse, aA as UpdateSearchEntitiesInput, az as UpdateSearchInput, cb as UploadDocumentRequest, ek as VERIFF_DECISION_CODES, ei as VERIFF_DECISION_STATUSES, em as VeriffCreateSessionRequest, en as VeriffCreateSessionResponse, el as VeriffDecisionCode, ej as VeriffDecisionStatus, ey as VeriffDecisionWebhook, ew as VeriffDocument, ex as VeriffEventWebhook, ev as VeriffPerson, eo as VeriffWatchlistCheckType, et as VeriffWatchlistHit, er as VeriffWatchlistListingEntry, es as VeriffWatchlistListingsByCategory, ep as VeriffWatchlistMatchStatus, eq as VeriffWatchlistSearchTerm, eu as VeriffWatchlistWebhook, c_ as VideoKycMetaData, bB as WEBHOOK_TYPES, q as WebhookPayload, bC as WebhookType, b4 as WorkflowsScorechainConfig, W as WrappedIpQualityServiceErrorResponse, ag as mappingMatchTypeToLabel, V as typeToHumanReadable } from '../../dist/veriff-webhook.schema-2e01c2c7.esm.mjs';
2
+ export { O as AMLMetadata, cT as APPLICANT_CHECK_STATUSES, d8 as ApiErrorCommandResponse, d7 as ApiErrorResponse, d9 as ApiSuccessCommandResponse, cU as ApplicantCheckStatus, cF as ApplicantImages, bD as ApplicantMemberOfSchema, d$ as AuthToken, e0 as AuthTokenError, d_ as AuthTokenRequest, e1 as AuthTokenResponse, bU as BENEFICIARY_TYPES, bF as BaseApplicantActionSchema, ba as BaseProvider, dm as BeneficiaryAttestationDocumentMetaData, bW as BeneficiaryCompanyCustomerClaims, bX as BeneficiaryCompanyCustomerClaimsArray, bV as BeneficiaryType, dp as BeneficiaryVerificationStatus, dq as BeneficiaryVerificationStatusArray, j as BigCSErrorCodes, b5 as BigConfig, B as BigCryptoChain, h as BigProperties, g as BigPropertiesLiteral, i as BigProperty, bd as BigProvider, k as BitRankRequest, l as BitRankVerified, n as BitRankVerifiedError, m as BitRankVerifiedErrorResponse, o as BitRankVerifiedResponse, dj as COMPANY_DOCUMENT_STATUS, aq as COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES, as as COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES, ao as COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES, ah as COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS, ae as COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE, dJ as ChainalysisApiError, b0 as ChainalysisConfig, dH as ChainalysisErrorCodes, bg as ChainalysisProvider, dF as ChainalysisRegisterApiResponse, dK as ChainalysisRegisterResponse, dE as ChainalysisRequest, dI as ChainalysisRiskAssessmentApiResponse, dL as ChainalysisRiskAssessmentResponse, dG as ChainalysisRiskLevel, a5 as CoerceDateUTC, dP as CoinMarketCapApiResponse, dQ as CoinMarketCapFiatId, dN as CoinMarketCapQuote, dO as CoinMarketCapQuotes, dM as CoinMarketCapRequest, dl as CompanyDocumentMetaData, dk as CompanyDocumentStatus, aI as ComplyAdvantageAmlFullListing, aH as ComplyAdvantageAmlItemSource, ar as ComplyAdvantageCountryFieldSources, at as ComplyAdvantageDateOfBirthFieldSources, aG as ComplyAdvantageKeyInformation, aD as ComplyAdvantageMedia, aS as ComplyAdvantageMonitorSearchDataResponse, aU as ComplyAdvantageMonitorSearchResponse, aT as ComplyAdvantageMonitorSearchSuccessResponse, aV as ComplyAdvantageMonitoredSearchUpdate, ap as ComplyAdvantageNationalityFieldSources, bo as ComplyAdvantageProvider, bn as ComplyAdvantageProviderConfigElement, bm as ComplyAdvantageProviderConfigFilters, bl as ComplyAdvantageProviderConfigTypes, ai as ComplyAdvantageReponseMatchStatus, af as ComplyAdvantageResponseMatchType, aF as ComplyAdvantageSearchDataResponse, aE as ComplyAdvantageSearchDataResponseHit, aJ as ComplyAdvantageSearchEntitiesDataResponse, aL as ComplyAdvantageSearchEntitiesResponse, aK as ComplyAdvantageSearchEntitiesSuccessResponse, a as ComplyAdvantageSearchErrorResponse, aM as ComplyAdvantageSearchRequest, aN as ComplyAdvantageSearchRequests, C as ComplyAdvantageSearchResponse, b as ComplyAdvantageSearchSuccessResponse, aP as ComplyAdvantageUpdateSearchEntitiesRequest, aR as ComplyAdvantageUpdateSearchEntitiesResponse, aQ as ComplyAdvantageUpdateSearchEntitiesSuccessResponse, aO as ComplyAdvantageUpdateSearchRequest, aB as ComplyAdvantageUser, bu as CreateProviderInput, bv as CreateProviderResponse, au as CreateSearchInput, d3 as CredentialMetadata, b2 as CrystalIntelligenceConfig, bi as CrystalIntelligenceProvider, dX as CrystalWalletScreeningApiRequest, dY as CrystalWalletScreeningResponse, d2 as CustomerContactInformationOutput, dv as CustomerDocumentMetaData, dw as CustomerStatusResults, a_ as DataProvider, aZ as DataProviderOptions, bz as DeleteProviderInput, bA as DeleteProviderResponse, z as DocumentIdMetadata, y as DocumentIdType, D as DocumentIdTypes, cr as DocumentMetadataSchema, cs as DocumentSubmitResponse, K as EmailMetadata, E as EmailVerificationAnalysisResponse, cR as EmailVerificationResponse, F as File, d1 as GetCredentialsOutput, ds as GetKybSessionInput, dt as GetKybSessionResponse, cX as GetKycSessionInput, cY as GetKycSessionResponse, d4 as GetKycSessionResponseWithCredentialsMetadata, da as GetKycSessionsOutput, bt as GetProviderResponse, bs as GetProvidersResponse, ac as HIGH_RISK_TYPES, d5 as IDImageMetaData, bS as INDIVIDUAL_BENEFICIARY_RELATIONS, aY as IdentityProvider, aX as IdentityProviderOptions, bT as IndividualBeneficiaryRelation, c as IpQualityAnalysisRequest, d as IpQualityAnalysisResponse, b6 as IpQualityConfig, e as IpQualityServiceAnalysis, I as IpQualityServiceAnalysisResponse, f as IpQualityServiceErrorResponse, bk as IpqualityscoreProvider, df as KYB_RESULTS, dh as KYB_SESSION_STATUSES, dd as KYB_STEP_TYPES, c6 as KYC_DOC_SIDES, db as KYC_PROVIDER_NAMES, cN as KYC_RESULTS, cP as KYC_SESSION_STATUSES, cJ as KYC_STEP_TYPES, dg as KybResult, di as KybSessionStatus, de as KybStep, c7 as KycDocSide, dc as KycProviderName, cO as KycResult, cQ as KycSessionStatus, cK as KycStep, cM as KycStepStatus, cL as KycStepStatuses, e5 as LegalPersonNameIdentifierType, L as LivenessMetadata, ad as MEDIUM_RISK_TYPES, aw as MatchStatus, av as MatchStatuses, aC as MatchTypeDetail, M as MergedProviders, dC as MerkleAddressApiError, dB as MerkleAddressApiResponse, dA as MerkleAddressRequest, dD as MerkleAddressResponse, dz as MerkleBlockChainCodes, dy as MerkleBlockChainName, dx as MerkleBlockChainTypes, a$ as MerkleScienceConfig, bf as MerkleScienceProvider, e7 as NOTABENE_TX_CREATE_STATUS, e3 as NameIdentifierType, e4 as NationalIdentifierType, r as NestedSession, bc as NexeraIdKYBProvider, bb as NexeraIdSSIDProvider, e2 as NotabeneAssetResponse, dZ as NotabeneAudience, b7 as NotabeneConfig, e9 as NotabeneErrorCode, ed as NotabeneJurisdictionsCondition, ec as NotabeneJurisdictionsRequest, ef as NotabeneJurisdictionsResponse, ee as NotabeneJurisdictionsUnitaryResponse, bj as NotabeneProvider, ea as NotabeneTxCreateError, e6 as NotabeneTxCreateRequest, e8 as NotabeneTxCreateResponse, N as NotabeneTxCreateStatus, eb as NotabeneTxValidateFullResponse, eg as NotabeneWebhookPayload, eh as NotabeneWebhookSchema, J as PhoneMetadata, P as PhoneVerificationAnalysisResponse, G as ProofOfAddressDocumentType, A as ProofOfAddressDocumentTypes, H as ProofOfAddressMetadata, d0 as ProofOfResidenceDocumentType, c$ as ProofOfResidenceMetaData, bq as ProviderData, br as ProviderDataProject, b9 as ProviderIntegrationType, b8 as ProviderIntegrationTypeOptions, aW as ProviderWithoutConfig, _ as RESULT_PARSER_ERROR, x as ReasonCode, w as ReasonCodes, R as RequestProperty, ay as RiskLevel, ax as RiskLevels, aa as SEARCH_FILTER_ADVERSE_MEDIA_TYPE, a8 as SEARCH_FILTER_PEP_TYPE, a6 as SEARCH_FILTER_SANCTION_TYPE, aj as SEARCH_FILTER_TYPES, Y as SESSION_NOT_FOUND, a2 as STEP_NOT_FOUND, bI as SUMSUB_APPLICANT_TYPES, ck as SUMSUB_COMPANY_BENEFICIARY_GROUP, c1 as SUMSUB_DOC_TYPES, c2 as SUMSUB_DOC_TYPES_ARRAY, c8 as SUMSUB_FLOW_LEVEL, cA as SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS, c4 as SUMSUB_KYC_DOC_TYPES, cp as SUMSUB_MEDIA_CONTENT_TYPES, bK as SUMSUB_REVIEW_ANSWERS, cG as SUMSUB_REVIEW_REJECT_LABELS, cI as SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION, bM as SUMSUB_REVIEW_REJECT_TYPES, b$ as SUMSUB_REVIEW_STATUSES, bG as SUMSUB_STEPS, bZ as SUMSUB_WEBHOOK_INTERNAL_STATUS, b3 as ScorechainConfig, be as ScorechainProvider, am as SearchEntityType, al as SearchEntityTypes, ab as SearchFilterAdverseMediaType, a9 as SearchFilterPepType, a7 as SearchFilterSanctionType, ak as SearchFilterType, an as SearchFilters, dr as SelectKybSession, cV as SelectKycSession, cS as SelectKycSessionStep, cW as SelectKycSessionWithCompletedSteps, d6 as SelfieImageMetaData, s as Session, t as SessionWithoutSteps, p as Status, S as Statuses, Q as Step, v as StepType, u as StepTypes, bQ as SumSubAddress, bR as SumSubApplicantInfo, cu as SumSubApplicantResetSchema, ct as SumSubApplicantReviewStatusSchema, cz as SumSubApplicantSchema, bJ as SumSubApplicantType, co as SumSubApplicantVerificationStepSchema, bY as SumSubCompanyApplicantInfo, ci as SumSubCompanyApplicantSchema, c3 as SumSubDocType, c9 as SumSubFlowLevel, cv as SumSubGenerateExternalWebSdkLinkSchema, cj as SumSubImageId, cd as SumSubImageReviewResultSchema, ce as SumSubImageStatus, ch as SumSubIndividualApplicantSchema, c5 as SumSubKycDocType, cq as SumSubMediaContentType, ca as SumSubRequiredIdDoc, bL as SumSubReviewAnswer, cH as SumSubReviewRejectLabel, bN as SumSubReviewRejectType, cc as SumSubReviewResultSchema, c0 as SumSubReviewStatus, cE as SumSubSimilarApplicantsSchema, bH as SumSubStep, cn as SumSubVerificationStepSchema, bE as SumSubWebhookSchema, cg as SumsubApplicantType, cf as SumsubApplicantTypes, cl as SumsubCompanyBeneficiaryGroup, bP as SumsubCountryCode, cy as SumsubKybDataSchema, cD as SumsubKybSessionFlowSection, cC as SumsubKybSessionFlowSectionItem, cB as SumsubKybSessionFlowSectionStatus, cx as SumsubKycDataSchema, bO as SumsubReviewDecision, cm as SumsubStepStatus, cw as SumsubVideoCallData, b_ as SumsubWebhookInternalStatus, bp as SynapsProvider, $ as SynapsSessionErrorResponse, T as SynapsSessionEvent, X as SynapsSessionRequest, a0 as SynapsSessionResponse, a3 as SynapsStepErrorResponse, U as SynapsStepEvent, a1 as SynapsStepRequest, a4 as SynapsStepResponse, dV as TRMLabsAddressesScreening, dR as TRMLabsAddressesScreeningApiRequest, dW as TRMLabsAddressesScreeningResponse, b1 as TRMLabsConfig, bh as TRMLabsProvider, dU as TRMLabsRiskScoreToScorechainRiskMapping, dS as TRM_RISK_SCORE_LEVEL, dT as TRM_RISK_SCORE_LEVEL_LABEL, by as ToggleProviderInput, dn as TopographRegistryDocumentMetaData, Z as UNKNOWN_ERROR, du as UpdateKybSessionOutput, cZ as UpdateKycSessionOutput, bw as UpdateProviderInput, bx as UpdateProviderResponse, aA as UpdateSearchEntitiesInput, az as UpdateSearchInput, cb as UploadDocumentRequest, ek as VERIFF_DECISION_CODES, ei as VERIFF_DECISION_STATUSES, em as VeriffCreateSessionRequest, en as VeriffCreateSessionResponse, el as VeriffDecisionCode, ej as VeriffDecisionStatus, ey as VeriffDecisionWebhook, ew as VeriffDocument, ex as VeriffEventWebhook, ev as VeriffPerson, eo as VeriffWatchlistCheckType, et as VeriffWatchlistHit, er as VeriffWatchlistListingEntry, es as VeriffWatchlistListingsByCategory, ep as VeriffWatchlistMatchStatus, eq as VeriffWatchlistSearchTerm, eu as VeriffWatchlistWebhook, c_ as VideoKycMetaData, bB as WEBHOOK_TYPES, q as WebhookPayload, bC as WebhookType, b4 as WorkflowsScorechainConfig, W as WrappedIpQualityServiceErrorResponse, ag as mappingMatchTypeToLabel, V as typeToHumanReadable } from '../../dist/veriff-webhook.schema-01b55f80.esm.mjs';
3
3
  import 'zod';
4
4
  import 'nanoid';
5
5
  import 'decimal.js';
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var z = require('zod');
6
6
  var vault_schema = require('../../dist/vault.schema-fc13f09a.cjs.dev.cjs');
7
7
  var identityApi_schema = require('../../dist/identity-api.schema-ba410353.cjs.dev.cjs');
8
- var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-7a0110f8.cjs.dev.cjs');
8
+ var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-d8f5b0df.cjs.dev.cjs');
9
9
  var toArray = require('../../dist/toArray-72daad14.cjs.dev.cjs');
10
10
  var zodToJsonSchema = require('zod-to-json-schema');
11
11
  require('nanoid');
@@ -14,6 +14,21 @@ require('crypto');
14
14
 
15
15
  var AlertStatuses = ["Open", "Under Investigation", "Pending", "Closed", "Escalated"];
16
16
  var AlertStatus = z.z["enum"](AlertStatuses);
17
+ /**
18
+ * An alert still awaiting a decision — NOT only "Open".
19
+ *
20
+ * This lived in three places that drifted: the alert writer and the review
21
+ * detail page counted all three, while the review QUEUE counted "Open" alone.
22
+ * A reviewer moving an alert to "Under Investigation" — the Alerts UI working
23
+ * exactly as designed — therefore dropped the company out of the KYB review
24
+ * queue while every other surface still considered it open, so nothing ever
25
+ * put it back. No failure was required; it was permanent.
26
+ *
27
+ * Defined here, next to the statuses themselves, because both services need
28
+ * the same answer: apps/api writes and reads these alerts, apps/data-analytics
29
+ * lists them.
30
+ */
31
+ var OPEN_ALERT_STATUSES = ["Open", "Under Investigation", "Pending"];
17
32
  var AlertTypes = ["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring", /** Fires when a company is flipped to "To be reviewed"; auto-resolves on reviewer approve/reject. */
18
33
  "Compliance Review Required"];
19
34
  var AlertType = z.z["enum"](AlertTypes);
@@ -1102,6 +1117,7 @@ exports.MessageDataOut = MessageDataOut;
1102
1117
  exports.MessageDataOutExtended = MessageDataOutExtended;
1103
1118
  exports.NexeraSvixEnvironmentConfig = NexeraSvixEnvironmentConfig;
1104
1119
  exports.NexeraWebhookEvents = NexeraWebhookEvents;
1120
+ exports.OPEN_ALERT_STATUSES = OPEN_ALERT_STATUSES;
1105
1121
  exports.ResendWebhookInput = ResendWebhookInput;
1106
1122
  exports.ScenarioWebhookPayloadSchema = ScenarioWebhookPayloadSchema;
1107
1123
  exports.SendExampleMessageInput = SendExampleMessageInput;
@@ -5,7 +5,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
5
5
  var z = require('zod');
6
6
  var vault_schema = require('../../dist/vault.schema-f25c0d9b.cjs.prod.cjs');
7
7
  var identityApi_schema = require('../../dist/identity-api.schema-1d6c48b0.cjs.prod.cjs');
8
- var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-ebd3b5e3.cjs.prod.cjs');
8
+ var veriffWebhook_schema = require('../../dist/veriff-webhook.schema-3a4e348a.cjs.prod.cjs');
9
9
  var toArray = require('../../dist/toArray-bf51f0a4.cjs.prod.cjs');
10
10
  var zodToJsonSchema = require('zod-to-json-schema');
11
11
  require('nanoid');
@@ -14,6 +14,21 @@ require('crypto');
14
14
 
15
15
  var AlertStatuses = ["Open", "Under Investigation", "Pending", "Closed", "Escalated"];
16
16
  var AlertStatus = z.z["enum"](AlertStatuses);
17
+ /**
18
+ * An alert still awaiting a decision — NOT only "Open".
19
+ *
20
+ * This lived in three places that drifted: the alert writer and the review
21
+ * detail page counted all three, while the review QUEUE counted "Open" alone.
22
+ * A reviewer moving an alert to "Under Investigation" — the Alerts UI working
23
+ * exactly as designed — therefore dropped the company out of the KYB review
24
+ * queue while every other surface still considered it open, so nothing ever
25
+ * put it back. No failure was required; it was permanent.
26
+ *
27
+ * Defined here, next to the statuses themselves, because both services need
28
+ * the same answer: apps/api writes and reads these alerts, apps/data-analytics
29
+ * lists them.
30
+ */
31
+ var OPEN_ALERT_STATUSES = ["Open", "Under Investigation", "Pending"];
17
32
  var AlertTypes = ["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring", /** Fires when a company is flipped to "To be reviewed"; auto-resolves on reviewer approve/reject. */
18
33
  "Compliance Review Required"];
19
34
  var AlertType = z.z["enum"](AlertTypes);
@@ -1102,6 +1117,7 @@ exports.MessageDataOut = MessageDataOut;
1102
1117
  exports.MessageDataOutExtended = MessageDataOutExtended;
1103
1118
  exports.NexeraSvixEnvironmentConfig = NexeraSvixEnvironmentConfig;
1104
1119
  exports.NexeraWebhookEvents = NexeraWebhookEvents;
1120
+ exports.OPEN_ALERT_STATUSES = OPEN_ALERT_STATUSES;
1105
1121
  exports.ResendWebhookInput = ResendWebhookInput;
1106
1122
  exports.ScenarioWebhookPayloadSchema = ScenarioWebhookPayloadSchema;
1107
1123
  exports.SendExampleMessageInput = SendExampleMessageInput;
@@ -1,7 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { aX as UuidString, ep as ExternalCustomerId, en as WorkflowId, bf as RiskScoreType, bh as CustomerType, bn as CustomerOnboardingLevel, bp as CustomerStatus, b3 as ISO3CountryCode, au as BlockchainAddress, eJ as GenericVerifiableCredentialSchema, gw as WalletScreeningData, f6 as TransactionTypes, fc as TransactionReviewStatuses, gF as _toConsumableArray, aW as EnvironmentSchema } from '../../dist/vault.schema-ac945548.esm.mjs';
3
3
  import { Y as RuleResultStatus } from '../../dist/identity-api.schema-235de44b.esm.mjs';
4
- import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/veriff-webhook.schema-2e01c2c7.esm.mjs';
4
+ import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/veriff-webhook.schema-01b55f80.esm.mjs';
5
5
  import { _ as _toArray } from '../../dist/toArray-04d6373a.esm.mjs';
6
6
  import { zodToJsonSchema } from 'zod-to-json-schema';
7
7
  import 'nanoid';
@@ -10,6 +10,21 @@ import 'crypto';
10
10
 
11
11
  var AlertStatuses = ["Open", "Under Investigation", "Pending", "Closed", "Escalated"];
12
12
  var AlertStatus = z["enum"](AlertStatuses);
13
+ /**
14
+ * An alert still awaiting a decision — NOT only "Open".
15
+ *
16
+ * This lived in three places that drifted: the alert writer and the review
17
+ * detail page counted all three, while the review QUEUE counted "Open" alone.
18
+ * A reviewer moving an alert to "Under Investigation" — the Alerts UI working
19
+ * exactly as designed — therefore dropped the company out of the KYB review
20
+ * queue while every other surface still considered it open, so nothing ever
21
+ * put it back. No failure was required; it was permanent.
22
+ *
23
+ * Defined here, next to the statuses themselves, because both services need
24
+ * the same answer: apps/api writes and reads these alerts, apps/data-analytics
25
+ * lists them.
26
+ */
27
+ var OPEN_ALERT_STATUSES = ["Open", "Under Investigation", "Pending"];
13
28
  var AlertTypes = ["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring", /** Fires when a company is flipped to "To be reviewed"; auto-resolves on reviewer approve/reject. */
14
29
  "Compliance Review Required"];
15
30
  var AlertType = z["enum"](AlertTypes);
@@ -1036,4 +1051,4 @@ var NexeraWebhookEvents = [{
1036
1051
  }
1037
1052
  }];
1038
1053
 
1039
- export { ALERT_CHART_TYPES, ALERT_TABLE_COLUMNS, AlertCategories, AlertCategory, AlertChartType, AlertCreatedPayload, AlertDeletedPayload, AlertSeverities, AlertSeverity, AlertStatus, AlertStatuses, AlertTableColumn, AlertType, AlertTypes, AlertUpdatedPayload, AlertWebhookPayload, AllNexeraEventTypes, AttemptDataOut, AttemptsStatus, AttemptsStatusCode, AttemptsStatusCodes, AttemptsStatusKey, AttemptsStatusKeys, CUSTOMER_TOPICS, CompanyCreatedPayload, CompanyDeletedPayload, CompanyUpdatedPayload, ConnectionHandlingWorkspaceInput, ConnectionHandlingWorkspaceOutput, CreateEndpointInput, CreateEndpointOutput, CustomerCreatedPayload, CustomerDeletedPayload, CustomerEvents, CustomerTopics, CustomerUpdatedPayload, CustomerWebhookPayload, DeleteEndpointInput, DeleteEndpointOutput, DuplicateData, EndpointCheckboxsCollapsiblesSchema, EndpointHandlingForm, EndpointOut, EventType, GetEndpointSecretInput, GetEndpointSecretOutput, GetMessagesInput, IndividualCreatedPayload, IndividualDeletedPayload, IndividualUpdatedPayload, ListAttemptsByEndpointInput, ListAttemptsByMessageInput, ListAttemptsByMessageOutput, ListEndpointsInput, ListEventTypeOutput, ListMessagesInput, ListMessagesOutput, ListResponseEndpointOut, MessageDataOut, MessageDataOutExtended, NexeraSvixEnvironmentConfig, NexeraWebhookEvents, ResendWebhookInput, ScenarioWebhookPayloadSchema, SendExampleMessageInput, SendMessageForAlertCreatedInput, SendMessageForAlertDeletedInput, SendMessageForAlertUpdatedInput, SendMessageForCompanyCreatedInput, SendMessageForCompanyDeletedInput, SendMessageForCompanyUpdatedInput, SendMessageForCustomerCreatedInput, SendMessageForCustomerDeletedInput, SendMessageForCustomerUpdatedInput, SendMessageForIndividualCreatedInput, SendMessageForIndividualDeletedInput, SendMessageForIndividualUpdatedInput, SendMessageForSendScenarioInput, SendMessageForTMSCreatedInput, SendMessageForTMSDeletedInput, SendMessageForTMSImportedInput, SendMessageForTMSUpdatedInput, SendScenarioPayload, TMSBulkWebhookPayload, TMSCreatedPayload, TMSDeletedPayload, TMSImportedPayload, TMSUpdatedPayload, TMSWebhookPayload, UpdateEndpointInput, UpdateEndpointOutput, UserInfoForDuplicate, VerificationFlowChecksWebhookPayload, VerificationFlowResult, VerificationFlowResultBitRank, VerificationFlowResultChainalysis, VerificationFlowResultCrystalIntelligence, VerificationFlowResultIpQualityScore, VerificationFlowResultMerkleScience, VerificationFlowResultScoreChain, VerificationFlowResultTRMLabs, WebhookAlertEventPayload, WebhookCheckboxInformation, WebhookCompanyEventPayload, WebhookCustomerEventPayload, WebhookEventPayload, WebhookEventType, WebhookEventTypeForm, WebhookEventTypes, WebhookEventTypesForm, WebhookIndividualEventPayload, WebhookScenariosEventPayload, WebhookTMSEventPayload, WebhookTagOutputData };
1054
+ export { ALERT_CHART_TYPES, ALERT_TABLE_COLUMNS, AlertCategories, AlertCategory, AlertChartType, AlertCreatedPayload, AlertDeletedPayload, AlertSeverities, AlertSeverity, AlertStatus, AlertStatuses, AlertTableColumn, AlertType, AlertTypes, AlertUpdatedPayload, AlertWebhookPayload, AllNexeraEventTypes, AttemptDataOut, AttemptsStatus, AttemptsStatusCode, AttemptsStatusCodes, AttemptsStatusKey, AttemptsStatusKeys, CUSTOMER_TOPICS, CompanyCreatedPayload, CompanyDeletedPayload, CompanyUpdatedPayload, ConnectionHandlingWorkspaceInput, ConnectionHandlingWorkspaceOutput, CreateEndpointInput, CreateEndpointOutput, CustomerCreatedPayload, CustomerDeletedPayload, CustomerEvents, CustomerTopics, CustomerUpdatedPayload, CustomerWebhookPayload, DeleteEndpointInput, DeleteEndpointOutput, DuplicateData, EndpointCheckboxsCollapsiblesSchema, EndpointHandlingForm, EndpointOut, EventType, GetEndpointSecretInput, GetEndpointSecretOutput, GetMessagesInput, IndividualCreatedPayload, IndividualDeletedPayload, IndividualUpdatedPayload, ListAttemptsByEndpointInput, ListAttemptsByMessageInput, ListAttemptsByMessageOutput, ListEndpointsInput, ListEventTypeOutput, ListMessagesInput, ListMessagesOutput, ListResponseEndpointOut, MessageDataOut, MessageDataOutExtended, NexeraSvixEnvironmentConfig, NexeraWebhookEvents, OPEN_ALERT_STATUSES, ResendWebhookInput, ScenarioWebhookPayloadSchema, SendExampleMessageInput, SendMessageForAlertCreatedInput, SendMessageForAlertDeletedInput, SendMessageForAlertUpdatedInput, SendMessageForCompanyCreatedInput, SendMessageForCompanyDeletedInput, SendMessageForCompanyUpdatedInput, SendMessageForCustomerCreatedInput, SendMessageForCustomerDeletedInput, SendMessageForCustomerUpdatedInput, SendMessageForIndividualCreatedInput, SendMessageForIndividualDeletedInput, SendMessageForIndividualUpdatedInput, SendMessageForSendScenarioInput, SendMessageForTMSCreatedInput, SendMessageForTMSDeletedInput, SendMessageForTMSImportedInput, SendMessageForTMSUpdatedInput, SendScenarioPayload, TMSBulkWebhookPayload, TMSCreatedPayload, TMSDeletedPayload, TMSImportedPayload, TMSUpdatedPayload, TMSWebhookPayload, UpdateEndpointInput, UpdateEndpointOutput, UserInfoForDuplicate, VerificationFlowChecksWebhookPayload, VerificationFlowResult, VerificationFlowResultBitRank, VerificationFlowResultChainalysis, VerificationFlowResultCrystalIntelligence, VerificationFlowResultIpQualityScore, VerificationFlowResultMerkleScience, VerificationFlowResultScoreChain, VerificationFlowResultTRMLabs, WebhookAlertEventPayload, WebhookCheckboxInformation, WebhookCompanyEventPayload, WebhookCustomerEventPayload, WebhookEventPayload, WebhookEventType, WebhookEventTypeForm, WebhookEventTypes, WebhookEventTypesForm, WebhookIndividualEventPayload, WebhookScenariosEventPayload, WebhookTMSEventPayload, WebhookTagOutputData };