@nexeraid/identity-schemas 2.98.0-dev → 2.100.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-f4085f83.cjs.dev.cjs → CoinMarketCap.schema-1f2b5ea7.cjs.dev.cjs} +1 -1
- package/dist/{CoinMarketCap.schema-f176b6e7.cjs.prod.cjs → CoinMarketCap.schema-deb194cc.cjs.prod.cjs} +1 -1
- package/dist/{CoinMarketCap.schema-6141ba93.esm.mjs → CoinMarketCap.schema-fa7abfc6.esm.mjs} +1 -1
- package/dist/declarations/src/identity/host-requests.schema.d.ts +10 -10
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +10 -10
- package/dist/declarations/src/identity/kyc.schema.d.ts +5 -5
- package/dist/declarations/src/identity/txAuthData.schema.d.ts +37 -9
- package/dist/declarations/src/identity/txAuthData.schema.d.ts.map +1 -1
- package/dist/declarations/src/providers/chainalysis/chainalysis.schema.d.ts +8 -8
- package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts +75 -19
- package/dist/declarations/src/webhooks/alert.webhooks.schema.d.ts.map +1 -1
- package/dist/declarations/src/webhooks/customer.webhooks.schema.d.ts +28 -28
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts +2394 -1062
- package/dist/declarations/src/webhooks/svix.webhooks.schema.d.ts.map +1 -1
- package/dist/{identity-api.schema-7f88a50d.esm.mjs → identity-api.schema-7892c69f.esm.mjs} +7 -5
- package/dist/{identity-api.schema-e36b538f.cjs.dev.cjs → identity-api.schema-97ca9ce3.cjs.dev.cjs} +8 -4
- package/dist/{identity-api.schema-11bbb3f3.cjs.prod.cjs → identity-api.schema-ca68abcb.cjs.prod.cjs} +8 -4
- package/dist/nexeraid-identity-schemas.cjs.dev.cjs +4 -2
- package/dist/nexeraid-identity-schemas.cjs.prod.cjs +4 -2
- package/dist/nexeraid-identity-schemas.esm.mjs +3 -3
- package/dist/package.json +1 -1
- package/dist/{tfhe-utilities-3f572e70.esm.mjs → tfhe-utilities-dc49c4b4.esm.mjs} +1 -1
- package/dist/{tfhe-utilities-0c6a2490.cjs.prod.cjs → tfhe-utilities-ec9cd3dc.cjs.prod.cjs} +1 -1
- package/dist/{tfhe-utilities-bf816d6c.cjs.dev.cjs → tfhe-utilities-f9e640f3.cjs.dev.cjs} +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.cjs +3 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.cjs +3 -1
- package/identity/dist/nexeraid-identity-schemas-identity.esm.mjs +1 -1
- package/package.json +1 -1
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.dev.cjs +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.cjs.prod.cjs +2 -2
- package/providers/dist/nexeraid-identity-schemas-providers.esm.mjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.cjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.cjs +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.mjs +2 -2
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.dev.cjs +20 -10
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.cjs.prod.cjs +20 -10
- package/webhooks/dist/nexeraid-identity-schemas-webhooks.esm.mjs +21 -12
package/dist/{CoinMarketCap.schema-f4085f83.cjs.dev.cjs → CoinMarketCap.schema-1f2b5ea7.cjs.dev.cjs}
RENAMED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
var vault_schema = require('./vault.schema-21a24278.cjs.dev.cjs');
|
|
5
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-97ca9ce3.cjs.dev.cjs');
|
|
6
6
|
|
|
7
7
|
var IpQualityAnalysisRequest = zod.z.object({
|
|
8
8
|
apiKey: zod.z.string().nullish(),
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var zod = require('zod');
|
|
4
4
|
var vault_schema = require('./vault.schema-cb19adc8.cjs.prod.cjs');
|
|
5
|
-
var identityApi_schema = require('./identity-api.schema-
|
|
5
|
+
var identityApi_schema = require('./identity-api.schema-ca68abcb.cjs.prod.cjs');
|
|
6
6
|
|
|
7
7
|
var IpQualityAnalysisRequest = zod.z.object({
|
|
8
8
|
apiKey: zod.z.string().nullish(),
|
package/dist/{CoinMarketCap.schema-6141ba93.esm.mjs → CoinMarketCap.schema-fa7abfc6.esm.mjs}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { b0 as Alpha2Country, aS as UuidString, ez as _toConsumableArray, eB as ScoringAnalysisRequest, eC as WorkflowsScoringAnalysisRequest, a_ as ISO3CountryCode, eD as _slicedToArray, ca as IdentityId, ar as BlockchainAddress, av as BlockchainNamespace, c6 as WorkflowSessionId, d2 as WorkspaceId, d1 as OrganizationId, bk as CustomerStatus, ey as _defineProperty, dp as ProofOfResidenceCredentialSubjectSchema, bl as BasicCustomerContactInformation, cU as VerificationMode } from './vault.schema-b3910f8d.esm.mjs';
|
|
3
|
-
import { _ as SdkVerificationOutput, aU as QrCodeLinkWithSchemaType,
|
|
3
|
+
import { _ as SdkVerificationOutput, aU as QrCodeLinkWithSchemaType, c4 as CredentialType } from './identity-api.schema-7892c69f.esm.mjs';
|
|
4
4
|
|
|
5
5
|
var IpQualityAnalysisRequest = z.object({
|
|
6
6
|
apiKey: z.string().nullish(),
|
|
@@ -1674,13 +1674,13 @@ export declare const GetTxAuthSigResponse: z.ZodObject<{
|
|
|
1674
1674
|
payload: string;
|
|
1675
1675
|
}>, z.ZodObject<{
|
|
1676
1676
|
isAuthorized: z.ZodLiteral<false>;
|
|
1677
|
-
errorMessage: z.
|
|
1677
|
+
errorMessage: z.ZodString;
|
|
1678
1678
|
}, "strip", z.ZodTypeAny, {
|
|
1679
1679
|
isAuthorized: false;
|
|
1680
|
-
errorMessage
|
|
1680
|
+
errorMessage: string;
|
|
1681
1681
|
}, {
|
|
1682
1682
|
isAuthorized: false;
|
|
1683
|
-
errorMessage
|
|
1683
|
+
errorMessage: string;
|
|
1684
1684
|
}>]>;
|
|
1685
1685
|
identifier: z.ZodString;
|
|
1686
1686
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1693,7 +1693,7 @@ export declare const GetTxAuthSigResponse: z.ZodObject<{
|
|
|
1693
1693
|
payload: string;
|
|
1694
1694
|
} | {
|
|
1695
1695
|
isAuthorized: false;
|
|
1696
|
-
errorMessage
|
|
1696
|
+
errorMessage: string;
|
|
1697
1697
|
};
|
|
1698
1698
|
}, {
|
|
1699
1699
|
type: "getTxAuthSigResponse";
|
|
@@ -1705,7 +1705,7 @@ export declare const GetTxAuthSigResponse: z.ZodObject<{
|
|
|
1705
1705
|
payload: string;
|
|
1706
1706
|
} | {
|
|
1707
1707
|
isAuthorized: false;
|
|
1708
|
-
errorMessage
|
|
1708
|
+
errorMessage: string;
|
|
1709
1709
|
};
|
|
1710
1710
|
}>;
|
|
1711
1711
|
export type GetTxAuthSigResponse = z.infer<typeof GetTxAuthSigResponse>;
|
|
@@ -2900,13 +2900,13 @@ export declare const IdentityResponseMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
2900
2900
|
payload: string;
|
|
2901
2901
|
}>, z.ZodObject<{
|
|
2902
2902
|
isAuthorized: z.ZodLiteral<false>;
|
|
2903
|
-
errorMessage: z.
|
|
2903
|
+
errorMessage: z.ZodString;
|
|
2904
2904
|
}, "strip", z.ZodTypeAny, {
|
|
2905
2905
|
isAuthorized: false;
|
|
2906
|
-
errorMessage
|
|
2906
|
+
errorMessage: string;
|
|
2907
2907
|
}, {
|
|
2908
2908
|
isAuthorized: false;
|
|
2909
|
-
errorMessage
|
|
2909
|
+
errorMessage: string;
|
|
2910
2910
|
}>]>;
|
|
2911
2911
|
identifier: z.ZodString;
|
|
2912
2912
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2919,7 +2919,7 @@ export declare const IdentityResponseMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
2919
2919
|
payload: string;
|
|
2920
2920
|
} | {
|
|
2921
2921
|
isAuthorized: false;
|
|
2922
|
-
errorMessage
|
|
2922
|
+
errorMessage: string;
|
|
2923
2923
|
};
|
|
2924
2924
|
}, {
|
|
2925
2925
|
type: "getTxAuthSigResponse";
|
|
@@ -2931,7 +2931,7 @@ export declare const IdentityResponseMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
2931
2931
|
payload: string;
|
|
2932
2932
|
} | {
|
|
2933
2933
|
isAuthorized: false;
|
|
2934
|
-
errorMessage
|
|
2934
|
+
errorMessage: string;
|
|
2935
2935
|
};
|
|
2936
2936
|
}>, z.ZodObject<{
|
|
2937
2937
|
type: z.ZodLiteral<"getTezosTxAuthSigResponse">;
|
|
@@ -1051,13 +1051,13 @@ export declare const TxAuthDataSignatureResponse: z.ZodObject<{
|
|
|
1051
1051
|
payload: string;
|
|
1052
1052
|
}>, z.ZodObject<{
|
|
1053
1053
|
isAuthorized: z.ZodLiteral<false>;
|
|
1054
|
-
errorMessage: z.
|
|
1054
|
+
errorMessage: z.ZodString;
|
|
1055
1055
|
}, "strip", z.ZodTypeAny, {
|
|
1056
1056
|
isAuthorized: false;
|
|
1057
|
-
errorMessage
|
|
1057
|
+
errorMessage: string;
|
|
1058
1058
|
}, {
|
|
1059
1059
|
isAuthorized: false;
|
|
1060
|
-
errorMessage
|
|
1060
|
+
errorMessage: string;
|
|
1061
1061
|
}>]>, z.ZodObject<{
|
|
1062
1062
|
namespace: z.ZodLiteral<"eip155">;
|
|
1063
1063
|
userAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
|
|
@@ -1107,7 +1107,7 @@ export declare const TxAuthDataSignatureResponse: z.ZodObject<{
|
|
|
1107
1107
|
payload: string;
|
|
1108
1108
|
} | {
|
|
1109
1109
|
isAuthorized: false;
|
|
1110
|
-
errorMessage
|
|
1110
|
+
errorMessage: string;
|
|
1111
1111
|
}) & {
|
|
1112
1112
|
namespace: "eip155";
|
|
1113
1113
|
userAddress: `0x${string}`;
|
|
@@ -1131,7 +1131,7 @@ export declare const TxAuthDataSignatureResponse: z.ZodObject<{
|
|
|
1131
1131
|
payload: string;
|
|
1132
1132
|
} | {
|
|
1133
1133
|
isAuthorized: false;
|
|
1134
|
-
errorMessage
|
|
1134
|
+
errorMessage: string;
|
|
1135
1135
|
}) & {
|
|
1136
1136
|
namespace: "eip155";
|
|
1137
1137
|
userAddress: string;
|
|
@@ -1318,13 +1318,13 @@ export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
1318
1318
|
payload: string;
|
|
1319
1319
|
}>, z.ZodObject<{
|
|
1320
1320
|
isAuthorized: z.ZodLiteral<false>;
|
|
1321
|
-
errorMessage: z.
|
|
1321
|
+
errorMessage: z.ZodString;
|
|
1322
1322
|
}, "strip", z.ZodTypeAny, {
|
|
1323
1323
|
isAuthorized: false;
|
|
1324
|
-
errorMessage
|
|
1324
|
+
errorMessage: string;
|
|
1325
1325
|
}, {
|
|
1326
1326
|
isAuthorized: false;
|
|
1327
|
-
errorMessage
|
|
1327
|
+
errorMessage: string;
|
|
1328
1328
|
}>]>, z.ZodObject<{
|
|
1329
1329
|
namespace: z.ZodLiteral<"eip155">;
|
|
1330
1330
|
userAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
|
|
@@ -1374,7 +1374,7 @@ export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
1374
1374
|
payload: string;
|
|
1375
1375
|
} | {
|
|
1376
1376
|
isAuthorized: false;
|
|
1377
|
-
errorMessage
|
|
1377
|
+
errorMessage: string;
|
|
1378
1378
|
}) & {
|
|
1379
1379
|
namespace: "eip155";
|
|
1380
1380
|
userAddress: `0x${string}`;
|
|
@@ -1398,7 +1398,7 @@ export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
1398
1398
|
payload: string;
|
|
1399
1399
|
} | {
|
|
1400
1400
|
isAuthorized: false;
|
|
1401
|
-
errorMessage
|
|
1401
|
+
errorMessage: string;
|
|
1402
1402
|
}) & {
|
|
1403
1403
|
namespace: "eip155";
|
|
1404
1404
|
userAddress: string;
|
|
@@ -2271,13 +2271,13 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2271
2271
|
payload: string;
|
|
2272
2272
|
}>, z.ZodObject<{
|
|
2273
2273
|
isAuthorized: z.ZodLiteral<false>;
|
|
2274
|
-
errorMessage: z.
|
|
2274
|
+
errorMessage: z.ZodString;
|
|
2275
2275
|
}, "strip", z.ZodTypeAny, {
|
|
2276
2276
|
isAuthorized: false;
|
|
2277
|
-
errorMessage
|
|
2277
|
+
errorMessage: string;
|
|
2278
2278
|
}, {
|
|
2279
2279
|
isAuthorized: false;
|
|
2280
|
-
errorMessage
|
|
2280
|
+
errorMessage: string;
|
|
2281
2281
|
}>]>;
|
|
2282
2282
|
identifier: z.ZodString;
|
|
2283
2283
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -2290,7 +2290,7 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2290
2290
|
payload: string;
|
|
2291
2291
|
} | {
|
|
2292
2292
|
isAuthorized: false;
|
|
2293
|
-
errorMessage
|
|
2293
|
+
errorMessage: string;
|
|
2294
2294
|
};
|
|
2295
2295
|
}, {
|
|
2296
2296
|
type: "getTxAuthSigResponse";
|
|
@@ -2302,7 +2302,7 @@ export declare const IdentityMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
2302
2302
|
payload: string;
|
|
2303
2303
|
} | {
|
|
2304
2304
|
isAuthorized: false;
|
|
2305
|
-
errorMessage
|
|
2305
|
+
errorMessage: string;
|
|
2306
2306
|
};
|
|
2307
2307
|
}>, z.ZodObject<{
|
|
2308
2308
|
type: z.ZodLiteral<"getTezosTxAuthSigResponse">;
|
|
@@ -76,6 +76,34 @@ export declare const TxSignatureResponse: z.ZodObject<{
|
|
|
76
76
|
blockExpiration: number;
|
|
77
77
|
}>;
|
|
78
78
|
export type TxSignatureResponse = z.infer<typeof TxSignatureResponse>;
|
|
79
|
+
export declare const GetTxAuthDataSignatureSuccessResponse: z.ZodObject<{
|
|
80
|
+
isAuthorized: z.ZodLiteral<true>;
|
|
81
|
+
signature: z.ZodEffects<z.ZodString, string, string>;
|
|
82
|
+
payload: z.ZodString;
|
|
83
|
+
blockExpiration: z.ZodNumber;
|
|
84
|
+
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
signature: string;
|
|
86
|
+
blockExpiration: number;
|
|
87
|
+
isAuthorized: true;
|
|
88
|
+
payload: string;
|
|
89
|
+
}, {
|
|
90
|
+
signature: string;
|
|
91
|
+
blockExpiration: number;
|
|
92
|
+
isAuthorized: true;
|
|
93
|
+
payload: string;
|
|
94
|
+
}>;
|
|
95
|
+
export type GetTxAuthDataSignatureSuccessResponse = z.infer<typeof GetTxAuthDataSignatureSuccessResponse>;
|
|
96
|
+
export declare const GetTxAuthDataSignatureFailureResponse: z.ZodObject<{
|
|
97
|
+
isAuthorized: z.ZodLiteral<false>;
|
|
98
|
+
errorMessage: z.ZodString;
|
|
99
|
+
}, "strip", z.ZodTypeAny, {
|
|
100
|
+
isAuthorized: false;
|
|
101
|
+
errorMessage: string;
|
|
102
|
+
}, {
|
|
103
|
+
isAuthorized: false;
|
|
104
|
+
errorMessage: string;
|
|
105
|
+
}>;
|
|
106
|
+
export type GetTxAuthDataSignatureFailureResponse = z.infer<typeof GetTxAuthDataSignatureFailureResponse>;
|
|
79
107
|
export declare const GetTxAuthDataSignatureResponse: z.ZodUnion<[z.ZodObject<{
|
|
80
108
|
isAuthorized: z.ZodLiteral<true>;
|
|
81
109
|
signature: z.ZodEffects<z.ZodString, string, string>;
|
|
@@ -93,13 +121,13 @@ export declare const GetTxAuthDataSignatureResponse: z.ZodUnion<[z.ZodObject<{
|
|
|
93
121
|
payload: string;
|
|
94
122
|
}>, z.ZodObject<{
|
|
95
123
|
isAuthorized: z.ZodLiteral<false>;
|
|
96
|
-
errorMessage: z.
|
|
124
|
+
errorMessage: z.ZodString;
|
|
97
125
|
}, "strip", z.ZodTypeAny, {
|
|
98
126
|
isAuthorized: false;
|
|
99
|
-
errorMessage
|
|
127
|
+
errorMessage: string;
|
|
100
128
|
}, {
|
|
101
129
|
isAuthorized: false;
|
|
102
|
-
errorMessage
|
|
130
|
+
errorMessage: string;
|
|
103
131
|
}>]>;
|
|
104
132
|
export type GetTxAuthDataSignatureResponse = z.infer<typeof GetTxAuthDataSignatureResponse>;
|
|
105
133
|
export declare const TezosTxAuthInput: z.ZodObject<{
|
|
@@ -292,13 +320,13 @@ export declare const ExtendedTxAuthDataSignatureResponse: z.ZodIntersection<z.Zo
|
|
|
292
320
|
payload: string;
|
|
293
321
|
}>, z.ZodObject<{
|
|
294
322
|
isAuthorized: z.ZodLiteral<false>;
|
|
295
|
-
errorMessage: z.
|
|
323
|
+
errorMessage: z.ZodString;
|
|
296
324
|
}, "strip", z.ZodTypeAny, {
|
|
297
325
|
isAuthorized: false;
|
|
298
|
-
errorMessage
|
|
326
|
+
errorMessage: string;
|
|
299
327
|
}, {
|
|
300
328
|
isAuthorized: false;
|
|
301
|
-
errorMessage
|
|
329
|
+
errorMessage: string;
|
|
302
330
|
}>]>, z.ZodObject<{
|
|
303
331
|
namespace: z.ZodLiteral<"eip155">;
|
|
304
332
|
userAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
|
|
@@ -359,13 +387,13 @@ export declare const AnyTxAuthDataSignatureResponse: z.ZodUnion<[z.ZodIntersecti
|
|
|
359
387
|
payload: string;
|
|
360
388
|
}>, z.ZodObject<{
|
|
361
389
|
isAuthorized: z.ZodLiteral<false>;
|
|
362
|
-
errorMessage: z.
|
|
390
|
+
errorMessage: z.ZodString;
|
|
363
391
|
}, "strip", z.ZodTypeAny, {
|
|
364
392
|
isAuthorized: false;
|
|
365
|
-
errorMessage
|
|
393
|
+
errorMessage: string;
|
|
366
394
|
}, {
|
|
367
395
|
isAuthorized: false;
|
|
368
|
-
errorMessage
|
|
396
|
+
errorMessage: string;
|
|
369
397
|
}>]>, z.ZodObject<{
|
|
370
398
|
namespace: z.ZodLiteral<"eip155">;
|
|
371
399
|
userAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"txAuthData.schema.d.ts","sourceRoot":"../../../../src/identity","sources":["txAuthData.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAEzB,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAC;AAE5D,eAAO,MAAM,mBAAmB;;;;;;;;;EAG9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"txAuthData.schema.d.ts","sourceRoot":"../../../../src/identity","sources":["txAuthData.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAmBxB,eAAO,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAUtB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,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,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAE1E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAG9B,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -99,8 +99,8 @@ export declare const ChainalysisRiskAssessmentApiResponse: z.ZodObject<{
|
|
|
99
99
|
}>>>;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
101
|
message: string;
|
|
102
|
-
category: string;
|
|
103
102
|
percentage: number;
|
|
103
|
+
category: string;
|
|
104
104
|
ruleTriggered?: {
|
|
105
105
|
direction: "both_directions";
|
|
106
106
|
exposureType: "direct" | "indirect";
|
|
@@ -110,8 +110,8 @@ export declare const ChainalysisRiskAssessmentApiResponse: z.ZodObject<{
|
|
|
110
110
|
} | null | undefined;
|
|
111
111
|
}, {
|
|
112
112
|
message: string;
|
|
113
|
-
category: string;
|
|
114
113
|
percentage: number;
|
|
114
|
+
category: string;
|
|
115
115
|
ruleTriggered?: {
|
|
116
116
|
direction: "both_directions";
|
|
117
117
|
exposureType: "direct" | "indirect";
|
|
@@ -157,8 +157,8 @@ export declare const ChainalysisRiskAssessmentApiResponse: z.ZodObject<{
|
|
|
157
157
|
}[] | null | undefined;
|
|
158
158
|
triggers?: {
|
|
159
159
|
message: string;
|
|
160
|
-
category: string;
|
|
161
160
|
percentage: number;
|
|
161
|
+
category: string;
|
|
162
162
|
ruleTriggered?: {
|
|
163
163
|
direction: "both_directions";
|
|
164
164
|
exposureType: "direct" | "indirect";
|
|
@@ -197,8 +197,8 @@ export declare const ChainalysisRiskAssessmentApiResponse: z.ZodObject<{
|
|
|
197
197
|
}[] | null | undefined;
|
|
198
198
|
triggers?: {
|
|
199
199
|
message: string;
|
|
200
|
-
category: string;
|
|
201
200
|
percentage: number;
|
|
201
|
+
category: string;
|
|
202
202
|
ruleTriggered?: {
|
|
203
203
|
direction: "both_directions";
|
|
204
204
|
exposureType: "direct" | "indirect";
|
|
@@ -362,8 +362,8 @@ export declare const ChainalysisRiskAssessmentResponse: z.ZodUnion<[z.ZodObject<
|
|
|
362
362
|
}>>>;
|
|
363
363
|
}, "strip", z.ZodTypeAny, {
|
|
364
364
|
message: string;
|
|
365
|
-
category: string;
|
|
366
365
|
percentage: number;
|
|
366
|
+
category: string;
|
|
367
367
|
ruleTriggered?: {
|
|
368
368
|
direction: "both_directions";
|
|
369
369
|
exposureType: "direct" | "indirect";
|
|
@@ -373,8 +373,8 @@ export declare const ChainalysisRiskAssessmentResponse: z.ZodUnion<[z.ZodObject<
|
|
|
373
373
|
} | null | undefined;
|
|
374
374
|
}, {
|
|
375
375
|
message: string;
|
|
376
|
-
category: string;
|
|
377
376
|
percentage: number;
|
|
377
|
+
category: string;
|
|
378
378
|
ruleTriggered?: {
|
|
379
379
|
direction: "both_directions";
|
|
380
380
|
exposureType: "direct" | "indirect";
|
|
@@ -420,8 +420,8 @@ export declare const ChainalysisRiskAssessmentResponse: z.ZodUnion<[z.ZodObject<
|
|
|
420
420
|
}[] | null | undefined;
|
|
421
421
|
triggers?: {
|
|
422
422
|
message: string;
|
|
423
|
-
category: string;
|
|
424
423
|
percentage: number;
|
|
424
|
+
category: string;
|
|
425
425
|
ruleTriggered?: {
|
|
426
426
|
direction: "both_directions";
|
|
427
427
|
exposureType: "direct" | "indirect";
|
|
@@ -460,8 +460,8 @@ export declare const ChainalysisRiskAssessmentResponse: z.ZodUnion<[z.ZodObject<
|
|
|
460
460
|
}[] | null | undefined;
|
|
461
461
|
triggers?: {
|
|
462
462
|
message: string;
|
|
463
|
-
category: string;
|
|
464
463
|
percentage: number;
|
|
464
|
+
category: string;
|
|
465
465
|
ruleTriggered?: {
|
|
466
466
|
direction: "both_directions";
|
|
467
467
|
exposureType: "direct" | "indirect";
|
|
@@ -1,43 +1,99 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const WebhookTagOutputData: z.ZodObject<{
|
|
3
|
+
id: z.ZodString;
|
|
4
|
+
title: z.ZodString;
|
|
5
|
+
type: z.ZodString;
|
|
6
|
+
createdAt: z.ZodDate;
|
|
7
|
+
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
id: string;
|
|
10
|
+
type: string;
|
|
11
|
+
title: string;
|
|
12
|
+
createdAt: Date;
|
|
13
|
+
updatedAt: Date | null;
|
|
14
|
+
}, {
|
|
15
|
+
id: string;
|
|
16
|
+
type: string;
|
|
17
|
+
title: string;
|
|
18
|
+
createdAt: Date;
|
|
19
|
+
updatedAt: Date | null;
|
|
20
|
+
}>;
|
|
21
|
+
export type WebhookTagOutputData = z.infer<typeof WebhookTagOutputData>;
|
|
2
22
|
export declare const AlertWebhookPayload: z.ZodObject<{
|
|
3
23
|
id: z.ZodString;
|
|
4
24
|
severity: z.ZodEnum<["Low", "Medium", "High"]>;
|
|
5
|
-
category: z.ZodEnum<["Onboarding", "Ongoing monitoring"]>;
|
|
6
|
-
type: z.ZodEnum<["AML Screening", "IP Screening", "Email Screening", "KYC Drop-off", "Onchain Monitoring", "Fraud", "Transaction Monitoring", "Duplicate", "Individual Monitoring"]>;
|
|
7
25
|
status: z.ZodEnum<["Open", "Under Investigation", "Pending", "Closed", "Escalated"]>;
|
|
8
|
-
customerId: z.ZodString;
|
|
9
26
|
externalCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10
|
-
|
|
27
|
+
customerId: z.ZodString;
|
|
28
|
+
scenarioAlertCount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
29
|
+
workflowName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
30
|
+
workflowId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31
|
+
reason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11
32
|
createdAt: z.ZodDate;
|
|
12
|
-
updatedAt: z.ZodDate
|
|
13
|
-
|
|
14
|
-
|
|
33
|
+
updatedAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
34
|
+
createdBy: z.ZodString;
|
|
35
|
+
updatedBy: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36
|
+
tags: z.ZodArray<z.ZodObject<{
|
|
37
|
+
id: z.ZodString;
|
|
38
|
+
title: z.ZodString;
|
|
39
|
+
type: z.ZodString;
|
|
40
|
+
createdAt: z.ZodDate;
|
|
41
|
+
updatedAt: z.ZodNullable<z.ZodDate>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
id: string;
|
|
44
|
+
type: string;
|
|
45
|
+
title: string;
|
|
46
|
+
createdAt: Date;
|
|
47
|
+
updatedAt: Date | null;
|
|
48
|
+
}, {
|
|
49
|
+
id: string;
|
|
50
|
+
type: string;
|
|
51
|
+
title: string;
|
|
52
|
+
createdAt: Date;
|
|
53
|
+
updatedAt: Date | null;
|
|
54
|
+
}>, "many">;
|
|
15
55
|
}, "strip", z.ZodTypeAny, {
|
|
16
56
|
id: string;
|
|
17
|
-
type: "AML Screening" | "IP Screening" | "Email Screening" | "KYC Drop-off" | "Onchain Monitoring" | "Fraud" | "Transaction Monitoring" | "Duplicate" | "Individual Monitoring";
|
|
18
57
|
status: "Escalated" | "Pending" | "Open" | "Under Investigation" | "Closed";
|
|
19
58
|
createdAt: Date;
|
|
20
|
-
updatedAt: Date;
|
|
21
59
|
customerId: string;
|
|
60
|
+
tags: {
|
|
61
|
+
id: string;
|
|
62
|
+
type: string;
|
|
63
|
+
title: string;
|
|
64
|
+
createdAt: Date;
|
|
65
|
+
updatedAt: Date | null;
|
|
66
|
+
}[];
|
|
22
67
|
severity: "Low" | "Medium" | "High";
|
|
23
|
-
|
|
68
|
+
createdBy: string;
|
|
69
|
+
updatedAt?: Date | null | undefined;
|
|
70
|
+
workflowId?: string | null | undefined;
|
|
24
71
|
externalCustomerId?: string | null | undefined;
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
72
|
+
workflowName?: string | null | undefined;
|
|
73
|
+
reason?: string | null | undefined;
|
|
74
|
+
scenarioAlertCount?: number | null | undefined;
|
|
75
|
+
updatedBy?: string | null | undefined;
|
|
28
76
|
}, {
|
|
29
77
|
id: string;
|
|
30
|
-
type: "AML Screening" | "IP Screening" | "Email Screening" | "KYC Drop-off" | "Onchain Monitoring" | "Fraud" | "Transaction Monitoring" | "Duplicate" | "Individual Monitoring";
|
|
31
78
|
status: "Escalated" | "Pending" | "Open" | "Under Investigation" | "Closed";
|
|
32
79
|
createdAt: Date;
|
|
33
|
-
updatedAt: Date;
|
|
34
80
|
customerId: string;
|
|
81
|
+
tags: {
|
|
82
|
+
id: string;
|
|
83
|
+
type: string;
|
|
84
|
+
title: string;
|
|
85
|
+
createdAt: Date;
|
|
86
|
+
updatedAt: Date | null;
|
|
87
|
+
}[];
|
|
35
88
|
severity: "Low" | "Medium" | "High";
|
|
36
|
-
|
|
89
|
+
createdBy: string;
|
|
90
|
+
updatedAt?: Date | null | undefined;
|
|
91
|
+
workflowId?: string | null | undefined;
|
|
37
92
|
externalCustomerId?: string | null | undefined;
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
93
|
+
workflowName?: string | null | undefined;
|
|
94
|
+
reason?: string | null | undefined;
|
|
95
|
+
scenarioAlertCount?: number | null | undefined;
|
|
96
|
+
updatedBy?: string | null | undefined;
|
|
41
97
|
}>;
|
|
42
98
|
export type AlertWebhookPayload = z.infer<typeof AlertWebhookPayload>;
|
|
43
99
|
//# sourceMappingURL=alert.webhooks.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"alert.webhooks.schema.d.ts","sourceRoot":"../../../../src/webhooks","sources":["alert.webhooks.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"alert.webhooks.schema.d.ts","sourceRoot":"../../../../src/webhooks","sources":["alert.webhooks.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAMxB,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;EAM/B,CAAC;AACH,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAe9B,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|