@nexeraid/identity-schemas 2.3.26-dev → 2.3.28-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/{customers.schema-4a2cc1a8.cjs.dev.js → customers.schema-412782d4.cjs.dev.js} +1 -1
- package/dist/{customers.schema-82dfa9fd.cjs.prod.js → customers.schema-4e595008.cjs.prod.js} +1 -1
- package/dist/{customers.schema-2a6a70d5.esm.js → customers.schema-dcbfef09.esm.js} +1 -1
- package/dist/declarations/src/config.schema.d.ts +0 -1
- package/dist/declarations/src/config.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +108 -108
- package/dist/declarations/src/transaction.schema.d.ts +2 -2
- package/dist/declarations/src/transaction.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +1219 -1219
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts +24 -24
- package/dist/declarations/src/webhooks/tms.webhooks.schema.d.ts.map +1 -1
- package/dist/{frontend-utilities.schema-d4d6374c.cjs.prod.js → frontend-utilities.schema-11a150de.cjs.prod.js} +1 -1
- package/dist/{frontend-utilities.schema-9ce4190b.cjs.dev.js → frontend-utilities.schema-286d9881.cjs.dev.js} +1 -1
- package/dist/{frontend-utilities.schema-8b213997.esm.js → frontend-utilities.schema-dc5cba37.esm.js} +1 -1
- package/dist/{identity-api.schema-d1954107.esm.js → identity-api.schema-2051573c.esm.js} +1 -4
- package/dist/{identity-api.schema-a16ec830.cjs.dev.js → identity-api.schema-3e7bc977.cjs.dev.js} +0 -4
- package/dist/{identity-api.schema-f103ebd9.cjs.prod.js → identity-api.schema-ced36dce.cjs.prod.js} +0 -4
- package/dist/nexeraid-identity-schemas.cjs.dev.js +3 -4
- package/dist/nexeraid-identity-schemas.cjs.prod.js +3 -4
- package/dist/nexeraid-identity-schemas.esm.js +4 -4
- package/dist/package.json +1 -1
- package/dist/{transaction.schema-2141e819.cjs.dev.js → transaction.schema-009d03d6.cjs.dev.js} +1 -1
- package/dist/{transaction.schema-7297e823.cjs.prod.js → transaction.schema-309817d0.cjs.prod.js} +1 -1
- package/dist/{transaction.schema-fb699c40.esm.js → transaction.schema-86683e90.esm.js} +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.esm.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +22 -22
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +22 -22
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +22 -22
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { M as MergedProviders, S as ScoringAnalysisResponse, B as BitRankVerifiedResponse, a as MerkleAddressResponse, C as ChainalysisRiskAssessmentResponse, I as IpQualityServiceAnalysisResponse, b as ComplyAdvantageSearchResponse } from '../../dist/customers.schema-
|
|
2
|
+
import { ad as UuidString, ek as ExternalCustomerId, ar as RiskScoreType, at as CustomerType, az as CustomerOnboardingLevel, aB as CustomerStatus, aj as ISO3CountryCode, a2 as BlockchainAddress, cd as RuleResultStatus, eD as GenericVerifiableCredentialSchema, eM as _toArray, eL as _toConsumableArray, ac as EnvironmentSchema } from '../../dist/identity-api.schema-2051573c.esm.js';
|
|
3
|
+
import { M as MergedProviders, S as ScoringAnalysisResponse, B as BitRankVerifiedResponse, a as MerkleAddressResponse, C as ChainalysisRiskAssessmentResponse, I as IpQualityServiceAnalysisResponse, b as ComplyAdvantageSearchResponse } from '../../dist/customers.schema-dcbfef09.esm.js';
|
|
4
4
|
import { zodToJsonSchema } from 'zod-to-json-schema';
|
|
5
|
-
import { T as TransactionTypes } from '../../dist/transaction.schema-
|
|
5
|
+
import { T as TransactionTypes, d as TransactionReviewStatuses } from '../../dist/transaction.schema-86683e90.esm.js';
|
|
6
6
|
import 'nanoid';
|
|
7
7
|
|
|
8
8
|
// Alert Statuses
|
|
@@ -189,22 +189,22 @@ var VerificationFlowChecksWebhookPayload = z.object({
|
|
|
189
189
|
});
|
|
190
190
|
|
|
191
191
|
var TMSWebhookPayload = z.object({
|
|
192
|
+
workspaceId: z.coerce.string(),
|
|
192
193
|
id: z.string(),
|
|
193
|
-
|
|
194
|
-
externalTransactionId: z.string(),
|
|
195
|
-
transactionDate: z.coerce.date().nullable(),
|
|
194
|
+
transactionId: z.coerce.string(),
|
|
196
195
|
transactionType: z["enum"](TransactionTypes),
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
196
|
+
status: z["enum"](TransactionReviewStatuses),
|
|
197
|
+
riskScore: z.string().nullable(),
|
|
198
|
+
riskLevel: z.string().nullable(),
|
|
199
|
+
customerId: UuidString,
|
|
200
|
+
reason: z.string().nullable(),
|
|
201
|
+
externalTransactionId: z.coerce.string(),
|
|
202
|
+
transactionDate: z.coerce.date(),
|
|
203
203
|
createdAt: z.coerce.date(),
|
|
204
204
|
updatedAt: z.coerce.date().nullable()
|
|
205
205
|
});
|
|
206
206
|
|
|
207
|
-
var WebhookEventTypes = ["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "
|
|
207
|
+
var WebhookEventTypes = ["send.scenario", "send.verification.flow", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
|
|
208
208
|
var WebhookEventType = z["enum"](WebhookEventTypes);
|
|
209
209
|
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
210
210
|
var WebhookEventTypeForm = z["enum"](WebhookEventTypesForm);
|
|
@@ -268,17 +268,17 @@ var NexeraEventTypes = z.union([z.object({
|
|
|
268
268
|
archived: z["boolean"](),
|
|
269
269
|
schemas: z.record(z.unknown())
|
|
270
270
|
}), z.object({
|
|
271
|
-
name: z.literal("
|
|
271
|
+
name: z.literal("transaction.created"),
|
|
272
272
|
description: z.string(),
|
|
273
273
|
archived: z["boolean"](),
|
|
274
274
|
schemas: z.record(z.unknown())
|
|
275
275
|
}), z.object({
|
|
276
|
-
name: z.literal("
|
|
276
|
+
name: z.literal("transaction.updated"),
|
|
277
277
|
description: z.string(),
|
|
278
278
|
archived: z["boolean"](),
|
|
279
279
|
schemas: z.record(z.unknown())
|
|
280
280
|
}), z.object({
|
|
281
|
-
name: z.literal("
|
|
281
|
+
name: z.literal("transaction.deleted"),
|
|
282
282
|
description: z.string(),
|
|
283
283
|
archived: z["boolean"](),
|
|
284
284
|
schemas: z.record(z.unknown())
|
|
@@ -322,15 +322,15 @@ var AlertDeletedPayload = z.object({
|
|
|
322
322
|
payload: AlertWebhookPayload
|
|
323
323
|
});
|
|
324
324
|
var TMSCreatedPayload = z.object({
|
|
325
|
-
eventType: z.literal("
|
|
325
|
+
eventType: z.literal("transaction.created"),
|
|
326
326
|
payload: TMSWebhookPayload
|
|
327
327
|
});
|
|
328
328
|
var TMSUpdatedPayload = z.object({
|
|
329
|
-
eventType: z.literal("
|
|
329
|
+
eventType: z.literal("transaction.updated"),
|
|
330
330
|
payload: TMSWebhookPayload
|
|
331
331
|
});
|
|
332
332
|
var TMSDeletedPayload = z.object({
|
|
333
|
-
eventType: z.literal("
|
|
333
|
+
eventType: z.literal("transaction.deleted"),
|
|
334
334
|
payload: TMSWebhookPayload
|
|
335
335
|
});
|
|
336
336
|
var WebhookScenariosEventPayload = SendScenarioPayload;
|
|
@@ -645,21 +645,21 @@ var NexeraWebhookEvents = [{
|
|
|
645
645
|
1: zodToJsonSchema(AlertDeletedPayload)
|
|
646
646
|
}
|
|
647
647
|
}, {
|
|
648
|
-
name: "
|
|
648
|
+
name: "transaction.created",
|
|
649
649
|
description: "Transaction Created Webhook",
|
|
650
650
|
archived: false,
|
|
651
651
|
schemas: {
|
|
652
652
|
1: zodToJsonSchema(TMSCreatedPayload)
|
|
653
653
|
}
|
|
654
654
|
}, {
|
|
655
|
-
name: "
|
|
655
|
+
name: "transaction.updated",
|
|
656
656
|
description: "Transaction Updated Webhook",
|
|
657
657
|
archived: false,
|
|
658
658
|
schemas: {
|
|
659
659
|
1: zodToJsonSchema(TMSUpdatedPayload)
|
|
660
660
|
}
|
|
661
661
|
}, {
|
|
662
|
-
name: "
|
|
662
|
+
name: "transaction.deleted",
|
|
663
663
|
description: "Transaction Deleted Webhook",
|
|
664
664
|
archived: false,
|
|
665
665
|
schemas: {
|