@nexeraid/identity-schemas 1.12.10-dev → 1.12.11-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/customer.schema.d.ts +93 -0
- package/dist/declarations/src/customer.schema.d.ts.map +1 -0
- package/dist/declarations/src/identity/app-requests.schema.d.ts +10 -10
- package/dist/declarations/src/identity/execute-scenario.schema.d.ts +1 -0
- package/dist/declarations/src/identity/execute-scenario.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/identity-v2.schema.d.ts +40 -0
- package/dist/declarations/src/identity/identity-v2.schema.d.ts.map +1 -1
- package/dist/declarations/src/identity/kyc.schema.d.ts +4 -4
- package/dist/declarations/src/index.d.ts +2 -0
- package/dist/declarations/src/index.d.ts.map +1 -1
- package/dist/frontend-utilities.schema-205058ee.cjs.dev.js +2129 -0
- package/dist/frontend-utilities.schema-43c7bf6d.esm.js +2124 -0
- package/dist/frontend-utilities.schema-9cf8924c.cjs.prod.js +2129 -0
- package/dist/{identity-api.schema-b8687390.esm.js → identity-api.schema-0bb85c0c.esm.js} +98 -3
- package/dist/{identity-api.schema-5844b144.cjs.prod.js → identity-api.schema-1f84a316.cjs.prod.js} +117 -2
- package/dist/{identity-api.schema-f78923c5.cjs.dev.js → identity-api.schema-986819d9.cjs.dev.js} +117 -2
- package/dist/nexeraid-identity-schemas.cjs.dev.js +48 -1
- package/dist/nexeraid-identity-schemas.cjs.prod.js +48 -1
- package/dist/nexeraid-identity-schemas.esm.js +3 -2
- package/dist/package.json +1 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +3 -1
- package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +3 -1
- 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 +6 -2124
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +6 -2124
- package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2 -2125
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const RiskScoreTypes: readonly ["Low", "Medium", "High", "No risk"];
|
|
3
|
+
export declare const RiskScoreType: z.ZodEnum<["Low", "Medium", "High", "No risk"]>;
|
|
4
|
+
export type RiskScoreType = z.infer<typeof RiskScoreType>;
|
|
5
|
+
export declare const CustomerTypes: readonly ["Individual", "Company"];
|
|
6
|
+
export declare const CustomerType: z.ZodEnum<["Individual", "Company"]>;
|
|
7
|
+
export type CustomerType = z.infer<typeof CustomerType>;
|
|
8
|
+
export declare const KycOnboardingLevels: readonly ["Sign-up", "AML screening", "KYC", "Questionaire", "Onboarded"];
|
|
9
|
+
export declare const KycOnboardingLevel: z.ZodEnum<["Sign-up", "AML screening", "KYC", "Questionaire", "Onboarded"]>;
|
|
10
|
+
export type KycOnboardingLevel = z.infer<typeof KycOnboardingLevel>;
|
|
11
|
+
export declare const KybOnboardingLevels: readonly ["Onboarding", "KYB", "Onboarded"];
|
|
12
|
+
export declare const KybOnboardingLevel: z.ZodEnum<["Onboarding", "KYB", "Onboarded"]>;
|
|
13
|
+
export type KybOnboardingLevel = z.infer<typeof KybOnboardingLevel>;
|
|
14
|
+
export declare const CustomerOnboardingLevels: readonly ["Sign-up", "AML screening", "KYC", "Questionaire", "Onboarded", "Onboarding", "KYB", "Onboarded"];
|
|
15
|
+
export declare const CustomerOnboardingLevel: z.ZodEnum<["Sign-up", "AML screening", "KYC", "Questionaire", "Onboarded", "Onboarding", "KYB", "Onboarded"]>;
|
|
16
|
+
export type CustomerOnboardingLevel = z.infer<typeof CustomerOnboardingLevel>;
|
|
17
|
+
export declare const CustomerStatuses: readonly ["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"];
|
|
18
|
+
/** We changed the status names to be more user-friendly, that's why we need to preprocess the data
|
|
19
|
+
* “Closed” -> “Terminated”
|
|
20
|
+
* “Blocked” -> “Rejected”
|
|
21
|
+
* “Under Investigation” -> “To be reviewed”
|
|
22
|
+
*/
|
|
23
|
+
export declare const CustomerStatus: z.ZodEffects<z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>, "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status", unknown>;
|
|
24
|
+
export type CustomerStatus = z.infer<typeof CustomerStatus>;
|
|
25
|
+
export declare const BasicCustomerContactInformation: z.ZodObject<{
|
|
26
|
+
email: z.ZodOptional<z.ZodString>;
|
|
27
|
+
phone: z.ZodOptional<z.ZodString>;
|
|
28
|
+
twitter: z.ZodOptional<z.ZodString>;
|
|
29
|
+
discord: z.ZodOptional<z.ZodString>;
|
|
30
|
+
telegram: z.ZodOptional<z.ZodString>;
|
|
31
|
+
}, "strip", z.ZodTypeAny, {
|
|
32
|
+
email?: string | undefined;
|
|
33
|
+
phone?: string | undefined;
|
|
34
|
+
twitter?: string | undefined;
|
|
35
|
+
discord?: string | undefined;
|
|
36
|
+
telegram?: string | undefined;
|
|
37
|
+
}, {
|
|
38
|
+
email?: string | undefined;
|
|
39
|
+
phone?: string | undefined;
|
|
40
|
+
twitter?: string | undefined;
|
|
41
|
+
discord?: string | undefined;
|
|
42
|
+
telegram?: string | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export type BasicCustomerContactInformation = z.infer<typeof BasicCustomerContactInformation>;
|
|
45
|
+
export declare const CUSTOMERS_CHARTS: readonly ["totalCustomers", "onboarded", "active", "dormant", "blocked", "topCountriesByCustomersCount", "customersRiskLevel", "customersByStatus", "trendOfStatusesOverTime"];
|
|
46
|
+
export declare const CustomersChartType: z.ZodEnum<["totalCustomers", "onboarded", "active", "dormant", "blocked", "topCountriesByCustomersCount", "customersRiskLevel", "customersByStatus", "trendOfStatusesOverTime"]>;
|
|
47
|
+
export type CustomersChartType = z.infer<typeof CustomersChartType>;
|
|
48
|
+
export declare const CUSTOMER_TABLE_COLUMNS: readonly ["selected", "wallets", "type", "country_of_residence", "risk_score", "onboarding_level", "open_alerts_count", "status", "date_onboarded"];
|
|
49
|
+
export declare const CustomerTableColumn: z.ZodEnum<["selected", "wallets", "type", "country_of_residence", "risk_score", "onboarding_level", "open_alerts_count", "status", "date_onboarded"]>;
|
|
50
|
+
export type CustomerTableColumn = z.infer<typeof CustomerTableColumn>;
|
|
51
|
+
export declare const CUSTOMER_AUTOMATION_REASONS: {
|
|
52
|
+
"rule-engine": {
|
|
53
|
+
fail: string;
|
|
54
|
+
pass: string;
|
|
55
|
+
};
|
|
56
|
+
kyc: {
|
|
57
|
+
green: {
|
|
58
|
+
final: string;
|
|
59
|
+
};
|
|
60
|
+
yellow: {
|
|
61
|
+
retry: string;
|
|
62
|
+
fail: string;
|
|
63
|
+
};
|
|
64
|
+
red: {
|
|
65
|
+
retry: string;
|
|
66
|
+
fail: string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
kyb: {
|
|
70
|
+
green: {
|
|
71
|
+
final: string;
|
|
72
|
+
};
|
|
73
|
+
yellow: {
|
|
74
|
+
retry: string;
|
|
75
|
+
fail: string;
|
|
76
|
+
};
|
|
77
|
+
red: {
|
|
78
|
+
retry: string;
|
|
79
|
+
fail: string;
|
|
80
|
+
};
|
|
81
|
+
beneficiaryOnToBeReviewState: string;
|
|
82
|
+
};
|
|
83
|
+
"aml-screening": {
|
|
84
|
+
fail: string;
|
|
85
|
+
ongoingMonitoringFail: string;
|
|
86
|
+
pass: string;
|
|
87
|
+
};
|
|
88
|
+
offchain_zkp: {
|
|
89
|
+
fail: string;
|
|
90
|
+
pass: string;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
//# sourceMappingURL=customer.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customer.schema.d.ts","sourceRoot":"../../../src","sources":["customer.schema.ts"],"names":[],"mappings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,MAAM,kBAAkB,kLAA2B,CAAC;AAC3D,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,MAAM,sBAAsB,qJAUzB,CAAC;AAEX,eAAO,MAAM,mBAAmB,uJAAiC,CAAC;AAClE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AAEtE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2CvC,CAAC"}
|
|
@@ -3917,13 +3917,13 @@ export declare const DataAvailableOnStart: z.ZodObject<{
|
|
|
3917
3917
|
accessToken: string;
|
|
3918
3918
|
signature: string;
|
|
3919
3919
|
identifier?: string | undefined;
|
|
3920
|
-
flow?: "
|
|
3920
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
3921
3921
|
}, {
|
|
3922
3922
|
signingMessage: string;
|
|
3923
3923
|
accessToken: string;
|
|
3924
3924
|
signature: string;
|
|
3925
3925
|
identifier?: string | undefined;
|
|
3926
|
-
flow?: "
|
|
3926
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
3927
3927
|
}>;
|
|
3928
3928
|
export declare const InitialDataResponse: z.ZodObject<{
|
|
3929
3929
|
type: z.ZodLiteral<"onStartKyc">;
|
|
@@ -3938,13 +3938,13 @@ export declare const InitialDataResponse: z.ZodObject<{
|
|
|
3938
3938
|
accessToken: string;
|
|
3939
3939
|
signature: string;
|
|
3940
3940
|
identifier?: string | undefined;
|
|
3941
|
-
flow?: "
|
|
3941
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
3942
3942
|
}, {
|
|
3943
3943
|
signingMessage: string;
|
|
3944
3944
|
accessToken: string;
|
|
3945
3945
|
signature: string;
|
|
3946
3946
|
identifier?: string | undefined;
|
|
3947
|
-
flow?: "
|
|
3947
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
3948
3948
|
}>;
|
|
3949
3949
|
}, "strip", z.ZodTypeAny, {
|
|
3950
3950
|
type: "onStartKyc";
|
|
@@ -3953,7 +3953,7 @@ export declare const InitialDataResponse: z.ZodObject<{
|
|
|
3953
3953
|
accessToken: string;
|
|
3954
3954
|
signature: string;
|
|
3955
3955
|
identifier?: string | undefined;
|
|
3956
|
-
flow?: "
|
|
3956
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
3957
3957
|
};
|
|
3958
3958
|
}, {
|
|
3959
3959
|
type: "onStartKyc";
|
|
@@ -3962,7 +3962,7 @@ export declare const InitialDataResponse: z.ZodObject<{
|
|
|
3962
3962
|
accessToken: string;
|
|
3963
3963
|
signature: string;
|
|
3964
3964
|
identifier?: string | undefined;
|
|
3965
|
-
flow?: "
|
|
3965
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
3966
3966
|
};
|
|
3967
3967
|
}>;
|
|
3968
3968
|
export declare const SignatureResponse: z.ZodObject<{
|
|
@@ -4008,13 +4008,13 @@ export declare const HostResponseMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
4008
4008
|
accessToken: string;
|
|
4009
4009
|
signature: string;
|
|
4010
4010
|
identifier?: string | undefined;
|
|
4011
|
-
flow?: "
|
|
4011
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
4012
4012
|
}, {
|
|
4013
4013
|
signingMessage: string;
|
|
4014
4014
|
accessToken: string;
|
|
4015
4015
|
signature: string;
|
|
4016
4016
|
identifier?: string | undefined;
|
|
4017
|
-
flow?: "
|
|
4017
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
4018
4018
|
}>;
|
|
4019
4019
|
}, "strip", z.ZodTypeAny, {
|
|
4020
4020
|
type: "onStartKyc";
|
|
@@ -4023,7 +4023,7 @@ export declare const HostResponseMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
4023
4023
|
accessToken: string;
|
|
4024
4024
|
signature: string;
|
|
4025
4025
|
identifier?: string | undefined;
|
|
4026
|
-
flow?: "
|
|
4026
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
4027
4027
|
};
|
|
4028
4028
|
}, {
|
|
4029
4029
|
type: "onStartKyc";
|
|
@@ -4032,7 +4032,7 @@ export declare const HostResponseMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
4032
4032
|
accessToken: string;
|
|
4033
4033
|
signature: string;
|
|
4034
4034
|
identifier?: string | undefined;
|
|
4035
|
-
flow?: "
|
|
4035
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
4036
4036
|
};
|
|
4037
4037
|
}>, z.ZodObject<{
|
|
4038
4038
|
type: z.ZodLiteral<"signature">;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const ScenarioTypes: readonly ["ChallengeQuery", "OnChainZKP", "OffChainZKP"];
|
|
3
3
|
export declare const ScenarioType: z.ZodEnum<["ChallengeQuery", "OnChainZKP", "OffChainZKP"]>;
|
|
4
|
+
export type ScenarioType = z.infer<typeof ScenarioType>;
|
|
4
5
|
export declare const ScenarioStatuses: readonly ["UpToDate", "NoRulesAdded", "HasNotDeployment"];
|
|
5
6
|
export declare const ScenarioStatus: z.ZodEnum<["UpToDate", "NoRulesAdded", "HasNotDeployment"]>;
|
|
6
7
|
export type ScenarioStatus = z.infer<typeof ScenarioStatus>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"execute-scenario.schema.d.ts","sourceRoot":"../../../../src/identity","sources":["execute-scenario.schema.ts"],"names":[],"mappings":"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,6 +223,14 @@ export declare const TrxSignatureGatingRequest: z.ZodObject<{
|
|
|
223
223
|
};
|
|
224
224
|
}>;
|
|
225
225
|
export type TrxSignatureGatingRequest = z.infer<typeof TrxSignatureGatingRequest>;
|
|
226
|
+
export declare const GetCustomerStatusRequest: z.ZodObject<{
|
|
227
|
+
type: z.ZodLiteral<"getCustomerStatusRequest">;
|
|
228
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
|
+
type: "getCustomerStatusRequest";
|
|
230
|
+
}, {
|
|
231
|
+
type: "getCustomerStatusRequest";
|
|
232
|
+
}>;
|
|
233
|
+
export type GetCustomerStatusRequest = z.infer<typeof GetCustomerStatusRequest>;
|
|
226
234
|
export declare const IdentitySdkMessage: z.ZodUnion<[z.ZodObject<{
|
|
227
235
|
type: z.ZodLiteral<"appConfig">;
|
|
228
236
|
data: z.ZodObject<{
|
|
@@ -498,6 +506,12 @@ export declare const IdentitySdkMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
498
506
|
userAddress: string;
|
|
499
507
|
});
|
|
500
508
|
};
|
|
509
|
+
}>, z.ZodObject<{
|
|
510
|
+
type: z.ZodLiteral<"getCustomerStatusRequest">;
|
|
511
|
+
}, "strip", z.ZodTypeAny, {
|
|
512
|
+
type: "getCustomerStatusRequest";
|
|
513
|
+
}, {
|
|
514
|
+
type: "getCustomerStatusRequest";
|
|
501
515
|
}>]>;
|
|
502
516
|
export type IdentitySdkMessage = z.infer<typeof IdentitySdkMessage>;
|
|
503
517
|
export declare const IdentitySdkMessageWithIdentifier: z.ZodIntersection<z.ZodUnion<[z.ZodObject<{
|
|
@@ -775,6 +789,12 @@ export declare const IdentitySdkMessageWithIdentifier: z.ZodIntersection<z.ZodUn
|
|
|
775
789
|
userAddress: string;
|
|
776
790
|
});
|
|
777
791
|
};
|
|
792
|
+
}>, z.ZodObject<{
|
|
793
|
+
type: z.ZodLiteral<"getCustomerStatusRequest">;
|
|
794
|
+
}, "strip", z.ZodTypeAny, {
|
|
795
|
+
type: "getCustomerStatusRequest";
|
|
796
|
+
}, {
|
|
797
|
+
type: "getCustomerStatusRequest";
|
|
778
798
|
}>]>, z.ZodObject<{
|
|
779
799
|
identifier: z.ZodString;
|
|
780
800
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -899,6 +919,17 @@ export declare const TrxSignatureGatingResponse: z.ZodObject<{
|
|
|
899
919
|
});
|
|
900
920
|
}>;
|
|
901
921
|
export type TrxSignatureGatingResponse = z.infer<typeof TrxSignatureGatingResponse>;
|
|
922
|
+
export declare const GetCustomerStatusResponse: z.ZodObject<{
|
|
923
|
+
type: z.ZodLiteral<"getCustomerStatusResponse">;
|
|
924
|
+
data: z.ZodUnion<[z.ZodEffects<z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>, "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status", unknown>, z.ZodNull]>;
|
|
925
|
+
}, "strip", z.ZodTypeAny, {
|
|
926
|
+
type: "getCustomerStatusResponse";
|
|
927
|
+
data: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null;
|
|
928
|
+
}, {
|
|
929
|
+
type: "getCustomerStatusResponse";
|
|
930
|
+
data?: unknown;
|
|
931
|
+
}>;
|
|
932
|
+
export type GetCustomerStatusResponse = z.infer<typeof GetCustomerStatusResponse>;
|
|
902
933
|
export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
903
934
|
type: z.ZodLiteral<"identityAppLoaded">;
|
|
904
935
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1071,6 +1102,15 @@ export declare const IdentityAppMessage: z.ZodUnion<[z.ZodObject<{
|
|
|
1071
1102
|
namespace: "tezos";
|
|
1072
1103
|
userAddress: string;
|
|
1073
1104
|
});
|
|
1105
|
+
}>, z.ZodObject<{
|
|
1106
|
+
type: z.ZodLiteral<"getCustomerStatusResponse">;
|
|
1107
|
+
data: z.ZodUnion<[z.ZodEffects<z.ZodEnum<["Active", "Rejected", "Dormant", "To be reviewed", "Failed", "Escalated", "Terminated", "No status"]>, "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status", unknown>, z.ZodNull]>;
|
|
1108
|
+
}, "strip", z.ZodTypeAny, {
|
|
1109
|
+
type: "getCustomerStatusResponse";
|
|
1110
|
+
data: "Active" | "Rejected" | "Dormant" | "To be reviewed" | "Failed" | "Escalated" | "Terminated" | "No status" | null;
|
|
1111
|
+
}, {
|
|
1112
|
+
type: "getCustomerStatusResponse";
|
|
1113
|
+
data?: unknown;
|
|
1074
1114
|
}>, z.ZodObject<Omit<{
|
|
1075
1115
|
type: z.ZodLiteral<"kycCompletion">;
|
|
1076
1116
|
identifier: z.ZodString;
|
|
@@ -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;AAcxB,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,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC;AAEpE,eAAO,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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAa7B,CAAC;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -447,13 +447,13 @@ export declare const HostMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
447
447
|
accessToken: string;
|
|
448
448
|
signature: string;
|
|
449
449
|
identifier?: string | undefined;
|
|
450
|
-
flow?: "
|
|
450
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
451
451
|
}, {
|
|
452
452
|
signingMessage: string;
|
|
453
453
|
accessToken: string;
|
|
454
454
|
signature: string;
|
|
455
455
|
identifier?: string | undefined;
|
|
456
|
-
flow?: "
|
|
456
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
457
457
|
}>;
|
|
458
458
|
}, "strip", z.ZodTypeAny, {
|
|
459
459
|
type: "onStartKyc";
|
|
@@ -462,7 +462,7 @@ export declare const HostMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
462
462
|
accessToken: string;
|
|
463
463
|
signature: string;
|
|
464
464
|
identifier?: string | undefined;
|
|
465
|
-
flow?: "
|
|
465
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
466
466
|
};
|
|
467
467
|
}, {
|
|
468
468
|
type: "onStartKyc";
|
|
@@ -471,7 +471,7 @@ export declare const HostMessage: z.ZodUnion<[z.ZodUnion<[z.ZodObject<{
|
|
|
471
471
|
accessToken: string;
|
|
472
472
|
signature: string;
|
|
473
473
|
identifier?: string | undefined;
|
|
474
|
-
flow?: "
|
|
474
|
+
flow?: "KYB" | "VERIFICATION" | "MANAGEMENT" | "POLYGON_ID" | undefined;
|
|
475
475
|
};
|
|
476
476
|
}>, z.ZodObject<{
|
|
477
477
|
type: z.ZodLiteral<"signature">;
|
|
@@ -6,4 +6,6 @@ export * from "./identity-ids.schema.js";
|
|
|
6
6
|
export * from "./nexeraSSID.schema.js";
|
|
7
7
|
export * from "./media.schema.js";
|
|
8
8
|
export * from "./identity/index.js";
|
|
9
|
+
export * from "./customer.schema.js";
|
|
10
|
+
export * from "./verifiable-credentials/index.js";
|
|
9
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AACA,+CAA4C;AAC5C,uCAAoC;AACpC,mCAAgC;AAChC,sCAAmC;AACnC,yCAAsC;AACtC,uCAAoC;AACpC,kCAA+B;AAC/B,oCAA2B"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"../../../src","sources":["index.ts"],"names":[],"mappings":"AACA,+CAA4C;AAC5C,uCAAoC;AACpC,mCAAgC;AAChC,sCAAmC;AACnC,yCAAsC;AACtC,uCAAoC;AACpC,kCAA+B;AAC/B,oCAA2B;AAC3B,qCAAkC;AAClC,kDAAyC"}
|