@nexeraid/identity-schemas 2.231.0-dev → 2.233.0-dev

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.
Files changed (48) hide show
  1. package/dist/declarations/src/config.schema.d.ts +5 -2
  2. package/dist/declarations/src/config.schema.d.ts.map +1 -1
  3. package/dist/declarations/src/identity-ids.schema.d.ts +7 -1
  4. package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
  5. package/dist/declarations/src/nexeraSSID.schema.d.ts +72 -0
  6. package/dist/declarations/src/nexeraSSID.schema.d.ts.map +1 -1
  7. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts +128 -0
  8. package/dist/declarations/src/providers/kyb-sessions.schema.d.ts.map +1 -1
  9. package/dist/declarations/src/verifiable-credentials/vc_json_schema_map.d.ts +18 -0
  10. package/dist/declarations/src/verifiable-credentials/vc_json_schema_map.d.ts.map +1 -1
  11. package/dist/declarations/src/webhooks/alert.schema.d.ts +15 -0
  12. package/dist/declarations/src/webhooks/alert.schema.d.ts.map +1 -1
  13. package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +3 -3
  14. package/dist/{identity-api.schema-b85b5276.cjs.prod.cjs → identity-api.schema-1d6c48b0.cjs.prod.cjs} +1 -1
  15. package/dist/{identity-api.schema-d81f0f98.esm.mjs → identity-api.schema-235de44b.esm.mjs} +1 -1
  16. package/dist/{identity-api.schema-b752e814.cjs.dev.cjs → identity-api.schema-ba410353.cjs.dev.cjs} +1 -1
  17. package/dist/nexeraid-identity-schemas.cjs.dev.cjs +8 -5
  18. package/dist/nexeraid-identity-schemas.cjs.prod.cjs +8 -5
  19. package/dist/nexeraid-identity-schemas.esm.mjs +7 -7
  20. package/dist/package.json +10 -10
  21. package/dist/{tfhe-utilities-67df1cb8.esm.mjs → tfhe-utilities-1ca8cf1f.esm.mjs} +20 -2
  22. package/dist/{tfhe-utilities-1a60b43a.cjs.dev.cjs → tfhe-utilities-5bac62f1.cjs.dev.cjs} +20 -2
  23. package/dist/{tfhe-utilities-e253ef46.cjs.prod.cjs → tfhe-utilities-daf1c4fc.cjs.prod.cjs} +20 -2
  24. package/dist/{toArray-2f9aa662.esm.mjs → toArray-04d6373a.esm.mjs} +1 -1
  25. package/dist/{toArray-61bf0703.cjs.dev.cjs → toArray-72daad14.cjs.dev.cjs} +1 -1
  26. package/dist/{toArray-93243940.cjs.prod.cjs → toArray-bf51f0a4.cjs.prod.cjs} +1 -1
  27. package/dist/{vault.schema-cc54454c.esm.mjs → vault.schema-ac945548.esm.mjs} +53 -6
  28. package/dist/{vault.schema-1be8da81.cjs.prod.cjs → vault.schema-f25c0d9b.cjs.prod.cjs} +55 -5
  29. package/dist/{vault.schema-7e29dfe1.cjs.dev.cjs → vault.schema-fc13f09a.cjs.dev.cjs} +55 -5
  30. package/dist/{veriff-webhook.schema-2ff6c2ec.esm.mjs → veriff-webhook.schema-01b55f80.esm.mjs} +23 -3
  31. package/dist/{veriff-webhook.schema-bf79f789.cjs.prod.cjs → veriff-webhook.schema-3a4e348a.cjs.prod.cjs} +23 -3
  32. package/dist/{veriff-webhook.schema-49c861af.cjs.dev.cjs → veriff-webhook.schema-d8f5b0df.cjs.dev.cjs} +23 -3
  33. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -2
  34. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -2
  35. package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
  36. package/package.json +10 -10
  37. package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -3
  38. package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -3
  39. package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
  40. package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +2 -2
  41. package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +2 -2
  42. package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +3 -3
  43. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +3 -3
  44. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -3
  45. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
  46. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +20 -4
  47. package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +20 -4
  48. package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +20 -5
@@ -1,8 +1,8 @@
1
1
  import { z } from 'zod';
2
- import { aX as UuidString, em as ExternalCustomerId, ek as WorkflowId, bf as RiskScoreType, bh as CustomerType, bn as CustomerOnboardingLevel, bp as CustomerStatus, b3 as ISO3CountryCode, au as BlockchainAddress, eG as GenericVerifiableCredentialSchema, gt as WalletScreeningData, f3 as TransactionTypes, f9 as TransactionReviewStatuses, gC as _toConsumableArray, aW as EnvironmentSchema } from '../../dist/vault.schema-cc54454c.esm.mjs';
3
- import { Y as RuleResultStatus } from '../../dist/identity-api.schema-d81f0f98.esm.mjs';
4
- import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/veriff-webhook.schema-2ff6c2ec.esm.mjs';
5
- import { _ as _toArray } from '../../dist/toArray-2f9aa662.esm.mjs';
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
+ 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-01b55f80.esm.mjs';
5
+ import { _ as _toArray } from '../../dist/toArray-04d6373a.esm.mjs';
6
6
  import { zodToJsonSchema } from 'zod-to-json-schema';
7
7
  import 'nanoid';
8
8
  import 'decimal.js';
@@ -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 };