@nexeraid/identity-schemas 1.12.26-dev → 1.12.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/{chainalysis.schema-1567fb68.cjs.prod.js → customers.schema-d0525150.cjs.prod.js} +91 -74
- package/dist/{chainalysis.schema-d8de1e7c.esm.js → customers.schema-dcae7bd5.esm.js} +89 -75
- package/dist/{chainalysis.schema-34e4afef.cjs.dev.js → customers.schema-fbb55a96.cjs.dev.js} +91 -74
- package/dist/declarations/src/config.schema.d.ts +1 -1
- package/dist/declarations/src/config.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +3 -4
- package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity-ids.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/provider.schema.d.ts +568 -26
- package/dist/declarations/src/providers/provider.schema.d.ts.map +1 -1
- package/dist/declarations/src/verifiable-credentials/vc-utils.schema.d.ts.map +1 -1
- package/dist/package.json +2 -2
- package/package.json +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.js +269 -266
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.js +269 -266
- package/providers/dist/nexeraid-identity-schemas-providers.esm.js +1 -1
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.js +11 -11
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.js +11 -11
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.js +1 -1
package/dist/{chainalysis.schema-1567fb68.cjs.prod.js → customers.schema-d0525150.cjs.prod.js}
RENAMED
|
@@ -1048,6 +1048,79 @@ var ComplyAdvantageMonitoredSearchUpdate = zod.z.object({
|
|
|
1048
1048
|
})
|
|
1049
1049
|
});
|
|
1050
1050
|
|
|
1051
|
+
var ChainalysisRequest = zod.z.object({
|
|
1052
|
+
address: zod.z.string()
|
|
1053
|
+
});
|
|
1054
|
+
var EnhancedChainalysisRequest = zod.z.object({
|
|
1055
|
+
request: ChainalysisRequest,
|
|
1056
|
+
customerId: identityApi_schema.UuidString
|
|
1057
|
+
});
|
|
1058
|
+
var ChainalysisRegisterApiResponse = zod.z.object({
|
|
1059
|
+
address: zod.z.string()
|
|
1060
|
+
});
|
|
1061
|
+
var Risk = zod.z["enum"](["Severe", "High", "Medium", "Low"]);
|
|
1062
|
+
var AddressType = zod.z["enum"](["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]);
|
|
1063
|
+
var ExposureType = zod.z["enum"](["direct", "indirect"]);
|
|
1064
|
+
var Direction = zod.z.literal("both_directions");
|
|
1065
|
+
var Status = zod.z.literal("COMPLETE");
|
|
1066
|
+
var Cluster = zod.z.object({
|
|
1067
|
+
name: zod.z.string(),
|
|
1068
|
+
category: zod.z.string()
|
|
1069
|
+
});
|
|
1070
|
+
var AddressIdentification = zod.z.object({
|
|
1071
|
+
name: zod.z.string(),
|
|
1072
|
+
address: zod.z.string(),
|
|
1073
|
+
category: zod.z.string(),
|
|
1074
|
+
description: zod.z.string(),
|
|
1075
|
+
url: zod.z.string().nullish(),
|
|
1076
|
+
createdAt: zod.z.number()
|
|
1077
|
+
});
|
|
1078
|
+
var Exposure = zod.z.object({
|
|
1079
|
+
category: zod.z.string(),
|
|
1080
|
+
value: zod.z.number(),
|
|
1081
|
+
exposureType: ExposureType,
|
|
1082
|
+
direction: Direction
|
|
1083
|
+
});
|
|
1084
|
+
var RuleTriggered = zod.z.object({
|
|
1085
|
+
risk: zod.z.string(),
|
|
1086
|
+
minThreshold: zod.z.number(),
|
|
1087
|
+
maxThreshold: zod.z.number(),
|
|
1088
|
+
exposureType: ExposureType,
|
|
1089
|
+
direction: Direction
|
|
1090
|
+
});
|
|
1091
|
+
var Trigger = zod.z.object({
|
|
1092
|
+
category: zod.z.string(),
|
|
1093
|
+
percentage: zod.z.number(),
|
|
1094
|
+
message: zod.z.string(),
|
|
1095
|
+
ruleTriggered: RuleTriggered.nullish()
|
|
1096
|
+
});
|
|
1097
|
+
var PoolMetadata = zod.z.object({
|
|
1098
|
+
fees: zod.z.number().nullish(),
|
|
1099
|
+
tokens: zod.z.array(zod.z.string())
|
|
1100
|
+
});
|
|
1101
|
+
var ChainalysisRiskAssessmentApiResponse = zod.z.object({
|
|
1102
|
+
address: zod.z.string(),
|
|
1103
|
+
risk: Risk,
|
|
1104
|
+
riskReason: zod.z.string().nullish(),
|
|
1105
|
+
cluster: Cluster.nullish(),
|
|
1106
|
+
addressType: AddressType,
|
|
1107
|
+
addressIdentifications: zod.z.array(AddressIdentification),
|
|
1108
|
+
exposures: zod.z.array(Exposure).nullish(),
|
|
1109
|
+
triggers: zod.z.array(Trigger).nullish(),
|
|
1110
|
+
status: Status,
|
|
1111
|
+
poolMetadata: PoolMetadata.nullish()
|
|
1112
|
+
});
|
|
1113
|
+
var ChainalysisApiError = zod.z.object({
|
|
1114
|
+
error: zod.z.object({
|
|
1115
|
+
error: zod.z.string(),
|
|
1116
|
+
message: zod.z.string(),
|
|
1117
|
+
data: zod.z.string().nullish()
|
|
1118
|
+
})
|
|
1119
|
+
});
|
|
1120
|
+
var ChainalysisRegisterResponse = zod.z.union([ChainalysisRegisterApiResponse, ChainalysisApiError]);
|
|
1121
|
+
var ChainalysisRiskAssessmentResponse = zod.z.union([ChainalysisRiskAssessmentApiResponse, ChainalysisApiError]);
|
|
1122
|
+
var ChainalysisResponse = zod.z.union([ChainalysisRegisterResponse, ChainalysisRiskAssessmentResponse]);
|
|
1123
|
+
|
|
1051
1124
|
/**
|
|
1052
1125
|
* Merkle Science defines it own blockchain list, thus this list.
|
|
1053
1126
|
* See https://docs.merklescience.com/reference/currencies
|
|
@@ -1257,14 +1330,18 @@ var MerkleAddressApiError = zod.z.object({
|
|
|
1257
1330
|
});
|
|
1258
1331
|
var MerkleAddressResponse = zod.z.union([MerkleAddressApiResponse, MerkleAddressApiError]);
|
|
1259
1332
|
|
|
1333
|
+
var ProviderWithoutConfig = ["chainalysis"];
|
|
1260
1334
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps"];
|
|
1261
1335
|
var IdentityProviders = zod.z["enum"](IdentityProviderOptions);
|
|
1262
|
-
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1336
|
+
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1263
1337
|
var DataProviders = zod.z["enum"](DataProviderOptions);
|
|
1264
1338
|
var MergedProviders = zod.z["enum"]([].concat(identityApi_schema._toConsumableArray(IdentityProviders.options), identityApi_schema._toConsumableArray(DataProviders.options)));
|
|
1265
1339
|
var MerkleScienceConfig = zod.z.object({
|
|
1266
1340
|
blockchain: MerkleBlockChainNames
|
|
1267
1341
|
});
|
|
1342
|
+
var ChainalysisConfig = ChainalysisRequest.omit({
|
|
1343
|
+
address: true
|
|
1344
|
+
});
|
|
1268
1345
|
var ScorechainConfig = ScoringAnalysisRequest.omit({
|
|
1269
1346
|
objectId: true // objectId is removed, because it is not stored in CMS but rather provided on the fly by the client
|
|
1270
1347
|
});
|
|
@@ -1327,6 +1404,14 @@ var MerkleScienceProvider = BaseProvider.extend({
|
|
|
1327
1404
|
config: MerkleScienceConfig.array().nullish()
|
|
1328
1405
|
}).nullish()
|
|
1329
1406
|
});
|
|
1407
|
+
var ChainalysisProvider = BaseProvider.extend({
|
|
1408
|
+
onRulesEngine: zod.z.object({
|
|
1409
|
+
enabled: zod.z["boolean"]().nullish()
|
|
1410
|
+
}).nullish(),
|
|
1411
|
+
onNewRecord: zod.z.object({
|
|
1412
|
+
enabled: zod.z["boolean"]().nullish()
|
|
1413
|
+
}).nullish()
|
|
1414
|
+
});
|
|
1330
1415
|
var IpqualityscoreProvider = BaseProvider.extend({
|
|
1331
1416
|
onRulesEngine: zod.z.object({
|
|
1332
1417
|
enabled: zod.z["boolean"]().nullish(),
|
|
@@ -1376,6 +1461,7 @@ var ProviderData = zod.z.object({
|
|
|
1376
1461
|
scorechain: ScorechainProvider.nullish(),
|
|
1377
1462
|
ipqualityscore: IpqualityscoreProvider.nullish(),
|
|
1378
1463
|
merkleScience: MerkleScienceProvider.nullish(),
|
|
1464
|
+
chainalysis: ChainalysisProvider.nullish(),
|
|
1379
1465
|
integratedComplyAdvantage: ComplyAdvantageProvider.nullish(),
|
|
1380
1466
|
integratedScorechain: ScorechainProvider.nullish(),
|
|
1381
1467
|
integratedIpqualityscore: IpqualityscoreProvider.nullish()
|
|
@@ -1402,6 +1488,7 @@ var CreateProviderResponse = ProviderData.omit({
|
|
|
1402
1488
|
big: true,
|
|
1403
1489
|
scorechain: true,
|
|
1404
1490
|
merkleScience: true,
|
|
1491
|
+
chainalysis: true,
|
|
1405
1492
|
nexeraIdSSID: true,
|
|
1406
1493
|
nexeraIdKYB: true,
|
|
1407
1494
|
ipqualityscore: true,
|
|
@@ -2243,79 +2330,6 @@ var UpdateKybSessionOutput = zod.z.string();
|
|
|
2243
2330
|
var CustomerDocumentMetaData = zod.z.union([CompanyDocumentMetaData, ProofOfResidenceMetaData, VideoKycMetaData]);
|
|
2244
2331
|
var CustomerStatusResults = zod.z.union([KybResult, KycResult]);
|
|
2245
2332
|
|
|
2246
|
-
var ChainalysisRequest = zod.z.object({
|
|
2247
|
-
address: zod.z.string()
|
|
2248
|
-
});
|
|
2249
|
-
var EnhancedChainalysisRequest = zod.z.object({
|
|
2250
|
-
request: ChainalysisRequest,
|
|
2251
|
-
customerId: identityApi_schema.UuidString
|
|
2252
|
-
});
|
|
2253
|
-
var ChainalysisRegisterApiResponse = zod.z.object({
|
|
2254
|
-
address: zod.z.string()
|
|
2255
|
-
});
|
|
2256
|
-
var Risk = zod.z["enum"](["Severe", "High", "Medium", "Low"]);
|
|
2257
|
-
var AddressType = zod.z["enum"](["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]);
|
|
2258
|
-
var ExposureType = zod.z["enum"](["direct", "indirect"]);
|
|
2259
|
-
var Direction = zod.z.literal("both_directions");
|
|
2260
|
-
var Status = zod.z.literal("COMPLETE");
|
|
2261
|
-
var Cluster = zod.z.object({
|
|
2262
|
-
name: zod.z.string(),
|
|
2263
|
-
category: zod.z.string()
|
|
2264
|
-
});
|
|
2265
|
-
var AddressIdentification = zod.z.object({
|
|
2266
|
-
name: zod.z.string(),
|
|
2267
|
-
address: zod.z.string(),
|
|
2268
|
-
category: zod.z.string(),
|
|
2269
|
-
description: zod.z.string(),
|
|
2270
|
-
url: zod.z.string().nullish(),
|
|
2271
|
-
createdAt: zod.z.number()
|
|
2272
|
-
});
|
|
2273
|
-
var Exposure = zod.z.object({
|
|
2274
|
-
category: zod.z.string(),
|
|
2275
|
-
value: zod.z.number(),
|
|
2276
|
-
exposureType: ExposureType,
|
|
2277
|
-
direction: Direction
|
|
2278
|
-
});
|
|
2279
|
-
var RuleTriggered = zod.z.object({
|
|
2280
|
-
risk: zod.z.string(),
|
|
2281
|
-
minThreshold: zod.z.number(),
|
|
2282
|
-
maxThreshold: zod.z.number(),
|
|
2283
|
-
exposureType: ExposureType,
|
|
2284
|
-
direction: Direction
|
|
2285
|
-
});
|
|
2286
|
-
var Trigger = zod.z.object({
|
|
2287
|
-
category: zod.z.string(),
|
|
2288
|
-
percentage: zod.z.number(),
|
|
2289
|
-
message: zod.z.string(),
|
|
2290
|
-
ruleTriggered: RuleTriggered.nullish()
|
|
2291
|
-
});
|
|
2292
|
-
var PoolMetadata = zod.z.object({
|
|
2293
|
-
fees: zod.z.number().nullish(),
|
|
2294
|
-
tokens: zod.z.array(zod.z.string())
|
|
2295
|
-
});
|
|
2296
|
-
var ChainalysisRiskAssessmentApiResponse = zod.z.object({
|
|
2297
|
-
address: zod.z.string(),
|
|
2298
|
-
risk: Risk,
|
|
2299
|
-
riskReason: zod.z.string().nullish(),
|
|
2300
|
-
cluster: Cluster.nullish(),
|
|
2301
|
-
addressType: AddressType,
|
|
2302
|
-
addressIdentifications: zod.z.array(AddressIdentification),
|
|
2303
|
-
exposures: zod.z.array(Exposure).nullish(),
|
|
2304
|
-
triggers: zod.z.array(Trigger).nullish(),
|
|
2305
|
-
status: Status,
|
|
2306
|
-
poolMetadata: PoolMetadata.nullish()
|
|
2307
|
-
});
|
|
2308
|
-
var ChainalysisApiError = zod.z.object({
|
|
2309
|
-
error: zod.z.object({
|
|
2310
|
-
error: zod.z.string(),
|
|
2311
|
-
message: zod.z.string(),
|
|
2312
|
-
data: zod.z.string().nullish()
|
|
2313
|
-
})
|
|
2314
|
-
});
|
|
2315
|
-
var ChainalysisRegisterResponse = zod.z.union([ChainalysisRegisterApiResponse, ChainalysisApiError]);
|
|
2316
|
-
var ChainalysisRiskAssessmentResponse = zod.z.union([ChainalysisRiskAssessmentApiResponse, ChainalysisApiError]);
|
|
2317
|
-
var ChainalysisResponse = zod.z.union([ChainalysisRegisterResponse, ChainalysisRiskAssessmentResponse]);
|
|
2318
|
-
|
|
2319
2333
|
exports.AMLMetadata = AMLMetadata;
|
|
2320
2334
|
exports.ANALYSIS_TYPES = ANALYSIS_TYPES;
|
|
2321
2335
|
exports.AnalysisType = AnalysisType;
|
|
@@ -2347,6 +2361,8 @@ exports.COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES = COMPLY_ADVANTAGE_NATIONALIT
|
|
|
2347
2361
|
exports.COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS = COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS;
|
|
2348
2362
|
exports.COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE = COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE;
|
|
2349
2363
|
exports.ChainalysisApiError = ChainalysisApiError;
|
|
2364
|
+
exports.ChainalysisConfig = ChainalysisConfig;
|
|
2365
|
+
exports.ChainalysisProvider = ChainalysisProvider;
|
|
2350
2366
|
exports.ChainalysisRegisterApiResponse = ChainalysisRegisterApiResponse;
|
|
2351
2367
|
exports.ChainalysisRegisterResponse = ChainalysisRegisterResponse;
|
|
2352
2368
|
exports.ChainalysisRequest = ChainalysisRequest;
|
|
@@ -2469,6 +2485,7 @@ exports.ProviderData = ProviderData;
|
|
|
2469
2485
|
exports.ProviderDataProject = ProviderDataProject;
|
|
2470
2486
|
exports.ProviderIntegrationType = ProviderIntegrationType;
|
|
2471
2487
|
exports.ProviderIntegrationTypeOptions = ProviderIntegrationTypeOptions;
|
|
2488
|
+
exports.ProviderWithoutConfig = ProviderWithoutConfig;
|
|
2472
2489
|
exports.RESULT_PARSER_ERROR = RESULT_PARSER_ERROR;
|
|
2473
2490
|
exports.ReasonCode = ReasonCode;
|
|
2474
2491
|
exports.ReasonCodes = ReasonCodes;
|
|
@@ -1046,6 +1046,79 @@ var ComplyAdvantageMonitoredSearchUpdate = z.object({
|
|
|
1046
1046
|
})
|
|
1047
1047
|
});
|
|
1048
1048
|
|
|
1049
|
+
var ChainalysisRequest = z.object({
|
|
1050
|
+
address: z.string()
|
|
1051
|
+
});
|
|
1052
|
+
var EnhancedChainalysisRequest = z.object({
|
|
1053
|
+
request: ChainalysisRequest,
|
|
1054
|
+
customerId: UuidString
|
|
1055
|
+
});
|
|
1056
|
+
var ChainalysisRegisterApiResponse = z.object({
|
|
1057
|
+
address: z.string()
|
|
1058
|
+
});
|
|
1059
|
+
var Risk = z["enum"](["Severe", "High", "Medium", "Low"]);
|
|
1060
|
+
var AddressType = z["enum"](["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]);
|
|
1061
|
+
var ExposureType = z["enum"](["direct", "indirect"]);
|
|
1062
|
+
var Direction = z.literal("both_directions");
|
|
1063
|
+
var Status = z.literal("COMPLETE");
|
|
1064
|
+
var Cluster = z.object({
|
|
1065
|
+
name: z.string(),
|
|
1066
|
+
category: z.string()
|
|
1067
|
+
});
|
|
1068
|
+
var AddressIdentification = z.object({
|
|
1069
|
+
name: z.string(),
|
|
1070
|
+
address: z.string(),
|
|
1071
|
+
category: z.string(),
|
|
1072
|
+
description: z.string(),
|
|
1073
|
+
url: z.string().nullish(),
|
|
1074
|
+
createdAt: z.number()
|
|
1075
|
+
});
|
|
1076
|
+
var Exposure = z.object({
|
|
1077
|
+
category: z.string(),
|
|
1078
|
+
value: z.number(),
|
|
1079
|
+
exposureType: ExposureType,
|
|
1080
|
+
direction: Direction
|
|
1081
|
+
});
|
|
1082
|
+
var RuleTriggered = z.object({
|
|
1083
|
+
risk: z.string(),
|
|
1084
|
+
minThreshold: z.number(),
|
|
1085
|
+
maxThreshold: z.number(),
|
|
1086
|
+
exposureType: ExposureType,
|
|
1087
|
+
direction: Direction
|
|
1088
|
+
});
|
|
1089
|
+
var Trigger = z.object({
|
|
1090
|
+
category: z.string(),
|
|
1091
|
+
percentage: z.number(),
|
|
1092
|
+
message: z.string(),
|
|
1093
|
+
ruleTriggered: RuleTriggered.nullish()
|
|
1094
|
+
});
|
|
1095
|
+
var PoolMetadata = z.object({
|
|
1096
|
+
fees: z.number().nullish(),
|
|
1097
|
+
tokens: z.array(z.string())
|
|
1098
|
+
});
|
|
1099
|
+
var ChainalysisRiskAssessmentApiResponse = z.object({
|
|
1100
|
+
address: z.string(),
|
|
1101
|
+
risk: Risk,
|
|
1102
|
+
riskReason: z.string().nullish(),
|
|
1103
|
+
cluster: Cluster.nullish(),
|
|
1104
|
+
addressType: AddressType,
|
|
1105
|
+
addressIdentifications: z.array(AddressIdentification),
|
|
1106
|
+
exposures: z.array(Exposure).nullish(),
|
|
1107
|
+
triggers: z.array(Trigger).nullish(),
|
|
1108
|
+
status: Status,
|
|
1109
|
+
poolMetadata: PoolMetadata.nullish()
|
|
1110
|
+
});
|
|
1111
|
+
var ChainalysisApiError = z.object({
|
|
1112
|
+
error: z.object({
|
|
1113
|
+
error: z.string(),
|
|
1114
|
+
message: z.string(),
|
|
1115
|
+
data: z.string().nullish()
|
|
1116
|
+
})
|
|
1117
|
+
});
|
|
1118
|
+
var ChainalysisRegisterResponse = z.union([ChainalysisRegisterApiResponse, ChainalysisApiError]);
|
|
1119
|
+
var ChainalysisRiskAssessmentResponse = z.union([ChainalysisRiskAssessmentApiResponse, ChainalysisApiError]);
|
|
1120
|
+
var ChainalysisResponse = z.union([ChainalysisRegisterResponse, ChainalysisRiskAssessmentResponse]);
|
|
1121
|
+
|
|
1049
1122
|
/**
|
|
1050
1123
|
* Merkle Science defines it own blockchain list, thus this list.
|
|
1051
1124
|
* See https://docs.merklescience.com/reference/currencies
|
|
@@ -1255,14 +1328,18 @@ var MerkleAddressApiError = z.object({
|
|
|
1255
1328
|
});
|
|
1256
1329
|
var MerkleAddressResponse = z.union([MerkleAddressApiResponse, MerkleAddressApiError]);
|
|
1257
1330
|
|
|
1331
|
+
var ProviderWithoutConfig = ["chainalysis"];
|
|
1258
1332
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps"];
|
|
1259
1333
|
var IdentityProviders = z["enum"](IdentityProviderOptions);
|
|
1260
|
-
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1334
|
+
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1261
1335
|
var DataProviders = z["enum"](DataProviderOptions);
|
|
1262
1336
|
var MergedProviders = z["enum"]([].concat(_toConsumableArray(IdentityProviders.options), _toConsumableArray(DataProviders.options)));
|
|
1263
1337
|
var MerkleScienceConfig = z.object({
|
|
1264
1338
|
blockchain: MerkleBlockChainNames
|
|
1265
1339
|
});
|
|
1340
|
+
var ChainalysisConfig = ChainalysisRequest.omit({
|
|
1341
|
+
address: true
|
|
1342
|
+
});
|
|
1266
1343
|
var ScorechainConfig = ScoringAnalysisRequest.omit({
|
|
1267
1344
|
objectId: true // objectId is removed, because it is not stored in CMS but rather provided on the fly by the client
|
|
1268
1345
|
});
|
|
@@ -1325,6 +1402,14 @@ var MerkleScienceProvider = BaseProvider.extend({
|
|
|
1325
1402
|
config: MerkleScienceConfig.array().nullish()
|
|
1326
1403
|
}).nullish()
|
|
1327
1404
|
});
|
|
1405
|
+
var ChainalysisProvider = BaseProvider.extend({
|
|
1406
|
+
onRulesEngine: z.object({
|
|
1407
|
+
enabled: z["boolean"]().nullish()
|
|
1408
|
+
}).nullish(),
|
|
1409
|
+
onNewRecord: z.object({
|
|
1410
|
+
enabled: z["boolean"]().nullish()
|
|
1411
|
+
}).nullish()
|
|
1412
|
+
});
|
|
1328
1413
|
var IpqualityscoreProvider = BaseProvider.extend({
|
|
1329
1414
|
onRulesEngine: z.object({
|
|
1330
1415
|
enabled: z["boolean"]().nullish(),
|
|
@@ -1374,6 +1459,7 @@ var ProviderData = z.object({
|
|
|
1374
1459
|
scorechain: ScorechainProvider.nullish(),
|
|
1375
1460
|
ipqualityscore: IpqualityscoreProvider.nullish(),
|
|
1376
1461
|
merkleScience: MerkleScienceProvider.nullish(),
|
|
1462
|
+
chainalysis: ChainalysisProvider.nullish(),
|
|
1377
1463
|
integratedComplyAdvantage: ComplyAdvantageProvider.nullish(),
|
|
1378
1464
|
integratedScorechain: ScorechainProvider.nullish(),
|
|
1379
1465
|
integratedIpqualityscore: IpqualityscoreProvider.nullish()
|
|
@@ -1400,6 +1486,7 @@ var CreateProviderResponse = ProviderData.omit({
|
|
|
1400
1486
|
big: true,
|
|
1401
1487
|
scorechain: true,
|
|
1402
1488
|
merkleScience: true,
|
|
1489
|
+
chainalysis: true,
|
|
1403
1490
|
nexeraIdSSID: true,
|
|
1404
1491
|
nexeraIdKYB: true,
|
|
1405
1492
|
ipqualityscore: true,
|
|
@@ -2241,77 +2328,4 @@ var UpdateKybSessionOutput = z.string();
|
|
|
2241
2328
|
var CustomerDocumentMetaData = z.union([CompanyDocumentMetaData, ProofOfResidenceMetaData, VideoKycMetaData]);
|
|
2242
2329
|
var CustomerStatusResults = z.union([KybResult, KycResult]);
|
|
2243
2330
|
|
|
2244
|
-
|
|
2245
|
-
address: z.string()
|
|
2246
|
-
});
|
|
2247
|
-
var EnhancedChainalysisRequest = z.object({
|
|
2248
|
-
request: ChainalysisRequest,
|
|
2249
|
-
customerId: UuidString
|
|
2250
|
-
});
|
|
2251
|
-
var ChainalysisRegisterApiResponse = z.object({
|
|
2252
|
-
address: z.string()
|
|
2253
|
-
});
|
|
2254
|
-
var Risk = z["enum"](["Severe", "High", "Medium", "Low"]);
|
|
2255
|
-
var AddressType = z["enum"](["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]);
|
|
2256
|
-
var ExposureType = z["enum"](["direct", "indirect"]);
|
|
2257
|
-
var Direction = z.literal("both_directions");
|
|
2258
|
-
var Status = z.literal("COMPLETE");
|
|
2259
|
-
var Cluster = z.object({
|
|
2260
|
-
name: z.string(),
|
|
2261
|
-
category: z.string()
|
|
2262
|
-
});
|
|
2263
|
-
var AddressIdentification = z.object({
|
|
2264
|
-
name: z.string(),
|
|
2265
|
-
address: z.string(),
|
|
2266
|
-
category: z.string(),
|
|
2267
|
-
description: z.string(),
|
|
2268
|
-
url: z.string().nullish(),
|
|
2269
|
-
createdAt: z.number()
|
|
2270
|
-
});
|
|
2271
|
-
var Exposure = z.object({
|
|
2272
|
-
category: z.string(),
|
|
2273
|
-
value: z.number(),
|
|
2274
|
-
exposureType: ExposureType,
|
|
2275
|
-
direction: Direction
|
|
2276
|
-
});
|
|
2277
|
-
var RuleTriggered = z.object({
|
|
2278
|
-
risk: z.string(),
|
|
2279
|
-
minThreshold: z.number(),
|
|
2280
|
-
maxThreshold: z.number(),
|
|
2281
|
-
exposureType: ExposureType,
|
|
2282
|
-
direction: Direction
|
|
2283
|
-
});
|
|
2284
|
-
var Trigger = z.object({
|
|
2285
|
-
category: z.string(),
|
|
2286
|
-
percentage: z.number(),
|
|
2287
|
-
message: z.string(),
|
|
2288
|
-
ruleTriggered: RuleTriggered.nullish()
|
|
2289
|
-
});
|
|
2290
|
-
var PoolMetadata = z.object({
|
|
2291
|
-
fees: z.number().nullish(),
|
|
2292
|
-
tokens: z.array(z.string())
|
|
2293
|
-
});
|
|
2294
|
-
var ChainalysisRiskAssessmentApiResponse = z.object({
|
|
2295
|
-
address: z.string(),
|
|
2296
|
-
risk: Risk,
|
|
2297
|
-
riskReason: z.string().nullish(),
|
|
2298
|
-
cluster: Cluster.nullish(),
|
|
2299
|
-
addressType: AddressType,
|
|
2300
|
-
addressIdentifications: z.array(AddressIdentification),
|
|
2301
|
-
exposures: z.array(Exposure).nullish(),
|
|
2302
|
-
triggers: z.array(Trigger).nullish(),
|
|
2303
|
-
status: Status,
|
|
2304
|
-
poolMetadata: PoolMetadata.nullish()
|
|
2305
|
-
});
|
|
2306
|
-
var ChainalysisApiError = z.object({
|
|
2307
|
-
error: z.object({
|
|
2308
|
-
error: z.string(),
|
|
2309
|
-
message: z.string(),
|
|
2310
|
-
data: z.string().nullish()
|
|
2311
|
-
})
|
|
2312
|
-
});
|
|
2313
|
-
var ChainalysisRegisterResponse = z.union([ChainalysisRegisterApiResponse, ChainalysisApiError]);
|
|
2314
|
-
var ChainalysisRiskAssessmentResponse = z.union([ChainalysisRiskAssessmentApiResponse, ChainalysisApiError]);
|
|
2315
|
-
var ChainalysisResponse = z.union([ChainalysisRegisterResponse, ChainalysisRiskAssessmentResponse]);
|
|
2316
|
-
|
|
2317
|
-
export { EmailMetadata as $, ANALYSIS_TYPES as A, BitRankVerifiedResponse as B, ComplyAdvantageSearchResponse as C, Session as D, EmailVerificationAnalysisResponse as E, SessionWithoutSteps as F, StepTypes as G, StepType as H, IpQualityServiceAnalysisResponse as I, ReasonCodes as J, ReasonCode as K, File as L, MergedProviders as M, NestedSession as N, OBJECT_TYPES as O, PhoneVerificationAnalysisResponse as P, DocumentIdTypes as Q, RiskSeverity as R, ScoringAnalysisResponse as S, DocumentIdType as T, DocumentIdMetadata as U, ProofOfAddressDocumentTypes as V, WorkflowsScoringAnalysisRequest as W, ProofOfAddressDocumentType as X, ProofOfAddressMetadata as Y, LivenessMetadata as Z, PhoneMetadata as _, MerkleAddressResponse as a, ComplyAdvantageUpdateSearchEntitiesSuccessResponse as a$, AMLMetadata as a0, Step as a1, SynapsSessionEvent as a2, SynapsStepEvent as a3, typeToHumanReadable as a4, SynapsSessionRequest as a5, SESSION_NOT_FOUND as a6, UNKNOWN_ERROR as a7, RESULT_PARSER_ERROR as a8, SynapsSessionErrorResponse as a9, COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES as aA, ComplyAdvantageCountryFieldSources as aB, COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES as aC, ComplyAdvantageDateOfBirthFieldSources as aD, CreateSearchInput as aE, MatchStatuses as aF, MatchStatus as aG, RiskLevels as aH, RiskLevel as aI, UpdateSearchInput as aJ, UpdateSearchEntitiesInput as aK, ComplyAdvantageUser as aL, MatchTypeDetail as aM, ComplyAdvantageMedia as aN, ComplyAdvantageSearchDataResponseHit as aO, ComplyAdvantageSearchDataResponse as aP, ComplyAdvantageSearchSuccessResponse as aQ, ComplyAdvantageSearchErrorResponse as aR, ComplyAdvantageKeyInformation as aS, ComplyAdvantageAmlItemSource as aT, ComplyAdvantageAmlFullListing as aU, ComplyAdvantageSearchEntitiesDataResponse as aV, ComplyAdvantageSearchEntitiesSuccessResponse as aW, ComplyAdvantageSearchEntitiesResponse as aX, ComplyAdvantageSearchRequest as aY, ComplyAdvantageUpdateSearchRequest as aZ, ComplyAdvantageUpdateSearchEntitiesRequest as a_, SynapsSessionResponse as aa, SynapsStepRequest as ab, STEP_NOT_FOUND as ac, SynapsStepErrorResponse as ad, SynapsStepResponse as ae, CoerceDateUTC as af, SEARCH_FILTER_SANCTION_TYPE as ag, SearchFilterSanctionType as ah, SEARCH_FILTER_PEP_TYPE as ai, SearchFilterPepType as aj, SEARCH_FILTER_ADVERSE_MEDIA_TYPE as ak, SearchFilterAdverseMediaType as al, HIGH_RISK_TYPES as am, MEDIUM_RISK_TYPES as an, COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE as ao, ComplyAdvantageResponseMatchType as ap, mappingMatchTypeToLabel as aq, COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS as ar, ComplyAdvantageReponseMatchStatus as as, SEARCH_FILTER_TYPES as at, SearchFilterType as au, SearchEntityTypes as av, SearchEntityType as aw, SearchFilters as ax, COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES as ay, ComplyAdvantageNationalityFieldSources as az, AnalysisType as b, SUMSUB_REVIEW_STATUSES as b$, ComplyAdvantageUpdateSearchEntitiesResponse as b0, ComplyAdvantageMonitorSearchDataResponse as b1, ComplyAdvantageMonitorSearchSuccessResponse as b2, ComplyAdvantageMonitorSearchResponse as b3, ComplyAdvantageMonitoredSearchUpdate as b4, IdentityProviderOptions as b5, IdentityProviders as b6, DataProviderOptions as b7, DataProviders as b8, MerkleScienceConfig as b9, ToggleProviderInput as bA, DeleteProviderInput as bB, DeleteProviderResponse as bC, WEBHOOK_TYPES as bD, WebhookType as bE, ApplicantMemberOfSchema as bF, SumSubWebhookSchema as bG, BaseApplicantActionSchema as bH, SUMSUB_STEPS as bI, SumSubStep as bJ, SUMSUB_APPLICANT_TYPES as bK, SumSubApplicantType as bL, SUMSUB_REVIEW_ANSWERS as bM, SumSubReviewAnswer as bN, SUMSUB_REVIEW_REJECT_TYPES as bO, SumSubReviewRejectType as bP, SumSubAddress as bQ, SumSubApplicantInfo as bR, INDIVIDUAL_BENEFICIARY_RELATIONS as bS, IndividualBeneficiaryRelation as bT, BENEFICIARY_TYPES as bU, BeneficiaryType as bV, BeneficiaryCompanyCustomerClaims as bW, BeneficiaryCompanyCustomerClaimsArray as bX, SumSubCompanyApplicantInfo as bY, SUMSUB_WEBHOOK_INTERNAL_STATUS as bZ, SumsubWebhookInternalStatus as b_, ScorechainConfig as ba, WorkflowsScorechainConfig as bb, IpQualityConfig as bc, BigConfig as bd, ProviderIntegrationTypeOptions as be, ProviderIntegrationType as bf, BaseProvider as bg, NexeraIdSSIDProvider as bh, NexeraIdKYBProvider as bi, BigProvider as bj, ScorechainProvider as bk, MerkleScienceProvider as bl, IpqualityscoreProvider as bm, ComplyAdvantageProviderConfigTypes as bn, ComplyAdvantageProviderConfigFilters as bo, ComplyAdvantageProviderConfigElement as bp, ComplyAdvantageProvider as bq, SynapsProvider as br, ProviderData as bs, ProviderDataProject as bt, GetProvidersResponse as bu, GetProviderResponse as bv, CreateProviderInput as bw, CreateProviderResponse as bx, UpdateProviderInput as by, UpdateProviderResponse as bz, ObjectType as c, SelectKybSession as c$, SumSubReviewStatus as c0, SUMSUB_DOC_TYPES as c1, SumSubDocType as c2, SUMSUB_FLOW_LEVEL as c3, SumSubFlowLevel as c4, SumSubReviewResultSchema as c5, SumSubImageReviewResultSchema as c6, SumsubApplicantTypes as c7, SumsubApplicantType as c8, SumSubIndividualApplicantSchema as c9, KYC_STEP_TYPES as cA, KycStep as cB, KYC_RESULTS as cC, KycResult as cD, KYC_SESSION_STATUSES as cE, KycSessionStatus as cF, SelectKycSession as cG, SelectKycSessionStep as cH, GetKycSessionInput as cI, GetKycSessionResponse as cJ, UpdateKycSessionOutput as cK, VideoKycMetaData as cL, ProofOfResidenceMetaData as cM, ProofOfResidenceDocumentType as cN, GetCredentialsOutput as cO, CustomerContactInformationOutput as cP, CredentialMetadata as cQ, GetKycSessionResponseWithCredentialsMetadata as cR, KYB_STEP_TYPES as cS, KybStep as cT, KYB_RESULTS as cU, KybResult as cV, KYB_SESSION_STATUSES as cW, KybSessionStatus as cX, CompanyDocumentMetaData as cY, BeneficiaryVerificationStatus as cZ, BeneficiaryVerificationStatusArray as c_, SumSubCompanyApplicantSchema as ca, SumSubImageId as cb, SUMSUB_COMPANY_BENEFICIARY_GROUP as cc, SumsubCompanyBeneficiaryGroup as cd, SumsubStepStatus as ce, SumSubVerificationStepSchema as cf, SumSubApplicantVerificationStepSchema as cg, SumSubApplicantModerationStatusSchema as ch, SUMSUB_MEDIA_CONTENT_TYPES as ci, SumSubMediaContentType as cj, DocumentMetadataSchema as ck, SumSubApplicantReviewStatusSchema as cl, SumSubApplicantResetSchema as cm, SumSubGenerateExternalWebSdkLinkSchema as cn, SumsubVideoCallData as co, SumsubKycDataSchema as cp, SumsubKybDataSchema as cq, SumSubApplicantSchema as cr, SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS as cs, SumsubKybSessionFlowSectionStatus as ct, SumsubKybSessionFlowSectionItem as cu, SumsubKybSessionFlowSection as cv, SumSubSimilarApplicantsSchema as cw, SUMSUB_REVIEW_REJECT_LABELS as cx, SumSubReviewRejectLabel as cy, SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION as cz, BLOCKCHAIN_TYPES as d, GetKybSessionInput as d0, GetKybSessionResponse as d1, UpdateKybSessionOutput as d2, CustomerDocumentMetaData as d3, CustomerStatusResults as d4, MerkleBlockChainTypes as d5, MerkleBlockChainNames as d6, MerkleBlockChainCodes as d7, MerkleAddressRequest as d8, MerkleAddressApiResponse as d9, MerkleAddressApiError as da, ChainalysisRequest as db, EnhancedChainalysisRequest as dc, ChainalysisRegisterApiResponse as dd, ChainalysisRiskAssessmentApiResponse as de, ChainalysisApiError as df, ChainalysisRegisterResponse as dg, ChainalysisRiskAssessmentResponse as dh, ChainalysisResponse as di, Blockchain as e, Coin as f, ScorechainErrorResponse as g, ScorechainError as h, ScorechainAnalysis as i, ScoringAnalysisRequest as j, IpQualityAnalysisRequest as k, IpQualityAnalysisResponse as l, IpQualityServiceAnalysis as m, IpQualityServiceErrorResponse as n, BigCryptoChain as o, BigPropertiesLiteral as p, BigProperties as q, BigProperty as r, RequestProperty as s, BitRankRequest as t, BitRankVerified as u, BitRankVerifiedErrorResponse as v, BitRankVerifiedError as w, Statuses as x, Status$1 as y, WebhookPayload as z };
|
|
2331
|
+
export { EmailMetadata as $, ANALYSIS_TYPES as A, BitRankVerifiedResponse as B, ComplyAdvantageSearchResponse as C, Session as D, EmailVerificationAnalysisResponse as E, SessionWithoutSteps as F, StepTypes as G, StepType as H, IpQualityServiceAnalysisResponse as I, ReasonCodes as J, ReasonCode as K, File as L, MergedProviders as M, NestedSession as N, OBJECT_TYPES as O, PhoneVerificationAnalysisResponse as P, DocumentIdTypes as Q, RiskSeverity as R, ScoringAnalysisResponse as S, DocumentIdType as T, DocumentIdMetadata as U, ProofOfAddressDocumentTypes as V, WorkflowsScoringAnalysisRequest as W, ProofOfAddressDocumentType as X, ProofOfAddressMetadata as Y, LivenessMetadata as Z, PhoneMetadata as _, MerkleAddressResponse as a, ComplyAdvantageUpdateSearchEntitiesSuccessResponse as a$, AMLMetadata as a0, Step as a1, SynapsSessionEvent as a2, SynapsStepEvent as a3, typeToHumanReadable as a4, SynapsSessionRequest as a5, SESSION_NOT_FOUND as a6, UNKNOWN_ERROR as a7, RESULT_PARSER_ERROR as a8, SynapsSessionErrorResponse as a9, COMPLY_ADVANTAGE_COUNTRY_FIELD_SOURCES as aA, ComplyAdvantageCountryFieldSources as aB, COMPLY_ADVANTAGE_DATE_OF_BIRTH_FIELD_SOURCES as aC, ComplyAdvantageDateOfBirthFieldSources as aD, CreateSearchInput as aE, MatchStatuses as aF, MatchStatus as aG, RiskLevels as aH, RiskLevel as aI, UpdateSearchInput as aJ, UpdateSearchEntitiesInput as aK, ComplyAdvantageUser as aL, MatchTypeDetail as aM, ComplyAdvantageMedia as aN, ComplyAdvantageSearchDataResponseHit as aO, ComplyAdvantageSearchDataResponse as aP, ComplyAdvantageSearchSuccessResponse as aQ, ComplyAdvantageSearchErrorResponse as aR, ComplyAdvantageKeyInformation as aS, ComplyAdvantageAmlItemSource as aT, ComplyAdvantageAmlFullListing as aU, ComplyAdvantageSearchEntitiesDataResponse as aV, ComplyAdvantageSearchEntitiesSuccessResponse as aW, ComplyAdvantageSearchEntitiesResponse as aX, ComplyAdvantageSearchRequest as aY, ComplyAdvantageUpdateSearchRequest as aZ, ComplyAdvantageUpdateSearchEntitiesRequest as a_, SynapsSessionResponse as aa, SynapsStepRequest as ab, STEP_NOT_FOUND as ac, SynapsStepErrorResponse as ad, SynapsStepResponse as ae, CoerceDateUTC as af, SEARCH_FILTER_SANCTION_TYPE as ag, SearchFilterSanctionType as ah, SEARCH_FILTER_PEP_TYPE as ai, SearchFilterPepType as aj, SEARCH_FILTER_ADVERSE_MEDIA_TYPE as ak, SearchFilterAdverseMediaType as al, HIGH_RISK_TYPES as am, MEDIUM_RISK_TYPES as an, COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE as ao, ComplyAdvantageResponseMatchType as ap, mappingMatchTypeToLabel as aq, COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS as ar, ComplyAdvantageReponseMatchStatus as as, SEARCH_FILTER_TYPES as at, SearchFilterType as au, SearchEntityTypes as av, SearchEntityType as aw, SearchFilters as ax, COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES as ay, ComplyAdvantageNationalityFieldSources as az, AnalysisType as b, SumSubCompanyApplicantInfo as b$, ComplyAdvantageUpdateSearchEntitiesResponse as b0, ComplyAdvantageMonitorSearchDataResponse as b1, ComplyAdvantageMonitorSearchSuccessResponse as b2, ComplyAdvantageMonitorSearchResponse as b3, ComplyAdvantageMonitoredSearchUpdate as b4, ProviderWithoutConfig as b5, IdentityProviderOptions as b6, IdentityProviders as b7, DataProviderOptions as b8, DataProviders as b9, CreateProviderResponse as bA, UpdateProviderInput as bB, UpdateProviderResponse as bC, ToggleProviderInput as bD, DeleteProviderInput as bE, DeleteProviderResponse as bF, WEBHOOK_TYPES as bG, WebhookType as bH, ApplicantMemberOfSchema as bI, SumSubWebhookSchema as bJ, BaseApplicantActionSchema as bK, SUMSUB_STEPS as bL, SumSubStep as bM, SUMSUB_APPLICANT_TYPES as bN, SumSubApplicantType as bO, SUMSUB_REVIEW_ANSWERS as bP, SumSubReviewAnswer as bQ, SUMSUB_REVIEW_REJECT_TYPES as bR, SumSubReviewRejectType as bS, SumSubAddress as bT, SumSubApplicantInfo as bU, INDIVIDUAL_BENEFICIARY_RELATIONS as bV, IndividualBeneficiaryRelation as bW, BENEFICIARY_TYPES as bX, BeneficiaryType as bY, BeneficiaryCompanyCustomerClaims as bZ, BeneficiaryCompanyCustomerClaimsArray as b_, MerkleScienceConfig as ba, ChainalysisConfig as bb, ScorechainConfig as bc, WorkflowsScorechainConfig as bd, IpQualityConfig as be, BigConfig as bf, ProviderIntegrationTypeOptions as bg, ProviderIntegrationType as bh, BaseProvider as bi, NexeraIdSSIDProvider as bj, NexeraIdKYBProvider as bk, BigProvider as bl, ScorechainProvider as bm, MerkleScienceProvider as bn, ChainalysisProvider as bo, IpqualityscoreProvider as bp, ComplyAdvantageProviderConfigTypes as bq, ComplyAdvantageProviderConfigFilters as br, ComplyAdvantageProviderConfigElement as bs, ComplyAdvantageProvider as bt, SynapsProvider as bu, ProviderData as bv, ProviderDataProject as bw, GetProvidersResponse as bx, GetProviderResponse as by, CreateProviderInput as bz, ObjectType as c, CompanyDocumentMetaData as c$, SUMSUB_WEBHOOK_INTERNAL_STATUS as c0, SumsubWebhookInternalStatus as c1, SUMSUB_REVIEW_STATUSES as c2, SumSubReviewStatus as c3, SUMSUB_DOC_TYPES as c4, SumSubDocType as c5, SUMSUB_FLOW_LEVEL as c6, SumSubFlowLevel as c7, SumSubReviewResultSchema as c8, SumSubImageReviewResultSchema as c9, SUMSUB_REVIEW_REJECT_LABELS as cA, SumSubReviewRejectLabel as cB, SUMSUB_REVIEW_REJECT_LABELS_DESCRIPTION as cC, KYC_STEP_TYPES as cD, KycStep as cE, KYC_RESULTS as cF, KycResult as cG, KYC_SESSION_STATUSES as cH, KycSessionStatus as cI, SelectKycSession as cJ, SelectKycSessionStep as cK, GetKycSessionInput as cL, GetKycSessionResponse as cM, UpdateKycSessionOutput as cN, VideoKycMetaData as cO, ProofOfResidenceMetaData as cP, ProofOfResidenceDocumentType as cQ, GetCredentialsOutput as cR, CustomerContactInformationOutput as cS, CredentialMetadata as cT, GetKycSessionResponseWithCredentialsMetadata as cU, KYB_STEP_TYPES as cV, KybStep as cW, KYB_RESULTS as cX, KybResult as cY, KYB_SESSION_STATUSES as cZ, KybSessionStatus as c_, SumsubApplicantTypes as ca, SumsubApplicantType as cb, SumSubIndividualApplicantSchema as cc, SumSubCompanyApplicantSchema as cd, SumSubImageId as ce, SUMSUB_COMPANY_BENEFICIARY_GROUP as cf, SumsubCompanyBeneficiaryGroup as cg, SumsubStepStatus as ch, SumSubVerificationStepSchema as ci, SumSubApplicantVerificationStepSchema as cj, SumSubApplicantModerationStatusSchema as ck, SUMSUB_MEDIA_CONTENT_TYPES as cl, SumSubMediaContentType as cm, DocumentMetadataSchema as cn, SumSubApplicantReviewStatusSchema as co, SumSubApplicantResetSchema as cp, SumSubGenerateExternalWebSdkLinkSchema as cq, SumsubVideoCallData as cr, SumsubKycDataSchema as cs, SumsubKybDataSchema as ct, SumSubApplicantSchema as cu, SUMSUB_KYB_SESSION_FLOW_SECTION_STATUS as cv, SumsubKybSessionFlowSectionStatus as cw, SumsubKybSessionFlowSectionItem as cx, SumsubKybSessionFlowSection as cy, SumSubSimilarApplicantsSchema as cz, BLOCKCHAIN_TYPES as d, BeneficiaryVerificationStatus as d0, BeneficiaryVerificationStatusArray as d1, SelectKybSession as d2, GetKybSessionInput as d3, GetKybSessionResponse as d4, UpdateKybSessionOutput as d5, CustomerDocumentMetaData as d6, CustomerStatusResults as d7, MerkleBlockChainTypes as d8, MerkleBlockChainNames as d9, MerkleBlockChainCodes as da, MerkleAddressRequest as db, MerkleAddressApiResponse as dc, MerkleAddressApiError as dd, ChainalysisRequest as de, EnhancedChainalysisRequest as df, ChainalysisRegisterApiResponse as dg, ChainalysisRiskAssessmentApiResponse as dh, ChainalysisApiError as di, ChainalysisRegisterResponse as dj, ChainalysisRiskAssessmentResponse as dk, ChainalysisResponse as dl, Blockchain as e, Coin as f, ScorechainErrorResponse as g, ScorechainError as h, ScorechainAnalysis as i, ScoringAnalysisRequest as j, IpQualityAnalysisRequest as k, IpQualityAnalysisResponse as l, IpQualityServiceAnalysis as m, IpQualityServiceErrorResponse as n, BigCryptoChain as o, BigPropertiesLiteral as p, BigProperties as q, BigProperty as r, RequestProperty as s, BitRankRequest as t, BitRankVerified as u, BitRankVerifiedErrorResponse as v, BitRankVerifiedError as w, Statuses as x, Status$1 as y, WebhookPayload as z };
|
package/dist/{chainalysis.schema-34e4afef.cjs.dev.js → customers.schema-fbb55a96.cjs.dev.js}
RENAMED
|
@@ -1048,6 +1048,79 @@ var ComplyAdvantageMonitoredSearchUpdate = zod.z.object({
|
|
|
1048
1048
|
})
|
|
1049
1049
|
});
|
|
1050
1050
|
|
|
1051
|
+
var ChainalysisRequest = zod.z.object({
|
|
1052
|
+
address: zod.z.string()
|
|
1053
|
+
});
|
|
1054
|
+
var EnhancedChainalysisRequest = zod.z.object({
|
|
1055
|
+
request: ChainalysisRequest,
|
|
1056
|
+
customerId: identityApi_schema.UuidString
|
|
1057
|
+
});
|
|
1058
|
+
var ChainalysisRegisterApiResponse = zod.z.object({
|
|
1059
|
+
address: zod.z.string()
|
|
1060
|
+
});
|
|
1061
|
+
var Risk = zod.z["enum"](["Severe", "High", "Medium", "Low"]);
|
|
1062
|
+
var AddressType = zod.z["enum"](["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]);
|
|
1063
|
+
var ExposureType = zod.z["enum"](["direct", "indirect"]);
|
|
1064
|
+
var Direction = zod.z.literal("both_directions");
|
|
1065
|
+
var Status = zod.z.literal("COMPLETE");
|
|
1066
|
+
var Cluster = zod.z.object({
|
|
1067
|
+
name: zod.z.string(),
|
|
1068
|
+
category: zod.z.string()
|
|
1069
|
+
});
|
|
1070
|
+
var AddressIdentification = zod.z.object({
|
|
1071
|
+
name: zod.z.string(),
|
|
1072
|
+
address: zod.z.string(),
|
|
1073
|
+
category: zod.z.string(),
|
|
1074
|
+
description: zod.z.string(),
|
|
1075
|
+
url: zod.z.string().nullish(),
|
|
1076
|
+
createdAt: zod.z.number()
|
|
1077
|
+
});
|
|
1078
|
+
var Exposure = zod.z.object({
|
|
1079
|
+
category: zod.z.string(),
|
|
1080
|
+
value: zod.z.number(),
|
|
1081
|
+
exposureType: ExposureType,
|
|
1082
|
+
direction: Direction
|
|
1083
|
+
});
|
|
1084
|
+
var RuleTriggered = zod.z.object({
|
|
1085
|
+
risk: zod.z.string(),
|
|
1086
|
+
minThreshold: zod.z.number(),
|
|
1087
|
+
maxThreshold: zod.z.number(),
|
|
1088
|
+
exposureType: ExposureType,
|
|
1089
|
+
direction: Direction
|
|
1090
|
+
});
|
|
1091
|
+
var Trigger = zod.z.object({
|
|
1092
|
+
category: zod.z.string(),
|
|
1093
|
+
percentage: zod.z.number(),
|
|
1094
|
+
message: zod.z.string(),
|
|
1095
|
+
ruleTriggered: RuleTriggered.nullish()
|
|
1096
|
+
});
|
|
1097
|
+
var PoolMetadata = zod.z.object({
|
|
1098
|
+
fees: zod.z.number().nullish(),
|
|
1099
|
+
tokens: zod.z.array(zod.z.string())
|
|
1100
|
+
});
|
|
1101
|
+
var ChainalysisRiskAssessmentApiResponse = zod.z.object({
|
|
1102
|
+
address: zod.z.string(),
|
|
1103
|
+
risk: Risk,
|
|
1104
|
+
riskReason: zod.z.string().nullish(),
|
|
1105
|
+
cluster: Cluster.nullish(),
|
|
1106
|
+
addressType: AddressType,
|
|
1107
|
+
addressIdentifications: zod.z.array(AddressIdentification),
|
|
1108
|
+
exposures: zod.z.array(Exposure).nullish(),
|
|
1109
|
+
triggers: zod.z.array(Trigger).nullish(),
|
|
1110
|
+
status: Status,
|
|
1111
|
+
poolMetadata: PoolMetadata.nullish()
|
|
1112
|
+
});
|
|
1113
|
+
var ChainalysisApiError = zod.z.object({
|
|
1114
|
+
error: zod.z.object({
|
|
1115
|
+
error: zod.z.string(),
|
|
1116
|
+
message: zod.z.string(),
|
|
1117
|
+
data: zod.z.string().nullish()
|
|
1118
|
+
})
|
|
1119
|
+
});
|
|
1120
|
+
var ChainalysisRegisterResponse = zod.z.union([ChainalysisRegisterApiResponse, ChainalysisApiError]);
|
|
1121
|
+
var ChainalysisRiskAssessmentResponse = zod.z.union([ChainalysisRiskAssessmentApiResponse, ChainalysisApiError]);
|
|
1122
|
+
var ChainalysisResponse = zod.z.union([ChainalysisRegisterResponse, ChainalysisRiskAssessmentResponse]);
|
|
1123
|
+
|
|
1051
1124
|
/**
|
|
1052
1125
|
* Merkle Science defines it own blockchain list, thus this list.
|
|
1053
1126
|
* See https://docs.merklescience.com/reference/currencies
|
|
@@ -1257,14 +1330,18 @@ var MerkleAddressApiError = zod.z.object({
|
|
|
1257
1330
|
});
|
|
1258
1331
|
var MerkleAddressResponse = zod.z.union([MerkleAddressApiResponse, MerkleAddressApiError]);
|
|
1259
1332
|
|
|
1333
|
+
var ProviderWithoutConfig = ["chainalysis"];
|
|
1260
1334
|
var IdentityProviderOptions = ["nexeraIdSSID", "nexeraIdKYB", "synaps"];
|
|
1261
1335
|
var IdentityProviders = zod.z["enum"](IdentityProviderOptions);
|
|
1262
|
-
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1336
|
+
var DataProviderOptions = ["complyAdvantage", "big", "scorechain", "merkleScience", "chainalysis", "ipQualityScore", "integratedComplyAdvantage", "integratedScorechain", "integratedIpqualityscore"];
|
|
1263
1337
|
var DataProviders = zod.z["enum"](DataProviderOptions);
|
|
1264
1338
|
var MergedProviders = zod.z["enum"]([].concat(identityApi_schema._toConsumableArray(IdentityProviders.options), identityApi_schema._toConsumableArray(DataProviders.options)));
|
|
1265
1339
|
var MerkleScienceConfig = zod.z.object({
|
|
1266
1340
|
blockchain: MerkleBlockChainNames
|
|
1267
1341
|
});
|
|
1342
|
+
var ChainalysisConfig = ChainalysisRequest.omit({
|
|
1343
|
+
address: true
|
|
1344
|
+
});
|
|
1268
1345
|
var ScorechainConfig = ScoringAnalysisRequest.omit({
|
|
1269
1346
|
objectId: true // objectId is removed, because it is not stored in CMS but rather provided on the fly by the client
|
|
1270
1347
|
});
|
|
@@ -1327,6 +1404,14 @@ var MerkleScienceProvider = BaseProvider.extend({
|
|
|
1327
1404
|
config: MerkleScienceConfig.array().nullish()
|
|
1328
1405
|
}).nullish()
|
|
1329
1406
|
});
|
|
1407
|
+
var ChainalysisProvider = BaseProvider.extend({
|
|
1408
|
+
onRulesEngine: zod.z.object({
|
|
1409
|
+
enabled: zod.z["boolean"]().nullish()
|
|
1410
|
+
}).nullish(),
|
|
1411
|
+
onNewRecord: zod.z.object({
|
|
1412
|
+
enabled: zod.z["boolean"]().nullish()
|
|
1413
|
+
}).nullish()
|
|
1414
|
+
});
|
|
1330
1415
|
var IpqualityscoreProvider = BaseProvider.extend({
|
|
1331
1416
|
onRulesEngine: zod.z.object({
|
|
1332
1417
|
enabled: zod.z["boolean"]().nullish(),
|
|
@@ -1376,6 +1461,7 @@ var ProviderData = zod.z.object({
|
|
|
1376
1461
|
scorechain: ScorechainProvider.nullish(),
|
|
1377
1462
|
ipqualityscore: IpqualityscoreProvider.nullish(),
|
|
1378
1463
|
merkleScience: MerkleScienceProvider.nullish(),
|
|
1464
|
+
chainalysis: ChainalysisProvider.nullish(),
|
|
1379
1465
|
integratedComplyAdvantage: ComplyAdvantageProvider.nullish(),
|
|
1380
1466
|
integratedScorechain: ScorechainProvider.nullish(),
|
|
1381
1467
|
integratedIpqualityscore: IpqualityscoreProvider.nullish()
|
|
@@ -1402,6 +1488,7 @@ var CreateProviderResponse = ProviderData.omit({
|
|
|
1402
1488
|
big: true,
|
|
1403
1489
|
scorechain: true,
|
|
1404
1490
|
merkleScience: true,
|
|
1491
|
+
chainalysis: true,
|
|
1405
1492
|
nexeraIdSSID: true,
|
|
1406
1493
|
nexeraIdKYB: true,
|
|
1407
1494
|
ipqualityscore: true,
|
|
@@ -2243,79 +2330,6 @@ var UpdateKybSessionOutput = zod.z.string();
|
|
|
2243
2330
|
var CustomerDocumentMetaData = zod.z.union([CompanyDocumentMetaData, ProofOfResidenceMetaData, VideoKycMetaData]);
|
|
2244
2331
|
var CustomerStatusResults = zod.z.union([KybResult, KycResult]);
|
|
2245
2332
|
|
|
2246
|
-
var ChainalysisRequest = zod.z.object({
|
|
2247
|
-
address: zod.z.string()
|
|
2248
|
-
});
|
|
2249
|
-
var EnhancedChainalysisRequest = zod.z.object({
|
|
2250
|
-
request: ChainalysisRequest,
|
|
2251
|
-
customerId: identityApi_schema.UuidString
|
|
2252
|
-
});
|
|
2253
|
-
var ChainalysisRegisterApiResponse = zod.z.object({
|
|
2254
|
-
address: zod.z.string()
|
|
2255
|
-
});
|
|
2256
|
-
var Risk = zod.z["enum"](["Severe", "High", "Medium", "Low"]);
|
|
2257
|
-
var AddressType = zod.z["enum"](["PRIVATE_WALLET", "LIQUIDITY_POOL", "SERVICE_PROVIDER"]);
|
|
2258
|
-
var ExposureType = zod.z["enum"](["direct", "indirect"]);
|
|
2259
|
-
var Direction = zod.z.literal("both_directions");
|
|
2260
|
-
var Status = zod.z.literal("COMPLETE");
|
|
2261
|
-
var Cluster = zod.z.object({
|
|
2262
|
-
name: zod.z.string(),
|
|
2263
|
-
category: zod.z.string()
|
|
2264
|
-
});
|
|
2265
|
-
var AddressIdentification = zod.z.object({
|
|
2266
|
-
name: zod.z.string(),
|
|
2267
|
-
address: zod.z.string(),
|
|
2268
|
-
category: zod.z.string(),
|
|
2269
|
-
description: zod.z.string(),
|
|
2270
|
-
url: zod.z.string().nullish(),
|
|
2271
|
-
createdAt: zod.z.number()
|
|
2272
|
-
});
|
|
2273
|
-
var Exposure = zod.z.object({
|
|
2274
|
-
category: zod.z.string(),
|
|
2275
|
-
value: zod.z.number(),
|
|
2276
|
-
exposureType: ExposureType,
|
|
2277
|
-
direction: Direction
|
|
2278
|
-
});
|
|
2279
|
-
var RuleTriggered = zod.z.object({
|
|
2280
|
-
risk: zod.z.string(),
|
|
2281
|
-
minThreshold: zod.z.number(),
|
|
2282
|
-
maxThreshold: zod.z.number(),
|
|
2283
|
-
exposureType: ExposureType,
|
|
2284
|
-
direction: Direction
|
|
2285
|
-
});
|
|
2286
|
-
var Trigger = zod.z.object({
|
|
2287
|
-
category: zod.z.string(),
|
|
2288
|
-
percentage: zod.z.number(),
|
|
2289
|
-
message: zod.z.string(),
|
|
2290
|
-
ruleTriggered: RuleTriggered.nullish()
|
|
2291
|
-
});
|
|
2292
|
-
var PoolMetadata = zod.z.object({
|
|
2293
|
-
fees: zod.z.number().nullish(),
|
|
2294
|
-
tokens: zod.z.array(zod.z.string())
|
|
2295
|
-
});
|
|
2296
|
-
var ChainalysisRiskAssessmentApiResponse = zod.z.object({
|
|
2297
|
-
address: zod.z.string(),
|
|
2298
|
-
risk: Risk,
|
|
2299
|
-
riskReason: zod.z.string().nullish(),
|
|
2300
|
-
cluster: Cluster.nullish(),
|
|
2301
|
-
addressType: AddressType,
|
|
2302
|
-
addressIdentifications: zod.z.array(AddressIdentification),
|
|
2303
|
-
exposures: zod.z.array(Exposure).nullish(),
|
|
2304
|
-
triggers: zod.z.array(Trigger).nullish(),
|
|
2305
|
-
status: Status,
|
|
2306
|
-
poolMetadata: PoolMetadata.nullish()
|
|
2307
|
-
});
|
|
2308
|
-
var ChainalysisApiError = zod.z.object({
|
|
2309
|
-
error: zod.z.object({
|
|
2310
|
-
error: zod.z.string(),
|
|
2311
|
-
message: zod.z.string(),
|
|
2312
|
-
data: zod.z.string().nullish()
|
|
2313
|
-
})
|
|
2314
|
-
});
|
|
2315
|
-
var ChainalysisRegisterResponse = zod.z.union([ChainalysisRegisterApiResponse, ChainalysisApiError]);
|
|
2316
|
-
var ChainalysisRiskAssessmentResponse = zod.z.union([ChainalysisRiskAssessmentApiResponse, ChainalysisApiError]);
|
|
2317
|
-
var ChainalysisResponse = zod.z.union([ChainalysisRegisterResponse, ChainalysisRiskAssessmentResponse]);
|
|
2318
|
-
|
|
2319
2333
|
exports.AMLMetadata = AMLMetadata;
|
|
2320
2334
|
exports.ANALYSIS_TYPES = ANALYSIS_TYPES;
|
|
2321
2335
|
exports.AnalysisType = AnalysisType;
|
|
@@ -2347,6 +2361,8 @@ exports.COMPLY_ADVANTAGE_NATIONALITY_FIELD_SOURCES = COMPLY_ADVANTAGE_NATIONALIT
|
|
|
2347
2361
|
exports.COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS = COMPLY_ADVANTAGE_RESPONSE_MATCH_STATUS;
|
|
2348
2362
|
exports.COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE = COMPLY_ADVANTAGE_RESPONSE_MATCH_TYPE;
|
|
2349
2363
|
exports.ChainalysisApiError = ChainalysisApiError;
|
|
2364
|
+
exports.ChainalysisConfig = ChainalysisConfig;
|
|
2365
|
+
exports.ChainalysisProvider = ChainalysisProvider;
|
|
2350
2366
|
exports.ChainalysisRegisterApiResponse = ChainalysisRegisterApiResponse;
|
|
2351
2367
|
exports.ChainalysisRegisterResponse = ChainalysisRegisterResponse;
|
|
2352
2368
|
exports.ChainalysisRequest = ChainalysisRequest;
|
|
@@ -2469,6 +2485,7 @@ exports.ProviderData = ProviderData;
|
|
|
2469
2485
|
exports.ProviderDataProject = ProviderDataProject;
|
|
2470
2486
|
exports.ProviderIntegrationType = ProviderIntegrationType;
|
|
2471
2487
|
exports.ProviderIntegrationTypeOptions = ProviderIntegrationTypeOptions;
|
|
2488
|
+
exports.ProviderWithoutConfig = ProviderWithoutConfig;
|
|
2472
2489
|
exports.RESULT_PARSER_ERROR = RESULT_PARSER_ERROR;
|
|
2473
2490
|
exports.ReasonCode = ReasonCode;
|
|
2474
2491
|
exports.ReasonCodes = ReasonCodes;
|