@nexeraid/identity-schemas 1.12.18-dev → 1.12.20-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/declarations/src/identity/identity-v2.schema.d.ts +183 -1422
- package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
- package/dist/declarations/src/nexeraSSID.schema.d.ts +38 -160
- package/dist/declarations/src/nexeraSSID.schema.d.ts.map +1 -1
- package/dist/{frontend-utilities.schema-89d25d69.esm.js → frontend-utilities.schema-529049f7.esm.js} +1 -1
- package/dist/{frontend-utilities.schema-caaeef3b.cjs.prod.js → frontend-utilities.schema-abfeae8c.cjs.prod.js} +1 -1
- package/dist/{frontend-utilities.schema-50fdec6e.cjs.dev.js → frontend-utilities.schema-d6e21fa5.cjs.dev.js} +1 -1
- package/dist/{identity-api.schema-a34ad87c.esm.js → identity-api.schema-25e04205.esm.js} +22 -25
- package/dist/{identity-api.schema-9db90005.cjs.dev.js → identity-api.schema-4615eb5b.cjs.dev.js} +22 -27
- package/dist/{identity-api.schema-582be049.cjs.prod.js → identity-api.schema-bf6bbbf4.cjs.prod.js} +22 -27
- package/dist/nexeraid-identity-schemas.cjs.dev.js +3 -5
- package/dist/nexeraid-identity-schemas.cjs.prod.js +3 -5
- package/dist/nexeraid-identity-schemas.esm.js +3 -3
- package/dist/package.json +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +1 -4
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +1 -4
- package/identity/dist/nexeraid-identity-schemas-identity.esm.js +1 -1
- package/package.json +1 -1
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2 -2
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"identity-v2.schema.d.ts","sourceRoot":"../../../../src/identity","sources":["identity-v2.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"identity-v2.schema.d.ts","sourceRoot":"../../../../src/identity","sources":["identity-v2.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,gCAA6B;AACpD,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EAEpB,4BAAyB;AAE1B,OAAO,EACL,mCAAmC,EACnC,kBAAkB,EAClB,UAAU,EACX,gCAA6B;AAc9B;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,0CAA0C;IAC1C,OAAO,EAAE,iBAAiB,CAAC;IAC3B,+BAA+B;IAC/B,SAAS,EAAE,mBAAmB,CAAC;IAC/B,+EAA+E;IAC/E,YAAY,CAAC,EAAE,YAAY,CAAC;IAC5B,gCAAgC;IAChC,MAAM,EAAE,MAAM,CAAC;IACf,kDAAkD;IAClD,UAAU,EAAE,UAAU,CAAC;IACvB,wFAAwF;IACxF,kBAAkB,CAAC,EAAE,kBAAkB,CAAC;IACxC,iEAAiE;IACjE,qBAAqB,CAAC,EAAE,mCAAmC,CAAC;CAC7D,CAAC;AACF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;EAQjC,CAAC;AAEH,eAAO,MAAM,WAAW;;;;;;EAMtB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,WAAW,CAAC,CAAC;AAEtD,eAAO,MAAM,iBAAiB;;;;;;EAE5B,CAAC;AAEH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAsBlE,eAAO,MAAM,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;EAM7B,CAAC;AACH,MAAM,MAAM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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyJlD,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { BlockchainAddress, BlockchainNamespace } from "./config.schema.js";
|
|
2
3
|
export declare const FLOW_TYPES: readonly ["web2", "web3"];
|
|
3
4
|
export declare const FlowType: z.ZodEnum<["web2", "web3"]>;
|
|
4
5
|
export declare const VerificationModes: readonly ["full_verification", "sandbox"];
|
|
@@ -11,35 +12,23 @@ export declare const IdentityDocumentOptionsType: z.ZodEnum<["PASSPORT", "ID_CAR
|
|
|
11
12
|
export declare const PERSONAL_INFORMATION_FIELDS: readonly ["EMAIL", "PHONE", "TWITTER", "DISCORD", "TELEGRAM"];
|
|
12
13
|
export declare const PersonalInformationFieldsIdentityDocuments: z.ZodEnum<["EMAIL", "PHONE", "TWITTER", "DISCORD", "TELEGRAM"]>;
|
|
13
14
|
export declare const Identifier: z.ZodUnion<[z.ZodLiteral<"verification">, z.ZodLiteral<"management">]>;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
}, {
|
|
24
|
-
address: string;
|
|
25
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
26
|
-
}>>;
|
|
27
|
-
}, "strip", z.ZodTypeAny, {
|
|
28
|
-
email?: string | undefined;
|
|
29
|
-
wallet?: {
|
|
30
|
-
address: string;
|
|
31
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
32
|
-
} | undefined;
|
|
33
|
-
phone?: string | undefined;
|
|
34
|
-
}, {
|
|
35
|
-
email?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* Represents the additional data that can be attached to a customer
|
|
17
|
+
*/
|
|
18
|
+
export type AdditionalCustomerInformationParams = {
|
|
19
|
+
/** The email of the customer */
|
|
20
|
+
email?: string;
|
|
21
|
+
/** The phone number of the customer */
|
|
22
|
+
phone?: string;
|
|
23
|
+
/** The wallet of the customer */
|
|
36
24
|
wallet?: {
|
|
37
|
-
address
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
25
|
+
/** The address of the wallet */
|
|
26
|
+
address: BlockchainAddress;
|
|
27
|
+
/** The namespace of the wallet */
|
|
28
|
+
namespace: BlockchainNamespace;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
31
|
+
export declare const AdditionalCustomerInformationParams: z.ZodType<AdditionalCustomerInformationParams>;
|
|
43
32
|
export declare const IdentityWidgetAccessToken: z.ZodObject<{
|
|
44
33
|
sub: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>;
|
|
45
34
|
blockchainNamespace: z.ZodEnum<["tezos", "eip155", "aptos", "polkadot", "starknet", "cosmos", "solana", "cardano"]>;
|
|
@@ -155,34 +144,7 @@ export declare const IdentityAppV2Web2JWT: z.ZodObject<z.objectUtil.extendShape<
|
|
|
155
144
|
* @deprecated Fetch the additional user information from the services instead of relying on this field
|
|
156
145
|
* We only have this field in web2 mode because most of the services are relying on the blockchain address to be present in the JWT
|
|
157
146
|
*/
|
|
158
|
-
deprecated_additionalUserInformation: z.ZodOptional<z.
|
|
159
|
-
email: z.ZodOptional<z.ZodString>;
|
|
160
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
161
|
-
wallet: z.ZodOptional<z.ZodObject<{
|
|
162
|
-
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>;
|
|
163
|
-
namespace: z.ZodEnum<["tezos", "eip155", "aptos", "polkadot", "starknet", "cosmos", "solana", "cardano"]>;
|
|
164
|
-
}, "strip", z.ZodTypeAny, {
|
|
165
|
-
address: string;
|
|
166
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
167
|
-
}, {
|
|
168
|
-
address: string;
|
|
169
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
170
|
-
}>>;
|
|
171
|
-
}, "strip", z.ZodTypeAny, {
|
|
172
|
-
email?: string | undefined;
|
|
173
|
-
wallet?: {
|
|
174
|
-
address: string;
|
|
175
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
176
|
-
} | undefined;
|
|
177
|
-
phone?: string | undefined;
|
|
178
|
-
}, {
|
|
179
|
-
email?: string | undefined;
|
|
180
|
-
wallet?: {
|
|
181
|
-
address: string;
|
|
182
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
183
|
-
} | undefined;
|
|
184
|
-
phone?: string | undefined;
|
|
185
|
-
}>>;
|
|
147
|
+
deprecated_additionalUserInformation: z.ZodOptional<z.ZodType<AdditionalCustomerInformationParams, z.ZodTypeDef, AdditionalCustomerInformationParams>>;
|
|
186
148
|
}>, "strip", z.ZodTypeAny, {
|
|
187
149
|
sub: `identity_${string}`;
|
|
188
150
|
exp: number;
|
|
@@ -196,14 +158,7 @@ export declare const IdentityAppV2Web2JWT: z.ZodObject<z.objectUtil.extendShape<
|
|
|
196
158
|
flowType: "web2";
|
|
197
159
|
iat: number;
|
|
198
160
|
ipAddress?: string | undefined;
|
|
199
|
-
deprecated_additionalUserInformation?:
|
|
200
|
-
email?: string | undefined;
|
|
201
|
-
wallet?: {
|
|
202
|
-
address: string;
|
|
203
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
204
|
-
} | undefined;
|
|
205
|
-
phone?: string | undefined;
|
|
206
|
-
} | undefined;
|
|
161
|
+
deprecated_additionalUserInformation?: AdditionalCustomerInformationParams | undefined;
|
|
207
162
|
}, {
|
|
208
163
|
sub: `identity_${string}`;
|
|
209
164
|
exp: number;
|
|
@@ -217,14 +172,7 @@ export declare const IdentityAppV2Web2JWT: z.ZodObject<z.objectUtil.extendShape<
|
|
|
217
172
|
flowType: "web2";
|
|
218
173
|
iat: number;
|
|
219
174
|
ipAddress?: string | undefined;
|
|
220
|
-
deprecated_additionalUserInformation?:
|
|
221
|
-
email?: string | undefined;
|
|
222
|
-
wallet?: {
|
|
223
|
-
address: string;
|
|
224
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
225
|
-
} | undefined;
|
|
226
|
-
phone?: string | undefined;
|
|
227
|
-
} | undefined;
|
|
175
|
+
deprecated_additionalUserInformation?: AdditionalCustomerInformationParams | undefined;
|
|
228
176
|
}>;
|
|
229
177
|
export type IdentityAppV2Web3JWT = z.infer<typeof IdentityAppV2Web3JWT>;
|
|
230
178
|
export type IdentityAppV2Web2JWT = z.infer<typeof IdentityAppV2Web2JWT>;
|
|
@@ -294,34 +242,7 @@ export declare const IdentityWidgetAccessToken_NEW: z.ZodUnion<[z.ZodObject<z.ob
|
|
|
294
242
|
* @deprecated Fetch the additional user information from the services instead of relying on this field
|
|
295
243
|
* We only have this field in web2 mode because most of the services are relying on the blockchain address to be present in the JWT
|
|
296
244
|
*/
|
|
297
|
-
deprecated_additionalUserInformation: z.ZodOptional<z.
|
|
298
|
-
email: z.ZodOptional<z.ZodString>;
|
|
299
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
300
|
-
wallet: z.ZodOptional<z.ZodObject<{
|
|
301
|
-
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>;
|
|
302
|
-
namespace: z.ZodEnum<["tezos", "eip155", "aptos", "polkadot", "starknet", "cosmos", "solana", "cardano"]>;
|
|
303
|
-
}, "strip", z.ZodTypeAny, {
|
|
304
|
-
address: string;
|
|
305
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
306
|
-
}, {
|
|
307
|
-
address: string;
|
|
308
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
309
|
-
}>>;
|
|
310
|
-
}, "strip", z.ZodTypeAny, {
|
|
311
|
-
email?: string | undefined;
|
|
312
|
-
wallet?: {
|
|
313
|
-
address: string;
|
|
314
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
315
|
-
} | undefined;
|
|
316
|
-
phone?: string | undefined;
|
|
317
|
-
}, {
|
|
318
|
-
email?: string | undefined;
|
|
319
|
-
wallet?: {
|
|
320
|
-
address: string;
|
|
321
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
322
|
-
} | undefined;
|
|
323
|
-
phone?: string | undefined;
|
|
324
|
-
}>>;
|
|
245
|
+
deprecated_additionalUserInformation: z.ZodOptional<z.ZodType<AdditionalCustomerInformationParams, z.ZodTypeDef, AdditionalCustomerInformationParams>>;
|
|
325
246
|
}>, "strip", z.ZodTypeAny, {
|
|
326
247
|
sub: `identity_${string}`;
|
|
327
248
|
exp: number;
|
|
@@ -335,14 +256,7 @@ export declare const IdentityWidgetAccessToken_NEW: z.ZodUnion<[z.ZodObject<z.ob
|
|
|
335
256
|
flowType: "web2";
|
|
336
257
|
iat: number;
|
|
337
258
|
ipAddress?: string | undefined;
|
|
338
|
-
deprecated_additionalUserInformation?:
|
|
339
|
-
email?: string | undefined;
|
|
340
|
-
wallet?: {
|
|
341
|
-
address: string;
|
|
342
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
343
|
-
} | undefined;
|
|
344
|
-
phone?: string | undefined;
|
|
345
|
-
} | undefined;
|
|
259
|
+
deprecated_additionalUserInformation?: AdditionalCustomerInformationParams | undefined;
|
|
346
260
|
}, {
|
|
347
261
|
sub: `identity_${string}`;
|
|
348
262
|
exp: number;
|
|
@@ -356,14 +270,7 @@ export declare const IdentityWidgetAccessToken_NEW: z.ZodUnion<[z.ZodObject<z.ob
|
|
|
356
270
|
flowType: "web2";
|
|
357
271
|
iat: number;
|
|
358
272
|
ipAddress?: string | undefined;
|
|
359
|
-
deprecated_additionalUserInformation?:
|
|
360
|
-
email?: string | undefined;
|
|
361
|
-
wallet?: {
|
|
362
|
-
address: string;
|
|
363
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
364
|
-
} | undefined;
|
|
365
|
-
phone?: string | undefined;
|
|
366
|
-
} | undefined;
|
|
273
|
+
deprecated_additionalUserInformation?: AdditionalCustomerInformationParams | undefined;
|
|
367
274
|
}>]>;
|
|
368
275
|
export type IdentityWidgetAccessToken = z.infer<typeof IdentityWidgetAccessToken>;
|
|
369
276
|
export type IdentityWidgetAccessToken_NEW = z.infer<typeof IdentityWidgetAccessToken_NEW>;
|
|
@@ -482,34 +389,7 @@ export declare const IdentityWidgetSessionToken: z.ZodUnion<[z.ZodObject<{
|
|
|
482
389
|
* @deprecated Fetch the additional user information from the services instead of relying on this field
|
|
483
390
|
* We only have this field in web2 mode because most of the services are relying on the blockchain address to be present in the JWT
|
|
484
391
|
*/
|
|
485
|
-
deprecated_additionalUserInformation: z.ZodOptional<z.
|
|
486
|
-
email: z.ZodOptional<z.ZodString>;
|
|
487
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
488
|
-
wallet: z.ZodOptional<z.ZodObject<{
|
|
489
|
-
address: z.ZodUnion<[z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>, z.ZodUnion<[z.ZodEffects<z.ZodString, `tz${string}`, string>, z.ZodEffects<z.ZodString, `KT1${string}`, string>]>, z.ZodEffects<z.ZodString, string, string>, z.ZodString, z.ZodEffects<z.ZodString, string, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `cosmos${string}`, string>, z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `addr${string}`, string>]>;
|
|
490
|
-
namespace: z.ZodEnum<["tezos", "eip155", "aptos", "polkadot", "starknet", "cosmos", "solana", "cardano"]>;
|
|
491
|
-
}, "strip", z.ZodTypeAny, {
|
|
492
|
-
address: string;
|
|
493
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
494
|
-
}, {
|
|
495
|
-
address: string;
|
|
496
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
497
|
-
}>>;
|
|
498
|
-
}, "strip", z.ZodTypeAny, {
|
|
499
|
-
email?: string | undefined;
|
|
500
|
-
wallet?: {
|
|
501
|
-
address: string;
|
|
502
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
503
|
-
} | undefined;
|
|
504
|
-
phone?: string | undefined;
|
|
505
|
-
}, {
|
|
506
|
-
email?: string | undefined;
|
|
507
|
-
wallet?: {
|
|
508
|
-
address: string;
|
|
509
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
510
|
-
} | undefined;
|
|
511
|
-
phone?: string | undefined;
|
|
512
|
-
}>>;
|
|
392
|
+
deprecated_additionalUserInformation: z.ZodOptional<z.ZodType<AdditionalCustomerInformationParams, z.ZodTypeDef, AdditionalCustomerInformationParams>>;
|
|
513
393
|
}>, "strip", z.ZodTypeAny, {
|
|
514
394
|
sub: `identity_${string}`;
|
|
515
395
|
exp: number;
|
|
@@ -523,14 +403,7 @@ export declare const IdentityWidgetSessionToken: z.ZodUnion<[z.ZodObject<{
|
|
|
523
403
|
flowType: "web2";
|
|
524
404
|
iat: number;
|
|
525
405
|
ipAddress?: string | undefined;
|
|
526
|
-
deprecated_additionalUserInformation?:
|
|
527
|
-
email?: string | undefined;
|
|
528
|
-
wallet?: {
|
|
529
|
-
address: string;
|
|
530
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
531
|
-
} | undefined;
|
|
532
|
-
phone?: string | undefined;
|
|
533
|
-
} | undefined;
|
|
406
|
+
deprecated_additionalUserInformation?: AdditionalCustomerInformationParams | undefined;
|
|
534
407
|
}, {
|
|
535
408
|
sub: `identity_${string}`;
|
|
536
409
|
exp: number;
|
|
@@ -544,14 +417,19 @@ export declare const IdentityWidgetSessionToken: z.ZodUnion<[z.ZodObject<{
|
|
|
544
417
|
flowType: "web2";
|
|
545
418
|
iat: number;
|
|
546
419
|
ipAddress?: string | undefined;
|
|
547
|
-
deprecated_additionalUserInformation?:
|
|
548
|
-
email?: string | undefined;
|
|
549
|
-
wallet?: {
|
|
550
|
-
address: string;
|
|
551
|
-
namespace: "cosmos" | "tezos" | "eip155" | "aptos" | "polkadot" | "starknet" | "solana" | "cardano";
|
|
552
|
-
} | undefined;
|
|
553
|
-
phone?: string | undefined;
|
|
554
|
-
} | undefined;
|
|
420
|
+
deprecated_additionalUserInformation?: AdditionalCustomerInformationParams | undefined;
|
|
555
421
|
}>]>]>;
|
|
556
422
|
export type IdentityWidgetSessionToken = z.infer<typeof IdentityWidgetSessionToken>;
|
|
423
|
+
/**
|
|
424
|
+
* The parameters required to create a new configuration in web2 mode.
|
|
425
|
+
*/
|
|
426
|
+
export type Web2CreateSessionParams = {
|
|
427
|
+
/** The workflow id of the project */
|
|
428
|
+
workflowId: WorkflowId;
|
|
429
|
+
/** The external customer id of the user */
|
|
430
|
+
externalCustomerId: ExternalCustomerId;
|
|
431
|
+
/** The additional information to attach to the customer */
|
|
432
|
+
additionalInformation?: AdditionalCustomerInformationParams;
|
|
433
|
+
};
|
|
434
|
+
export declare const Web2CreateSessionParams: z.ZodType<Web2CreateSessionParams>;
|
|
557
435
|
//# sourceMappingURL=nexeraSSID.schema.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nexeraSSID.schema.d.ts","sourceRoot":"../../../src","sources":["nexeraSSID.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"nexeraSSID.schema.d.ts","sourceRoot":"../../../src","sources":["nexeraSSID.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EAEpB,2BAAwB;AAGzB,eAAO,MAAM,UAAU,2BAA4B,CAAC;AACpD,eAAO,MAAM,QAAQ,6BAEmB,CAAC;AACzC,eAAO,MAAM,iBAAiB,2CAA4C,CAAC;AAC3E,eAAO,MAAM,gBAAgB,6CAEsB,CAAC;AACpD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAEhE,eAAO,MAAM,sCAAsC,kFAGzC,CAAC;AACX,eAAO,MAAM,iCAAiC,oFAE7C,CAAC;AAEF,eAAO,MAAM,yBAAyB,qDAI5B,CAAC;AACX,eAAO,MAAM,2BAA2B,uDAAoC,CAAC;AAE7E,eAAO,MAAM,2BAA2B,+DAM9B,CAAC;AACX,eAAO,MAAM,0CAA0C,iEAEtD,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,qBAAqB,CAAC,EAAE,mCAAmC,CAAC;CAC7D,CAAC;AACF,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAMnE,CAAC"}
|
package/dist/{frontend-utilities.schema-89d25d69.esm.js → frontend-utilities.schema-529049f7.esm.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { cE as SupportedType, dZ as _toConsumableArray, ct as ARRAY_OPERATORS, cz as BOOLEAN_OPERATORS, cx as NUMERIC_OPERATORS, cv as STRING_OPERATORS } from './identity-api.schema-25e04205.esm.js';
|
|
2
2
|
|
|
3
3
|
var VC_JSON_SCHEMA_MAP = {
|
|
4
4
|
ProofOfResidence: {
|
|
@@ -2436,6 +2436,11 @@ var IdentityDocumentOptionsType = z["enum"](IDENTITY_DOCUMENT_OPTIONS);
|
|
|
2436
2436
|
var PERSONAL_INFORMATION_FIELDS = ["EMAIL", "PHONE", "TWITTER", "DISCORD", "TELEGRAM"];
|
|
2437
2437
|
var PersonalInformationFieldsIdentityDocuments = z["enum"](PERSONAL_INFORMATION_FIELDS);
|
|
2438
2438
|
var Identifier = z.union([z.literal("verification"), z.literal("management")]);
|
|
2439
|
+
|
|
2440
|
+
/**
|
|
2441
|
+
* Represents the additional data that can be attached to a customer
|
|
2442
|
+
*/
|
|
2443
|
+
|
|
2439
2444
|
var AdditionalCustomerInformationParams = z.object({
|
|
2440
2445
|
email: z.string().email().optional(),
|
|
2441
2446
|
phone: z.string().min(4).optional(),
|
|
@@ -2497,6 +2502,17 @@ var IdentityAppV2Web2JWT = IdentityAppV2BaseJWT.extend({
|
|
|
2497
2502
|
var IdentityWidgetAccessToken_NEW = z.union([IdentityAppV2Web3JWT, IdentityAppV2Web2JWT]);
|
|
2498
2503
|
var IdentityWidgetSessionToken = z.union([IdentityWidgetAccessToken, IdentityWidgetAccessToken_NEW]);
|
|
2499
2504
|
|
|
2505
|
+
/**
|
|
2506
|
+
* The parameters required to create a new configuration in web2 mode.
|
|
2507
|
+
*/
|
|
2508
|
+
|
|
2509
|
+
var Web2CreateSessionParams = z.object({
|
|
2510
|
+
workflowId: WorkflowId,
|
|
2511
|
+
// required in web2 because we don't have the wallet address
|
|
2512
|
+
externalCustomerId: ExternalCustomerId,
|
|
2513
|
+
additionalInformation: AdditionalCustomerInformationParams.optional()
|
|
2514
|
+
});
|
|
2515
|
+
|
|
2500
2516
|
// these are attributes are marked optional to be better presented by openapi.
|
|
2501
2517
|
// this is hopefully fixed in the refined version of the schema
|
|
2502
2518
|
var ChallengeQueryOperators = z.object({
|
|
@@ -2999,6 +3015,10 @@ var CUSTOMER_AUTOMATION_REASONS = {
|
|
|
2999
3015
|
}
|
|
3000
3016
|
};
|
|
3001
3017
|
|
|
3018
|
+
/**
|
|
3019
|
+
* Wallet challenge parameters
|
|
3020
|
+
*/
|
|
3021
|
+
|
|
3002
3022
|
var WalletChallengeRequest = z.object({
|
|
3003
3023
|
address: BlockchainAddress,
|
|
3004
3024
|
namespace: BlockchainNamespace,
|
|
@@ -3081,30 +3101,7 @@ var GetCustomerStatusResponse = z.object({
|
|
|
3081
3101
|
type: z.literal("getCustomerStatusResponse"),
|
|
3082
3102
|
data: z.union([CustomerStatus, z["null"]()])
|
|
3083
3103
|
});
|
|
3084
|
-
var
|
|
3085
|
-
type: z.literal("verificationBegin")
|
|
3086
|
-
});
|
|
3087
|
-
var ValidVerificationCompleteData = z.union([z.object({
|
|
3088
|
-
type: z.literal("onlineVerification"),
|
|
3089
|
-
verification: SdkVerificationOutput,
|
|
3090
|
-
isVerified: z["boolean"]()
|
|
3091
|
-
}), z.object({
|
|
3092
|
-
type: z.literal("zkpVerification"),
|
|
3093
|
-
verification: SdkVerificationOutput,
|
|
3094
|
-
isVerified: z["boolean"]()
|
|
3095
|
-
}), z.object({
|
|
3096
|
-
type: z.literal("onChainVerification"),
|
|
3097
|
-
verificationHashes: z.array(z.string()),
|
|
3098
|
-
isVerified: z["boolean"]()
|
|
3099
|
-
})]);
|
|
3100
|
-
var VerificationCompleteNotification = z.object({
|
|
3101
|
-
type: z.literal("verificationComplete"),
|
|
3102
|
-
data: z.union([ValidVerificationCompleteData, z.object({
|
|
3103
|
-
error: z.unknown(),
|
|
3104
|
-
verification: z["null"]()
|
|
3105
|
-
})])
|
|
3106
|
-
});
|
|
3107
|
-
var IdentityAppMessage = z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse, VerificationBeginNotification, VerificationCompleteNotification,
|
|
3104
|
+
var IdentityAppMessage = z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse,
|
|
3108
3105
|
// `identifier` is a technical detail that should not be exposed to the app
|
|
3109
3106
|
KycCompletionNotification.omit({
|
|
3110
3107
|
identifier: true
|
|
@@ -3232,4 +3229,4 @@ var WalletSignatureData = WalletSignatureResponse.and(z.object({
|
|
|
3232
3229
|
blockchainId: BlockchainId.optional()
|
|
3233
3230
|
}));
|
|
3234
3231
|
|
|
3235
|
-
export { TezosSignature as $, ACTIVE_EVM_CHAIN_VALUES as A, BlockchainId as B, CredentialTypes as C, TxHash as D, EVM_BLOCK_TIME as E, EIP155Signature as F, FunctionCallData as G, shortAddress as H, AptosAddress as I, AptosSignature as J, StarknetAddress as K, StarknetSignature as L, PolkadotAddress as M, NEXERA_EVM_CHAINS as N, PolkadotSignature as O, POLYGON_NETWORK_NAMES as P, CosmosAddress as Q, CosmosSignature as R, StarknetChainId as S, TezosChainId as T, TezosImplicitAddress as U, TezosContractAddress as V, TezosAddress as W, TezosEntrypointName as X, EdSignature as Y, SpSignature as Z, P2Signature as _, NEXERA_TEZOS_CHAINS as a,
|
|
3232
|
+
export { TezosSignature as $, ACTIVE_EVM_CHAIN_VALUES as A, BlockchainId as B, CredentialTypes as C, TxHash as D, EVM_BLOCK_TIME as E, EIP155Signature as F, FunctionCallData as G, shortAddress as H, AptosAddress as I, AptosSignature as J, StarknetAddress as K, StarknetSignature as L, PolkadotAddress as M, NEXERA_EVM_CHAINS as N, PolkadotSignature as O, POLYGON_NETWORK_NAMES as P, CosmosAddress as Q, CosmosSignature as R, StarknetChainId as S, TezosChainId as T, TezosImplicitAddress as U, TezosContractAddress as V, TezosAddress as W, TezosEntrypointName as X, EdSignature as Y, SpSignature as Z, P2Signature as _, NEXERA_TEZOS_CHAINS as a, OnChainScenarioExecutionData as a$, CardanoAddress as a0, CardanoSignature as a1, BlockchainAddress as a2, BlockchainSignature as a3, BLOCKCHAIN_NAMESPACES as a4, BlockchainNamespace as a5, BLOCKCHAIN_NAMESPACES_NAMES as a6, DISPLAYED_LOCKCHAIN_NAMESPACES as a7, DisplayedBlockchainNamespace as a8, BLOCKCHAIN_NAME_TO_NAMESPACE as a9, VerificationModes as aA, VerificationMode as aB, IDENTITY_DOCUMENT_COUNTRY_LIST_OPTIONS as aC, IdentityDocumentCountryListOption as aD, IDENTITY_DOCUMENT_OPTIONS as aE, IdentityDocumentOptionsType as aF, PERSONAL_INFORMATION_FIELDS as aG, PersonalInformationFieldsIdentityDocuments as aH, Identifier as aI, AdditionalCustomerInformationParams as aJ, IdentityWidgetAccessToken as aK, OrganizationId as aL, WorkspaceId as aM, WorkflowId as aN, ExternalCustomerId as aO, IdentityAppV2Web3JWT as aP, IdentityAppV2Web2JWT as aQ, IdentityWidgetAccessToken_NEW as aR, IdentityWidgetSessionToken as aS, Web2CreateSessionParams as aT, ScenarioAuthorizationData as aU, SdkVerificationResponseSchema as aV, CloseScreenNotification as aW, KycCompletionData as aX, KycCompletionNotification as aY, RuleEngineScenarioExecutionData as aZ, OffChainScenarioExecutionData as a_, BLOCKCHAIN_NAMESPACE_TO_NAME as aa, coerceBoolean as ab, ENVS as ac, EnvironmentSchema as ad, UuidString as ae, ZodParse as af, shortBlockchainAddress as ag, PUBLIC_SERVICES_SCHEMA_MAP as ah, ISO3CountryCode as ai, ALPHA_2_COUNTRIES as aj, Alpha2Country as ak, countryISO3toISO2Mapping as al, countryISO2toISO3Mapping as am, isoCountriesNameFromISO2 as an, parseISO3CountryCode as ao, createBrandedSchemaId as ap, StorageId as aq, IdentityId as ar, EmailId as as, WalletId as at, AppId as au, ChallengeId as av, TestId as aw, generateId as ax, FLOW_TYPES as ay, FlowType as az, NEXERA_COSMOS_CHAINS as b, ChallengeResponse as b$, ScenarioExecutionData as b0, ScenarioExecutionNotification as b1, IsVerifiedNotification as b2, PolygonIdInitialized as b3, OcvSdkInitialized as b4, StartCompletedNotification as b5, IdentityNotificationMessage as b6, InitialDataRequest as b7, SignatureRequest as b8, TransactionData as b9, ScenarioType as bA, ScenarioStatuses as bB, ScenarioStatus as bC, RuleEngineResponse as bD, ScenarioExecutionResponse as bE, RuleResultStatuses as bF, RuleResultStatus as bG, RuleResultStatusLabels as bH, ComplianceImplementationStepsInput as bI, SimplifiedCredential as bJ, GetCredentialsRequest as bK, GetCredentialsResponse as bL, PolygonIdRequestData as bM, PolygonIdRequest as bN, PolygonIdResponseData as bO, PolygonIdResponse as bP, StartFlowRequest as bQ, IsVerifiedRequest as bR, IsVerifiedResponse as bS, GetTxAuthSigRequest as bT, GetTxAuthSigResponse as bU, GetTxAuthSigRequestTezos as bV, GetTxAuthSigResponseTezos as bW, HostRequestMessage as bX, IdentityResponseMessage as bY, WalletChallengeRequest as bZ, AuthSession as b_, SendTransactionRequest as ba, IdentityRequestMessage as bb, AVAILABLE_FLOWS as bc, AvailableFlow as bd, DataAvailableOnStart as be, InitialDataResponse as bf, SignatureResponse as bg, TransactionResponse as bh, HostResponseMessage as bi, ChallengeQueryOperators as bj, ChallengeQueryOperator as bk, OperatorToChallengeQueryOperator as bl, ChallengeQueryOperatorToOperator as bm, ChallengeQuerySchema as bn, ExecuteChallengeQueryInput as bo, ExecuteChallengeQueryConfig as bp, OpaChallengeQueryResponse as bq, ExecuteChallengeQueryResponse as br, OPAChallengeQuery as bs, OnChainRuleResult as bt, OffChainZKPRuleResult as bu, SdkVerificationOutput as bv, VerificationSessionStatuses as bw, VerificationSessionStatus as bx, VerificationOutput as by, ScenarioTypes as bz, NEXERA_STARKNET_CHAINS as c, GetTezosTxAuthDataSignatureResponse as c$, WalletSignResponse as c0, TxAuthDataSignatureGatingRequest as c1, GetCustomerStatusRequest as c2, IdentitySdkMessage as c3, IdentitySdkMessageWithIdentifier as c4, TxAuthDataSignatureResponse as c5, GetCustomerStatusResponse as c6, IdentityAppMessage as c7, HostMessage as c8, IdentityMessage as c9, BooleanOperator as cA, DATE_OPERATORS as cB, DateOperator as cC, SUPPORTED_TYPES as cD, SupportedType as cE, SupportedTypes as cF, IDInformation as cG, QueryConfig as cH, QueryType as cI, QueryConfigSimplified as cJ, PartialQueryConfigSimplified as cK, QueryConfigSimplifiedParsed as cL, QueryConfiguration as cM, NonParsedQueryConfiguration as cN, CreateQueryConfigurationInput as cO, CreateQueryConfigurationResponse as cP, UpdateQueryConfigurationInput as cQ, UpdateQueryConfigurationResponse as cR, DeleteQueryConfigurationInput as cS, DeleteQueryConfigurationResponse as cT, QueryCredentialTypes as cU, QueryCredentialType as cV, TxAuthInput as cW, TxSignatureResponse as cX, GetTxAuthDataSignatureResponse as cY, TezosTxAuthInput as cZ, TezosTxSignatureResponse as c_, RequiredDataRowSchema as ca, RequiredVerificationData as cb, MediaType as cc, MediaTypePID as cd, ZeroKnowledgeProofRequest as ce, AuthorizationRequestMessage as cf, ProofData as cg, ZeroKnowledgeProofResponse as ch, AuthorizationResponseMessage as ci, CredentialQrCodeData as cj, AuthQrCodeData as ck, QrCodeLinkWithSchemaType as cl, parseIden3Message as cm, parseSessionIdFromUrl as cn, AllCredentialAttributes as co, AllCredentialValues as cp, Operator as cq, ZKPOperator as cr, operatorDisplayMap as cs, ARRAY_OPERATORS as ct, ArrayOperator as cu, STRING_OPERATORS as cv, StringOperator as cw, NUMERIC_OPERATORS as cx, NumericOperator as cy, BOOLEAN_OPERATORS as cz, NEXERA_EVM_CHAIN_NAMES as d, ExtendedTxAuthInput as d0, ExtendedTezosTxAuthInput as d1, AnyTxAuthInput as d2, ExtendedTxAuthDataSignatureResponse as d3, ExtendedTezosTxAuthDataSignatureResponse as d4, AnyTxAuthDataSignatureResponse as d5, ZKPRequest as d6, ZKPRequestFromZKVerifier as d7, OffChainZKP as d8, CreateAuthRequestProps as d9, CustomersChartType as dA, CUSTOMER_TABLE_COLUMNS as dB, CustomerTableColumn as dC, CUSTOMER_AUTOMATION_REASONS as dD, ID3CredentialSubjectSchema as dE, IDScanCredentialSubjectSchema as dF, IDScanPassportCredentialSubjectSchema as dG, IDScanSelfieCredentialSubjectSchema as dH, OLD_IDImageCredentialSubjectSchema as dI, OLD_IDInformationCredentialSubjectSchema as dJ, OLD_ProofOfResidenceCredentialSubjectSchema as dK, OLD_SelfieImageCredentialSubjectSchema as dL, OLD_AMLScreeningsResultsCredentialSubjectSchema as dM, IDInformationCredentialSubjectSchema as dN, IDImageCredentialSubjectSchema as dO, SelfieImageCredentialSubjectSchema as dP, ProofOfResidenceCredentialSubjectSchema as dQ, GenericVerifiableCredentialSchema as dR, CredentialSchemas as dS, CredentialNames as dT, NexeraCredentialType as dU, getCredentialName as dV, CredentialType as dW, VerifiableCredential as dX, CredentialMediaType as dY, _toConsumableArray as dZ, CreateZKProofRequestProps as da, AllScenarioExecutionAuthorizationData as db, ProjectAuthorizationData as dc, OnChainZKP as dd, OnChainZKPFromNexeraID as de, OnChainZKPScenarioFromCms as df, OnChainZKPPayload as dg, SCENARIO_AUTHORIZATION_STATUSES as dh, ScenarioAuthorizationStatus as di, WalletSignatureResponse as dj, WalletSignatureData as dk, RiskScoreTypes as dl, RiskScoreType as dm, CustomerTypes as dn, CustomerType as dp, KycOnboardingLevels as dq, KycOnboardingLevel as dr, KybOnboardingLevels as ds, KybOnboardingLevel as dt, CustomerOnboardingLevels as du, CustomerOnboardingLevel as dv, CustomerStatuses as dw, CustomerStatus as dx, BasicCustomerContactInformation as dy, CUSTOMERS_CHARTS as dz, NEXERA_EVM_CHAIN_NAMES_LIST as e, NEXERA_CHAIN_VALUES as f, EVM_CHAINS_WITHOUT_DEDICATED_NODE_RPC as g, EvmChainId as h, PolygonNetworkNames as i, NEXERA_TEZOS_CHAIN_NAMES as j, NEXERA_TEZOS_CHAIN_NAMES_LIST as k, NEXERA_TEZOS_CHAIN_VALUES as l, ACTIVE_TEZOS_CHAIN_VALUES as m, COSMOS_CHAIN_NAMES as n, COSMOS_CHAIN_NAMES_LIST as o, COSMOS_CHAIN_VALUES as p, ACTIVE_COSMOS_CHAIN_VALUES as q, CosmosChainId as r, NEXERA_STARKNET_CHAIN_NAMES as s, NEXERA_STARKNET_CHAIN_VALUES as t, NEXERA_ACTIVE_STARKNET_CHAIN_VALUES as u, isValidAddress as v, String0x as w, PrivateKey as x, PublicKey as y, AddressSchema as z };
|
package/dist/{identity-api.schema-9db90005.cjs.dev.js → identity-api.schema-4615eb5b.cjs.dev.js}
RENAMED
|
@@ -2438,6 +2438,11 @@ var IdentityDocumentOptionsType = zod.z["enum"](IDENTITY_DOCUMENT_OPTIONS);
|
|
|
2438
2438
|
var PERSONAL_INFORMATION_FIELDS = ["EMAIL", "PHONE", "TWITTER", "DISCORD", "TELEGRAM"];
|
|
2439
2439
|
var PersonalInformationFieldsIdentityDocuments = zod.z["enum"](PERSONAL_INFORMATION_FIELDS);
|
|
2440
2440
|
var Identifier = zod.z.union([zod.z.literal("verification"), zod.z.literal("management")]);
|
|
2441
|
+
|
|
2442
|
+
/**
|
|
2443
|
+
* Represents the additional data that can be attached to a customer
|
|
2444
|
+
*/
|
|
2445
|
+
|
|
2441
2446
|
var AdditionalCustomerInformationParams = zod.z.object({
|
|
2442
2447
|
email: zod.z.string().email().optional(),
|
|
2443
2448
|
phone: zod.z.string().min(4).optional(),
|
|
@@ -2499,6 +2504,17 @@ var IdentityAppV2Web2JWT = IdentityAppV2BaseJWT.extend({
|
|
|
2499
2504
|
var IdentityWidgetAccessToken_NEW = zod.z.union([IdentityAppV2Web3JWT, IdentityAppV2Web2JWT]);
|
|
2500
2505
|
var IdentityWidgetSessionToken = zod.z.union([IdentityWidgetAccessToken, IdentityWidgetAccessToken_NEW]);
|
|
2501
2506
|
|
|
2507
|
+
/**
|
|
2508
|
+
* The parameters required to create a new configuration in web2 mode.
|
|
2509
|
+
*/
|
|
2510
|
+
|
|
2511
|
+
var Web2CreateSessionParams = zod.z.object({
|
|
2512
|
+
workflowId: WorkflowId,
|
|
2513
|
+
// required in web2 because we don't have the wallet address
|
|
2514
|
+
externalCustomerId: ExternalCustomerId,
|
|
2515
|
+
additionalInformation: AdditionalCustomerInformationParams.optional()
|
|
2516
|
+
});
|
|
2517
|
+
|
|
2502
2518
|
// these are attributes are marked optional to be better presented by openapi.
|
|
2503
2519
|
// this is hopefully fixed in the refined version of the schema
|
|
2504
2520
|
var ChallengeQueryOperators = zod.z.object({
|
|
@@ -3001,6 +3017,10 @@ var CUSTOMER_AUTOMATION_REASONS = {
|
|
|
3001
3017
|
}
|
|
3002
3018
|
};
|
|
3003
3019
|
|
|
3020
|
+
/**
|
|
3021
|
+
* Wallet challenge parameters
|
|
3022
|
+
*/
|
|
3023
|
+
|
|
3004
3024
|
var WalletChallengeRequest = zod.z.object({
|
|
3005
3025
|
address: BlockchainAddress,
|
|
3006
3026
|
namespace: BlockchainNamespace,
|
|
@@ -3083,30 +3103,7 @@ var GetCustomerStatusResponse = zod.z.object({
|
|
|
3083
3103
|
type: zod.z.literal("getCustomerStatusResponse"),
|
|
3084
3104
|
data: zod.z.union([CustomerStatus, zod.z["null"]()])
|
|
3085
3105
|
});
|
|
3086
|
-
var
|
|
3087
|
-
type: zod.z.literal("verificationBegin")
|
|
3088
|
-
});
|
|
3089
|
-
var ValidVerificationCompleteData = zod.z.union([zod.z.object({
|
|
3090
|
-
type: zod.z.literal("onlineVerification"),
|
|
3091
|
-
verification: SdkVerificationOutput,
|
|
3092
|
-
isVerified: zod.z["boolean"]()
|
|
3093
|
-
}), zod.z.object({
|
|
3094
|
-
type: zod.z.literal("zkpVerification"),
|
|
3095
|
-
verification: SdkVerificationOutput,
|
|
3096
|
-
isVerified: zod.z["boolean"]()
|
|
3097
|
-
}), zod.z.object({
|
|
3098
|
-
type: zod.z.literal("onChainVerification"),
|
|
3099
|
-
verificationHashes: zod.z.array(zod.z.string()),
|
|
3100
|
-
isVerified: zod.z["boolean"]()
|
|
3101
|
-
})]);
|
|
3102
|
-
var VerificationCompleteNotification = zod.z.object({
|
|
3103
|
-
type: zod.z.literal("verificationComplete"),
|
|
3104
|
-
data: zod.z.union([ValidVerificationCompleteData, zod.z.object({
|
|
3105
|
-
error: zod.z.unknown(),
|
|
3106
|
-
verification: zod.z["null"]()
|
|
3107
|
-
})])
|
|
3108
|
-
});
|
|
3109
|
-
var IdentityAppMessage = zod.z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse, VerificationBeginNotification, VerificationCompleteNotification,
|
|
3106
|
+
var IdentityAppMessage = zod.z.union([IdentityAppLoadedNotification, IdentityAppConfiguredNotification, WalletSignRequest, TxAuthDataSignatureResponse, GetCustomerStatusResponse,
|
|
3110
3107
|
// `identifier` is a technical detail that should not be exposed to the app
|
|
3111
3108
|
KycCompletionNotification.omit({
|
|
3112
3109
|
identifier: true
|
|
@@ -3506,10 +3503,7 @@ exports.TxSignatureResponse = TxSignatureResponse;
|
|
|
3506
3503
|
exports.UpdateQueryConfigurationInput = UpdateQueryConfigurationInput;
|
|
3507
3504
|
exports.UpdateQueryConfigurationResponse = UpdateQueryConfigurationResponse;
|
|
3508
3505
|
exports.UuidString = UuidString;
|
|
3509
|
-
exports.ValidVerificationCompleteData = ValidVerificationCompleteData;
|
|
3510
3506
|
exports.VerifiableCredential = VerifiableCredential;
|
|
3511
|
-
exports.VerificationBeginNotification = VerificationBeginNotification;
|
|
3512
|
-
exports.VerificationCompleteNotification = VerificationCompleteNotification;
|
|
3513
3507
|
exports.VerificationMode = VerificationMode;
|
|
3514
3508
|
exports.VerificationModes = VerificationModes;
|
|
3515
3509
|
exports.VerificationOutput = VerificationOutput;
|
|
@@ -3520,6 +3514,7 @@ exports.WalletId = WalletId;
|
|
|
3520
3514
|
exports.WalletSignResponse = WalletSignResponse;
|
|
3521
3515
|
exports.WalletSignatureData = WalletSignatureData;
|
|
3522
3516
|
exports.WalletSignatureResponse = WalletSignatureResponse;
|
|
3517
|
+
exports.Web2CreateSessionParams = Web2CreateSessionParams;
|
|
3523
3518
|
exports.WorkflowId = WorkflowId;
|
|
3524
3519
|
exports.WorkspaceId = WorkspaceId;
|
|
3525
3520
|
exports.ZKPOperator = ZKPOperator;
|