@nexeraid/identity-schemas 1.12.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.
Files changed (97) hide show
  1. package/README.md +26 -0
  2. package/dist/declarations/src/blockchain.schema.d.ts +93 -0
  3. package/dist/declarations/src/blockchain.schema.d.ts.map +1 -0
  4. package/dist/declarations/src/config.schema.d.ts +128 -0
  5. package/dist/declarations/src/config.schema.d.ts.map +1 -0
  6. package/dist/declarations/src/countries.schema.d.ts +11 -0
  7. package/dist/declarations/src/countries.schema.d.ts.map +1 -0
  8. package/dist/declarations/src/credential-storage.schema.d.ts +138 -0
  9. package/dist/declarations/src/credential-storage.schema.d.ts.map +1 -0
  10. package/dist/declarations/src/identity/app-requests.schema.d.ts +4092 -0
  11. package/dist/declarations/src/identity/app-requests.schema.d.ts.map +1 -0
  12. package/dist/declarations/src/identity/challenge-query.schema.d.ts +1109 -0
  13. package/dist/declarations/src/identity/challenge-query.schema.d.ts.map +1 -0
  14. package/dist/declarations/src/identity/execute-scenario.schema.d.ts +135 -0
  15. package/dist/declarations/src/identity/execute-scenario.schema.d.ts.map +1 -0
  16. package/dist/declarations/src/identity/get-started.schema.d.ts +19 -0
  17. package/dist/declarations/src/identity/get-started.schema.d.ts.map +1 -0
  18. package/dist/declarations/src/identity/host-requests.schema.d.ts +2721 -0
  19. package/dist/declarations/src/identity/host-requests.schema.d.ts.map +1 -0
  20. package/dist/declarations/src/identity/index.d.ts +12 -0
  21. package/dist/declarations/src/identity/index.d.ts.map +1 -0
  22. package/dist/declarations/src/identity/kyc.schema.d.ts +2593 -0
  23. package/dist/declarations/src/identity/kyc.schema.d.ts.map +1 -0
  24. package/dist/declarations/src/identity/polygon-id.schema.d.ts +425 -0
  25. package/dist/declarations/src/identity/polygon-id.schema.d.ts.map +1 -0
  26. package/dist/declarations/src/identity/query.schema.d.ts +526 -0
  27. package/dist/declarations/src/identity/query.schema.d.ts.map +1 -0
  28. package/dist/declarations/src/identity/txAuthData.schema.d.ts +62 -0
  29. package/dist/declarations/src/identity/txAuthData.schema.d.ts.map +1 -0
  30. package/dist/declarations/src/identity/txAuthDataTezos.schema.d.ts +56 -0
  31. package/dist/declarations/src/identity/txAuthDataTezos.schema.d.ts.map +1 -0
  32. package/dist/declarations/src/identity/zkps.schema.d.ts +962 -0
  33. package/dist/declarations/src/identity/zkps.schema.d.ts.map +1 -0
  34. package/dist/declarations/src/index.d.ts +5 -0
  35. package/dist/declarations/src/index.d.ts.map +1 -0
  36. package/dist/declarations/src/verifiable-credentials/GenericVerifiableCredentialSchema.d.ts +95 -0
  37. package/dist/declarations/src/verifiable-credentials/GenericVerifiableCredentialSchema.d.ts.map +1 -0
  38. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/ID3CredentialSubjectSchema.d.ts +2839 -0
  39. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/ID3CredentialSubjectSchema.d.ts.map +1 -0
  40. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanCredentialSubjectSchema.d.ts +163 -0
  41. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanCredentialSubjectSchema.d.ts.map +1 -0
  42. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanPassportCredentialSubjectSchema.d.ts +21 -0
  43. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanPassportCredentialSubjectSchema.d.ts.map +1 -0
  44. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanSelfieCredentialSubjectSchema.d.ts +21 -0
  45. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/IDScanSelfieCredentialSubjectSchema.d.ts.map +1 -0
  46. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_AMLScreeningsResultsCredentialSubjectSchema.d.ts +2692 -0
  47. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_AMLScreeningsResultsCredentialSubjectSchema.d.ts.map +1 -0
  48. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDImageCredentialSubjectSchema.d.ts +24 -0
  49. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDImageCredentialSubjectSchema.d.ts.map +1 -0
  50. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDInformationCredentialSubjectSchema.d.ts +258 -0
  51. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_IDInformationCredentialSubjectSchema.d.ts.map +1 -0
  52. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_ProofOfResidenceCredentialSubjectSchema.d.ts +39 -0
  53. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_ProofOfResidenceCredentialSubjectSchema.d.ts.map +1 -0
  54. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_SelfieImageCredentialSubjectSchema.d.ts +21 -0
  55. package/dist/declarations/src/verifiable-credentials/OLD_generated/generated/OLD_SelfieImageCredentialSubjectSchema.d.ts.map +1 -0
  56. package/dist/declarations/src/verifiable-credentials/cleanObject.d.ts +12 -0
  57. package/dist/declarations/src/verifiable-credentials/cleanObject.d.ts.map +1 -0
  58. package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts +16 -0
  59. package/dist/declarations/src/verifiable-credentials/frontend-utilities.schema.d.ts.map +1 -0
  60. package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts +5978 -0
  61. package/dist/declarations/src/verifiable-credentials/general-vc-typing.schema.d.ts.map +1 -0
  62. package/dist/declarations/src/verifiable-credentials/generated/IDImageCredentialSubjectSchema.d.ts +48 -0
  63. package/dist/declarations/src/verifiable-credentials/generated/IDImageCredentialSubjectSchema.d.ts.map +1 -0
  64. package/dist/declarations/src/verifiable-credentials/generated/IDInformationCredentialSubjectSchema.d.ts +96 -0
  65. package/dist/declarations/src/verifiable-credentials/generated/IDInformationCredentialSubjectSchema.d.ts.map +1 -0
  66. package/dist/declarations/src/verifiable-credentials/generated/ProofOfResidenceCredentialSubjectSchema.d.ts +48 -0
  67. package/dist/declarations/src/verifiable-credentials/generated/ProofOfResidenceCredentialSubjectSchema.d.ts.map +1 -0
  68. package/dist/declarations/src/verifiable-credentials/generated/SelfieImageCredentialSubjectSchema.d.ts +39 -0
  69. package/dist/declarations/src/verifiable-credentials/generated/SelfieImageCredentialSubjectSchema.d.ts.map +1 -0
  70. package/dist/declarations/src/verifiable-credentials/index.d.ts +56 -0
  71. package/dist/declarations/src/verifiable-credentials/index.d.ts.map +1 -0
  72. package/dist/declarations/src/verifiable-credentials/vc-utils.schema.d.ts +8 -0
  73. package/dist/declarations/src/verifiable-credentials/vc-utils.schema.d.ts.map +1 -0
  74. package/dist/declarations/src/verifiable-credentials/vc_json_schema_map.d.ts +127 -0
  75. package/dist/declarations/src/verifiable-credentials/vc_json_schema_map.d.ts.map +1 -0
  76. package/dist/nexeraid-identity-schemas.cjs.d.ts +2 -0
  77. package/dist/nexeraid-identity-schemas.cjs.dev.js +110 -0
  78. package/dist/nexeraid-identity-schemas.cjs.js +7 -0
  79. package/dist/nexeraid-identity-schemas.cjs.prod.js +110 -0
  80. package/dist/nexeraid-identity-schemas.esm.js +40 -0
  81. package/dist/package.json +72 -0
  82. package/dist/txAuthDataTezos.schema-92a60696.cjs.prod.js +2995 -0
  83. package/dist/txAuthDataTezos.schema-a6ddf460.esm.js +2775 -0
  84. package/dist/txAuthDataTezos.schema-ad3b7592.cjs.dev.js +2995 -0
  85. package/identity/dist/nexeraid-identity-schemas-identity.cjs.d.ts +2 -0
  86. package/identity/dist/nexeraid-identity-schemas-identity.cjs.dev.js +141 -0
  87. package/identity/dist/nexeraid-identity-schemas-identity.cjs.js +7 -0
  88. package/identity/dist/nexeraid-identity-schemas-identity.cjs.prod.js +141 -0
  89. package/identity/dist/nexeraid-identity-schemas-identity.esm.js +2 -0
  90. package/identity/package.json +4 -0
  91. package/package.json +71 -0
  92. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.d.ts +2 -0
  93. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.dev.js +2158 -0
  94. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.js +7 -0
  95. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.cjs.prod.js +2158 -0
  96. package/verifiable-credentials/dist/nexeraid-identity-schemas-verifiable-credentials.esm.js +2126 -0
  97. package/verifiable-credentials/package.json +4 -0
@@ -0,0 +1,962 @@
1
+ import { z } from "zod";
2
+ export declare const ZKPRequest: z.ZodObject<{
3
+ id: z.ZodNumber;
4
+ circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
5
+ optional: z.ZodOptional<z.ZodBoolean>;
6
+ query: z.ZodObject<{
7
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
8
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
9
+ attribute: z.ZodString;
10
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
11
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
12
+ }, "strip", z.ZodTypeAny, {
13
+ value: string | number | boolean | (string | number)[];
14
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
15
+ attribute: string;
16
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
17
+ requestId?: number | null | undefined;
18
+ }, {
19
+ value: string | number | boolean | (string | number)[];
20
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
21
+ attribute: string;
22
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
23
+ requestId?: number | null | undefined;
24
+ }>;
25
+ }, "strip", z.ZodTypeAny, {
26
+ id: number;
27
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
28
+ query: {
29
+ value: string | number | boolean | (string | number)[];
30
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
31
+ attribute: string;
32
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
33
+ requestId?: number | null | undefined;
34
+ };
35
+ optional?: boolean | undefined;
36
+ }, {
37
+ id: number;
38
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
39
+ query: {
40
+ value: string | number | boolean | (string | number)[];
41
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
42
+ attribute: string;
43
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
44
+ requestId?: number | null | undefined;
45
+ };
46
+ optional?: boolean | undefined;
47
+ }>;
48
+ export type ZKPRequest = z.infer<typeof ZKPRequest>;
49
+ export declare const ZKPRequestFromZKVerifier: z.ZodObject<{
50
+ id: z.ZodNumber;
51
+ circuitId: z.ZodString;
52
+ optional: z.ZodOptional<z.ZodBoolean>;
53
+ query: z.ZodRecord<z.ZodString, z.ZodUnknown>;
54
+ }, "strip", z.ZodTypeAny, {
55
+ id: number;
56
+ circuitId: string;
57
+ query: Record<string, unknown>;
58
+ optional?: boolean | undefined;
59
+ }, {
60
+ id: number;
61
+ circuitId: string;
62
+ query: Record<string, unknown>;
63
+ optional?: boolean | undefined;
64
+ }>;
65
+ export type ZKPRequestFromZKVerifier = z.infer<typeof ZKPRequestFromZKVerifier>;
66
+ export declare const OffChainZKP: z.ZodObject<{
67
+ requestingAuthorizationMessage: z.ZodOptional<z.ZodNullable<z.ZodString>>;
68
+ zkpRequest: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
69
+ id: z.ZodNumber;
70
+ circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
71
+ optional: z.ZodOptional<z.ZodBoolean>;
72
+ query: z.ZodObject<{
73
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
74
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
75
+ attribute: z.ZodString;
76
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
77
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
78
+ }, "strip", z.ZodTypeAny, {
79
+ value: string | number | boolean | (string | number)[];
80
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
81
+ attribute: string;
82
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
83
+ requestId?: number | null | undefined;
84
+ }, {
85
+ value: string | number | boolean | (string | number)[];
86
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
87
+ attribute: string;
88
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
89
+ requestId?: number | null | undefined;
90
+ }>;
91
+ }, "strip", z.ZodTypeAny, {
92
+ id: number;
93
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
94
+ query: {
95
+ value: string | number | boolean | (string | number)[];
96
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
97
+ attribute: string;
98
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
99
+ requestId?: number | null | undefined;
100
+ };
101
+ optional?: boolean | undefined;
102
+ }, {
103
+ id: number;
104
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
105
+ query: {
106
+ value: string | number | boolean | (string | number)[];
107
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
108
+ attribute: string;
109
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
110
+ requestId?: number | null | undefined;
111
+ };
112
+ optional?: boolean | undefined;
113
+ }>, "many">>>;
114
+ }, "strip", z.ZodTypeAny, {
115
+ zkpRequest?: {
116
+ id: number;
117
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
118
+ query: {
119
+ value: string | number | boolean | (string | number)[];
120
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
121
+ attribute: string;
122
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
123
+ requestId?: number | null | undefined;
124
+ };
125
+ optional?: boolean | undefined;
126
+ }[] | null | undefined;
127
+ requestingAuthorizationMessage?: string | null | undefined;
128
+ }, {
129
+ zkpRequest?: {
130
+ id: number;
131
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
132
+ query: {
133
+ value: string | number | boolean | (string | number)[];
134
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
135
+ attribute: string;
136
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
137
+ requestId?: number | null | undefined;
138
+ };
139
+ optional?: boolean | undefined;
140
+ }[] | null | undefined;
141
+ requestingAuthorizationMessage?: string | null | undefined;
142
+ }>;
143
+ export type OffChainZKP = z.infer<typeof OffChainZKP>;
144
+ export declare const CreateAuthRequestProps: z.ZodObject<{
145
+ hostUrl: z.ZodString;
146
+ sessionId: z.ZodString;
147
+ audience: z.ZodString;
148
+ callbackURL: z.ZodString;
149
+ query: z.ZodArray<z.ZodObject<{
150
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
151
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
152
+ attribute: z.ZodString;
153
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
154
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
155
+ }, "strip", z.ZodTypeAny, {
156
+ value: string | number | boolean | (string | number)[];
157
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
158
+ attribute: string;
159
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
160
+ requestId?: number | null | undefined;
161
+ }, {
162
+ value: string | number | boolean | (string | number)[];
163
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
164
+ attribute: string;
165
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
166
+ requestId?: number | null | undefined;
167
+ }>, "many">;
168
+ onChainVerification: z.ZodOptional<z.ZodBoolean>;
169
+ id: z.ZodString;
170
+ thid: z.ZodString;
171
+ message: z.ZodString;
172
+ }, "strip", z.ZodTypeAny, {
173
+ id: string;
174
+ message: string;
175
+ sessionId: string;
176
+ thid: string;
177
+ query: {
178
+ value: string | number | boolean | (string | number)[];
179
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
180
+ attribute: string;
181
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
182
+ requestId?: number | null | undefined;
183
+ }[];
184
+ hostUrl: string;
185
+ audience: string;
186
+ callbackURL: string;
187
+ onChainVerification?: boolean | undefined;
188
+ }, {
189
+ id: string;
190
+ message: string;
191
+ sessionId: string;
192
+ thid: string;
193
+ query: {
194
+ value: string | number | boolean | (string | number)[];
195
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
196
+ attribute: string;
197
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
198
+ requestId?: number | null | undefined;
199
+ }[];
200
+ hostUrl: string;
201
+ audience: string;
202
+ callbackURL: string;
203
+ onChainVerification?: boolean | undefined;
204
+ }>;
205
+ export type CreateAuthRequestProps = z.infer<typeof CreateAuthRequestProps>;
206
+ export declare const CreateZKProofRequestProps: z.ZodObject<{
207
+ requestId: z.ZodNumber;
208
+ query: z.ZodObject<{
209
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
210
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
211
+ attribute: z.ZodString;
212
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
213
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ value: string | number | boolean | (string | number)[];
216
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
217
+ attribute: string;
218
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
219
+ requestId?: number | null | undefined;
220
+ }, {
221
+ value: string | number | boolean | (string | number)[];
222
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
223
+ attribute: string;
224
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
225
+ requestId?: number | null | undefined;
226
+ }>;
227
+ onChainVerification: z.ZodOptional<z.ZodBoolean>;
228
+ }, "strip", z.ZodTypeAny, {
229
+ query: {
230
+ value: string | number | boolean | (string | number)[];
231
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
232
+ attribute: string;
233
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
234
+ requestId?: number | null | undefined;
235
+ };
236
+ requestId: number;
237
+ onChainVerification?: boolean | undefined;
238
+ }, {
239
+ query: {
240
+ value: string | number | boolean | (string | number)[];
241
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
242
+ attribute: string;
243
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
244
+ requestId?: number | null | undefined;
245
+ };
246
+ requestId: number;
247
+ onChainVerification?: boolean | undefined;
248
+ }>;
249
+ export type CreateZKProofRequestProps = z.infer<typeof CreateZKProofRequestProps>;
250
+ export declare const AllScenarioExecutionAuthorizationData: z.ZodObject<{
251
+ executionId: z.ZodString;
252
+ projectId: z.ZodString;
253
+ scenarioExecutionIds: z.ZodArray<z.ZodString, "many">;
254
+ }, "strip", z.ZodTypeAny, {
255
+ executionId: string;
256
+ projectId: string;
257
+ scenarioExecutionIds: string[];
258
+ }, {
259
+ executionId: string;
260
+ projectId: string;
261
+ scenarioExecutionIds: string[];
262
+ }>;
263
+ export type AllScenarioExecutionAuthorizationData = z.infer<typeof AllScenarioExecutionAuthorizationData>;
264
+ export declare const ProjectAuthorizationData: z.ZodObject<{
265
+ sessionId: z.ZodString;
266
+ projectId: z.ZodString;
267
+ address: z.ZodString;
268
+ authorizations: z.ZodMap<z.ZodString, z.ZodObject<{
269
+ executionId: z.ZodString;
270
+ sessionId: z.ZodString;
271
+ projectId: z.ZodString;
272
+ 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>]>;
273
+ status: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
274
+ scenarioId: z.ZodString;
275
+ scenarioName: z.ZodString;
276
+ requestMessage: z.ZodObject<{
277
+ id: z.ZodString;
278
+ typ: z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>;
279
+ type: z.ZodString;
280
+ thid: z.ZodOptional<z.ZodString>;
281
+ body: z.ZodObject<{
282
+ callbackUrl: z.ZodString;
283
+ reason: z.ZodOptional<z.ZodString>;
284
+ did_doc: z.ZodOptional<z.ZodAny>;
285
+ message: z.ZodOptional<z.ZodString>;
286
+ scope: z.ZodArray<z.ZodObject<{
287
+ id: z.ZodNumber;
288
+ circuitId: z.ZodString;
289
+ optional: z.ZodOptional<z.ZodBoolean>;
290
+ query: z.ZodRecord<z.ZodString, z.ZodAny>;
291
+ }, "strip", z.ZodTypeAny, {
292
+ id: number;
293
+ circuitId: string;
294
+ query: Record<string, any>;
295
+ optional?: boolean | undefined;
296
+ }, {
297
+ id: number;
298
+ circuitId: string;
299
+ query: Record<string, any>;
300
+ optional?: boolean | undefined;
301
+ }>, "many">;
302
+ }, "strip", z.ZodTypeAny, {
303
+ callbackUrl: string;
304
+ scope: {
305
+ id: number;
306
+ circuitId: string;
307
+ query: Record<string, any>;
308
+ optional?: boolean | undefined;
309
+ }[];
310
+ message?: string | undefined;
311
+ reason?: string | undefined;
312
+ did_doc?: any;
313
+ }, {
314
+ callbackUrl: string;
315
+ scope: {
316
+ id: number;
317
+ circuitId: string;
318
+ query: Record<string, any>;
319
+ optional?: boolean | undefined;
320
+ }[];
321
+ message?: string | undefined;
322
+ reason?: string | undefined;
323
+ did_doc?: any;
324
+ }>;
325
+ from: z.ZodString;
326
+ to: z.ZodOptional<z.ZodString>;
327
+ }, "strip", z.ZodTypeAny, {
328
+ id: string;
329
+ type: string;
330
+ typ: import("./polygon-id.schema.js").MediaType;
331
+ body: {
332
+ callbackUrl: string;
333
+ scope: {
334
+ id: number;
335
+ circuitId: string;
336
+ query: Record<string, any>;
337
+ optional?: boolean | undefined;
338
+ }[];
339
+ message?: string | undefined;
340
+ reason?: string | undefined;
341
+ did_doc?: any;
342
+ };
343
+ from: string;
344
+ thid?: string | undefined;
345
+ to?: string | undefined;
346
+ }, {
347
+ id: string;
348
+ type: string;
349
+ typ: import("./polygon-id.schema.js").MediaType;
350
+ body: {
351
+ callbackUrl: string;
352
+ scope: {
353
+ id: number;
354
+ circuitId: string;
355
+ query: Record<string, any>;
356
+ optional?: boolean | undefined;
357
+ }[];
358
+ message?: string | undefined;
359
+ reason?: string | undefined;
360
+ did_doc?: any;
361
+ };
362
+ from: string;
363
+ thid?: string | undefined;
364
+ to?: string | undefined;
365
+ }>;
366
+ responseMessage: z.ZodOptional<z.ZodNullable<z.ZodObject<{
367
+ id: z.ZodString;
368
+ typ: z.ZodOptional<z.ZodNativeEnum<typeof import("./polygon-id.schema.js").MediaType>>;
369
+ type: z.ZodString;
370
+ thid: z.ZodOptional<z.ZodString>;
371
+ body: z.ZodObject<{
372
+ did_doc: z.ZodOptional<z.ZodAny>;
373
+ message: z.ZodOptional<z.ZodString>;
374
+ scope: z.ZodArray<z.ZodObject<{
375
+ id: z.ZodNumber;
376
+ circuitId: z.ZodString;
377
+ vp: z.ZodOptional<z.ZodAny>;
378
+ proof: z.ZodObject<{
379
+ pi_a: z.ZodArray<z.ZodString, "many">;
380
+ pi_b: z.ZodArray<z.ZodArray<z.ZodString, "many">, "many">;
381
+ pi_c: z.ZodArray<z.ZodString, "many">;
382
+ protocol: z.ZodString;
383
+ curve: z.ZodOptional<z.ZodString>;
384
+ }, "strip", z.ZodTypeAny, {
385
+ pi_a: string[];
386
+ pi_b: string[][];
387
+ pi_c: string[];
388
+ protocol: string;
389
+ curve?: string | undefined;
390
+ }, {
391
+ pi_a: string[];
392
+ pi_b: string[][];
393
+ pi_c: string[];
394
+ protocol: string;
395
+ curve?: string | undefined;
396
+ }>;
397
+ pub_signals: z.ZodArray<z.ZodString, "many">;
398
+ }, "strip", z.ZodTypeAny, {
399
+ id: number;
400
+ proof: {
401
+ pi_a: string[];
402
+ pi_b: string[][];
403
+ pi_c: string[];
404
+ protocol: string;
405
+ curve?: string | undefined;
406
+ };
407
+ circuitId: string;
408
+ pub_signals: string[];
409
+ vp?: any;
410
+ }, {
411
+ id: number;
412
+ proof: {
413
+ pi_a: string[];
414
+ pi_b: string[][];
415
+ pi_c: string[];
416
+ protocol: string;
417
+ curve?: string | undefined;
418
+ };
419
+ circuitId: string;
420
+ pub_signals: string[];
421
+ vp?: any;
422
+ }>, "many">;
423
+ }, "strip", z.ZodTypeAny, {
424
+ scope: {
425
+ id: number;
426
+ proof: {
427
+ pi_a: string[];
428
+ pi_b: string[][];
429
+ pi_c: string[];
430
+ protocol: string;
431
+ curve?: string | undefined;
432
+ };
433
+ circuitId: string;
434
+ pub_signals: string[];
435
+ vp?: any;
436
+ }[];
437
+ message?: string | undefined;
438
+ did_doc?: any;
439
+ }, {
440
+ scope: {
441
+ id: number;
442
+ proof: {
443
+ pi_a: string[];
444
+ pi_b: string[][];
445
+ pi_c: string[];
446
+ protocol: string;
447
+ curve?: string | undefined;
448
+ };
449
+ circuitId: string;
450
+ pub_signals: string[];
451
+ vp?: any;
452
+ }[];
453
+ message?: string | undefined;
454
+ did_doc?: any;
455
+ }>;
456
+ from: z.ZodOptional<z.ZodString>;
457
+ to: z.ZodOptional<z.ZodString>;
458
+ }, "strip", z.ZodTypeAny, {
459
+ id: string;
460
+ type: string;
461
+ body: {
462
+ scope: {
463
+ id: number;
464
+ proof: {
465
+ pi_a: string[];
466
+ pi_b: string[][];
467
+ pi_c: string[];
468
+ protocol: string;
469
+ curve?: string | undefined;
470
+ };
471
+ circuitId: string;
472
+ pub_signals: string[];
473
+ vp?: any;
474
+ }[];
475
+ message?: string | undefined;
476
+ did_doc?: any;
477
+ };
478
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
479
+ thid?: string | undefined;
480
+ from?: string | undefined;
481
+ to?: string | undefined;
482
+ }, {
483
+ id: string;
484
+ type: string;
485
+ body: {
486
+ scope: {
487
+ id: number;
488
+ proof: {
489
+ pi_a: string[];
490
+ pi_b: string[][];
491
+ pi_c: string[];
492
+ protocol: string;
493
+ curve?: string | undefined;
494
+ };
495
+ circuitId: string;
496
+ pub_signals: string[];
497
+ vp?: any;
498
+ }[];
499
+ message?: string | undefined;
500
+ did_doc?: any;
501
+ };
502
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
503
+ thid?: string | undefined;
504
+ from?: string | undefined;
505
+ to?: string | undefined;
506
+ }>>>;
507
+ verificationError: z.ZodOptional<z.ZodNullable<z.ZodString>>;
508
+ query: z.ZodObject<{
509
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
510
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
511
+ attribute: z.ZodString;
512
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
513
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
514
+ }, "strip", z.ZodTypeAny, {
515
+ value: string | number | boolean | (string | number)[];
516
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
517
+ attribute: string;
518
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
519
+ requestId?: number | null | undefined;
520
+ }, {
521
+ value: string | number | boolean | (string | number)[];
522
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
523
+ attribute: string;
524
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
525
+ requestId?: number | null | undefined;
526
+ }>;
527
+ }, "strip", z.ZodTypeAny, {
528
+ status: "pending" | "authorised" | "unauthorised";
529
+ address: string;
530
+ executionId: string;
531
+ sessionId: string;
532
+ projectId: string;
533
+ scenarioId: string;
534
+ scenarioName: string;
535
+ query: {
536
+ value: string | number | boolean | (string | number)[];
537
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
538
+ attribute: string;
539
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
540
+ requestId?: number | null | undefined;
541
+ };
542
+ requestMessage: {
543
+ id: string;
544
+ type: string;
545
+ typ: import("./polygon-id.schema.js").MediaType;
546
+ body: {
547
+ callbackUrl: string;
548
+ scope: {
549
+ id: number;
550
+ circuitId: string;
551
+ query: Record<string, any>;
552
+ optional?: boolean | undefined;
553
+ }[];
554
+ message?: string | undefined;
555
+ reason?: string | undefined;
556
+ did_doc?: any;
557
+ };
558
+ from: string;
559
+ thid?: string | undefined;
560
+ to?: string | undefined;
561
+ };
562
+ responseMessage?: {
563
+ id: string;
564
+ type: string;
565
+ body: {
566
+ scope: {
567
+ id: number;
568
+ proof: {
569
+ pi_a: string[];
570
+ pi_b: string[][];
571
+ pi_c: string[];
572
+ protocol: string;
573
+ curve?: string | undefined;
574
+ };
575
+ circuitId: string;
576
+ pub_signals: string[];
577
+ vp?: any;
578
+ }[];
579
+ message?: string | undefined;
580
+ did_doc?: any;
581
+ };
582
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
583
+ thid?: string | undefined;
584
+ from?: string | undefined;
585
+ to?: string | undefined;
586
+ } | null | undefined;
587
+ verificationError?: string | null | undefined;
588
+ }, {
589
+ status: "pending" | "authorised" | "unauthorised";
590
+ address: string;
591
+ executionId: string;
592
+ sessionId: string;
593
+ projectId: string;
594
+ scenarioId: string;
595
+ scenarioName: string;
596
+ query: {
597
+ value: string | number | boolean | (string | number)[];
598
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
599
+ attribute: string;
600
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
601
+ requestId?: number | null | undefined;
602
+ };
603
+ requestMessage: {
604
+ id: string;
605
+ type: string;
606
+ typ: import("./polygon-id.schema.js").MediaType;
607
+ body: {
608
+ callbackUrl: string;
609
+ scope: {
610
+ id: number;
611
+ circuitId: string;
612
+ query: Record<string, any>;
613
+ optional?: boolean | undefined;
614
+ }[];
615
+ message?: string | undefined;
616
+ reason?: string | undefined;
617
+ did_doc?: any;
618
+ };
619
+ from: string;
620
+ thid?: string | undefined;
621
+ to?: string | undefined;
622
+ };
623
+ responseMessage?: {
624
+ id: string;
625
+ type: string;
626
+ body: {
627
+ scope: {
628
+ id: number;
629
+ proof: {
630
+ pi_a: string[];
631
+ pi_b: string[][];
632
+ pi_c: string[];
633
+ protocol: string;
634
+ curve?: string | undefined;
635
+ };
636
+ circuitId: string;
637
+ pub_signals: string[];
638
+ vp?: any;
639
+ }[];
640
+ message?: string | undefined;
641
+ did_doc?: any;
642
+ };
643
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
644
+ thid?: string | undefined;
645
+ from?: string | undefined;
646
+ to?: string | undefined;
647
+ } | null | undefined;
648
+ verificationError?: string | null | undefined;
649
+ }>>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ address: string;
652
+ sessionId: string;
653
+ projectId: string;
654
+ authorizations: Map<string, {
655
+ status: "pending" | "authorised" | "unauthorised";
656
+ address: string;
657
+ executionId: string;
658
+ sessionId: string;
659
+ projectId: string;
660
+ scenarioId: string;
661
+ scenarioName: string;
662
+ query: {
663
+ value: string | number | boolean | (string | number)[];
664
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
665
+ attribute: string;
666
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
667
+ requestId?: number | null | undefined;
668
+ };
669
+ requestMessage: {
670
+ id: string;
671
+ type: string;
672
+ typ: import("./polygon-id.schema.js").MediaType;
673
+ body: {
674
+ callbackUrl: string;
675
+ scope: {
676
+ id: number;
677
+ circuitId: string;
678
+ query: Record<string, any>;
679
+ optional?: boolean | undefined;
680
+ }[];
681
+ message?: string | undefined;
682
+ reason?: string | undefined;
683
+ did_doc?: any;
684
+ };
685
+ from: string;
686
+ thid?: string | undefined;
687
+ to?: string | undefined;
688
+ };
689
+ responseMessage?: {
690
+ id: string;
691
+ type: string;
692
+ body: {
693
+ scope: {
694
+ id: number;
695
+ proof: {
696
+ pi_a: string[];
697
+ pi_b: string[][];
698
+ pi_c: string[];
699
+ protocol: string;
700
+ curve?: string | undefined;
701
+ };
702
+ circuitId: string;
703
+ pub_signals: string[];
704
+ vp?: any;
705
+ }[];
706
+ message?: string | undefined;
707
+ did_doc?: any;
708
+ };
709
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
710
+ thid?: string | undefined;
711
+ from?: string | undefined;
712
+ to?: string | undefined;
713
+ } | null | undefined;
714
+ verificationError?: string | null | undefined;
715
+ }>;
716
+ }, {
717
+ address: string;
718
+ sessionId: string;
719
+ projectId: string;
720
+ authorizations: Map<string, {
721
+ status: "pending" | "authorised" | "unauthorised";
722
+ address: string;
723
+ executionId: string;
724
+ sessionId: string;
725
+ projectId: string;
726
+ scenarioId: string;
727
+ scenarioName: string;
728
+ query: {
729
+ value: string | number | boolean | (string | number)[];
730
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
731
+ attribute: string;
732
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
733
+ requestId?: number | null | undefined;
734
+ };
735
+ requestMessage: {
736
+ id: string;
737
+ type: string;
738
+ typ: import("./polygon-id.schema.js").MediaType;
739
+ body: {
740
+ callbackUrl: string;
741
+ scope: {
742
+ id: number;
743
+ circuitId: string;
744
+ query: Record<string, any>;
745
+ optional?: boolean | undefined;
746
+ }[];
747
+ message?: string | undefined;
748
+ reason?: string | undefined;
749
+ did_doc?: any;
750
+ };
751
+ from: string;
752
+ thid?: string | undefined;
753
+ to?: string | undefined;
754
+ };
755
+ responseMessage?: {
756
+ id: string;
757
+ type: string;
758
+ body: {
759
+ scope: {
760
+ id: number;
761
+ proof: {
762
+ pi_a: string[];
763
+ pi_b: string[][];
764
+ pi_c: string[];
765
+ protocol: string;
766
+ curve?: string | undefined;
767
+ };
768
+ circuitId: string;
769
+ pub_signals: string[];
770
+ vp?: any;
771
+ }[];
772
+ message?: string | undefined;
773
+ did_doc?: any;
774
+ };
775
+ typ?: import("./polygon-id.schema.js").MediaType | undefined;
776
+ thid?: string | undefined;
777
+ from?: string | undefined;
778
+ to?: string | undefined;
779
+ } | null | undefined;
780
+ verificationError?: string | null | undefined;
781
+ }>;
782
+ }>;
783
+ export type ProjectAuthorizationData = z.infer<typeof ProjectAuthorizationData>;
784
+ export declare const OnChainZKP: z.ZodObject<{
785
+ scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
786
+ zkpRequests: z.ZodArray<z.ZodObject<{
787
+ id: z.ZodNumber;
788
+ circuitId: z.ZodEnum<["credentialAtomicQuerySigV2", "credentialAtomicQuerySigV2OnChain"]>;
789
+ optional: z.ZodOptional<z.ZodBoolean>;
790
+ query: z.ZodObject<{
791
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
792
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
793
+ attribute: z.ZodString;
794
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
795
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
796
+ }, "strip", z.ZodTypeAny, {
797
+ value: string | number | boolean | (string | number)[];
798
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
799
+ attribute: string;
800
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
801
+ requestId?: number | null | undefined;
802
+ }, {
803
+ value: string | number | boolean | (string | number)[];
804
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
805
+ attribute: string;
806
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
807
+ requestId?: number | null | undefined;
808
+ }>;
809
+ }, "strip", z.ZodTypeAny, {
810
+ id: number;
811
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
812
+ query: {
813
+ value: string | number | boolean | (string | number)[];
814
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
815
+ attribute: string;
816
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
817
+ requestId?: number | null | undefined;
818
+ };
819
+ optional?: boolean | undefined;
820
+ }, {
821
+ id: number;
822
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
823
+ query: {
824
+ value: string | number | boolean | (string | number)[];
825
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
826
+ attribute: string;
827
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
828
+ requestId?: number | null | undefined;
829
+ };
830
+ optional?: boolean | undefined;
831
+ }>, "many">;
832
+ }, "strip", z.ZodTypeAny, {
833
+ scenarioVerifierAddress: `0x${string}`;
834
+ zkpRequests: {
835
+ id: number;
836
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
837
+ query: {
838
+ value: string | number | boolean | (string | number)[];
839
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
840
+ attribute: string;
841
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
842
+ requestId?: number | null | undefined;
843
+ };
844
+ optional?: boolean | undefined;
845
+ }[];
846
+ }, {
847
+ scenarioVerifierAddress: string;
848
+ zkpRequests: {
849
+ id: number;
850
+ circuitId: "credentialAtomicQuerySigV2" | "credentialAtomicQuerySigV2OnChain";
851
+ query: {
852
+ value: string | number | boolean | (string | number)[];
853
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
854
+ attribute: string;
855
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
856
+ requestId?: number | null | undefined;
857
+ };
858
+ optional?: boolean | undefined;
859
+ }[];
860
+ }>;
861
+ export type OnChainZKP = z.infer<typeof OnChainZKP>;
862
+ export declare const OnChainZKPFromNexeraID: z.ZodObject<{
863
+ scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
864
+ zkpRequests: z.ZodArray<z.ZodObject<{
865
+ id: z.ZodNumber;
866
+ circuitId: z.ZodString;
867
+ optional: z.ZodOptional<z.ZodBoolean>;
868
+ query: z.ZodRecord<z.ZodString, z.ZodUnknown>;
869
+ }, "strip", z.ZodTypeAny, {
870
+ id: number;
871
+ circuitId: string;
872
+ query: Record<string, unknown>;
873
+ optional?: boolean | undefined;
874
+ }, {
875
+ id: number;
876
+ circuitId: string;
877
+ query: Record<string, unknown>;
878
+ optional?: boolean | undefined;
879
+ }>, "many">;
880
+ }, "strip", z.ZodTypeAny, {
881
+ scenarioVerifierAddress: `0x${string}`;
882
+ zkpRequests: {
883
+ id: number;
884
+ circuitId: string;
885
+ query: Record<string, unknown>;
886
+ optional?: boolean | undefined;
887
+ }[];
888
+ }, {
889
+ scenarioVerifierAddress: string;
890
+ zkpRequests: {
891
+ id: number;
892
+ circuitId: string;
893
+ query: Record<string, unknown>;
894
+ optional?: boolean | undefined;
895
+ }[];
896
+ }>;
897
+ export type OnChainZKPFromNexeraID = z.infer<typeof OnChainZKPFromNexeraID>;
898
+ export declare const OnChainZKPScenarioFromCms: z.ZodObject<{
899
+ scenarioVerifierAddress: z.ZodEffects<z.ZodEffects<z.ZodString, string, string>, `0x${string}`, string>;
900
+ zkpRequests: z.ZodArray<z.ZodObject<{
901
+ type: z.ZodEnum<["IDInformation", "SelfieImage", "IDImage", "ProofOfResidence", "AMLScreeningsResults", "ID3", "IDScan", "IDScanSelfie", "IDScanPassport"]>;
902
+ requestId: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
903
+ attribute: z.ZodString;
904
+ value: z.ZodUnion<[z.ZodBoolean, z.ZodString, z.ZodNumber, z.ZodArray<z.ZodUnion<[z.ZodString, z.ZodNumber]>, "many">]>;
905
+ operator: z.ZodEnum<["$noop", "$eq", "$lt", "$lte", "$gt", "$gte", "$in", "$nin", "$ne"]>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ value: string | number | boolean | (string | number)[];
908
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
909
+ attribute: string;
910
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
911
+ requestId?: number | null | undefined;
912
+ }, {
913
+ value: string | number | boolean | (string | number)[];
914
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
915
+ attribute: string;
916
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
917
+ requestId?: number | null | undefined;
918
+ }>, "many">;
919
+ }, "strip", z.ZodTypeAny, {
920
+ scenarioVerifierAddress: `0x${string}`;
921
+ zkpRequests: {
922
+ value: string | number | boolean | (string | number)[];
923
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
924
+ attribute: string;
925
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
926
+ requestId?: number | null | undefined;
927
+ }[];
928
+ }, {
929
+ scenarioVerifierAddress: string;
930
+ zkpRequests: {
931
+ value: string | number | boolean | (string | number)[];
932
+ type: "AMLScreeningsResults" | "ProofOfResidence" | "SelfieImage" | "IDImage" | "IDInformation" | "ID3" | "IDScan" | "IDScanSelfie" | "IDScanPassport";
933
+ attribute: string;
934
+ operator: "$noop" | "$eq" | "$lt" | "$lte" | "$gt" | "$gte" | "$in" | "$nin" | "$ne";
935
+ requestId?: number | null | undefined;
936
+ }[];
937
+ }>;
938
+ export type OnChainZKPScenarioFromCms = z.infer<typeof OnChainZKPScenarioFromCms>;
939
+ export declare const OnChainZKPPayload: z.ZodObject<{
940
+ requestId: z.ZodBigInt;
941
+ inputs: z.ZodArray<z.ZodBigInt, "many">;
942
+ a: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
943
+ b: z.ZodTuple<[z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>, z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>], null>;
944
+ c: z.ZodTuple<[z.ZodBigInt, z.ZodBigInt], null>;
945
+ }, "strip", z.ZodTypeAny, {
946
+ requestId: bigint;
947
+ inputs: bigint[];
948
+ a: [bigint, bigint];
949
+ b: [[bigint, bigint], [bigint, bigint]];
950
+ c: [bigint, bigint];
951
+ }, {
952
+ requestId: bigint;
953
+ inputs: bigint[];
954
+ a: [bigint, bigint];
955
+ b: [[bigint, bigint], [bigint, bigint]];
956
+ c: [bigint, bigint];
957
+ }>;
958
+ export type OnChainZKPPayload = z.infer<typeof OnChainZKPPayload>;
959
+ export declare const SCENARIO_AUTHORIZATION_STATUSES: readonly ["pending", "authorised", "unauthorised"];
960
+ export declare const ScenarioAuthorizationStatus: z.ZodEnum<["pending", "authorised", "unauthorised"]>;
961
+ export type ScenarioAuthorizationStatus = z.infer<typeof ScenarioAuthorizationStatus>;
962
+ //# sourceMappingURL=zkps.schema.d.ts.map