@nexeraid/identity-schemas 2.86.0-dev → 2.88.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.
- package/dist/{CoinMarketCap.schema-01aa87e4.cjs.prod.cjs → CoinMarketCap.schema-20fb43b4.cjs.prod.cjs} +2 -2
- package/dist/{CoinMarketCap.schema-397b9857.esm.mjs → CoinMarketCap.schema-2522156d.esm.mjs} +2 -2
- package/dist/{CoinMarketCap.schema-6717bd28.cjs.dev.cjs → CoinMarketCap.schema-b5d9d48a.cjs.dev.cjs} +2 -2
- package/dist/declarations/src/customer.schema.d.ts +14 -0
- package/dist/declarations/src/customer.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/scenario.schema.d.ts +49 -49
- package/dist/declarations/src/identity/scenario.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts +6 -6
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts +40 -40
- package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts.map +1 -1
- package/dist/declarations/src/tag.schema.d.ts +10 -3
- package/dist/declarations/src/tag.schema.d.ts.map +1 -1
- package/dist/declarations/src/vault/vault.schema.d.ts +12 -12
- package/dist/{identity-api.schema-c1a397aa.cjs.prod.cjs → identity-api.schema-25a40938.cjs.prod.cjs} +84 -119
- package/dist/{identity-api.schema-8c8827a8.cjs.dev.cjs → identity-api.schema-4670c94c.cjs.dev.cjs} +84 -119
- package/dist/{identity-api.schema-413be7b9.esm.mjs → identity-api.schema-bdf74232.esm.mjs} +84 -106
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +20 -8
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +20 -8
- package/dist/nexeraid-identity-schemas.esm.mjs +17 -8
- package/dist/package.json +1 -1
- package/dist/{tfhe-utilities-308ce036.esm.mjs → tfhe-utilities-9a4bc5f6.esm.mjs} +2 -2
- package/dist/{tfhe-utilities-87c99c35.cjs.prod.cjs → tfhe-utilities-be752443.cjs.prod.cjs} +2 -2
- package/dist/{tfhe-utilities-d84f1a0e.cjs.dev.cjs → tfhe-utilities-d05b2a83.cjs.dev.cjs} +2 -2
- package/dist/{vault.schema-3e68499e.esm.mjs → vault.schema-06c7ebc0.esm.mjs} +12 -12
- package/dist/{vault.schema-b879e107.cjs.dev.cjs → vault.schema-771644cb.cjs.prod.cjs} +13 -13
- package/dist/{vault.schema-ba3a058a.cjs.prod.cjs → vault.schema-94ffd2d8.cjs.dev.cjs} +13 -13
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +2 -2
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +2 -2
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +3 -3
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +3 -3
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +1 -1
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +1 -1
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +1 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +3 -3
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +3 -3
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +48 -21
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +48 -21
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +31 -5
|
@@ -2,20 +2,47 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var identityApi_schema = require('../../dist/identity-api.schema-c1a397aa.cjs.prod.cjs');
|
|
6
5
|
var zod = require('zod');
|
|
7
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
8
|
-
var
|
|
6
|
+
var vault_schema = require('../../dist/vault.schema-771644cb.cjs.prod.cjs');
|
|
7
|
+
var identityApi_schema = require('../../dist/identity-api.schema-25a40938.cjs.prod.cjs');
|
|
8
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-20fb43b4.cjs.prod.cjs');
|
|
9
9
|
var zodToJsonSchema = require('zod-to-json-schema');
|
|
10
10
|
require('nanoid');
|
|
11
11
|
require('decimal.js');
|
|
12
12
|
|
|
13
|
+
// Alert Statuses
|
|
14
|
+
var AlertStatuses = ["Open", "Under Investigation", "Pending", "Closed", "Escalated"];
|
|
15
|
+
var AlertStatus = zod.z["enum"](AlertStatuses);
|
|
16
|
+
// Alert Types
|
|
17
|
+
var AlertTypes = ["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring"];
|
|
18
|
+
var AlertType = zod.z["enum"](AlertTypes);
|
|
19
|
+
// Alert Severities
|
|
20
|
+
var AlertSeverities = ["Low", "Medium", "High"];
|
|
21
|
+
var AlertSeverity = zod.z["enum"](AlertSeverities);
|
|
22
|
+
// Alert Categories
|
|
23
|
+
var AlertCategories = ["Onboarding", "Ongoing monitoring"];
|
|
24
|
+
var AlertCategory = zod.z["enum"](AlertCategories);
|
|
25
|
+
var ALERT_CHART_TYPES = ["total", "new", "opened", "closed", "inProgress", "unassigned", "escalated", "overdue", "avgClosureTime", "ageOfOldest", "alertTrendsOverTime", "alertsByType", "ageOfOpenAlerts", "alertsPerOfficer", "alertsSeverity"];
|
|
26
|
+
var AlertChartType = zod.z["enum"](ALERT_CHART_TYPES);
|
|
27
|
+
var ALERT_TABLE_COLUMNS = ["selected", "createdAt", "overdue", "id", "severity", "type", "description", "assignedTo", "country", "status"];
|
|
28
|
+
var AlertTableColumn = zod.z["enum"](ALERT_TABLE_COLUMNS);
|
|
29
|
+
var UserInfoForDuplicate = zod.z.object({
|
|
30
|
+
customerId: vault_schema.UuidString,
|
|
31
|
+
customerInfo: zod.z.string().nullish(),
|
|
32
|
+
profilePicture: zod.z.string().nullish(),
|
|
33
|
+
idDocumentUrl: zod.z.string().nullish()
|
|
34
|
+
});
|
|
35
|
+
var DuplicateData = zod.z.object({
|
|
36
|
+
original: UserInfoForDuplicate,
|
|
37
|
+
duplicate: UserInfoForDuplicate
|
|
38
|
+
});
|
|
39
|
+
|
|
13
40
|
var AlertWebhookPayload = zod.z.object({
|
|
14
41
|
id: vault_schema.UuidString,
|
|
15
|
-
severity:
|
|
16
|
-
category:
|
|
17
|
-
type:
|
|
18
|
-
status:
|
|
42
|
+
severity: AlertSeverity,
|
|
43
|
+
category: AlertCategory,
|
|
44
|
+
type: AlertType,
|
|
45
|
+
status: AlertStatus,
|
|
19
46
|
customerId: vault_schema.UuidString,
|
|
20
47
|
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
21
48
|
cmsProjectId: zod.z.string().optional(),
|
|
@@ -644,22 +671,20 @@ var NexeraWebhookEvents = [{
|
|
|
644
671
|
}
|
|
645
672
|
}];
|
|
646
673
|
|
|
647
|
-
exports.ALERT_CHART_TYPES =
|
|
648
|
-
exports.ALERT_TABLE_COLUMNS =
|
|
649
|
-
exports.AlertCategories =
|
|
650
|
-
exports.AlertCategory =
|
|
651
|
-
exports.AlertChartType =
|
|
652
|
-
exports.AlertSeverities = identityApi_schema.AlertSeverities;
|
|
653
|
-
exports.AlertSeverity = identityApi_schema.AlertSeverity;
|
|
654
|
-
exports.AlertStatus = identityApi_schema.AlertStatus;
|
|
655
|
-
exports.AlertStatuses = identityApi_schema.AlertStatuses;
|
|
656
|
-
exports.AlertTableColumn = identityApi_schema.AlertTableColumn;
|
|
657
|
-
exports.AlertType = identityApi_schema.AlertType;
|
|
658
|
-
exports.AlertTypes = identityApi_schema.AlertTypes;
|
|
659
|
-
exports.DuplicateData = identityApi_schema.DuplicateData;
|
|
660
|
-
exports.UserInfoForDuplicate = identityApi_schema.UserInfoForDuplicate;
|
|
674
|
+
exports.ALERT_CHART_TYPES = ALERT_CHART_TYPES;
|
|
675
|
+
exports.ALERT_TABLE_COLUMNS = ALERT_TABLE_COLUMNS;
|
|
676
|
+
exports.AlertCategories = AlertCategories;
|
|
677
|
+
exports.AlertCategory = AlertCategory;
|
|
678
|
+
exports.AlertChartType = AlertChartType;
|
|
661
679
|
exports.AlertCreatedPayload = AlertCreatedPayload;
|
|
662
680
|
exports.AlertDeletedPayload = AlertDeletedPayload;
|
|
681
|
+
exports.AlertSeverities = AlertSeverities;
|
|
682
|
+
exports.AlertSeverity = AlertSeverity;
|
|
683
|
+
exports.AlertStatus = AlertStatus;
|
|
684
|
+
exports.AlertStatuses = AlertStatuses;
|
|
685
|
+
exports.AlertTableColumn = AlertTableColumn;
|
|
686
|
+
exports.AlertType = AlertType;
|
|
687
|
+
exports.AlertTypes = AlertTypes;
|
|
663
688
|
exports.AlertUpdatedPayload = AlertUpdatedPayload;
|
|
664
689
|
exports.AlertWebhookPayload = AlertWebhookPayload;
|
|
665
690
|
exports.AllNexeraEventTypes = AllNexeraEventTypes;
|
|
@@ -682,6 +707,7 @@ exports.CustomerUpdatedPayload = CustomerUpdatedPayload;
|
|
|
682
707
|
exports.CustomerWebhookPayload = CustomerWebhookPayload;
|
|
683
708
|
exports.DeleteEndpointInput = DeleteEndpointInput;
|
|
684
709
|
exports.DeleteEndpointOutput = DeleteEndpointOutput;
|
|
710
|
+
exports.DuplicateData = DuplicateData;
|
|
685
711
|
exports.EndpointCheckboxsCollapsiblesSchema = EndpointCheckboxsCollapsiblesSchema;
|
|
686
712
|
exports.EndpointHandlingForm = EndpointHandlingForm;
|
|
687
713
|
exports.EndpointOut = EndpointOut;
|
|
@@ -721,6 +747,7 @@ exports.TMSUpdatedPayload = TMSUpdatedPayload;
|
|
|
721
747
|
exports.TMSWebhookPayload = TMSWebhookPayload;
|
|
722
748
|
exports.UpdateEndpointInput = UpdateEndpointInput;
|
|
723
749
|
exports.UpdateEndpointOutput = UpdateEndpointOutput;
|
|
750
|
+
exports.UserInfoForDuplicate = UserInfoForDuplicate;
|
|
724
751
|
exports.VerificationFlowChecksWebhookPayload = VerificationFlowChecksWebhookPayload;
|
|
725
752
|
exports.VerificationFlowResult = VerificationFlowResult;
|
|
726
753
|
exports.VerificationFlowResultBitRank = VerificationFlowResultBitRank;
|
|
@@ -1,12 +1,38 @@
|
|
|
1
|
-
import { cn as AlertSeverity, co as AlertCategory, cp as AlertType, cq as AlertStatus, a as RiskScoreType, c as CustomerType, h as CustomerOnboardingLevel, j as CustomerStatus, ae as RuleResultStatus } from '../../dist/identity-api.schema-413be7b9.esm.mjs';
|
|
2
|
-
export { cv as ALERT_CHART_TYPES, cx as ALERT_TABLE_COLUMNS, cu as AlertCategories, co as AlertCategory, cw as AlertChartType, ct as AlertSeverities, cn as AlertSeverity, cq as AlertStatus, cr as AlertStatuses, cy as AlertTableColumn, cp as AlertType, cs as AlertTypes, cA as DuplicateData, cz as UserInfoForDuplicate } from '../../dist/identity-api.schema-413be7b9.esm.mjs';
|
|
3
1
|
import { z } from 'zod';
|
|
4
|
-
import { aS as UuidString, cM as ExternalCustomerId, a_ as ISO3CountryCode, ar as BlockchainAddress, d4 as GenericVerifiableCredentialSchema, ea as WalletScreeningData, dn as TransactionTypes, du as TransactionReviewStatuses, ef as _toArray, ee as _toConsumableArray, aR as EnvironmentSchema } from '../../dist/vault.schema-
|
|
5
|
-
import {
|
|
2
|
+
import { aS as UuidString, cM as ExternalCustomerId, a_ as ISO3CountryCode, ar as BlockchainAddress, d4 as GenericVerifiableCredentialSchema, ea as WalletScreeningData, dn as TransactionTypes, du as TransactionReviewStatuses, ef as _toArray, ee as _toConsumableArray, aR as EnvironmentSchema } from '../../dist/vault.schema-06c7ebc0.esm.mjs';
|
|
3
|
+
import { a as RiskScoreType, c as CustomerType, h as CustomerOnboardingLevel, j as CustomerStatus, af as RuleResultStatus } from '../../dist/identity-api.schema-bdf74232.esm.mjs';
|
|
4
|
+
import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/CoinMarketCap.schema-2522156d.esm.mjs';
|
|
6
5
|
import { zodToJsonSchema } from 'zod-to-json-schema';
|
|
7
6
|
import 'nanoid';
|
|
8
7
|
import 'decimal.js';
|
|
9
8
|
|
|
9
|
+
// Alert Statuses
|
|
10
|
+
var AlertStatuses = ["Open", "Under Investigation", "Pending", "Closed", "Escalated"];
|
|
11
|
+
var AlertStatus = z["enum"](AlertStatuses);
|
|
12
|
+
// Alert Types
|
|
13
|
+
var AlertTypes = ["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring"];
|
|
14
|
+
var AlertType = z["enum"](AlertTypes);
|
|
15
|
+
// Alert Severities
|
|
16
|
+
var AlertSeverities = ["Low", "Medium", "High"];
|
|
17
|
+
var AlertSeverity = z["enum"](AlertSeverities);
|
|
18
|
+
// Alert Categories
|
|
19
|
+
var AlertCategories = ["Onboarding", "Ongoing monitoring"];
|
|
20
|
+
var AlertCategory = z["enum"](AlertCategories);
|
|
21
|
+
var ALERT_CHART_TYPES = ["total", "new", "opened", "closed", "inProgress", "unassigned", "escalated", "overdue", "avgClosureTime", "ageOfOldest", "alertTrendsOverTime", "alertsByType", "ageOfOpenAlerts", "alertsPerOfficer", "alertsSeverity"];
|
|
22
|
+
var AlertChartType = z["enum"](ALERT_CHART_TYPES);
|
|
23
|
+
var ALERT_TABLE_COLUMNS = ["selected", "createdAt", "overdue", "id", "severity", "type", "description", "assignedTo", "country", "status"];
|
|
24
|
+
var AlertTableColumn = z["enum"](ALERT_TABLE_COLUMNS);
|
|
25
|
+
var UserInfoForDuplicate = z.object({
|
|
26
|
+
customerId: UuidString,
|
|
27
|
+
customerInfo: z.string().nullish(),
|
|
28
|
+
profilePicture: z.string().nullish(),
|
|
29
|
+
idDocumentUrl: z.string().nullish()
|
|
30
|
+
});
|
|
31
|
+
var DuplicateData = z.object({
|
|
32
|
+
original: UserInfoForDuplicate,
|
|
33
|
+
duplicate: UserInfoForDuplicate
|
|
34
|
+
});
|
|
35
|
+
|
|
10
36
|
var AlertWebhookPayload = z.object({
|
|
11
37
|
id: UuidString,
|
|
12
38
|
severity: AlertSeverity,
|
|
@@ -641,4 +667,4 @@ var NexeraWebhookEvents = [{
|
|
|
641
667
|
}
|
|
642
668
|
}];
|
|
643
669
|
|
|
644
|
-
export { AlertCreatedPayload, AlertDeletedPayload, AlertUpdatedPayload, AlertWebhookPayload, AllNexeraEventTypes, AttemptDataOut, AttemptsStatus, AttemptsStatusCode, AttemptsStatusCodes, AttemptsStatusKey, AttemptsStatusKeys, CUSTOMER_TOPICS, ConnectionHandlingWorkspaceInput, ConnectionHandlingWorkspaceOutput, CreateEndpointInput, CreateEndpointOutput, CustomerCreatedPayload, CustomerDeletedPayload, CustomerEvents, CustomerTopics, CustomerUpdatedPayload, CustomerWebhookPayload, DeleteEndpointInput, DeleteEndpointOutput, EndpointCheckboxsCollapsiblesSchema, EndpointHandlingForm, EndpointOut, EventType, GetEndpointSecretInput, GetEndpointSecretOutput, GetMessagesInput, ListAttemptsByEndpointInput, ListAttemptsByMessageInput, ListAttemptsByMessageOutput, ListEndpointsInput, ListEventTypeOutput, ListMessagesInput, ListMessagesOutput, ListResponseEndpointOut, MessageDataOut, MessageDataOutExtended, NexeraSvixEnvironmentConfig, NexeraWebhookEvents, ResendWebhookInput, ScenarioWebhookPayloadSchema, SendExampleMessageInput, SendMessageForAlertCreatedInput, SendMessageForAlertDeletedInput, SendMessageForAlertUpdatedInput, SendMessageForCustomerCreatedInput, SendMessageForCustomerDeletedInput, SendMessageForCustomerUpdatedInput, SendMessageForSendScenarioInput, SendMessageForTMSCreatedInput, SendMessageForTMSDeletedInput, SendMessageForTMSUpdatedInput, SendScenarioPayload, TMSCreatedPayload, TMSDeletedPayload, TMSUpdatedPayload, TMSWebhookPayload, UpdateEndpointInput, UpdateEndpointOutput, VerificationFlowChecksWebhookPayload, VerificationFlowResult, VerificationFlowResultBitRank, VerificationFlowResultChainalysis, VerificationFlowResultIpQualityScore, VerificationFlowResultMerkleScience, VerificationFlowResultScoreChain, WebhookAlertEventPayload, WebhookCheckboxInformation, WebhookCustomerEventPayload, WebhookEventPayload, WebhookEventType, WebhookEventTypeForm, WebhookEventTypes, WebhookEventTypesForm, WebhookScenariosEventPayload, WebhookTMSEventPayload };
|
|
670
|
+
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, ConnectionHandlingWorkspaceInput, ConnectionHandlingWorkspaceOutput, CreateEndpointInput, CreateEndpointOutput, CustomerCreatedPayload, CustomerDeletedPayload, CustomerEvents, CustomerTopics, CustomerUpdatedPayload, CustomerWebhookPayload, DeleteEndpointInput, DeleteEndpointOutput, DuplicateData, EndpointCheckboxsCollapsiblesSchema, EndpointHandlingForm, EndpointOut, EventType, GetEndpointSecretInput, GetEndpointSecretOutput, GetMessagesInput, ListAttemptsByEndpointInput, ListAttemptsByMessageInput, ListAttemptsByMessageOutput, ListEndpointsInput, ListEventTypeOutput, ListMessagesInput, ListMessagesOutput, ListResponseEndpointOut, MessageDataOut, MessageDataOutExtended, NexeraSvixEnvironmentConfig, NexeraWebhookEvents, ResendWebhookInput, ScenarioWebhookPayloadSchema, SendExampleMessageInput, SendMessageForAlertCreatedInput, SendMessageForAlertDeletedInput, SendMessageForAlertUpdatedInput, SendMessageForCustomerCreatedInput, SendMessageForCustomerDeletedInput, SendMessageForCustomerUpdatedInput, SendMessageForSendScenarioInput, SendMessageForTMSCreatedInput, SendMessageForTMSDeletedInput, SendMessageForTMSUpdatedInput, SendScenarioPayload, TMSCreatedPayload, TMSDeletedPayload, TMSUpdatedPayload, TMSWebhookPayload, UpdateEndpointInput, UpdateEndpointOutput, UserInfoForDuplicate, VerificationFlowChecksWebhookPayload, VerificationFlowResult, VerificationFlowResultBitRank, VerificationFlowResultChainalysis, VerificationFlowResultIpQualityScore, VerificationFlowResultMerkleScience, VerificationFlowResultScoreChain, WebhookAlertEventPayload, WebhookCheckboxInformation, WebhookCustomerEventPayload, WebhookEventPayload, WebhookEventType, WebhookEventTypeForm, WebhookEventTypes, WebhookEventTypesForm, WebhookScenariosEventPayload, WebhookTMSEventPayload };
|