@pagopa/io-react-native-wallet 0.27.1 → 0.28.1
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/lib/commonjs/client/generated/wallet-provider.js +27 -19
- package/lib/commonjs/client/generated/wallet-provider.js.map +1 -1
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js +3 -0
- package/lib/commonjs/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/commonjs/credential/presentation/01-start-flow.js +14 -24
- package/lib/commonjs/credential/presentation/01-start-flow.js.map +1 -1
- package/lib/commonjs/credential/presentation/03-get-request-object.js +30 -42
- package/lib/commonjs/credential/presentation/03-get-request-object.js.map +1 -1
- package/lib/commonjs/credential/presentation/04-retrieve-rp-jwks.js +32 -0
- package/lib/commonjs/credential/presentation/04-retrieve-rp-jwks.js.map +1 -0
- package/lib/commonjs/credential/presentation/05-verify-request-object.js +53 -0
- package/lib/commonjs/credential/presentation/05-verify-request-object.js.map +1 -0
- package/lib/commonjs/credential/presentation/06-fetch-presentation-definition.js +39 -0
- package/lib/commonjs/credential/presentation/06-fetch-presentation-definition.js.map +1 -0
- package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js +125 -0
- package/lib/commonjs/credential/presentation/07-evaluate-dcql-query.js.map +1 -0
- package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js +289 -0
- package/lib/commonjs/credential/presentation/07-evaluate-input-descriptor.js.map +1 -0
- package/lib/commonjs/credential/presentation/08-send-authorization-response.js +170 -0
- package/lib/commonjs/credential/presentation/08-send-authorization-response.js.map +1 -0
- package/lib/commonjs/credential/presentation/errors.js +69 -1
- package/lib/commonjs/credential/presentation/errors.js.map +1 -1
- package/lib/commonjs/credential/presentation/index.js +29 -1
- package/lib/commonjs/credential/presentation/index.js.map +1 -1
- package/lib/commonjs/credential/presentation/types.js +124 -3
- package/lib/commonjs/credential/presentation/types.js.map +1 -1
- package/lib/commonjs/sd-jwt/index.js +41 -1
- package/lib/commonjs/sd-jwt/index.js.map +1 -1
- package/lib/commonjs/trust/chain.js +35 -50
- package/lib/commonjs/trust/chain.js.map +1 -1
- package/lib/commonjs/trust/index.js +139 -16
- package/lib/commonjs/trust/index.js.map +1 -1
- package/lib/commonjs/trust/types.js +36 -12
- package/lib/commonjs/trust/types.js.map +1 -1
- package/lib/commonjs/trust/utils.js +41 -0
- package/lib/commonjs/trust/utils.js.map +1 -0
- package/lib/commonjs/utils/jwk.js +5 -1
- package/lib/commonjs/utils/jwk.js.map +1 -1
- package/lib/commonjs/wallet-instance/index.js +10 -0
- package/lib/commonjs/wallet-instance/index.js.map +1 -1
- package/lib/module/client/generated/wallet-provider.js +22 -15
- package/lib/module/client/generated/wallet-provider.js.map +1 -1
- package/lib/module/credential/issuance/03-start-user-authorization.js +3 -0
- package/lib/module/credential/issuance/03-start-user-authorization.js.map +1 -1
- package/lib/module/credential/presentation/01-start-flow.js +14 -24
- package/lib/module/credential/presentation/01-start-flow.js.map +1 -1
- package/lib/module/credential/presentation/03-get-request-object.js +31 -43
- package/lib/module/credential/presentation/03-get-request-object.js.map +1 -1
- package/lib/module/credential/presentation/04-retrieve-rp-jwks.js +25 -0
- package/lib/module/credential/presentation/04-retrieve-rp-jwks.js.map +1 -0
- package/lib/module/credential/presentation/05-verify-request-object.js +46 -0
- package/lib/module/credential/presentation/05-verify-request-object.js.map +1 -0
- package/lib/module/credential/presentation/06-fetch-presentation-definition.js +32 -0
- package/lib/module/credential/presentation/06-fetch-presentation-definition.js.map +1 -0
- package/lib/module/credential/presentation/07-evaluate-dcql-query.js +117 -0
- package/lib/module/credential/presentation/07-evaluate-dcql-query.js.map +1 -0
- package/lib/module/credential/presentation/07-evaluate-input-descriptor.js +278 -0
- package/lib/module/credential/presentation/07-evaluate-input-descriptor.js.map +1 -0
- package/lib/module/credential/presentation/08-send-authorization-response.js +158 -0
- package/lib/module/credential/presentation/08-send-authorization-response.js.map +1 -0
- package/lib/module/credential/presentation/errors.js +64 -0
- package/lib/module/credential/presentation/errors.js.map +1 -1
- package/lib/module/credential/presentation/index.js +6 -2
- package/lib/module/credential/presentation/index.js.map +1 -1
- package/lib/module/credential/presentation/types.js +121 -2
- package/lib/module/credential/presentation/types.js.map +1 -1
- package/lib/module/sd-jwt/index.js +40 -1
- package/lib/module/sd-jwt/index.js.map +1 -1
- package/lib/module/trust/chain.js +32 -46
- package/lib/module/trust/chain.js.map +1 -1
- package/lib/module/trust/index.js +139 -18
- package/lib/module/trust/index.js.map +1 -1
- package/lib/module/trust/types.js +34 -11
- package/lib/module/trust/types.js.map +1 -1
- package/lib/module/trust/utils.js +33 -0
- package/lib/module/trust/utils.js.map +1 -0
- package/lib/module/utils/jwk.js +3 -0
- package/lib/module/utils/jwk.js.map +1 -1
- package/lib/module/wallet-instance/index.js +9 -0
- package/lib/module/wallet-instance/index.js.map +1 -1
- package/lib/typescript/client/generated/wallet-provider.d.ts +91 -54
- package/lib/typescript/client/generated/wallet-provider.d.ts.map +1 -1
- package/lib/typescript/credential/issuance/03-start-user-authorization.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/01-start-flow.d.ts +26 -5
- package/lib/typescript/credential/presentation/01-start-flow.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/03-get-request-object.d.ts +7 -10
- package/lib/typescript/credential/presentation/03-get-request-object.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/04-retrieve-rp-jwks.d.ts +23 -0
- package/lib/typescript/credential/presentation/04-retrieve-rp-jwks.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/05-verify-request-object.d.ts +18 -0
- package/lib/typescript/credential/presentation/05-verify-request-object.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/06-fetch-presentation-definition.d.ts +21 -0
- package/lib/typescript/credential/presentation/06-fetch-presentation-definition.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts +20 -0
- package/lib/typescript/credential/presentation/07-evaluate-dcql-query.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts +88 -0
- package/lib/typescript/credential/presentation/07-evaluate-input-descriptor.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts +70 -0
- package/lib/typescript/credential/presentation/08-send-authorization-response.d.ts.map +1 -0
- package/lib/typescript/credential/presentation/errors.d.ts +44 -0
- package/lib/typescript/credential/presentation/errors.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/index.d.ts +7 -3
- package/lib/typescript/credential/presentation/index.d.ts.map +1 -1
- package/lib/typescript/credential/presentation/types.d.ts +747 -10
- package/lib/typescript/credential/presentation/types.d.ts.map +1 -1
- package/lib/typescript/credential/status/types.d.ts +6 -6
- package/lib/typescript/sd-jwt/index.d.ts +31 -12
- package/lib/typescript/sd-jwt/index.d.ts.map +1 -1
- package/lib/typescript/sd-jwt/types.d.ts +6 -6
- package/lib/typescript/trust/chain.d.ts +4 -9
- package/lib/typescript/trust/chain.d.ts.map +1 -1
- package/lib/typescript/trust/index.d.ts +337 -61
- package/lib/typescript/trust/index.d.ts.map +1 -1
- package/lib/typescript/trust/types.d.ts +4074 -407
- package/lib/typescript/trust/types.d.ts.map +1 -1
- package/lib/typescript/trust/utils.d.ts +12 -0
- package/lib/typescript/trust/utils.d.ts.map +1 -0
- package/lib/typescript/utils/decoder.d.ts +1 -1
- package/lib/typescript/utils/decoder.d.ts.map +1 -1
- package/lib/typescript/utils/jwk.d.ts +137 -0
- package/lib/typescript/utils/jwk.d.ts.map +1 -1
- package/lib/typescript/wallet-instance/index.d.ts +8 -0
- package/lib/typescript/wallet-instance/index.d.ts.map +1 -1
- package/lib/typescript/wallet-instance-attestation/types.d.ts +36 -36
- package/package.json +5 -2
- package/src/client/generated/wallet-provider.ts +28 -19
- package/src/credential/issuance/03-start-user-authorization.ts +3 -0
- package/src/credential/presentation/01-start-flow.ts +19 -26
- package/src/credential/presentation/03-get-request-object.ts +35 -58
- package/src/credential/presentation/04-retrieve-rp-jwks.ts +34 -0
- package/src/credential/presentation/05-verify-request-object.ts +52 -0
- package/src/credential/presentation/06-fetch-presentation-definition.ts +48 -0
- package/src/credential/presentation/07-evaluate-dcql-query.ts +166 -0
- package/src/credential/presentation/07-evaluate-input-descriptor.ts +391 -0
- package/src/credential/presentation/08-send-authorization-response.ts +220 -0
- package/src/credential/presentation/errors.ts +64 -0
- package/src/credential/presentation/index.ts +22 -1
- package/src/credential/presentation/types.ts +133 -2
- package/src/sd-jwt/index.ts +49 -1
- package/src/trust/chain.ts +46 -66
- package/src/trust/index.ts +185 -20
- package/src/trust/types.ts +34 -10
- package/src/trust/utils.ts +35 -0
- package/src/utils/decoder.ts +1 -1
- package/src/utils/jwk.ts +8 -1
- package/src/wallet-instance/index.ts +13 -0
- package/lib/commonjs/credential/presentation/04-send-authorization-response.js +0 -138
- package/lib/commonjs/credential/presentation/04-send-authorization-response.js.map +0 -1
- package/lib/module/credential/presentation/04-send-authorization-response.js +0 -128
- package/lib/module/credential/presentation/04-send-authorization-response.js.map +0 -1
- package/lib/typescript/credential/presentation/04-send-authorization-response.d.ts +0 -34
- package/lib/typescript/credential/presentation/04-send-authorization-response.d.ts.map +0 -1
- package/src/credential/presentation/04-send-authorization-response.ts +0 -168
@@ -8,6 +8,339 @@ export type Presentation = [
|
|
8
8
|
string[],
|
9
9
|
CryptoContext
|
10
10
|
];
|
11
|
+
/**
|
12
|
+
* A object that associate the information needed to multiple remote presentation
|
13
|
+
* Used with `presentation_definition`
|
14
|
+
* @deprecated Use `RemotePresentation`
|
15
|
+
*/
|
16
|
+
export type LegacyRemotePresentation = {
|
17
|
+
requestedClaims: string[];
|
18
|
+
inputDescriptor: InputDescriptor;
|
19
|
+
format: string;
|
20
|
+
vpToken: string;
|
21
|
+
};
|
22
|
+
/**
|
23
|
+
* A object that associate the information needed to multiple remote presentation
|
24
|
+
* Used with DCQL queries
|
25
|
+
*/
|
26
|
+
export type RemotePresentation = {
|
27
|
+
requestedClaims: string[];
|
28
|
+
credentialId: string;
|
29
|
+
format: string;
|
30
|
+
vpToken: string;
|
31
|
+
};
|
32
|
+
export type InputDescriptor = z.infer<typeof InputDescriptor>;
|
33
|
+
export declare const InputDescriptor: z.ZodObject<{
|
34
|
+
id: z.ZodString;
|
35
|
+
name: z.ZodOptional<z.ZodString>;
|
36
|
+
purpose: z.ZodOptional<z.ZodString>;
|
37
|
+
format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
38
|
+
constraints: z.ZodObject<{
|
39
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
40
|
+
path: z.ZodArray<z.ZodString, "many">;
|
41
|
+
id: z.ZodOptional<z.ZodString>;
|
42
|
+
purpose: z.ZodOptional<z.ZodString>;
|
43
|
+
name: z.ZodOptional<z.ZodString>;
|
44
|
+
filter: z.ZodOptional<z.ZodAny>;
|
45
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
46
|
+
intent_to_retain: z.ZodOptional<z.ZodBoolean>;
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
48
|
+
path: string[];
|
49
|
+
id?: string | undefined;
|
50
|
+
purpose?: string | undefined;
|
51
|
+
name?: string | undefined;
|
52
|
+
filter?: any;
|
53
|
+
optional?: boolean | undefined;
|
54
|
+
intent_to_retain?: boolean | undefined;
|
55
|
+
}, {
|
56
|
+
path: string[];
|
57
|
+
id?: string | undefined;
|
58
|
+
purpose?: string | undefined;
|
59
|
+
name?: string | undefined;
|
60
|
+
filter?: any;
|
61
|
+
optional?: boolean | undefined;
|
62
|
+
intent_to_retain?: boolean | undefined;
|
63
|
+
}>, "many">>;
|
64
|
+
limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
|
65
|
+
}, "strip", z.ZodTypeAny, {
|
66
|
+
fields?: {
|
67
|
+
path: string[];
|
68
|
+
id?: string | undefined;
|
69
|
+
purpose?: string | undefined;
|
70
|
+
name?: string | undefined;
|
71
|
+
filter?: any;
|
72
|
+
optional?: boolean | undefined;
|
73
|
+
intent_to_retain?: boolean | undefined;
|
74
|
+
}[] | undefined;
|
75
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
76
|
+
}, {
|
77
|
+
fields?: {
|
78
|
+
path: string[];
|
79
|
+
id?: string | undefined;
|
80
|
+
purpose?: string | undefined;
|
81
|
+
name?: string | undefined;
|
82
|
+
filter?: any;
|
83
|
+
optional?: boolean | undefined;
|
84
|
+
intent_to_retain?: boolean | undefined;
|
85
|
+
}[] | undefined;
|
86
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
87
|
+
}>;
|
88
|
+
group: z.ZodOptional<z.ZodString>;
|
89
|
+
}, "strip", z.ZodTypeAny, {
|
90
|
+
id: string;
|
91
|
+
constraints: {
|
92
|
+
fields?: {
|
93
|
+
path: string[];
|
94
|
+
id?: string | undefined;
|
95
|
+
purpose?: string | undefined;
|
96
|
+
name?: string | undefined;
|
97
|
+
filter?: any;
|
98
|
+
optional?: boolean | undefined;
|
99
|
+
intent_to_retain?: boolean | undefined;
|
100
|
+
}[] | undefined;
|
101
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
102
|
+
};
|
103
|
+
name?: string | undefined;
|
104
|
+
purpose?: string | undefined;
|
105
|
+
format?: Record<string, any> | undefined;
|
106
|
+
group?: string | undefined;
|
107
|
+
}, {
|
108
|
+
id: string;
|
109
|
+
constraints: {
|
110
|
+
fields?: {
|
111
|
+
path: string[];
|
112
|
+
id?: string | undefined;
|
113
|
+
purpose?: string | undefined;
|
114
|
+
name?: string | undefined;
|
115
|
+
filter?: any;
|
116
|
+
optional?: boolean | undefined;
|
117
|
+
intent_to_retain?: boolean | undefined;
|
118
|
+
}[] | undefined;
|
119
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
120
|
+
};
|
121
|
+
name?: string | undefined;
|
122
|
+
purpose?: string | undefined;
|
123
|
+
format?: Record<string, any> | undefined;
|
124
|
+
group?: string | undefined;
|
125
|
+
}>;
|
126
|
+
export type PresentationDefinition = z.infer<typeof PresentationDefinition>;
|
127
|
+
export declare const PresentationDefinition: z.ZodObject<{
|
128
|
+
id: z.ZodString;
|
129
|
+
name: z.ZodOptional<z.ZodString>;
|
130
|
+
purpose: z.ZodOptional<z.ZodString>;
|
131
|
+
input_descriptors: z.ZodArray<z.ZodObject<{
|
132
|
+
id: z.ZodString;
|
133
|
+
name: z.ZodOptional<z.ZodString>;
|
134
|
+
purpose: z.ZodOptional<z.ZodString>;
|
135
|
+
format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
136
|
+
constraints: z.ZodObject<{
|
137
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
138
|
+
path: z.ZodArray<z.ZodString, "many">;
|
139
|
+
id: z.ZodOptional<z.ZodString>;
|
140
|
+
purpose: z.ZodOptional<z.ZodString>;
|
141
|
+
name: z.ZodOptional<z.ZodString>;
|
142
|
+
filter: z.ZodOptional<z.ZodAny>;
|
143
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
144
|
+
intent_to_retain: z.ZodOptional<z.ZodBoolean>;
|
145
|
+
}, "strip", z.ZodTypeAny, {
|
146
|
+
path: string[];
|
147
|
+
id?: string | undefined;
|
148
|
+
purpose?: string | undefined;
|
149
|
+
name?: string | undefined;
|
150
|
+
filter?: any;
|
151
|
+
optional?: boolean | undefined;
|
152
|
+
intent_to_retain?: boolean | undefined;
|
153
|
+
}, {
|
154
|
+
path: string[];
|
155
|
+
id?: string | undefined;
|
156
|
+
purpose?: string | undefined;
|
157
|
+
name?: string | undefined;
|
158
|
+
filter?: any;
|
159
|
+
optional?: boolean | undefined;
|
160
|
+
intent_to_retain?: boolean | undefined;
|
161
|
+
}>, "many">>;
|
162
|
+
limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
164
|
+
fields?: {
|
165
|
+
path: string[];
|
166
|
+
id?: string | undefined;
|
167
|
+
purpose?: string | undefined;
|
168
|
+
name?: string | undefined;
|
169
|
+
filter?: any;
|
170
|
+
optional?: boolean | undefined;
|
171
|
+
intent_to_retain?: boolean | undefined;
|
172
|
+
}[] | undefined;
|
173
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
174
|
+
}, {
|
175
|
+
fields?: {
|
176
|
+
path: string[];
|
177
|
+
id?: string | undefined;
|
178
|
+
purpose?: string | undefined;
|
179
|
+
name?: string | undefined;
|
180
|
+
filter?: any;
|
181
|
+
optional?: boolean | undefined;
|
182
|
+
intent_to_retain?: boolean | undefined;
|
183
|
+
}[] | undefined;
|
184
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
185
|
+
}>;
|
186
|
+
group: z.ZodOptional<z.ZodString>;
|
187
|
+
}, "strip", z.ZodTypeAny, {
|
188
|
+
id: string;
|
189
|
+
constraints: {
|
190
|
+
fields?: {
|
191
|
+
path: string[];
|
192
|
+
id?: string | undefined;
|
193
|
+
purpose?: string | undefined;
|
194
|
+
name?: string | undefined;
|
195
|
+
filter?: any;
|
196
|
+
optional?: boolean | undefined;
|
197
|
+
intent_to_retain?: boolean | undefined;
|
198
|
+
}[] | undefined;
|
199
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
200
|
+
};
|
201
|
+
name?: string | undefined;
|
202
|
+
purpose?: string | undefined;
|
203
|
+
format?: Record<string, any> | undefined;
|
204
|
+
group?: string | undefined;
|
205
|
+
}, {
|
206
|
+
id: string;
|
207
|
+
constraints: {
|
208
|
+
fields?: {
|
209
|
+
path: string[];
|
210
|
+
id?: string | undefined;
|
211
|
+
purpose?: string | undefined;
|
212
|
+
name?: string | undefined;
|
213
|
+
filter?: any;
|
214
|
+
optional?: boolean | undefined;
|
215
|
+
intent_to_retain?: boolean | undefined;
|
216
|
+
}[] | undefined;
|
217
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
218
|
+
};
|
219
|
+
name?: string | undefined;
|
220
|
+
purpose?: string | undefined;
|
221
|
+
format?: Record<string, any> | undefined;
|
222
|
+
group?: string | undefined;
|
223
|
+
}>, "many">;
|
224
|
+
submission_requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
225
|
+
name: z.ZodOptional<z.ZodString>;
|
226
|
+
purpose: z.ZodOptional<z.ZodString>;
|
227
|
+
rule: z.ZodString;
|
228
|
+
from: z.ZodOptional<z.ZodString>;
|
229
|
+
from_nested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
230
|
+
name: z.ZodOptional<z.ZodString>;
|
231
|
+
purpose: z.ZodOptional<z.ZodString>;
|
232
|
+
rule: z.ZodString;
|
233
|
+
from: z.ZodString;
|
234
|
+
}, "strip", z.ZodTypeAny, {
|
235
|
+
rule: string;
|
236
|
+
from: string;
|
237
|
+
name?: string | undefined;
|
238
|
+
purpose?: string | undefined;
|
239
|
+
}, {
|
240
|
+
rule: string;
|
241
|
+
from: string;
|
242
|
+
name?: string | undefined;
|
243
|
+
purpose?: string | undefined;
|
244
|
+
}>, "many">>;
|
245
|
+
count: z.ZodOptional<z.ZodNumber>;
|
246
|
+
}, "strip", z.ZodTypeAny, {
|
247
|
+
rule: string;
|
248
|
+
name?: string | undefined;
|
249
|
+
purpose?: string | undefined;
|
250
|
+
from?: string | undefined;
|
251
|
+
from_nested?: {
|
252
|
+
rule: string;
|
253
|
+
from: string;
|
254
|
+
name?: string | undefined;
|
255
|
+
purpose?: string | undefined;
|
256
|
+
}[] | undefined;
|
257
|
+
count?: number | undefined;
|
258
|
+
}, {
|
259
|
+
rule: string;
|
260
|
+
name?: string | undefined;
|
261
|
+
purpose?: string | undefined;
|
262
|
+
from?: string | undefined;
|
263
|
+
from_nested?: {
|
264
|
+
rule: string;
|
265
|
+
from: string;
|
266
|
+
name?: string | undefined;
|
267
|
+
purpose?: string | undefined;
|
268
|
+
}[] | undefined;
|
269
|
+
count?: number | undefined;
|
270
|
+
}>, "many">>;
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
272
|
+
id: string;
|
273
|
+
input_descriptors: {
|
274
|
+
id: string;
|
275
|
+
constraints: {
|
276
|
+
fields?: {
|
277
|
+
path: string[];
|
278
|
+
id?: string | undefined;
|
279
|
+
purpose?: string | undefined;
|
280
|
+
name?: string | undefined;
|
281
|
+
filter?: any;
|
282
|
+
optional?: boolean | undefined;
|
283
|
+
intent_to_retain?: boolean | undefined;
|
284
|
+
}[] | undefined;
|
285
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
286
|
+
};
|
287
|
+
name?: string | undefined;
|
288
|
+
purpose?: string | undefined;
|
289
|
+
format?: Record<string, any> | undefined;
|
290
|
+
group?: string | undefined;
|
291
|
+
}[];
|
292
|
+
name?: string | undefined;
|
293
|
+
purpose?: string | undefined;
|
294
|
+
submission_requirements?: {
|
295
|
+
rule: string;
|
296
|
+
name?: string | undefined;
|
297
|
+
purpose?: string | undefined;
|
298
|
+
from?: string | undefined;
|
299
|
+
from_nested?: {
|
300
|
+
rule: string;
|
301
|
+
from: string;
|
302
|
+
name?: string | undefined;
|
303
|
+
purpose?: string | undefined;
|
304
|
+
}[] | undefined;
|
305
|
+
count?: number | undefined;
|
306
|
+
}[] | undefined;
|
307
|
+
}, {
|
308
|
+
id: string;
|
309
|
+
input_descriptors: {
|
310
|
+
id: string;
|
311
|
+
constraints: {
|
312
|
+
fields?: {
|
313
|
+
path: string[];
|
314
|
+
id?: string | undefined;
|
315
|
+
purpose?: string | undefined;
|
316
|
+
name?: string | undefined;
|
317
|
+
filter?: any;
|
318
|
+
optional?: boolean | undefined;
|
319
|
+
intent_to_retain?: boolean | undefined;
|
320
|
+
}[] | undefined;
|
321
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
322
|
+
};
|
323
|
+
name?: string | undefined;
|
324
|
+
purpose?: string | undefined;
|
325
|
+
format?: Record<string, any> | undefined;
|
326
|
+
group?: string | undefined;
|
327
|
+
}[];
|
328
|
+
name?: string | undefined;
|
329
|
+
purpose?: string | undefined;
|
330
|
+
submission_requirements?: {
|
331
|
+
rule: string;
|
332
|
+
name?: string | undefined;
|
333
|
+
purpose?: string | undefined;
|
334
|
+
from?: string | undefined;
|
335
|
+
from_nested?: {
|
336
|
+
rule: string;
|
337
|
+
from: string;
|
338
|
+
name?: string | undefined;
|
339
|
+
purpose?: string | undefined;
|
340
|
+
}[] | undefined;
|
341
|
+
count?: number | undefined;
|
342
|
+
}[] | undefined;
|
343
|
+
}>;
|
11
344
|
export type RequestObject = z.infer<typeof RequestObject>;
|
12
345
|
export declare const RequestObject: z.ZodObject<{
|
13
346
|
iss: z.ZodString;
|
@@ -16,34 +349,438 @@ export declare const RequestObject: z.ZodObject<{
|
|
16
349
|
state: z.ZodString;
|
17
350
|
nonce: z.ZodString;
|
18
351
|
response_uri: z.ZodString;
|
352
|
+
response_uri_method: z.ZodOptional<z.ZodString>;
|
19
353
|
response_type: z.ZodLiteral<"vp_token">;
|
20
354
|
response_mode: z.ZodLiteral<"direct_post.jwt">;
|
21
355
|
client_id: z.ZodString;
|
22
|
-
|
23
|
-
scope: z.ZodString
|
356
|
+
dcql_query: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
357
|
+
scope: z.ZodOptional<z.ZodString>;
|
358
|
+
presentation_definition: z.ZodOptional<z.ZodObject<{
|
359
|
+
id: z.ZodString;
|
360
|
+
name: z.ZodOptional<z.ZodString>;
|
361
|
+
purpose: z.ZodOptional<z.ZodString>;
|
362
|
+
input_descriptors: z.ZodArray<z.ZodObject<{
|
363
|
+
id: z.ZodString;
|
364
|
+
name: z.ZodOptional<z.ZodString>;
|
365
|
+
purpose: z.ZodOptional<z.ZodString>;
|
366
|
+
format: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
367
|
+
constraints: z.ZodObject<{
|
368
|
+
fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
369
|
+
path: z.ZodArray<z.ZodString, "many">;
|
370
|
+
id: z.ZodOptional<z.ZodString>;
|
371
|
+
purpose: z.ZodOptional<z.ZodString>;
|
372
|
+
name: z.ZodOptional<z.ZodString>;
|
373
|
+
filter: z.ZodOptional<z.ZodAny>;
|
374
|
+
optional: z.ZodOptional<z.ZodBoolean>;
|
375
|
+
intent_to_retain: z.ZodOptional<z.ZodBoolean>;
|
376
|
+
}, "strip", z.ZodTypeAny, {
|
377
|
+
path: string[];
|
378
|
+
id?: string | undefined;
|
379
|
+
purpose?: string | undefined;
|
380
|
+
name?: string | undefined;
|
381
|
+
filter?: any;
|
382
|
+
optional?: boolean | undefined;
|
383
|
+
intent_to_retain?: boolean | undefined;
|
384
|
+
}, {
|
385
|
+
path: string[];
|
386
|
+
id?: string | undefined;
|
387
|
+
purpose?: string | undefined;
|
388
|
+
name?: string | undefined;
|
389
|
+
filter?: any;
|
390
|
+
optional?: boolean | undefined;
|
391
|
+
intent_to_retain?: boolean | undefined;
|
392
|
+
}>, "many">>;
|
393
|
+
limit_disclosure: z.ZodOptional<z.ZodEnum<["required", "preferred"]>>;
|
394
|
+
}, "strip", z.ZodTypeAny, {
|
395
|
+
fields?: {
|
396
|
+
path: string[];
|
397
|
+
id?: string | undefined;
|
398
|
+
purpose?: string | undefined;
|
399
|
+
name?: string | undefined;
|
400
|
+
filter?: any;
|
401
|
+
optional?: boolean | undefined;
|
402
|
+
intent_to_retain?: boolean | undefined;
|
403
|
+
}[] | undefined;
|
404
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
405
|
+
}, {
|
406
|
+
fields?: {
|
407
|
+
path: string[];
|
408
|
+
id?: string | undefined;
|
409
|
+
purpose?: string | undefined;
|
410
|
+
name?: string | undefined;
|
411
|
+
filter?: any;
|
412
|
+
optional?: boolean | undefined;
|
413
|
+
intent_to_retain?: boolean | undefined;
|
414
|
+
}[] | undefined;
|
415
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
416
|
+
}>;
|
417
|
+
group: z.ZodOptional<z.ZodString>;
|
418
|
+
}, "strip", z.ZodTypeAny, {
|
419
|
+
id: string;
|
420
|
+
constraints: {
|
421
|
+
fields?: {
|
422
|
+
path: string[];
|
423
|
+
id?: string | undefined;
|
424
|
+
purpose?: string | undefined;
|
425
|
+
name?: string | undefined;
|
426
|
+
filter?: any;
|
427
|
+
optional?: boolean | undefined;
|
428
|
+
intent_to_retain?: boolean | undefined;
|
429
|
+
}[] | undefined;
|
430
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
431
|
+
};
|
432
|
+
name?: string | undefined;
|
433
|
+
purpose?: string | undefined;
|
434
|
+
format?: Record<string, any> | undefined;
|
435
|
+
group?: string | undefined;
|
436
|
+
}, {
|
437
|
+
id: string;
|
438
|
+
constraints: {
|
439
|
+
fields?: {
|
440
|
+
path: string[];
|
441
|
+
id?: string | undefined;
|
442
|
+
purpose?: string | undefined;
|
443
|
+
name?: string | undefined;
|
444
|
+
filter?: any;
|
445
|
+
optional?: boolean | undefined;
|
446
|
+
intent_to_retain?: boolean | undefined;
|
447
|
+
}[] | undefined;
|
448
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
449
|
+
};
|
450
|
+
name?: string | undefined;
|
451
|
+
purpose?: string | undefined;
|
452
|
+
format?: Record<string, any> | undefined;
|
453
|
+
group?: string | undefined;
|
454
|
+
}>, "many">;
|
455
|
+
submission_requirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
456
|
+
name: z.ZodOptional<z.ZodString>;
|
457
|
+
purpose: z.ZodOptional<z.ZodString>;
|
458
|
+
rule: z.ZodString;
|
459
|
+
from: z.ZodOptional<z.ZodString>;
|
460
|
+
from_nested: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
461
|
+
name: z.ZodOptional<z.ZodString>;
|
462
|
+
purpose: z.ZodOptional<z.ZodString>;
|
463
|
+
rule: z.ZodString;
|
464
|
+
from: z.ZodString;
|
465
|
+
}, "strip", z.ZodTypeAny, {
|
466
|
+
rule: string;
|
467
|
+
from: string;
|
468
|
+
name?: string | undefined;
|
469
|
+
purpose?: string | undefined;
|
470
|
+
}, {
|
471
|
+
rule: string;
|
472
|
+
from: string;
|
473
|
+
name?: string | undefined;
|
474
|
+
purpose?: string | undefined;
|
475
|
+
}>, "many">>;
|
476
|
+
count: z.ZodOptional<z.ZodNumber>;
|
477
|
+
}, "strip", z.ZodTypeAny, {
|
478
|
+
rule: string;
|
479
|
+
name?: string | undefined;
|
480
|
+
purpose?: string | undefined;
|
481
|
+
from?: string | undefined;
|
482
|
+
from_nested?: {
|
483
|
+
rule: string;
|
484
|
+
from: string;
|
485
|
+
name?: string | undefined;
|
486
|
+
purpose?: string | undefined;
|
487
|
+
}[] | undefined;
|
488
|
+
count?: number | undefined;
|
489
|
+
}, {
|
490
|
+
rule: string;
|
491
|
+
name?: string | undefined;
|
492
|
+
purpose?: string | undefined;
|
493
|
+
from?: string | undefined;
|
494
|
+
from_nested?: {
|
495
|
+
rule: string;
|
496
|
+
from: string;
|
497
|
+
name?: string | undefined;
|
498
|
+
purpose?: string | undefined;
|
499
|
+
}[] | undefined;
|
500
|
+
count?: number | undefined;
|
501
|
+
}>, "many">>;
|
502
|
+
}, "strip", z.ZodTypeAny, {
|
503
|
+
id: string;
|
504
|
+
input_descriptors: {
|
505
|
+
id: string;
|
506
|
+
constraints: {
|
507
|
+
fields?: {
|
508
|
+
path: string[];
|
509
|
+
id?: string | undefined;
|
510
|
+
purpose?: string | undefined;
|
511
|
+
name?: string | undefined;
|
512
|
+
filter?: any;
|
513
|
+
optional?: boolean | undefined;
|
514
|
+
intent_to_retain?: boolean | undefined;
|
515
|
+
}[] | undefined;
|
516
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
517
|
+
};
|
518
|
+
name?: string | undefined;
|
519
|
+
purpose?: string | undefined;
|
520
|
+
format?: Record<string, any> | undefined;
|
521
|
+
group?: string | undefined;
|
522
|
+
}[];
|
523
|
+
name?: string | undefined;
|
524
|
+
purpose?: string | undefined;
|
525
|
+
submission_requirements?: {
|
526
|
+
rule: string;
|
527
|
+
name?: string | undefined;
|
528
|
+
purpose?: string | undefined;
|
529
|
+
from?: string | undefined;
|
530
|
+
from_nested?: {
|
531
|
+
rule: string;
|
532
|
+
from: string;
|
533
|
+
name?: string | undefined;
|
534
|
+
purpose?: string | undefined;
|
535
|
+
}[] | undefined;
|
536
|
+
count?: number | undefined;
|
537
|
+
}[] | undefined;
|
538
|
+
}, {
|
539
|
+
id: string;
|
540
|
+
input_descriptors: {
|
541
|
+
id: string;
|
542
|
+
constraints: {
|
543
|
+
fields?: {
|
544
|
+
path: string[];
|
545
|
+
id?: string | undefined;
|
546
|
+
purpose?: string | undefined;
|
547
|
+
name?: string | undefined;
|
548
|
+
filter?: any;
|
549
|
+
optional?: boolean | undefined;
|
550
|
+
intent_to_retain?: boolean | undefined;
|
551
|
+
}[] | undefined;
|
552
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
553
|
+
};
|
554
|
+
name?: string | undefined;
|
555
|
+
purpose?: string | undefined;
|
556
|
+
format?: Record<string, any> | undefined;
|
557
|
+
group?: string | undefined;
|
558
|
+
}[];
|
559
|
+
name?: string | undefined;
|
560
|
+
purpose?: string | undefined;
|
561
|
+
submission_requirements?: {
|
562
|
+
rule: string;
|
563
|
+
name?: string | undefined;
|
564
|
+
purpose?: string | undefined;
|
565
|
+
from?: string | undefined;
|
566
|
+
from_nested?: {
|
567
|
+
rule: string;
|
568
|
+
from: string;
|
569
|
+
name?: string | undefined;
|
570
|
+
purpose?: string | undefined;
|
571
|
+
}[] | undefined;
|
572
|
+
count?: number | undefined;
|
573
|
+
}[] | undefined;
|
574
|
+
}>>;
|
24
575
|
}, "strip", z.ZodTypeAny, {
|
25
576
|
state: string;
|
26
577
|
iss: string;
|
27
578
|
iat: number;
|
28
579
|
exp: number;
|
29
|
-
client_id: string;
|
30
|
-
scope: string;
|
31
580
|
nonce: string;
|
581
|
+
response_uri: string;
|
32
582
|
response_type: "vp_token";
|
33
583
|
response_mode: "direct_post.jwt";
|
34
|
-
|
35
|
-
|
584
|
+
client_id: string;
|
585
|
+
response_uri_method?: string | undefined;
|
586
|
+
dcql_query?: Record<string, any> | undefined;
|
587
|
+
scope?: string | undefined;
|
588
|
+
presentation_definition?: {
|
589
|
+
id: string;
|
590
|
+
input_descriptors: {
|
591
|
+
id: string;
|
592
|
+
constraints: {
|
593
|
+
fields?: {
|
594
|
+
path: string[];
|
595
|
+
id?: string | undefined;
|
596
|
+
purpose?: string | undefined;
|
597
|
+
name?: string | undefined;
|
598
|
+
filter?: any;
|
599
|
+
optional?: boolean | undefined;
|
600
|
+
intent_to_retain?: boolean | undefined;
|
601
|
+
}[] | undefined;
|
602
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
603
|
+
};
|
604
|
+
name?: string | undefined;
|
605
|
+
purpose?: string | undefined;
|
606
|
+
format?: Record<string, any> | undefined;
|
607
|
+
group?: string | undefined;
|
608
|
+
}[];
|
609
|
+
name?: string | undefined;
|
610
|
+
purpose?: string | undefined;
|
611
|
+
submission_requirements?: {
|
612
|
+
rule: string;
|
613
|
+
name?: string | undefined;
|
614
|
+
purpose?: string | undefined;
|
615
|
+
from?: string | undefined;
|
616
|
+
from_nested?: {
|
617
|
+
rule: string;
|
618
|
+
from: string;
|
619
|
+
name?: string | undefined;
|
620
|
+
purpose?: string | undefined;
|
621
|
+
}[] | undefined;
|
622
|
+
count?: number | undefined;
|
623
|
+
}[] | undefined;
|
624
|
+
} | undefined;
|
36
625
|
}, {
|
37
626
|
state: string;
|
38
627
|
iss: string;
|
39
628
|
iat: number;
|
40
629
|
exp: number;
|
41
|
-
client_id: string;
|
42
|
-
scope: string;
|
43
630
|
nonce: string;
|
631
|
+
response_uri: string;
|
44
632
|
response_type: "vp_token";
|
45
633
|
response_mode: "direct_post.jwt";
|
46
|
-
|
47
|
-
|
634
|
+
client_id: string;
|
635
|
+
response_uri_method?: string | undefined;
|
636
|
+
dcql_query?: Record<string, any> | undefined;
|
637
|
+
scope?: string | undefined;
|
638
|
+
presentation_definition?: {
|
639
|
+
id: string;
|
640
|
+
input_descriptors: {
|
641
|
+
id: string;
|
642
|
+
constraints: {
|
643
|
+
fields?: {
|
644
|
+
path: string[];
|
645
|
+
id?: string | undefined;
|
646
|
+
purpose?: string | undefined;
|
647
|
+
name?: string | undefined;
|
648
|
+
filter?: any;
|
649
|
+
optional?: boolean | undefined;
|
650
|
+
intent_to_retain?: boolean | undefined;
|
651
|
+
}[] | undefined;
|
652
|
+
limit_disclosure?: "required" | "preferred" | undefined;
|
653
|
+
};
|
654
|
+
name?: string | undefined;
|
655
|
+
purpose?: string | undefined;
|
656
|
+
format?: Record<string, any> | undefined;
|
657
|
+
group?: string | undefined;
|
658
|
+
}[];
|
659
|
+
name?: string | undefined;
|
660
|
+
purpose?: string | undefined;
|
661
|
+
submission_requirements?: {
|
662
|
+
rule: string;
|
663
|
+
name?: string | undefined;
|
664
|
+
purpose?: string | undefined;
|
665
|
+
from?: string | undefined;
|
666
|
+
from_nested?: {
|
667
|
+
rule: string;
|
668
|
+
from: string;
|
669
|
+
name?: string | undefined;
|
670
|
+
purpose?: string | undefined;
|
671
|
+
}[] | undefined;
|
672
|
+
count?: number | undefined;
|
673
|
+
}[] | undefined;
|
674
|
+
} | undefined;
|
675
|
+
}>;
|
676
|
+
export type WalletMetadata = z.infer<typeof WalletMetadata>;
|
677
|
+
export declare const WalletMetadata: z.ZodObject<{
|
678
|
+
presentation_definition_uri_supported: z.ZodOptional<z.ZodBoolean>;
|
679
|
+
client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
680
|
+
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
681
|
+
vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
682
|
+
"sd-jwt_alg_values": z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
683
|
+
}, "strip", z.ZodTypeAny, {
|
684
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
685
|
+
}, {
|
686
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
687
|
+
}>>;
|
688
|
+
}, "strip", z.ZodTypeAny, {
|
689
|
+
vp_formats_supported: Record<string, {
|
690
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
691
|
+
}>;
|
692
|
+
presentation_definition_uri_supported?: boolean | undefined;
|
693
|
+
client_id_schemes_supported?: string[] | undefined;
|
694
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
695
|
+
}, {
|
696
|
+
vp_formats_supported: Record<string, {
|
697
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
698
|
+
}>;
|
699
|
+
presentation_definition_uri_supported?: boolean | undefined;
|
700
|
+
client_id_schemes_supported?: string[] | undefined;
|
701
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
702
|
+
}>;
|
703
|
+
/**
|
704
|
+
* Wallet capabilities that must be submitted to get the Request Object
|
705
|
+
* via POST request when the `request_uri_method` is `post`.
|
706
|
+
*/
|
707
|
+
export type RequestObjectWalletCapabilities = z.infer<typeof RequestObjectWalletCapabilities>;
|
708
|
+
export declare const RequestObjectWalletCapabilities: z.ZodObject<{
|
709
|
+
wallet_metadata: z.ZodObject<{
|
710
|
+
presentation_definition_uri_supported: z.ZodOptional<z.ZodBoolean>;
|
711
|
+
client_id_schemes_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
712
|
+
request_object_signing_alg_values_supported: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
713
|
+
vp_formats_supported: z.ZodRecord<z.ZodString, z.ZodObject<{
|
714
|
+
"sd-jwt_alg_values": z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
715
|
+
}, "strip", z.ZodTypeAny, {
|
716
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
717
|
+
}, {
|
718
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
719
|
+
}>>;
|
720
|
+
}, "strip", z.ZodTypeAny, {
|
721
|
+
vp_formats_supported: Record<string, {
|
722
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
723
|
+
}>;
|
724
|
+
presentation_definition_uri_supported?: boolean | undefined;
|
725
|
+
client_id_schemes_supported?: string[] | undefined;
|
726
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
727
|
+
}, {
|
728
|
+
vp_formats_supported: Record<string, {
|
729
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
730
|
+
}>;
|
731
|
+
presentation_definition_uri_supported?: boolean | undefined;
|
732
|
+
client_id_schemes_supported?: string[] | undefined;
|
733
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
734
|
+
}>;
|
735
|
+
wallet_nonce: z.ZodOptional<z.ZodString>;
|
736
|
+
}, "strip", z.ZodTypeAny, {
|
737
|
+
wallet_metadata: {
|
738
|
+
vp_formats_supported: Record<string, {
|
739
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
740
|
+
}>;
|
741
|
+
presentation_definition_uri_supported?: boolean | undefined;
|
742
|
+
client_id_schemes_supported?: string[] | undefined;
|
743
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
744
|
+
};
|
745
|
+
wallet_nonce?: string | undefined;
|
746
|
+
}, {
|
747
|
+
wallet_metadata: {
|
748
|
+
vp_formats_supported: Record<string, {
|
749
|
+
"sd-jwt_alg_values"?: string[] | undefined;
|
750
|
+
}>;
|
751
|
+
presentation_definition_uri_supported?: boolean | undefined;
|
752
|
+
client_id_schemes_supported?: string[] | undefined;
|
753
|
+
request_object_signing_alg_values_supported?: string[] | undefined;
|
754
|
+
};
|
755
|
+
wallet_nonce?: string | undefined;
|
756
|
+
}>;
|
757
|
+
/**
|
758
|
+
* Authorization Response payload when using `presentation_definition`.
|
759
|
+
* @deprecated Use `DirectAuthorizationBodyPayload`
|
760
|
+
*/
|
761
|
+
export type LegacyDirectAuthorizationBodyPayload = z.infer<typeof LegacyDirectAuthorizationBodyPayload>;
|
762
|
+
/**
|
763
|
+
* @deprecated Use `DirectAuthorizationBodyPayload`
|
764
|
+
*/
|
765
|
+
export declare const LegacyDirectAuthorizationBodyPayload: z.ZodObject<{
|
766
|
+
vp_token: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodArray<z.ZodString, "many">]>>;
|
767
|
+
presentation_submission: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
768
|
+
}, "strip", z.ZodTypeAny, {
|
769
|
+
presentation_submission: Record<string, unknown>;
|
770
|
+
vp_token?: string | string[] | undefined;
|
771
|
+
}, {
|
772
|
+
presentation_submission: Record<string, unknown>;
|
773
|
+
vp_token?: string | string[] | undefined;
|
774
|
+
}>;
|
775
|
+
/**
|
776
|
+
* Authorization Response payload when using DCQL queries.
|
777
|
+
*/
|
778
|
+
export type DirectAuthorizationBodyPayload = z.infer<typeof DirectAuthorizationBodyPayload>;
|
779
|
+
export declare const DirectAuthorizationBodyPayload: z.ZodObject<{
|
780
|
+
vp_token: z.ZodRecord<z.ZodString, z.ZodString>;
|
781
|
+
}, "strip", z.ZodTypeAny, {
|
782
|
+
vp_token: Record<string, string>;
|
783
|
+
}, {
|
784
|
+
vp_token: Record<string, string>;
|
48
785
|
}>;
|
49
786
|
//# sourceMappingURL=types.d.ts.map
|