@learncard/vc-plugin 1.1.44 → 1.1.45
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/issueCredential.d.ts +464 -121
- package/dist/issueCredential.d.ts.map +1 -1
- package/dist/issuePresentation.d.ts +2955 -307
- package/dist/issuePresentation.d.ts.map +1 -1
- package/package.json +4 -4
@@ -1,87 +1,56 @@
|
|
1
1
|
import { UnsignedVC } from '@learncard/types';
|
2
2
|
import { ProofOptions } from '@learncard/didkit-plugin';
|
3
3
|
import { VCDependentLearnCard, VCImplicitLearnCard } from './types';
|
4
|
-
export declare const issueCredential: (initLearnCard: VCDependentLearnCard) => (learnCard: VCImplicitLearnCard, credential: UnsignedVC, signingOptions?: Partial<ProofOptions>) => Promise<{
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
id:
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
[x: string]: any;
|
24
|
-
id?: string | undefined;
|
25
|
-
type: string;
|
26
|
-
}[] | undefined;
|
27
|
-
credentialSchema?: {
|
28
|
-
[x: string]: any;
|
29
|
-
type: string;
|
30
|
-
id: string;
|
31
|
-
} | {
|
32
|
-
[x: string]: any;
|
33
|
-
type: string;
|
34
|
-
id: string;
|
35
|
-
}[] | undefined;
|
36
|
-
issuanceDate?: string | undefined;
|
37
|
-
expirationDate?: string | undefined;
|
38
|
-
credentialStatus?: {
|
39
|
-
[x: string]: any;
|
40
|
-
type: string;
|
41
|
-
id: string;
|
42
|
-
} | {
|
43
|
-
[x: string]: any;
|
44
|
-
type: string;
|
45
|
-
id: string;
|
46
|
-
}[] | undefined;
|
47
|
-
validFrom?: string | undefined;
|
48
|
-
validUntil?: string | undefined;
|
49
|
-
termsOfUse?: {
|
50
|
-
[x: string]: any;
|
51
|
-
id?: string | undefined;
|
52
|
-
type: string;
|
53
|
-
} | {
|
54
|
-
[x: string]: any;
|
55
|
-
id?: string | undefined;
|
56
|
-
type: string;
|
57
|
-
}[] | undefined;
|
58
|
-
evidence?: {
|
59
|
-
[x: string]: any;
|
60
|
-
id?: string | undefined;
|
61
|
-
type: string | [string, ...string[]];
|
62
|
-
} | {
|
63
|
-
[x: string]: any;
|
64
|
-
id?: string | undefined;
|
65
|
-
type: string | [string, ...string[]];
|
66
|
-
}[] | undefined;
|
67
|
-
type: [string, ...string[]];
|
68
|
-
'@context': (string | Record<string, any>)[];
|
69
|
-
issuer: string | {
|
70
|
-
[x: string]: any;
|
71
|
-
type?: string | [string, ...string[]] | undefined;
|
72
|
-
id?: string | undefined;
|
73
|
-
name?: string | undefined;
|
74
|
-
url?: string | undefined;
|
75
|
-
phone?: string | undefined;
|
76
|
-
description?: string | undefined;
|
77
|
-
endorsement?: any[] | undefined;
|
78
|
-
image?: string | {
|
4
|
+
export declare const issueCredential: (initLearnCard: VCDependentLearnCard) => (learnCard: VCImplicitLearnCard, credential: UnsignedVC, signingOptions?: Partial<ProofOptions>) => Promise<import("zod").objectOutputType<import("zod").objectUtil.extendShape<{
|
5
|
+
'@context': import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodAny>]>, "many">;
|
6
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
7
|
+
type: import("zod").ZodArray<import("zod").ZodString, "atleastone">;
|
8
|
+
issuer: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
9
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
10
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "atleastone">>]>;
|
11
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
12
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
13
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
14
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
15
|
+
endorsement: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
16
|
+
image: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
17
|
+
id: import("zod").ZodString;
|
18
|
+
type: import("zod").ZodString;
|
19
|
+
caption: import("zod").ZodOptional<import("zod").ZodString>;
|
20
|
+
}, "strip", import("zod").ZodTypeAny, {
|
21
|
+
type: string;
|
22
|
+
id: string;
|
79
23
|
caption?: string | undefined;
|
24
|
+
}, {
|
80
25
|
type: string;
|
81
26
|
id: string;
|
82
|
-
|
83
|
-
|
84
|
-
|
27
|
+
caption?: string | undefined;
|
28
|
+
}>]>>;
|
29
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
30
|
+
address: import("zod").ZodOptional<import("zod").ZodObject<{
|
31
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
32
|
+
addressCountry: import("zod").ZodOptional<import("zod").ZodString>;
|
33
|
+
addressCountryCode: import("zod").ZodOptional<import("zod").ZodString>;
|
34
|
+
addressRegion: import("zod").ZodOptional<import("zod").ZodString>;
|
35
|
+
addressLocality: import("zod").ZodOptional<import("zod").ZodString>;
|
36
|
+
streetAddress: import("zod").ZodOptional<import("zod").ZodString>;
|
37
|
+
postOfficeBoxNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
38
|
+
postalCode: import("zod").ZodOptional<import("zod").ZodString>;
|
39
|
+
geo: import("zod").ZodOptional<import("zod").ZodObject<{
|
40
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
41
|
+
latitude: import("zod").ZodNumber;
|
42
|
+
longitude: import("zod").ZodNumber;
|
43
|
+
}, "strip", import("zod").ZodTypeAny, {
|
44
|
+
type: string | [string, ...string[]];
|
45
|
+
latitude: number;
|
46
|
+
longitude: number;
|
47
|
+
}, {
|
48
|
+
type: string | [string, ...string[]];
|
49
|
+
latitude: number;
|
50
|
+
longitude: number;
|
51
|
+
}>>;
|
52
|
+
}, "strip", import("zod").ZodTypeAny, {
|
53
|
+
type: string | [string, ...string[]];
|
85
54
|
addressCountry?: string | undefined;
|
86
55
|
addressCountryCode?: string | undefined;
|
87
56
|
addressRegion?: string | undefined;
|
@@ -94,51 +63,425 @@ export declare const issueCredential: (initLearnCard: VCDependentLearnCard) => (
|
|
94
63
|
latitude: number;
|
95
64
|
longitude: number;
|
96
65
|
} | undefined;
|
66
|
+
}, {
|
97
67
|
type: string | [string, ...string[]];
|
98
|
-
|
99
|
-
|
68
|
+
addressCountry?: string | undefined;
|
69
|
+
addressCountryCode?: string | undefined;
|
70
|
+
addressRegion?: string | undefined;
|
71
|
+
addressLocality?: string | undefined;
|
72
|
+
streetAddress?: string | undefined;
|
73
|
+
postOfficeBoxNumber?: string | undefined;
|
74
|
+
postalCode?: string | undefined;
|
75
|
+
geo?: {
|
76
|
+
type: string | [string, ...string[]];
|
77
|
+
latitude: number;
|
78
|
+
longitude: number;
|
79
|
+
} | undefined;
|
80
|
+
}>>;
|
81
|
+
otherIdentifier: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
82
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
83
|
+
identifier: import("zod").ZodString;
|
84
|
+
identifierType: import("zod").ZodUnion<[import("zod").ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, import("zod").ZodString]>;
|
85
|
+
}, "strip", import("zod").ZodTypeAny, {
|
86
|
+
type: string | [string, ...string[]];
|
87
|
+
identifier: string;
|
88
|
+
identifierType: string;
|
89
|
+
}, {
|
90
|
+
type: string | [string, ...string[]];
|
91
|
+
identifier: string;
|
92
|
+
identifierType: string;
|
93
|
+
}>, "many">>;
|
94
|
+
official: import("zod").ZodOptional<import("zod").ZodString>;
|
95
|
+
parentOrg: import("zod").ZodOptional<import("zod").ZodAny>;
|
96
|
+
familyName: import("zod").ZodOptional<import("zod").ZodString>;
|
97
|
+
givenName: import("zod").ZodOptional<import("zod").ZodString>;
|
98
|
+
additionalName: import("zod").ZodOptional<import("zod").ZodString>;
|
99
|
+
patronymicName: import("zod").ZodOptional<import("zod").ZodString>;
|
100
|
+
honorificPrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
101
|
+
honorificSuffix: import("zod").ZodOptional<import("zod").ZodString>;
|
102
|
+
familyNamePrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
103
|
+
dateOfBirth: import("zod").ZodOptional<import("zod").ZodString>;
|
104
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
105
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
106
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "atleastone">>]>;
|
107
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
108
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
109
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
110
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
111
|
+
endorsement: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
112
|
+
image: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
113
|
+
id: import("zod").ZodString;
|
114
|
+
type: import("zod").ZodString;
|
115
|
+
caption: import("zod").ZodOptional<import("zod").ZodString>;
|
116
|
+
}, "strip", import("zod").ZodTypeAny, {
|
117
|
+
type: string;
|
118
|
+
id: string;
|
119
|
+
caption?: string | undefined;
|
120
|
+
}, {
|
121
|
+
type: string;
|
122
|
+
id: string;
|
123
|
+
caption?: string | undefined;
|
124
|
+
}>]>>;
|
125
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
126
|
+
address: import("zod").ZodOptional<import("zod").ZodObject<{
|
127
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
128
|
+
addressCountry: import("zod").ZodOptional<import("zod").ZodString>;
|
129
|
+
addressCountryCode: import("zod").ZodOptional<import("zod").ZodString>;
|
130
|
+
addressRegion: import("zod").ZodOptional<import("zod").ZodString>;
|
131
|
+
addressLocality: import("zod").ZodOptional<import("zod").ZodString>;
|
132
|
+
streetAddress: import("zod").ZodOptional<import("zod").ZodString>;
|
133
|
+
postOfficeBoxNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
134
|
+
postalCode: import("zod").ZodOptional<import("zod").ZodString>;
|
135
|
+
geo: import("zod").ZodOptional<import("zod").ZodObject<{
|
136
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
137
|
+
latitude: import("zod").ZodNumber;
|
138
|
+
longitude: import("zod").ZodNumber;
|
139
|
+
}, "strip", import("zod").ZodTypeAny, {
|
140
|
+
type: string | [string, ...string[]];
|
141
|
+
latitude: number;
|
142
|
+
longitude: number;
|
143
|
+
}, {
|
144
|
+
type: string | [string, ...string[]];
|
145
|
+
latitude: number;
|
146
|
+
longitude: number;
|
147
|
+
}>>;
|
148
|
+
}, "strip", import("zod").ZodTypeAny, {
|
149
|
+
type: string | [string, ...string[]];
|
150
|
+
addressCountry?: string | undefined;
|
151
|
+
addressCountryCode?: string | undefined;
|
152
|
+
addressRegion?: string | undefined;
|
153
|
+
addressLocality?: string | undefined;
|
154
|
+
streetAddress?: string | undefined;
|
155
|
+
postOfficeBoxNumber?: string | undefined;
|
156
|
+
postalCode?: string | undefined;
|
157
|
+
geo?: {
|
158
|
+
type: string | [string, ...string[]];
|
159
|
+
latitude: number;
|
160
|
+
longitude: number;
|
161
|
+
} | undefined;
|
162
|
+
}, {
|
163
|
+
type: string | [string, ...string[]];
|
164
|
+
addressCountry?: string | undefined;
|
165
|
+
addressCountryCode?: string | undefined;
|
166
|
+
addressRegion?: string | undefined;
|
167
|
+
addressLocality?: string | undefined;
|
168
|
+
streetAddress?: string | undefined;
|
169
|
+
postOfficeBoxNumber?: string | undefined;
|
170
|
+
postalCode?: string | undefined;
|
171
|
+
geo?: {
|
172
|
+
type: string | [string, ...string[]];
|
173
|
+
latitude: number;
|
174
|
+
longitude: number;
|
175
|
+
} | undefined;
|
176
|
+
}>>;
|
177
|
+
otherIdentifier: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
178
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
179
|
+
identifier: import("zod").ZodString;
|
180
|
+
identifierType: import("zod").ZodUnion<[import("zod").ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, import("zod").ZodString]>;
|
181
|
+
}, "strip", import("zod").ZodTypeAny, {
|
182
|
+
type: string | [string, ...string[]];
|
183
|
+
identifier: string;
|
184
|
+
identifierType: string;
|
185
|
+
}, {
|
186
|
+
type: string | [string, ...string[]];
|
187
|
+
identifier: string;
|
188
|
+
identifierType: string;
|
189
|
+
}>, "many">>;
|
190
|
+
official: import("zod").ZodOptional<import("zod").ZodString>;
|
191
|
+
parentOrg: import("zod").ZodOptional<import("zod").ZodAny>;
|
192
|
+
familyName: import("zod").ZodOptional<import("zod").ZodString>;
|
193
|
+
givenName: import("zod").ZodOptional<import("zod").ZodString>;
|
194
|
+
additionalName: import("zod").ZodOptional<import("zod").ZodString>;
|
195
|
+
patronymicName: import("zod").ZodOptional<import("zod").ZodString>;
|
196
|
+
honorificPrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
197
|
+
honorificSuffix: import("zod").ZodOptional<import("zod").ZodString>;
|
198
|
+
familyNamePrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
199
|
+
dateOfBirth: import("zod").ZodOptional<import("zod").ZodString>;
|
200
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
201
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
202
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "atleastone">>]>;
|
203
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
204
|
+
url: import("zod").ZodOptional<import("zod").ZodString>;
|
205
|
+
phone: import("zod").ZodOptional<import("zod").ZodString>;
|
206
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
207
|
+
endorsement: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodAny, "many">>;
|
208
|
+
image: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodObject<{
|
209
|
+
id: import("zod").ZodString;
|
210
|
+
type: import("zod").ZodString;
|
211
|
+
caption: import("zod").ZodOptional<import("zod").ZodString>;
|
212
|
+
}, "strip", import("zod").ZodTypeAny, {
|
213
|
+
type: string;
|
214
|
+
id: string;
|
215
|
+
caption?: string | undefined;
|
216
|
+
}, {
|
217
|
+
type: string;
|
218
|
+
id: string;
|
219
|
+
caption?: string | undefined;
|
220
|
+
}>]>>;
|
221
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
222
|
+
address: import("zod").ZodOptional<import("zod").ZodObject<{
|
223
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
224
|
+
addressCountry: import("zod").ZodOptional<import("zod").ZodString>;
|
225
|
+
addressCountryCode: import("zod").ZodOptional<import("zod").ZodString>;
|
226
|
+
addressRegion: import("zod").ZodOptional<import("zod").ZodString>;
|
227
|
+
addressLocality: import("zod").ZodOptional<import("zod").ZodString>;
|
228
|
+
streetAddress: import("zod").ZodOptional<import("zod").ZodString>;
|
229
|
+
postOfficeBoxNumber: import("zod").ZodOptional<import("zod").ZodString>;
|
230
|
+
postalCode: import("zod").ZodOptional<import("zod").ZodString>;
|
231
|
+
geo: import("zod").ZodOptional<import("zod").ZodObject<{
|
232
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
233
|
+
latitude: import("zod").ZodNumber;
|
234
|
+
longitude: import("zod").ZodNumber;
|
235
|
+
}, "strip", import("zod").ZodTypeAny, {
|
236
|
+
type: string | [string, ...string[]];
|
237
|
+
latitude: number;
|
238
|
+
longitude: number;
|
239
|
+
}, {
|
240
|
+
type: string | [string, ...string[]];
|
241
|
+
latitude: number;
|
242
|
+
longitude: number;
|
243
|
+
}>>;
|
244
|
+
}, "strip", import("zod").ZodTypeAny, {
|
245
|
+
type: string | [string, ...string[]];
|
246
|
+
addressCountry?: string | undefined;
|
247
|
+
addressCountryCode?: string | undefined;
|
248
|
+
addressRegion?: string | undefined;
|
249
|
+
addressLocality?: string | undefined;
|
250
|
+
streetAddress?: string | undefined;
|
251
|
+
postOfficeBoxNumber?: string | undefined;
|
252
|
+
postalCode?: string | undefined;
|
253
|
+
geo?: {
|
254
|
+
type: string | [string, ...string[]];
|
255
|
+
latitude: number;
|
256
|
+
longitude: number;
|
257
|
+
} | undefined;
|
258
|
+
}, {
|
259
|
+
type: string | [string, ...string[]];
|
260
|
+
addressCountry?: string | undefined;
|
261
|
+
addressCountryCode?: string | undefined;
|
262
|
+
addressRegion?: string | undefined;
|
263
|
+
addressLocality?: string | undefined;
|
264
|
+
streetAddress?: string | undefined;
|
265
|
+
postOfficeBoxNumber?: string | undefined;
|
266
|
+
postalCode?: string | undefined;
|
267
|
+
geo?: {
|
268
|
+
type: string | [string, ...string[]];
|
269
|
+
latitude: number;
|
270
|
+
longitude: number;
|
271
|
+
} | undefined;
|
272
|
+
}>>;
|
273
|
+
otherIdentifier: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
274
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
275
|
+
identifier: import("zod").ZodString;
|
276
|
+
identifierType: import("zod").ZodUnion<[import("zod").ZodEnum<["sourcedId", "systemId", "productId", "userName", "accountId", "emailAddress", "nationalIdentityNumber", "isbn", "issn", "lisSourcedId", "oneRosterSourcedId", "sisSourcedId", "ltiContextId", "ltiDeploymentId", "ltiToolId", "ltiPlatformId", "ltiUserId", "identifier"]>, import("zod").ZodString]>;
|
277
|
+
}, "strip", import("zod").ZodTypeAny, {
|
278
|
+
type: string | [string, ...string[]];
|
279
|
+
identifier: string;
|
280
|
+
identifierType: string;
|
281
|
+
}, {
|
100
282
|
type: string | [string, ...string[]];
|
101
283
|
identifier: string;
|
102
284
|
identifierType: string;
|
103
|
-
}
|
104
|
-
official
|
105
|
-
parentOrg
|
106
|
-
familyName
|
107
|
-
givenName
|
108
|
-
additionalName
|
109
|
-
patronymicName
|
110
|
-
honorificPrefix
|
111
|
-
honorificSuffix
|
112
|
-
familyNamePrefix
|
113
|
-
dateOfBirth
|
114
|
-
}
|
115
|
-
credentialSubject: {
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
120
|
-
id
|
121
|
-
}
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
130
|
-
|
131
|
-
|
132
|
-
|
133
|
-
|
134
|
-
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
}
|
285
|
+
}>, "many">>;
|
286
|
+
official: import("zod").ZodOptional<import("zod").ZodString>;
|
287
|
+
parentOrg: import("zod").ZodOptional<import("zod").ZodAny>;
|
288
|
+
familyName: import("zod").ZodOptional<import("zod").ZodString>;
|
289
|
+
givenName: import("zod").ZodOptional<import("zod").ZodString>;
|
290
|
+
additionalName: import("zod").ZodOptional<import("zod").ZodString>;
|
291
|
+
patronymicName: import("zod").ZodOptional<import("zod").ZodString>;
|
292
|
+
honorificPrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
293
|
+
honorificSuffix: import("zod").ZodOptional<import("zod").ZodString>;
|
294
|
+
familyNamePrefix: import("zod").ZodOptional<import("zod").ZodString>;
|
295
|
+
dateOfBirth: import("zod").ZodOptional<import("zod").ZodString>;
|
296
|
+
}, import("zod").ZodAny, "strip">>]>;
|
297
|
+
credentialSubject: import("zod").ZodUnion<[import("zod").ZodObject<{
|
298
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
299
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
300
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
301
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
302
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
303
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
304
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
305
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
306
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
307
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
308
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
309
|
+
}, import("zod").ZodAny, "strip">>, "many">]>;
|
310
|
+
refreshService: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
311
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
312
|
+
type: import("zod").ZodString;
|
313
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
314
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
315
|
+
type: import("zod").ZodString;
|
316
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
317
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
318
|
+
type: import("zod").ZodString;
|
319
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
320
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
321
|
+
type: import("zod").ZodString;
|
322
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
323
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
324
|
+
type: import("zod").ZodString;
|
325
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
326
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
327
|
+
type: import("zod").ZodString;
|
328
|
+
}, import("zod").ZodAny, "strip">>, "many">]>>;
|
329
|
+
credentialSchema: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
330
|
+
id: import("zod").ZodString;
|
331
|
+
type: import("zod").ZodString;
|
332
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
333
|
+
id: import("zod").ZodString;
|
334
|
+
type: import("zod").ZodString;
|
335
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
336
|
+
id: import("zod").ZodString;
|
337
|
+
type: import("zod").ZodString;
|
338
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
339
|
+
id: import("zod").ZodString;
|
340
|
+
type: import("zod").ZodString;
|
341
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
342
|
+
id: import("zod").ZodString;
|
343
|
+
type: import("zod").ZodString;
|
344
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
345
|
+
id: import("zod").ZodString;
|
346
|
+
type: import("zod").ZodString;
|
347
|
+
}, import("zod").ZodAny, "strip">>, "many">]>>;
|
348
|
+
issuanceDate: import("zod").ZodOptional<import("zod").ZodString>;
|
349
|
+
expirationDate: import("zod").ZodOptional<import("zod").ZodString>;
|
350
|
+
credentialStatus: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
351
|
+
type: import("zod").ZodString;
|
352
|
+
id: import("zod").ZodString;
|
353
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
354
|
+
type: import("zod").ZodString;
|
355
|
+
id: import("zod").ZodString;
|
356
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
357
|
+
type: import("zod").ZodString;
|
358
|
+
id: import("zod").ZodString;
|
359
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
360
|
+
type: import("zod").ZodString;
|
361
|
+
id: import("zod").ZodString;
|
362
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
363
|
+
type: import("zod").ZodString;
|
364
|
+
id: import("zod").ZodString;
|
365
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
366
|
+
type: import("zod").ZodString;
|
367
|
+
id: import("zod").ZodString;
|
368
|
+
}, import("zod").ZodAny, "strip">>, "many">]>>;
|
369
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
370
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
371
|
+
validFrom: import("zod").ZodOptional<import("zod").ZodString>;
|
372
|
+
validUntil: import("zod").ZodOptional<import("zod").ZodString>;
|
373
|
+
status: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
374
|
+
type: import("zod").ZodString;
|
375
|
+
id: import("zod").ZodString;
|
376
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
377
|
+
type: import("zod").ZodString;
|
378
|
+
id: import("zod").ZodString;
|
379
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
380
|
+
type: import("zod").ZodString;
|
381
|
+
id: import("zod").ZodString;
|
382
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
383
|
+
type: import("zod").ZodString;
|
384
|
+
id: import("zod").ZodString;
|
385
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
386
|
+
type: import("zod").ZodString;
|
387
|
+
id: import("zod").ZodString;
|
388
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
389
|
+
type: import("zod").ZodString;
|
390
|
+
id: import("zod").ZodString;
|
391
|
+
}, import("zod").ZodAny, "strip">>, "many">]>>;
|
392
|
+
termsOfUse: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
393
|
+
type: import("zod").ZodString;
|
394
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
395
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
396
|
+
type: import("zod").ZodString;
|
397
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
398
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
399
|
+
type: import("zod").ZodString;
|
400
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
401
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
402
|
+
type: import("zod").ZodString;
|
403
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
404
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
405
|
+
type: import("zod").ZodString;
|
406
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
407
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
408
|
+
type: import("zod").ZodString;
|
409
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
410
|
+
}, import("zod").ZodAny, "strip">>, "many">]>>;
|
411
|
+
evidence: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
412
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
413
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
414
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
415
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
416
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
417
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
418
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
419
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
420
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
421
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
422
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
423
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
424
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
425
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
426
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
427
|
+
type: import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodArray<import("zod").ZodString, "atleastone">]>;
|
428
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
429
|
+
}, import("zod").ZodAny, "strip">>, "many">]>>;
|
430
|
+
}, {
|
431
|
+
proof: import("zod").ZodUnion<[import("zod").ZodObject<{
|
432
|
+
type: import("zod").ZodString;
|
433
|
+
created: import("zod").ZodString;
|
434
|
+
challenge: import("zod").ZodOptional<import("zod").ZodString>;
|
435
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
436
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
437
|
+
proofPurpose: import("zod").ZodString;
|
438
|
+
verificationMethod: import("zod").ZodString;
|
439
|
+
jws: import("zod").ZodOptional<import("zod").ZodString>;
|
440
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
441
|
+
type: import("zod").ZodString;
|
442
|
+
created: import("zod").ZodString;
|
443
|
+
challenge: import("zod").ZodOptional<import("zod").ZodString>;
|
444
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
445
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
446
|
+
proofPurpose: import("zod").ZodString;
|
447
|
+
verificationMethod: import("zod").ZodString;
|
448
|
+
jws: import("zod").ZodOptional<import("zod").ZodString>;
|
449
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
450
|
+
type: import("zod").ZodString;
|
451
|
+
created: import("zod").ZodString;
|
452
|
+
challenge: import("zod").ZodOptional<import("zod").ZodString>;
|
453
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
454
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
455
|
+
proofPurpose: import("zod").ZodString;
|
456
|
+
verificationMethod: import("zod").ZodString;
|
457
|
+
jws: import("zod").ZodOptional<import("zod").ZodString>;
|
458
|
+
}, import("zod").ZodAny, "strip">>, import("zod").ZodArray<import("zod").ZodObject<{
|
459
|
+
type: import("zod").ZodString;
|
460
|
+
created: import("zod").ZodString;
|
461
|
+
challenge: import("zod").ZodOptional<import("zod").ZodString>;
|
462
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
463
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
464
|
+
proofPurpose: import("zod").ZodString;
|
465
|
+
verificationMethod: import("zod").ZodString;
|
466
|
+
jws: import("zod").ZodOptional<import("zod").ZodString>;
|
467
|
+
}, "strip", import("zod").ZodAny, import("zod").objectOutputType<{
|
468
|
+
type: import("zod").ZodString;
|
469
|
+
created: import("zod").ZodString;
|
470
|
+
challenge: import("zod").ZodOptional<import("zod").ZodString>;
|
471
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
472
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
473
|
+
proofPurpose: import("zod").ZodString;
|
474
|
+
verificationMethod: import("zod").ZodString;
|
475
|
+
jws: import("zod").ZodOptional<import("zod").ZodString>;
|
476
|
+
}, import("zod").ZodAny, "strip">, import("zod").objectInputType<{
|
477
|
+
type: import("zod").ZodString;
|
478
|
+
created: import("zod").ZodString;
|
479
|
+
challenge: import("zod").ZodOptional<import("zod").ZodString>;
|
480
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
481
|
+
nonce: import("zod").ZodOptional<import("zod").ZodString>;
|
482
|
+
proofPurpose: import("zod").ZodString;
|
483
|
+
verificationMethod: import("zod").ZodString;
|
484
|
+
jws: import("zod").ZodOptional<import("zod").ZodString>;
|
485
|
+
}, import("zod").ZodAny, "strip">>, "many">]>;
|
486
|
+
}>, import("zod").ZodAny, "strip">>;
|
144
487
|
//# sourceMappingURL=issueCredential.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"issueCredential.d.ts","sourceRoot":"","sources":["../src/issueCredential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGpE,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,iBAEhD,mBAAmB,cAClB,UAAU,mBACN,OAAO,CAAC,YAAY,CAAC
|
1
|
+
{"version":3,"file":"issueCredential.d.ts","sourceRoot":"","sources":["../src/issueCredential.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAE9C,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,EAAE,oBAAoB,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAGpE,eAAO,MAAM,eAAe,kBAAmB,oBAAoB,iBAEhD,mBAAmB,cAClB,UAAU,mBACN,OAAO,CAAC,YAAY,CAAC;;;;;;;;;;;;;;;;;;;mBA4B6ngG,CAAC;;;;mBAAwG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAiuC,CAAC;8BAAoD,CAAC;yBAA+C,CAAC;2BAAiD,CAAC;yBAA+C,CAAC;+BAAqD,CAAC;sBAA4C,CAAC;eAAqC,CAAC;;;;;;;0BAAmP,CAAC;8BAAoD,CAAC;yBAA+C,CAAC;2BAAiD,CAAC;yBAA+C,CAAC;+BAAqD,CAAC;sBAA4C,CAAC;eAAqC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAqpE,CAAC;;;;mBAAwG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAiuC,CAAC;8BAAoD,CAAC;yBAA+C,CAAC;2BAAiD,CAAC;yBAA+C,CAAC;+BAAqD,CAAC;sBAA4C,CAAC;eAAqC,CAAC;;;;;;;0BAAmP,CAAC;8BAAoD,CAAC;yBAA+C,CAAC;2BAAiD,CAAC;yBAA+C,CAAC;+BAAqD,CAAC;sBAA4C,CAAC;eAAqC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mBAAqpE,CAAC;;;;mBAAwG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAAiuC,CAAC;8BAAoD,CAAC;yBAA+C,CAAC;2BAAiD,CAAC;yBAA+C,CAAC;+BAAqD,CAAC;sBAA4C,CAAC;eAAqC,CAAC;;;;;;;0BAAmP,CAAC;8BAAoD,CAAC;yBAA+C,CAAC;2BAAiD,CAAC;yBAA+C,CAAC;+BAAqD,CAAC;sBAA4C,CAAC;eAAqC,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;mCADnn2G,CAAC"}
|