@nexeraid/identity-schemas 2.87.0-dev → 2.89.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-92a79ab4.esm.mjs → CoinMarketCap.schema-3fec144d.esm.mjs} +2 -2
- package/dist/{CoinMarketCap.schema-84c8a41f.cjs.dev.cjs → CoinMarketCap.schema-58b9912d.cjs.dev.cjs} +2 -2
- package/dist/{CoinMarketCap.schema-0eb79b31.cjs.prod.cjs → CoinMarketCap.schema-f1ef13c5.cjs.prod.cjs} +2 -2
- 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/chainalysis/chainalysis.schema.d.ts +20 -20
- 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/schemas/generated/Transaction.schema.json.d.ts +1 -0
- package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts +1 -0
- package/dist/declarations/src/vault/schemas/generated/Transaction.type.d.ts.map +1 -1
- package/dist/declarations/src/vault/vault.schema.d.ts +7 -0
- package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -1
- package/dist/{identity-api.schema-56adcbaf.esm.mjs → identity-api.schema-2ccce22f.esm.mjs} +84 -111
- package/dist/{identity-api.schema-aeb16160.cjs.prod.cjs → identity-api.schema-bc129daa.cjs.prod.cjs} +83 -124
- package/dist/{identity-api.schema-827b2a5a.cjs.dev.cjs → identity-api.schema-faf22a9b.cjs.dev.cjs} +83 -124
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +19 -8
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +19 -8
- package/dist/nexeraid-identity-schemas.esm.mjs +17 -8
- package/dist/package.json +1 -1
- package/dist/{tfhe-utilities-3bdff509.cjs.prod.cjs → tfhe-utilities-013c67cf.cjs.prod.cjs} +2 -2
- package/dist/{tfhe-utilities-adeee443.cjs.dev.cjs → tfhe-utilities-d43fcd79.cjs.dev.cjs} +2 -2
- package/dist/{tfhe-utilities-1f40b92c.esm.mjs → tfhe-utilities-e9aaec13.esm.mjs} +2 -2
- package/dist/{vault.schema-71f81a22.cjs.prod.cjs → vault.schema-b7821ae9.cjs.dev.cjs} +13 -4
- package/dist/{vault.schema-dae54fc4.cjs.dev.cjs → vault.schema-f56c958e.cjs.prod.cjs} +13 -4
- package/dist/{vault.schema-adc69a50.esm.mjs → vault.schema-fdae33c2.esm.mjs} +12 -3
- 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-827b2a5a.cjs.dev.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-b7821ae9.cjs.dev.cjs');
|
|
7
|
+
var identityApi_schema = require('../../dist/identity-api.schema-faf22a9b.cjs.dev.cjs');
|
|
8
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-58b9912d.cjs.dev.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;
|
|
@@ -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-aeb16160.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-f56c958e.cjs.prod.cjs');
|
|
7
|
+
var identityApi_schema = require('../../dist/identity-api.schema-bc129daa.cjs.prod.cjs');
|
|
8
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-f1ef13c5.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 { co as AlertSeverity, cp as AlertCategory, cq as AlertType, cr as AlertStatus, a as RiskScoreType, c as CustomerType, h as CustomerOnboardingLevel, j as CustomerStatus, af as RuleResultStatus } from '../../dist/identity-api.schema-56adcbaf.esm.mjs';
|
|
2
|
-
export { cw as ALERT_CHART_TYPES, cy as ALERT_TABLE_COLUMNS, cv as AlertCategories, cp as AlertCategory, cx as AlertChartType, cu as AlertSeverities, co as AlertSeverity, cr as AlertStatus, cs as AlertStatuses, cz as AlertTableColumn, cq as AlertType, ct as AlertTypes, cB as DuplicateData, cA as UserInfoForDuplicate } from '../../dist/identity-api.schema-56adcbaf.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-fdae33c2.esm.mjs';
|
|
3
|
+
import { a as RiskScoreType, c as CustomerType, h as CustomerOnboardingLevel, j as CustomerStatus, af as RuleResultStatus } from '../../dist/identity-api.schema-2ccce22f.esm.mjs';
|
|
4
|
+
import { M as MergedProviders, I as IpQualityServiceAnalysisResponse, C as ComplyAdvantageSearchResponse, a as ComplyAdvantageSearchErrorResponse, b as ComplyAdvantageSearchSuccessResponse } from '../../dist/CoinMarketCap.schema-3fec144d.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 };
|