@nexeraid/identity-schemas 2.66.0-dev → 2.68.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-9db73f74.cjs.dev.cjs → CoinMarketCap.schema-062256d5.cjs.dev.cjs} +26 -201
- package/dist/{CoinMarketCap.schema-2c92523f.cjs.prod.cjs → CoinMarketCap.schema-4d32b137.cjs.prod.cjs} +26 -201
- package/dist/{CoinMarketCap.schema-9200bd52.esm.mjs → CoinMarketCap.schema-7d555c6e.esm.mjs} +5 -166
- package/dist/declarations/src/blockchain/namespaces.schema.d.ts +5 -15
- package/dist/declarations/src/blockchain/namespaces.schema.d.ts.map +1 -1
- package/dist/declarations/src/countries.schema.d.ts +6 -1
- package/dist/declarations/src/countries.schema.d.ts.map +1 -1
- package/dist/declarations/src/customer.schema.d.ts +0 -7
- package/dist/declarations/src/customer.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts +6 -18
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/index.d.ts +1 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/declarations/src/nexeraSSID.schema.d.ts +9 -9
- package/dist/declarations/src/providers/big/BIGBitRankVerifiedScore.schema.d.ts +24 -24
- package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts +12 -12
- package/dist/declarations/src/providers/comply-advantage/comply-advantage.schema.d.ts +122 -122
- package/dist/declarations/src/providers/kyc-sessions.schema.d.ts +12 -12
- package/dist/declarations/src/providers/merkle-science/merkle-science.schema.d.ts +26 -26
- package/dist/declarations/src/providers/provider.schema.d.ts +319 -1243
- package/dist/declarations/src/providers/provider.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/scorechain/allScorechainBlockchains.schema.d.ts +1153 -0
- package/dist/declarations/src/providers/scorechain/allScorechainBlockchains.schema.d.ts.map +1 -0
- package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts +3472 -351
- package/dist/declarations/src/providers/scorechain/scorechain.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/sumsub/sumsub-applicant.schema.d.ts +281 -281
- package/dist/declarations/src/providers/sumsub/sumsub.schema.d.ts +10 -10
- package/dist/declarations/src/vault/schemas/generated/Customer.schema.json.d.ts +785 -1
- package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts +16 -1
- package/dist/declarations/src/vault/schemas/generated/Customer.type.d.ts.map +1 -1
- package/dist/declarations/src/vault/schemas/generated/Tfhe.schema.json.d.ts +3 -1021
- package/dist/declarations/src/vault/schemas/generated/Tfhe.type.d.ts +2 -68
- package/dist/declarations/src/vault/schemas/generated/Tfhe.type.d.ts.map +1 -1
- package/dist/declarations/src/vault/schemas/generated/TfheKycSession.schema.json.d.ts +1037 -0
- package/dist/declarations/src/vault/schemas/generated/TfheKycSession.type.d.ts +72 -0
- package/dist/declarations/src/vault/schemas/generated/TfheKycSession.type.d.ts.map +1 -0
- package/dist/declarations/src/vault/vault.schema.d.ts +204 -22
- package/dist/declarations/src/vault/vault.schema.d.ts.map +1 -1
- package/dist/declarations/src/wallet-screening.schema.d.ts +81 -0
- package/dist/declarations/src/wallet-screening.schema.d.ts.map +1 -0
- package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts +3189 -14681
- package/dist/declarations/src/webhooks/send-verification-flow-webhook.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +4201 -71554
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
- package/dist/identity-api.schema-67a3b076.cjs.dev.cjs +1308 -0
- package/dist/identity-api.schema-7286cb84.esm.mjs +1113 -0
- package/dist/identity-api.schema-bcfb353b.cjs.prod.cjs +1308 -0
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +323 -327
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +323 -327
- package/dist/nexeraid-identity-schemas.esm.mjs +4 -4
- package/dist/package.json +1 -1
- package/dist/{tfhe-utilities-151f4537.esm.mjs → tfhe-utilities-2056c352.esm.mjs} +2 -2
- package/dist/{tfhe-utilities-8b80d9aa.cjs.dev.cjs → tfhe-utilities-50d48dc2.cjs.dev.cjs} +2 -2
- package/dist/{tfhe-utilities-24730089.cjs.prod.cjs → tfhe-utilities-c1dc8d80.cjs.prod.cjs} +2 -2
- package/dist/{vault.schema-91f2c199.cjs.prod.cjs → vault.schema-33893002.cjs.prod.cjs} +2791 -105
- package/dist/{vault.schema-958064b8.cjs.dev.cjs → vault.schema-3acedc2a.cjs.dev.cjs} +2791 -105
- package/dist/{vault.schema-cc3c5ffc.esm.mjs → vault.schema-7d38c7f1.esm.mjs} +2548 -83
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +3 -3
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +3 -3
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +3 -3
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +1190 -18
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +1190 -18
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +1158 -5
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.dev.cjs +2 -1
- package/vault/dist/nexeraid-identity-schemas-vault.cjs.prod.cjs +2 -1
- package/vault/dist/nexeraid-identity-schemas-vault.esm.mjs +2 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +4 -4
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +4 -4
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +4 -4
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +34 -58
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +34 -58
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +10 -31
- package/dist/identity-api.schema-60af6079.esm.mjs +0 -1751
- package/dist/identity-api.schema-63ee6cfc.cjs.dev.cjs +0 -2139
- package/dist/identity-api.schema-9119d895.cjs.prod.cjs +0 -2139
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-3acedc2a.cjs.dev.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
+
require('nanoid');
|
|
7
8
|
require('decimal.js');
|
|
8
9
|
|
|
9
10
|
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-33893002.cjs.prod.cjs');
|
|
6
6
|
require('zod');
|
|
7
|
+
require('nanoid');
|
|
7
8
|
require('decimal.js');
|
|
8
9
|
|
|
9
10
|
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { dB as DataLinkTypeZodSchema, dz as DataLinkVersionZodSchema, dQ as GenericVaultDataLinkZodSchema, dP as GenericVaultEmbeddedLinkZodSchema, dN as GenericVaultPointerLinkZodSchema, dO as GenericVaultSearchLinkZodSchema, dC as Separator, dG as VaultJsonSchemas, dM as VaultMetadataLinkZodSchema, dK as VaultPointerKeyMapZodSchema, dL as VaultQueryMapZodSchema, dI as VaultSchemaIdZodSchema, dJ as VaultSchemaPathsZodSchema, dH as VaultZodSchema, dA as allDataLinkTypes, dy as allDataLinkVersions, dD as generateZodObjectPaths, dE as resolvePathOnDataSchema, dF as resolvePathOnMapSchema } from '../../dist/vault.schema-7d38c7f1.esm.mjs';
|
|
2
2
|
import 'zod';
|
|
3
|
+
import 'nanoid';
|
|
3
4
|
import 'decimal.js';
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
6
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
7
|
-
var tfheUtilities = require('../../dist/tfhe-utilities-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-3acedc2a.cjs.dev.cjs');
|
|
6
|
+
var identityApi_schema = require('../../dist/identity-api.schema-67a3b076.cjs.dev.cjs');
|
|
7
|
+
var tfheUtilities = require('../../dist/tfhe-utilities-50d48dc2.cjs.dev.cjs');
|
|
8
8
|
require('zod');
|
|
9
|
-
require('decimal.js');
|
|
10
9
|
require('nanoid');
|
|
10
|
+
require('decimal.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs
CHANGED
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
var vault_schema = require('../../dist/vault.schema-
|
|
6
|
-
var identityApi_schema = require('../../dist/identity-api.schema-
|
|
7
|
-
var tfheUtilities = require('../../dist/tfhe-utilities-
|
|
5
|
+
var vault_schema = require('../../dist/vault.schema-33893002.cjs.prod.cjs');
|
|
6
|
+
var identityApi_schema = require('../../dist/identity-api.schema-bcfb353b.cjs.prod.cjs');
|
|
7
|
+
var tfheUtilities = require('../../dist/tfhe-utilities-c1dc8d80.cjs.prod.cjs');
|
|
8
8
|
require('zod');
|
|
9
|
-
require('decimal.js');
|
|
10
9
|
require('nanoid');
|
|
10
|
+
require('decimal.js');
|
|
11
11
|
|
|
12
12
|
|
|
13
13
|
|
package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { I as IDInformationTfheCredentialSubjectCONFIG, V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation, b as getFieldConfig } from '../../dist/tfhe-utilities-
|
|
1
|
+
export { b0 as Alpha2Country, cP as GenericVerifiableCredentialSchema, cV as ID3CredentialSchema, cB as ID3CredentialSubjectSchema, cS as IDImageCredentialSchema, cM as IDImageCredentialSubjectSchema, cR as IDInformationCredentialSchema, cL as IDInformationCredentialSubjectSchema, cQ as IDInformationTfheCredentialSchema, cK as IDInformationTfheCredentialSubjectSchema, cW as IDScanCredentialSchema, cC as IDScanCredentialSubjectSchema, cX as IDScanPassportCredentialSchema, cD as IDScanPassportCredentialSubjectSchema, cY as IDScanSelfieCredentialSchema, cE as IDScanSelfieCredentialSubjectSchema, a_ as ISO3CountryCode, d1 as OLD_AMLScreeningsResultsCredentialSchema, cJ as OLD_AMLScreeningsResultsCredentialSubjectSchema, cZ as OLD_IDImageCredentialSchema, cF as OLD_IDImageCredentialSubjectSchema, c_ as OLD_IDInformationCredentialSchema, cG as OLD_IDInformationCredentialSubjectSchema, c$ as OLD_ProofOfResidenceCredentialSchema, cH as OLD_ProofOfResidenceCredentialSubjectSchema, d0 as OLD_SelfieImageCredentialSchema, cI as OLD_SelfieImageCredentialSubjectSchema, cU as ProofOfResidenceCredentialSchema, cO as ProofOfResidenceCredentialSubjectSchema, cT as SelfieImageCredentialSchema, cN as SelfieImageCredentialSubjectSchema, b1 as countryISO3toISO2Mapping, b4 as isoCountriesNameFromISO2 } from '../../dist/vault.schema-7d38c7f1.esm.mjs';
|
|
2
|
+
export { cb as CredentialMediaType, c6 as CredentialNames, c5 as CredentialSchemas, c9 as CredentialType, C as CredentialTypes, c7 as NexeraCredentialType, ca as VerifiableCredential, c8 as getCredentialName } from '../../dist/identity-api.schema-7286cb84.esm.mjs';
|
|
3
|
+
export { I as IDInformationTfheCredentialSubjectCONFIG, V as VC_JSON_SCHEMA_MAP, c as cleanObject, a as getAvailableFields, g as getCredentialSchemaLocation, b as getFieldConfig } from '../../dist/tfhe-utilities-2056c352.esm.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import 'decimal.js';
|
|
6
5
|
import 'nanoid';
|
|
6
|
+
import 'decimal.js';
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var zod = require('zod');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-
|
|
6
|
+
var vault_schema = require('../../dist/vault.schema-3acedc2a.cjs.dev.cjs');
|
|
7
|
+
var identityApi_schema = require('../../dist/identity-api.schema-67a3b076.cjs.dev.cjs');
|
|
8
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-062256d5.cjs.dev.cjs');
|
|
9
9
|
var zodToJsonSchema = require('zod-to-json-schema');
|
|
10
10
|
require('nanoid');
|
|
11
11
|
require('decimal.js');
|
|
@@ -27,7 +27,7 @@ var AlertChartType = zod.z["enum"](ALERT_CHART_TYPES);
|
|
|
27
27
|
var ALERT_TABLE_COLUMNS = ["selected", "createdAt", "overdue", "id", "severity", "type", "description", "assignedTo", "country", "status"];
|
|
28
28
|
var AlertTableColumn = zod.z["enum"](ALERT_TABLE_COLUMNS);
|
|
29
29
|
var UserInfoForDuplicate = zod.z.object({
|
|
30
|
-
customerId:
|
|
30
|
+
customerId: vault_schema.UuidString,
|
|
31
31
|
customerInfo: zod.z.string().nullish(),
|
|
32
32
|
profilePicture: zod.z.string().nullish(),
|
|
33
33
|
idDocumentUrl: zod.z.string().nullish()
|
|
@@ -38,13 +38,13 @@ var DuplicateData = zod.z.object({
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
var AlertWebhookPayload = zod.z.object({
|
|
41
|
-
id:
|
|
41
|
+
id: vault_schema.UuidString,
|
|
42
42
|
severity: AlertSeverity,
|
|
43
43
|
category: AlertCategory,
|
|
44
44
|
type: AlertType,
|
|
45
45
|
status: AlertStatus,
|
|
46
|
-
customerId:
|
|
47
|
-
externalCustomerId:
|
|
46
|
+
customerId: vault_schema.UuidString,
|
|
47
|
+
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
48
48
|
cmsProjectId: zod.z.string().optional(),
|
|
49
49
|
createdAt: zod.z.coerce.date(),
|
|
50
50
|
updatedAt: zod.z.coerce.date(),
|
|
@@ -54,15 +54,15 @@ var AlertWebhookPayload = zod.z.object({
|
|
|
54
54
|
|
|
55
55
|
var CustomerWebhookPayload = zod.z.object({
|
|
56
56
|
cmsProjectId: zod.z.string(),
|
|
57
|
-
customerId:
|
|
58
|
-
externalCustomerId:
|
|
57
|
+
customerId: vault_schema.UuidString,
|
|
58
|
+
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
59
59
|
createdBy: zod.z.string(),
|
|
60
60
|
updatedBy: zod.z.string(),
|
|
61
61
|
id: zod.z.string(),
|
|
62
|
-
riskScore:
|
|
63
|
-
type:
|
|
64
|
-
onboardingLevel:
|
|
65
|
-
status:
|
|
62
|
+
riskScore: identityApi_schema.RiskScoreType.nullish(),
|
|
63
|
+
type: identityApi_schema.CustomerType.nullish(),
|
|
64
|
+
onboardingLevel: identityApi_schema.CustomerOnboardingLevel.nullish(),
|
|
65
|
+
status: identityApi_schema.CustomerStatus.nullish(),
|
|
66
66
|
createdAt: zod.z.coerce.date(),
|
|
67
67
|
updatedAt: zod.z.coerce.date().nullish(),
|
|
68
68
|
reason: zod.z.string().nullish(),
|
|
@@ -96,10 +96,10 @@ var CustomerEvents = {
|
|
|
96
96
|
// CMS PROJECT ID
|
|
97
97
|
data: zod.z.object({
|
|
98
98
|
cmsProjectId: zod.z.string(),
|
|
99
|
-
customerId:
|
|
100
|
-
externalClientId:
|
|
101
|
-
fromStatus:
|
|
102
|
-
toStatus:
|
|
99
|
+
customerId: vault_schema.UuidString,
|
|
100
|
+
externalClientId: vault_schema.ExternalCustomerId.optional(),
|
|
101
|
+
fromStatus: identityApi_schema.CustomerStatus.optional(),
|
|
102
|
+
toStatus: identityApi_schema.CustomerStatus
|
|
103
103
|
// do we need updatedBy?
|
|
104
104
|
})
|
|
105
105
|
}),
|
|
@@ -109,10 +109,10 @@ var CustomerEvents = {
|
|
|
109
109
|
// CMS PROJECT ID
|
|
110
110
|
data: zod.z.object({
|
|
111
111
|
cmsProjectId: zod.z.string(),
|
|
112
|
-
customerId:
|
|
113
|
-
externalCustomerId:
|
|
114
|
-
fromRiskLevel:
|
|
115
|
-
toRiskLevel:
|
|
112
|
+
customerId: vault_schema.UuidString,
|
|
113
|
+
externalCustomerId: vault_schema.ExternalCustomerId.optional(),
|
|
114
|
+
fromRiskLevel: identityApi_schema.RiskScoreType.optional(),
|
|
115
|
+
toRiskLevel: identityApi_schema.RiskScoreType,
|
|
116
116
|
riskNumber: zod.z.number().optional() // risk number is calculated based on toRiskLevel automatically when event is parsed with zod parse
|
|
117
117
|
}).transform(function (data) {
|
|
118
118
|
// assign riskNumber based on toRiskLevel (0 - 100)
|
|
@@ -139,8 +139,8 @@ var CustomerEvents = {
|
|
|
139
139
|
// CMS PROJECT ID
|
|
140
140
|
data: zod.z.object({
|
|
141
141
|
cmsProjectId: zod.z.string(),
|
|
142
|
-
customerId:
|
|
143
|
-
externalCustomerId:
|
|
142
|
+
customerId: vault_schema.UuidString,
|
|
143
|
+
externalCustomerId: vault_schema.ExternalCustomerId.optional(),
|
|
144
144
|
country: vault_schema.ISO3CountryCode
|
|
145
145
|
})
|
|
146
146
|
})
|
|
@@ -148,8 +148,8 @@ var CustomerEvents = {
|
|
|
148
148
|
|
|
149
149
|
var ScenarioWebhookPayloadSchema = zod.z.object({
|
|
150
150
|
customerId: zod.z.string(),
|
|
151
|
-
externalCustomerId:
|
|
152
|
-
address:
|
|
151
|
+
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
152
|
+
address: vault_schema.BlockchainAddress.nullish(),
|
|
153
153
|
result: identityApi_schema.RuleResultStatus,
|
|
154
154
|
executionId: zod.z.string(),
|
|
155
155
|
scenarios: zod.z.object({
|
|
@@ -169,22 +169,22 @@ var ScenarioWebhookPayloadSchema = zod.z.object({
|
|
|
169
169
|
// Define the schema and type for ScoreChain
|
|
170
170
|
var VerificationFlowResultScoreChain = zod.z.object({
|
|
171
171
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].integratedScorechain, CoinMarketCap_schema.MergedProviders["enum"].scorechain]),
|
|
172
|
-
data:
|
|
172
|
+
data: vault_schema.WalletScreeningData
|
|
173
173
|
});
|
|
174
174
|
// Define the schema and type for BitRank
|
|
175
175
|
var VerificationFlowResultBitRank = zod.z.object({
|
|
176
176
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].big]),
|
|
177
|
-
data:
|
|
177
|
+
data: vault_schema.WalletScreeningData
|
|
178
178
|
});
|
|
179
179
|
// Define the schema and type for MerkleScience
|
|
180
180
|
var VerificationFlowResultMerkleScience = zod.z.object({
|
|
181
181
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].merkleScience]),
|
|
182
|
-
data:
|
|
182
|
+
data: vault_schema.WalletScreeningData
|
|
183
183
|
});
|
|
184
184
|
// Define the schema and type for Chainalysis
|
|
185
185
|
var VerificationFlowResultChainalysis = zod.z.object({
|
|
186
186
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].chainalysis]),
|
|
187
|
-
data:
|
|
187
|
+
data: vault_schema.WalletScreeningData
|
|
188
188
|
});
|
|
189
189
|
// Define the schema and type for IpQualityScore
|
|
190
190
|
var VerificationFlowResultIpQualityScore = zod.z.object({
|
|
@@ -207,7 +207,7 @@ var VerificationFlowResult = zod.z.union([VerificationFlowResultScoreChain, Veri
|
|
|
207
207
|
var VerificationFlowChecksWebhookPayload = zod.z.object({
|
|
208
208
|
executionId: zod.z.string(),
|
|
209
209
|
customerId: zod.z.string(),
|
|
210
|
-
externalCustomerId:
|
|
210
|
+
externalCustomerId: vault_schema.ExternalCustomerId.optional(),
|
|
211
211
|
address: zod.z.string().nullish(),
|
|
212
212
|
result: zod.z.array(VerificationFlowResult)
|
|
213
213
|
});
|
|
@@ -220,7 +220,7 @@ var TMSWebhookPayload = zod.z.object({
|
|
|
220
220
|
status: zod.z["enum"](vault_schema.TransactionReviewStatuses),
|
|
221
221
|
riskScore: zod.z.string().nullable(),
|
|
222
222
|
riskLevel: zod.z.string().nullable(),
|
|
223
|
-
customerId:
|
|
223
|
+
customerId: vault_schema.UuidString,
|
|
224
224
|
reason: zod.z.string().nullable(),
|
|
225
225
|
externalTransactionId: zod.z.coerce.string(),
|
|
226
226
|
transactionDate: zod.z.coerce.date(),
|
|
@@ -228,7 +228,7 @@ var TMSWebhookPayload = zod.z.object({
|
|
|
228
228
|
updatedAt: zod.z.coerce.date().nullable()
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
var WebhookEventTypes = ["send.scenario", "
|
|
231
|
+
var WebhookEventTypes = ["send.scenario", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
|
|
232
232
|
var WebhookEventType = zod.z["enum"](WebhookEventTypes);
|
|
233
233
|
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
234
234
|
var WebhookEventTypeForm = zod.z["enum"](WebhookEventTypesForm);
|
|
@@ -256,11 +256,6 @@ var NexeraEventTypes = zod.z.union([zod.z.object({
|
|
|
256
256
|
description: zod.z.string(),
|
|
257
257
|
archived: zod.z["boolean"](),
|
|
258
258
|
schemas: zod.z.record(zod.z.unknown())
|
|
259
|
-
}), zod.z.object({
|
|
260
|
-
name: zod.z.literal("send.verification.flow"),
|
|
261
|
-
description: zod.z.string(),
|
|
262
|
-
archived: zod.z["boolean"](),
|
|
263
|
-
schemas: zod.z.record(zod.z.unknown())
|
|
264
259
|
}), zod.z.object({
|
|
265
260
|
name: zod.z.literal("customer.created"),
|
|
266
261
|
description: zod.z.string(),
|
|
@@ -317,10 +312,6 @@ var SendScenarioPayload = zod.z.object({
|
|
|
317
312
|
eventType: zod.z.literal("send.scenario"),
|
|
318
313
|
payload: ScenarioWebhookPayloadSchema
|
|
319
314
|
});
|
|
320
|
-
var SendVerificationFlowPayload = zod.z.object({
|
|
321
|
-
eventType: zod.z.literal("send.verification.flow"),
|
|
322
|
-
payload: VerificationFlowChecksWebhookPayload
|
|
323
|
-
});
|
|
324
315
|
var CustomerCreatedPayload = zod.z.object({
|
|
325
316
|
eventType: zod.z.literal("customer.created"),
|
|
326
317
|
payload: CustomerWebhookPayload
|
|
@@ -358,14 +349,13 @@ var TMSDeletedPayload = zod.z.object({
|
|
|
358
349
|
payload: TMSWebhookPayload
|
|
359
350
|
});
|
|
360
351
|
var WebhookScenariosEventPayload = SendScenarioPayload;
|
|
361
|
-
var WebhookVerificationEventPayload = SendVerificationFlowPayload;
|
|
362
352
|
var WebhookCustomerEventPayload = zod.z.union([CustomerCreatedPayload, CustomerUpdatedPayload, CustomerDeletedPayload]);
|
|
363
353
|
var WebhookAlertEventPayload = zod.z.union([AlertCreatedPayload, AlertUpdatedPayload, AlertDeletedPayload]);
|
|
364
354
|
var WebhookTMSEventPayload = zod.z.union([TMSCreatedPayload, TMSUpdatedPayload, TMSDeletedPayload]);
|
|
365
|
-
var WebhookEventPayload = zod.z.union([WebhookScenariosEventPayload,
|
|
355
|
+
var WebhookEventPayload = zod.z.union([WebhookScenariosEventPayload, WebhookCustomerEventPayload, WebhookAlertEventPayload, WebhookTMSEventPayload]);
|
|
366
356
|
var AllNexeraEventTypes = zod.z.array(NexeraEventTypes);
|
|
367
357
|
var NexeraSvixEnvironmentConfig = zod.z.object({
|
|
368
|
-
env:
|
|
358
|
+
env: vault_schema.EnvironmentSchema
|
|
369
359
|
});
|
|
370
360
|
var EndpointHandlingForm = zod.z.object({
|
|
371
361
|
endpointURL: zod.z.string().min(1, {
|
|
@@ -497,10 +487,6 @@ var SendMessageForSendScenarioInput = zod.z.object({
|
|
|
497
487
|
projectId: zod.z.string(),
|
|
498
488
|
payload: SendScenarioPayload
|
|
499
489
|
});
|
|
500
|
-
var SendMessageForSendVerificationFlowInput = zod.z.object({
|
|
501
|
-
projectId: zod.z.string(),
|
|
502
|
-
payload: SendVerificationFlowPayload
|
|
503
|
-
});
|
|
504
490
|
var SendMessageForCustomerCreatedInput = zod.z.object({
|
|
505
491
|
projectId: zod.z.string(),
|
|
506
492
|
payload: CustomerCreatedPayload
|
|
@@ -619,13 +605,6 @@ var NexeraWebhookEvents = [{
|
|
|
619
605
|
schemas: {
|
|
620
606
|
1: zodToJsonSchema.zodToJsonSchema(SendScenarioPayload)
|
|
621
607
|
}
|
|
622
|
-
}, {
|
|
623
|
-
name: "send.verification.flow",
|
|
624
|
-
description: "Send Verification Flow Webhook",
|
|
625
|
-
archived: false,
|
|
626
|
-
schemas: {
|
|
627
|
-
1: zodToJsonSchema.zodToJsonSchema(SendVerificationFlowPayload)
|
|
628
|
-
}
|
|
629
608
|
}, {
|
|
630
609
|
name: "customer.created",
|
|
631
610
|
description: "Customer Created Webhook",
|
|
@@ -757,12 +736,10 @@ exports.SendMessageForCustomerCreatedInput = SendMessageForCustomerCreatedInput;
|
|
|
757
736
|
exports.SendMessageForCustomerDeletedInput = SendMessageForCustomerDeletedInput;
|
|
758
737
|
exports.SendMessageForCustomerUpdatedInput = SendMessageForCustomerUpdatedInput;
|
|
759
738
|
exports.SendMessageForSendScenarioInput = SendMessageForSendScenarioInput;
|
|
760
|
-
exports.SendMessageForSendVerificationFlowInput = SendMessageForSendVerificationFlowInput;
|
|
761
739
|
exports.SendMessageForTMSCreatedInput = SendMessageForTMSCreatedInput;
|
|
762
740
|
exports.SendMessageForTMSDeletedInput = SendMessageForTMSDeletedInput;
|
|
763
741
|
exports.SendMessageForTMSUpdatedInput = SendMessageForTMSUpdatedInput;
|
|
764
742
|
exports.SendScenarioPayload = SendScenarioPayload;
|
|
765
|
-
exports.SendVerificationFlowPayload = SendVerificationFlowPayload;
|
|
766
743
|
exports.TMSCreatedPayload = TMSCreatedPayload;
|
|
767
744
|
exports.TMSDeletedPayload = TMSDeletedPayload;
|
|
768
745
|
exports.TMSUpdatedPayload = TMSUpdatedPayload;
|
|
@@ -787,4 +764,3 @@ exports.WebhookEventTypes = WebhookEventTypes;
|
|
|
787
764
|
exports.WebhookEventTypesForm = WebhookEventTypesForm;
|
|
788
765
|
exports.WebhookScenariosEventPayload = WebhookScenariosEventPayload;
|
|
789
766
|
exports.WebhookTMSEventPayload = WebhookTMSEventPayload;
|
|
790
|
-
exports.WebhookVerificationEventPayload = WebhookVerificationEventPayload;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var zod = require('zod');
|
|
6
|
-
var
|
|
7
|
-
var
|
|
8
|
-
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-
|
|
6
|
+
var vault_schema = require('../../dist/vault.schema-33893002.cjs.prod.cjs');
|
|
7
|
+
var identityApi_schema = require('../../dist/identity-api.schema-bcfb353b.cjs.prod.cjs');
|
|
8
|
+
var CoinMarketCap_schema = require('../../dist/CoinMarketCap.schema-4d32b137.cjs.prod.cjs');
|
|
9
9
|
var zodToJsonSchema = require('zod-to-json-schema');
|
|
10
10
|
require('nanoid');
|
|
11
11
|
require('decimal.js');
|
|
@@ -27,7 +27,7 @@ var AlertChartType = zod.z["enum"](ALERT_CHART_TYPES);
|
|
|
27
27
|
var ALERT_TABLE_COLUMNS = ["selected", "createdAt", "overdue", "id", "severity", "type", "description", "assignedTo", "country", "status"];
|
|
28
28
|
var AlertTableColumn = zod.z["enum"](ALERT_TABLE_COLUMNS);
|
|
29
29
|
var UserInfoForDuplicate = zod.z.object({
|
|
30
|
-
customerId:
|
|
30
|
+
customerId: vault_schema.UuidString,
|
|
31
31
|
customerInfo: zod.z.string().nullish(),
|
|
32
32
|
profilePicture: zod.z.string().nullish(),
|
|
33
33
|
idDocumentUrl: zod.z.string().nullish()
|
|
@@ -38,13 +38,13 @@ var DuplicateData = zod.z.object({
|
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
var AlertWebhookPayload = zod.z.object({
|
|
41
|
-
id:
|
|
41
|
+
id: vault_schema.UuidString,
|
|
42
42
|
severity: AlertSeverity,
|
|
43
43
|
category: AlertCategory,
|
|
44
44
|
type: AlertType,
|
|
45
45
|
status: AlertStatus,
|
|
46
|
-
customerId:
|
|
47
|
-
externalCustomerId:
|
|
46
|
+
customerId: vault_schema.UuidString,
|
|
47
|
+
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
48
48
|
cmsProjectId: zod.z.string().optional(),
|
|
49
49
|
createdAt: zod.z.coerce.date(),
|
|
50
50
|
updatedAt: zod.z.coerce.date(),
|
|
@@ -54,15 +54,15 @@ var AlertWebhookPayload = zod.z.object({
|
|
|
54
54
|
|
|
55
55
|
var CustomerWebhookPayload = zod.z.object({
|
|
56
56
|
cmsProjectId: zod.z.string(),
|
|
57
|
-
customerId:
|
|
58
|
-
externalCustomerId:
|
|
57
|
+
customerId: vault_schema.UuidString,
|
|
58
|
+
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
59
59
|
createdBy: zod.z.string(),
|
|
60
60
|
updatedBy: zod.z.string(),
|
|
61
61
|
id: zod.z.string(),
|
|
62
|
-
riskScore:
|
|
63
|
-
type:
|
|
64
|
-
onboardingLevel:
|
|
65
|
-
status:
|
|
62
|
+
riskScore: identityApi_schema.RiskScoreType.nullish(),
|
|
63
|
+
type: identityApi_schema.CustomerType.nullish(),
|
|
64
|
+
onboardingLevel: identityApi_schema.CustomerOnboardingLevel.nullish(),
|
|
65
|
+
status: identityApi_schema.CustomerStatus.nullish(),
|
|
66
66
|
createdAt: zod.z.coerce.date(),
|
|
67
67
|
updatedAt: zod.z.coerce.date().nullish(),
|
|
68
68
|
reason: zod.z.string().nullish(),
|
|
@@ -96,10 +96,10 @@ var CustomerEvents = {
|
|
|
96
96
|
// CMS PROJECT ID
|
|
97
97
|
data: zod.z.object({
|
|
98
98
|
cmsProjectId: zod.z.string(),
|
|
99
|
-
customerId:
|
|
100
|
-
externalClientId:
|
|
101
|
-
fromStatus:
|
|
102
|
-
toStatus:
|
|
99
|
+
customerId: vault_schema.UuidString,
|
|
100
|
+
externalClientId: vault_schema.ExternalCustomerId.optional(),
|
|
101
|
+
fromStatus: identityApi_schema.CustomerStatus.optional(),
|
|
102
|
+
toStatus: identityApi_schema.CustomerStatus
|
|
103
103
|
// do we need updatedBy?
|
|
104
104
|
})
|
|
105
105
|
}),
|
|
@@ -109,10 +109,10 @@ var CustomerEvents = {
|
|
|
109
109
|
// CMS PROJECT ID
|
|
110
110
|
data: zod.z.object({
|
|
111
111
|
cmsProjectId: zod.z.string(),
|
|
112
|
-
customerId:
|
|
113
|
-
externalCustomerId:
|
|
114
|
-
fromRiskLevel:
|
|
115
|
-
toRiskLevel:
|
|
112
|
+
customerId: vault_schema.UuidString,
|
|
113
|
+
externalCustomerId: vault_schema.ExternalCustomerId.optional(),
|
|
114
|
+
fromRiskLevel: identityApi_schema.RiskScoreType.optional(),
|
|
115
|
+
toRiskLevel: identityApi_schema.RiskScoreType,
|
|
116
116
|
riskNumber: zod.z.number().optional() // risk number is calculated based on toRiskLevel automatically when event is parsed with zod parse
|
|
117
117
|
}).transform(function (data) {
|
|
118
118
|
// assign riskNumber based on toRiskLevel (0 - 100)
|
|
@@ -139,8 +139,8 @@ var CustomerEvents = {
|
|
|
139
139
|
// CMS PROJECT ID
|
|
140
140
|
data: zod.z.object({
|
|
141
141
|
cmsProjectId: zod.z.string(),
|
|
142
|
-
customerId:
|
|
143
|
-
externalCustomerId:
|
|
142
|
+
customerId: vault_schema.UuidString,
|
|
143
|
+
externalCustomerId: vault_schema.ExternalCustomerId.optional(),
|
|
144
144
|
country: vault_schema.ISO3CountryCode
|
|
145
145
|
})
|
|
146
146
|
})
|
|
@@ -148,8 +148,8 @@ var CustomerEvents = {
|
|
|
148
148
|
|
|
149
149
|
var ScenarioWebhookPayloadSchema = zod.z.object({
|
|
150
150
|
customerId: zod.z.string(),
|
|
151
|
-
externalCustomerId:
|
|
152
|
-
address:
|
|
151
|
+
externalCustomerId: vault_schema.ExternalCustomerId.nullish(),
|
|
152
|
+
address: vault_schema.BlockchainAddress.nullish(),
|
|
153
153
|
result: identityApi_schema.RuleResultStatus,
|
|
154
154
|
executionId: zod.z.string(),
|
|
155
155
|
scenarios: zod.z.object({
|
|
@@ -169,22 +169,22 @@ var ScenarioWebhookPayloadSchema = zod.z.object({
|
|
|
169
169
|
// Define the schema and type for ScoreChain
|
|
170
170
|
var VerificationFlowResultScoreChain = zod.z.object({
|
|
171
171
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].integratedScorechain, CoinMarketCap_schema.MergedProviders["enum"].scorechain]),
|
|
172
|
-
data:
|
|
172
|
+
data: vault_schema.WalletScreeningData
|
|
173
173
|
});
|
|
174
174
|
// Define the schema and type for BitRank
|
|
175
175
|
var VerificationFlowResultBitRank = zod.z.object({
|
|
176
176
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].big]),
|
|
177
|
-
data:
|
|
177
|
+
data: vault_schema.WalletScreeningData
|
|
178
178
|
});
|
|
179
179
|
// Define the schema and type for MerkleScience
|
|
180
180
|
var VerificationFlowResultMerkleScience = zod.z.object({
|
|
181
181
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].merkleScience]),
|
|
182
|
-
data:
|
|
182
|
+
data: vault_schema.WalletScreeningData
|
|
183
183
|
});
|
|
184
184
|
// Define the schema and type for Chainalysis
|
|
185
185
|
var VerificationFlowResultChainalysis = zod.z.object({
|
|
186
186
|
type: zod.z["enum"]([CoinMarketCap_schema.MergedProviders["enum"].chainalysis]),
|
|
187
|
-
data:
|
|
187
|
+
data: vault_schema.WalletScreeningData
|
|
188
188
|
});
|
|
189
189
|
// Define the schema and type for IpQualityScore
|
|
190
190
|
var VerificationFlowResultIpQualityScore = zod.z.object({
|
|
@@ -207,7 +207,7 @@ var VerificationFlowResult = zod.z.union([VerificationFlowResultScoreChain, Veri
|
|
|
207
207
|
var VerificationFlowChecksWebhookPayload = zod.z.object({
|
|
208
208
|
executionId: zod.z.string(),
|
|
209
209
|
customerId: zod.z.string(),
|
|
210
|
-
externalCustomerId:
|
|
210
|
+
externalCustomerId: vault_schema.ExternalCustomerId.optional(),
|
|
211
211
|
address: zod.z.string().nullish(),
|
|
212
212
|
result: zod.z.array(VerificationFlowResult)
|
|
213
213
|
});
|
|
@@ -220,7 +220,7 @@ var TMSWebhookPayload = zod.z.object({
|
|
|
220
220
|
status: zod.z["enum"](vault_schema.TransactionReviewStatuses),
|
|
221
221
|
riskScore: zod.z.string().nullable(),
|
|
222
222
|
riskLevel: zod.z.string().nullable(),
|
|
223
|
-
customerId:
|
|
223
|
+
customerId: vault_schema.UuidString,
|
|
224
224
|
reason: zod.z.string().nullable(),
|
|
225
225
|
externalTransactionId: zod.z.coerce.string(),
|
|
226
226
|
transactionDate: zod.z.coerce.date(),
|
|
@@ -228,7 +228,7 @@ var TMSWebhookPayload = zod.z.object({
|
|
|
228
228
|
updatedAt: zod.z.coerce.date().nullable()
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
var WebhookEventTypes = ["send.scenario", "
|
|
231
|
+
var WebhookEventTypes = ["send.scenario", "customer.created", "customer.updated", "customer.deleted", "alert.created", "alert.updated", "alert.deleted", "transaction.created", "transaction.updated", "transaction.deleted"];
|
|
232
232
|
var WebhookEventType = zod.z["enum"](WebhookEventTypes);
|
|
233
233
|
var WebhookEventTypesForm = ["webhooks.sendScenario", "webhooks.sendVerificationFlow", "webhooks.customerCreated", "webhooks.customerUpdated", "webhooks.customerDeleted", "webhooks.alertCreated", "webhooks.alertUpdated", "webhooks.alertDeleted", "webhooks.tmsCreated", "webhooks.tmsUpdated", "webhooks.tmsDeleted"];
|
|
234
234
|
var WebhookEventTypeForm = zod.z["enum"](WebhookEventTypesForm);
|
|
@@ -256,11 +256,6 @@ var NexeraEventTypes = zod.z.union([zod.z.object({
|
|
|
256
256
|
description: zod.z.string(),
|
|
257
257
|
archived: zod.z["boolean"](),
|
|
258
258
|
schemas: zod.z.record(zod.z.unknown())
|
|
259
|
-
}), zod.z.object({
|
|
260
|
-
name: zod.z.literal("send.verification.flow"),
|
|
261
|
-
description: zod.z.string(),
|
|
262
|
-
archived: zod.z["boolean"](),
|
|
263
|
-
schemas: zod.z.record(zod.z.unknown())
|
|
264
259
|
}), zod.z.object({
|
|
265
260
|
name: zod.z.literal("customer.created"),
|
|
266
261
|
description: zod.z.string(),
|
|
@@ -317,10 +312,6 @@ var SendScenarioPayload = zod.z.object({
|
|
|
317
312
|
eventType: zod.z.literal("send.scenario"),
|
|
318
313
|
payload: ScenarioWebhookPayloadSchema
|
|
319
314
|
});
|
|
320
|
-
var SendVerificationFlowPayload = zod.z.object({
|
|
321
|
-
eventType: zod.z.literal("send.verification.flow"),
|
|
322
|
-
payload: VerificationFlowChecksWebhookPayload
|
|
323
|
-
});
|
|
324
315
|
var CustomerCreatedPayload = zod.z.object({
|
|
325
316
|
eventType: zod.z.literal("customer.created"),
|
|
326
317
|
payload: CustomerWebhookPayload
|
|
@@ -358,14 +349,13 @@ var TMSDeletedPayload = zod.z.object({
|
|
|
358
349
|
payload: TMSWebhookPayload
|
|
359
350
|
});
|
|
360
351
|
var WebhookScenariosEventPayload = SendScenarioPayload;
|
|
361
|
-
var WebhookVerificationEventPayload = SendVerificationFlowPayload;
|
|
362
352
|
var WebhookCustomerEventPayload = zod.z.union([CustomerCreatedPayload, CustomerUpdatedPayload, CustomerDeletedPayload]);
|
|
363
353
|
var WebhookAlertEventPayload = zod.z.union([AlertCreatedPayload, AlertUpdatedPayload, AlertDeletedPayload]);
|
|
364
354
|
var WebhookTMSEventPayload = zod.z.union([TMSCreatedPayload, TMSUpdatedPayload, TMSDeletedPayload]);
|
|
365
|
-
var WebhookEventPayload = zod.z.union([WebhookScenariosEventPayload,
|
|
355
|
+
var WebhookEventPayload = zod.z.union([WebhookScenariosEventPayload, WebhookCustomerEventPayload, WebhookAlertEventPayload, WebhookTMSEventPayload]);
|
|
366
356
|
var AllNexeraEventTypes = zod.z.array(NexeraEventTypes);
|
|
367
357
|
var NexeraSvixEnvironmentConfig = zod.z.object({
|
|
368
|
-
env:
|
|
358
|
+
env: vault_schema.EnvironmentSchema
|
|
369
359
|
});
|
|
370
360
|
var EndpointHandlingForm = zod.z.object({
|
|
371
361
|
endpointURL: zod.z.string().min(1, {
|
|
@@ -497,10 +487,6 @@ var SendMessageForSendScenarioInput = zod.z.object({
|
|
|
497
487
|
projectId: zod.z.string(),
|
|
498
488
|
payload: SendScenarioPayload
|
|
499
489
|
});
|
|
500
|
-
var SendMessageForSendVerificationFlowInput = zod.z.object({
|
|
501
|
-
projectId: zod.z.string(),
|
|
502
|
-
payload: SendVerificationFlowPayload
|
|
503
|
-
});
|
|
504
490
|
var SendMessageForCustomerCreatedInput = zod.z.object({
|
|
505
491
|
projectId: zod.z.string(),
|
|
506
492
|
payload: CustomerCreatedPayload
|
|
@@ -619,13 +605,6 @@ var NexeraWebhookEvents = [{
|
|
|
619
605
|
schemas: {
|
|
620
606
|
1: zodToJsonSchema.zodToJsonSchema(SendScenarioPayload)
|
|
621
607
|
}
|
|
622
|
-
}, {
|
|
623
|
-
name: "send.verification.flow",
|
|
624
|
-
description: "Send Verification Flow Webhook",
|
|
625
|
-
archived: false,
|
|
626
|
-
schemas: {
|
|
627
|
-
1: zodToJsonSchema.zodToJsonSchema(SendVerificationFlowPayload)
|
|
628
|
-
}
|
|
629
608
|
}, {
|
|
630
609
|
name: "customer.created",
|
|
631
610
|
description: "Customer Created Webhook",
|
|
@@ -757,12 +736,10 @@ exports.SendMessageForCustomerCreatedInput = SendMessageForCustomerCreatedInput;
|
|
|
757
736
|
exports.SendMessageForCustomerDeletedInput = SendMessageForCustomerDeletedInput;
|
|
758
737
|
exports.SendMessageForCustomerUpdatedInput = SendMessageForCustomerUpdatedInput;
|
|
759
738
|
exports.SendMessageForSendScenarioInput = SendMessageForSendScenarioInput;
|
|
760
|
-
exports.SendMessageForSendVerificationFlowInput = SendMessageForSendVerificationFlowInput;
|
|
761
739
|
exports.SendMessageForTMSCreatedInput = SendMessageForTMSCreatedInput;
|
|
762
740
|
exports.SendMessageForTMSDeletedInput = SendMessageForTMSDeletedInput;
|
|
763
741
|
exports.SendMessageForTMSUpdatedInput = SendMessageForTMSUpdatedInput;
|
|
764
742
|
exports.SendScenarioPayload = SendScenarioPayload;
|
|
765
|
-
exports.SendVerificationFlowPayload = SendVerificationFlowPayload;
|
|
766
743
|
exports.TMSCreatedPayload = TMSCreatedPayload;
|
|
767
744
|
exports.TMSDeletedPayload = TMSDeletedPayload;
|
|
768
745
|
exports.TMSUpdatedPayload = TMSUpdatedPayload;
|
|
@@ -787,4 +764,3 @@ exports.WebhookEventTypes = WebhookEventTypes;
|
|
|
787
764
|
exports.WebhookEventTypesForm = WebhookEventTypesForm;
|
|
788
765
|
exports.WebhookScenariosEventPayload = WebhookScenariosEventPayload;
|
|
789
766
|
exports.WebhookTMSEventPayload = WebhookTMSEventPayload;
|
|
790
|
-
exports.WebhookVerificationEventPayload = WebhookVerificationEventPayload;
|