@procivis/react-native-one-core 1.90342.0 → 1.95657.0
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/android/src/main/java/ch/procivis/one/core/ProcivisOneCoreModule.kt +47 -30
- package/android/src/main/java/ch/procivis/one/core/SerializeSpecific.kt +38 -38
- package/android/src/main/java/ch/procivis/one/core/Util.kt +3 -3
- package/android/src/main/java/ch/procivis/one/core/ubiqu/UbiquKeyStorage.kt +3 -3
- package/core-sdk.json +6 -6
- package/dist/src/config.d.ts +47 -33
- package/dist/src/config.js +63 -53
- package/dist/src/core.d.ts +7 -7
- package/dist/src/core.js +9 -7
- package/dist/src/one-core-uniffi-intf.d.ts +712 -698
- package/dist/src/one-core-uniffi-intf.js +357 -354
- package/ios/ProcivisOneCoreModule.m +16 -6
- package/ios/ProcivisOneCoreModule.swift +65 -38
- package/ios/RSEKeyStorage.swift +2 -2
- package/ios/Serialize.swift +12 -12
- package/ios/Util.swift +1 -1
- package/package.json +1 -1
|
@@ -1,47 +1,62 @@
|
|
|
1
|
-
export interface
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export interface CsrSubject {
|
|
2
|
+
/** Two-letter country code. */
|
|
3
|
+
countryName?: string;
|
|
4
|
+
/** Common name to include in the CSR, typically the domain name of the organization. */
|
|
5
|
+
commonName?: string;
|
|
6
|
+
stateOrProvinceName?: string;
|
|
7
|
+
organisationName?: string;
|
|
8
|
+
localityName?: string;
|
|
9
|
+
serialNumber?: string;
|
|
5
10
|
}
|
|
6
11
|
export interface Cause {
|
|
7
12
|
message: string;
|
|
8
13
|
}
|
|
9
|
-
export interface
|
|
14
|
+
export interface CertificateDetail {
|
|
10
15
|
id: string;
|
|
11
16
|
identifierId: string;
|
|
12
17
|
createdDate: string;
|
|
13
18
|
lastModified: string;
|
|
14
|
-
state:
|
|
19
|
+
state: CertificateState;
|
|
15
20
|
name: string;
|
|
16
21
|
chain: string;
|
|
17
|
-
key?:
|
|
18
|
-
x509Attributes:
|
|
22
|
+
key?: KeyListItem;
|
|
23
|
+
x509Attributes: CertificateX509Attributes;
|
|
19
24
|
}
|
|
20
|
-
export interface
|
|
25
|
+
export interface CertificateX509Attributes {
|
|
21
26
|
serialNumber: string;
|
|
22
27
|
notBefore: string;
|
|
23
28
|
notAfter: string;
|
|
24
29
|
issuer: string;
|
|
25
30
|
subject: string;
|
|
26
31
|
fingerprint: string;
|
|
27
|
-
extensions: Array<
|
|
32
|
+
extensions: Array<CertificateX509Extension>;
|
|
28
33
|
}
|
|
29
|
-
export interface
|
|
34
|
+
export interface CertificateX509Extension {
|
|
30
35
|
oid: string;
|
|
31
36
|
value: string;
|
|
32
37
|
critical: boolean;
|
|
33
38
|
}
|
|
34
|
-
export interface
|
|
39
|
+
export interface CharacteristicSettings {
|
|
35
40
|
uuid: string;
|
|
36
|
-
permissions: Array<
|
|
37
|
-
properties: Array<
|
|
41
|
+
permissions: Array<CharacteristicPermission>;
|
|
42
|
+
properties: Array<CharacteristicProperty>;
|
|
38
43
|
}
|
|
39
|
-
export interface
|
|
44
|
+
export interface Claim {
|
|
40
45
|
path: string;
|
|
41
|
-
schema:
|
|
42
|
-
value:
|
|
46
|
+
schema: ClaimSchema;
|
|
47
|
+
value: ClaimValue;
|
|
43
48
|
}
|
|
44
|
-
export interface
|
|
49
|
+
export interface ClaimSchema {
|
|
50
|
+
id: string;
|
|
51
|
+
createdDate: string;
|
|
52
|
+
lastModified: string;
|
|
53
|
+
key: string;
|
|
54
|
+
datatype: string;
|
|
55
|
+
required: boolean;
|
|
56
|
+
array: boolean;
|
|
57
|
+
claims: Array<ClaimSchema>;
|
|
58
|
+
}
|
|
59
|
+
export interface Config {
|
|
45
60
|
format: Record<string, string>;
|
|
46
61
|
issuanceProtocol: Record<string, string>;
|
|
47
62
|
verificationProtocol: Record<string, string>;
|
|
@@ -58,48 +73,52 @@ export interface ConfigBindingDto {
|
|
|
58
73
|
credentialIssuer: Record<string, string>;
|
|
59
74
|
walletProvider: Record<string, string>;
|
|
60
75
|
}
|
|
61
|
-
export interface
|
|
76
|
+
export interface ContinueIssuanceResponse {
|
|
62
77
|
/** For reference. */
|
|
63
78
|
interactionId: string;
|
|
64
|
-
keyStorageSecurityLevels?: Array<
|
|
79
|
+
keyStorageSecurityLevels?: Array<KeyStorageSecurity>;
|
|
65
80
|
keyAlgorithms?: Array<string>;
|
|
66
81
|
requiresWalletInstanceAttestation: boolean;
|
|
67
82
|
protocol: string;
|
|
68
83
|
}
|
|
69
|
-
export interface
|
|
70
|
-
subject: KeyGenerateCsrRequestSubjectBindingDto;
|
|
71
|
-
}
|
|
72
|
-
export interface CreateCertificateAuthorityRequestBindingDto {
|
|
84
|
+
export interface CreateCertificateAuthorityRequest {
|
|
73
85
|
name?: string;
|
|
74
86
|
keyId: string;
|
|
75
87
|
chain?: string;
|
|
76
|
-
selfSigned?:
|
|
88
|
+
selfSigned?: CreateSelfSignedCertificateAuthorityRequest;
|
|
77
89
|
}
|
|
78
|
-
export interface
|
|
90
|
+
export interface CreateCertificateRequest {
|
|
79
91
|
name?: string;
|
|
80
92
|
chain: string;
|
|
81
93
|
keyId: string;
|
|
82
94
|
}
|
|
83
|
-
export interface
|
|
95
|
+
export interface CreateDidRequest {
|
|
96
|
+
organisationId: string;
|
|
97
|
+
name: string;
|
|
98
|
+
didMethod: string;
|
|
99
|
+
keys: DidRequestKeys;
|
|
100
|
+
params: Record<string, string>;
|
|
101
|
+
}
|
|
102
|
+
export interface CreateIdentifierDidRequest {
|
|
84
103
|
name?: string;
|
|
85
104
|
method: string;
|
|
86
|
-
keys:
|
|
105
|
+
keys: DidRequestKeys;
|
|
87
106
|
params: Record<string, string>;
|
|
88
107
|
}
|
|
89
|
-
export interface
|
|
108
|
+
export interface CreateIdentifierKeyRequest {
|
|
90
109
|
keyId: string;
|
|
91
110
|
}
|
|
92
|
-
export interface
|
|
111
|
+
export interface CreateIdentifierRequest {
|
|
93
112
|
organisationId: string;
|
|
94
113
|
name: string;
|
|
95
114
|
/** Deprecated. Use the `key` field instead. */
|
|
96
115
|
keyId?: string;
|
|
97
|
-
key?:
|
|
98
|
-
did?:
|
|
99
|
-
certificates?: Array<
|
|
100
|
-
certificateAuthorities?: Array<
|
|
116
|
+
key?: CreateIdentifierKeyRequest;
|
|
117
|
+
did?: CreateIdentifierDidRequest;
|
|
118
|
+
certificates?: Array<CreateCertificateRequest>;
|
|
119
|
+
certificateAuthorities?: Array<CreateCertificateAuthorityRequest>;
|
|
101
120
|
}
|
|
102
|
-
export interface
|
|
121
|
+
export interface CreateOrganisationRequest {
|
|
103
122
|
id?: string;
|
|
104
123
|
name?: string;
|
|
105
124
|
}
|
|
@@ -110,7 +129,7 @@ export interface CreateOrganisationRequestBindingDto {
|
|
|
110
129
|
* (for QR device engagement) or NFC engagement parameters from
|
|
111
130
|
* `nfc_read_iso_mdl_engagement`.
|
|
112
131
|
*/
|
|
113
|
-
export interface
|
|
132
|
+
export interface CreateProofRequest {
|
|
114
133
|
proofSchemaId: string;
|
|
115
134
|
verifierDidId?: string;
|
|
116
135
|
verifierIdentifierId?: string;
|
|
@@ -123,17 +142,21 @@ export interface CreateProofRequestBindingDto {
|
|
|
123
142
|
profile?: string;
|
|
124
143
|
engagement?: string;
|
|
125
144
|
}
|
|
126
|
-
export interface
|
|
145
|
+
export interface CreateProofSchemaInput {
|
|
146
|
+
credentialSchemaId: string;
|
|
147
|
+
claimSchemas: Array<CreateProofSchemaInputClaim>;
|
|
148
|
+
}
|
|
149
|
+
export interface CreateProofSchemaInputClaim {
|
|
127
150
|
id: string;
|
|
128
151
|
required: boolean;
|
|
129
152
|
}
|
|
130
|
-
export interface
|
|
153
|
+
export interface CreateProofSchemaRequest {
|
|
131
154
|
name: string;
|
|
132
155
|
organisationId: string;
|
|
133
156
|
expireDuration: number;
|
|
134
|
-
proofInputSchemas: Array<
|
|
157
|
+
proofInputSchemas: Array<CreateProofSchemaInput>;
|
|
135
158
|
}
|
|
136
|
-
export interface
|
|
159
|
+
export interface CreateRemoteTrustEntityRequest {
|
|
137
160
|
didId: string;
|
|
138
161
|
trustAnchorId?: string;
|
|
139
162
|
name: string;
|
|
@@ -141,99 +164,99 @@ export interface CreateRemoteTrustEntityRequestBindingDto {
|
|
|
141
164
|
termsUrl?: string;
|
|
142
165
|
privacyUrl?: string;
|
|
143
166
|
website?: string;
|
|
144
|
-
role:
|
|
167
|
+
role: TrustEntityRole;
|
|
168
|
+
}
|
|
169
|
+
export interface CreateSelfSignedCertificateAuthorityIssuerAlternativeNameRequest {
|
|
170
|
+
type: CreateSelfSignedCaRequestIssuerAlternativeNameType;
|
|
171
|
+
name: string;
|
|
145
172
|
}
|
|
146
|
-
export interface
|
|
147
|
-
content:
|
|
173
|
+
export interface CreateSelfSignedCertificateAuthorityRequest {
|
|
174
|
+
content: CreateSelfSignedCertificateAuthorityRequestContent;
|
|
148
175
|
signer: string;
|
|
149
176
|
validityStart?: string;
|
|
150
177
|
validityEnd?: string;
|
|
151
178
|
}
|
|
152
|
-
export interface
|
|
179
|
+
export interface CreateSelfSignedCertificateAuthorityRequestContent {
|
|
180
|
+
subject: CsrSubject;
|
|
181
|
+
issuerAlternativeName?: CreateSelfSignedCertificateAuthorityIssuerAlternativeNameRequest;
|
|
182
|
+
}
|
|
183
|
+
export interface CreateTrustAnchorRequest {
|
|
153
184
|
name: string;
|
|
154
185
|
type: string;
|
|
155
186
|
isPublisher?: boolean;
|
|
156
187
|
publisherReference?: string;
|
|
157
188
|
}
|
|
158
|
-
export interface
|
|
189
|
+
export interface CreateTrustEntityRequest {
|
|
159
190
|
name: string;
|
|
160
191
|
logo?: string;
|
|
161
192
|
website?: string;
|
|
162
193
|
termsUrl?: string;
|
|
163
194
|
privacyUrl?: string;
|
|
164
|
-
role:
|
|
195
|
+
role: TrustEntityRole;
|
|
165
196
|
trustAnchorId: string;
|
|
166
197
|
didId?: string;
|
|
167
|
-
type?:
|
|
198
|
+
type?: TrustEntityType;
|
|
168
199
|
identifierId?: string;
|
|
169
200
|
content?: string;
|
|
170
201
|
organisationId: string;
|
|
171
202
|
}
|
|
172
|
-
export interface
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
key: string;
|
|
177
|
-
datatype: string;
|
|
178
|
-
required: boolean;
|
|
179
|
-
array: boolean;
|
|
180
|
-
claims: Array<CredentialClaimSchemaBindingDto>;
|
|
181
|
-
}
|
|
182
|
-
export interface CredentialConfigurationSupportedResponseBindingDto {
|
|
183
|
-
proofTypesSupported?: Record<string, OpenId4vciProofTypeSupportedBindingDto>;
|
|
203
|
+
export interface CreatedBackup {
|
|
204
|
+
historyId: string;
|
|
205
|
+
file: string;
|
|
206
|
+
unexportable: UnexportableEntities;
|
|
184
207
|
}
|
|
185
|
-
export interface
|
|
208
|
+
export interface CredentialDetail {
|
|
186
209
|
id: string;
|
|
187
210
|
createdDate: string;
|
|
188
211
|
issuanceDate?: string;
|
|
189
212
|
lastModified: string;
|
|
190
213
|
revocationDate?: string;
|
|
191
|
-
issuer?:
|
|
192
|
-
holder?:
|
|
193
|
-
state:
|
|
194
|
-
schema:
|
|
195
|
-
claims: Array<
|
|
214
|
+
issuer?: IdentifierListItem;
|
|
215
|
+
holder?: IdentifierListItem;
|
|
216
|
+
state: CredentialState;
|
|
217
|
+
schema: CredentialSchemaListItem;
|
|
218
|
+
claims: Array<Claim>;
|
|
196
219
|
redirectUri?: string;
|
|
197
|
-
role:
|
|
220
|
+
role: CredentialRole;
|
|
198
221
|
suspendEndDate?: string;
|
|
199
|
-
mdocMsoValidity?:
|
|
222
|
+
mdocMsoValidity?: MdocMsoValidity;
|
|
200
223
|
protocol: string;
|
|
201
224
|
profile?: string;
|
|
202
225
|
}
|
|
203
|
-
export interface
|
|
204
|
-
values: Array<
|
|
226
|
+
export interface CredentialList {
|
|
227
|
+
values: Array<CredentialListItem>;
|
|
205
228
|
totalPages: number;
|
|
206
229
|
totalItems: number;
|
|
207
230
|
}
|
|
208
|
-
export interface
|
|
231
|
+
export interface CredentialListItem {
|
|
209
232
|
id: string;
|
|
210
233
|
createdDate: string;
|
|
211
234
|
issuanceDate?: string;
|
|
212
235
|
lastModified: string;
|
|
213
236
|
revocationDate?: string;
|
|
214
237
|
issuer?: string;
|
|
215
|
-
state:
|
|
216
|
-
schema:
|
|
217
|
-
role:
|
|
238
|
+
state: CredentialState;
|
|
239
|
+
schema: CredentialSchemaListItem;
|
|
240
|
+
role: CredentialRole;
|
|
218
241
|
suspendEndDate?: string;
|
|
219
242
|
protocol: string;
|
|
220
243
|
profile?: string;
|
|
221
244
|
}
|
|
222
|
-
export interface
|
|
245
|
+
export interface CredentialListQuery {
|
|
223
246
|
page: number;
|
|
224
247
|
pageSize: number;
|
|
225
|
-
sort?:
|
|
248
|
+
sort?: SortableCredentialColumn;
|
|
226
249
|
sortDirection?: SortDirection;
|
|
227
250
|
organisationId: string;
|
|
228
251
|
name?: string;
|
|
229
252
|
profiles?: Array<string>;
|
|
230
253
|
searchText?: string;
|
|
231
|
-
searchType?: Array<
|
|
232
|
-
exact?: Array<
|
|
233
|
-
roles?: Array<
|
|
254
|
+
searchType?: Array<CredentialListQuerySearchType>;
|
|
255
|
+
exact?: Array<CredentialListQueryExactColumn>;
|
|
256
|
+
roles?: Array<CredentialRole>;
|
|
234
257
|
ids?: Array<string>;
|
|
235
|
-
states?: Array<
|
|
236
|
-
include?: Array<
|
|
258
|
+
states?: Array<CredentialState>;
|
|
259
|
+
include?: Array<CredentialListIncludeEntityType>;
|
|
237
260
|
credentialSchemaIds?: Array<string>;
|
|
238
261
|
createdDateAfter?: string;
|
|
239
262
|
createdDateBefore?: string;
|
|
@@ -244,82 +267,82 @@ export interface CredentialListQueryBindingDto {
|
|
|
244
267
|
revocationDateAfter?: string;
|
|
245
268
|
revocationDateBefore?: string;
|
|
246
269
|
}
|
|
247
|
-
export interface
|
|
248
|
-
reason: CredentialQueryFailureReasonBindingEnum;
|
|
249
|
-
credentialSchema?: CredentialSchemaDetailBindingDto;
|
|
250
|
-
}
|
|
251
|
-
export interface CredentialQueryResponseBindingDto {
|
|
270
|
+
export interface CredentialQuery {
|
|
252
271
|
multiple: boolean;
|
|
253
|
-
credentialOrFailureHint:
|
|
272
|
+
credentialOrFailureHint: ApplicableCredentialOrFailureHint;
|
|
273
|
+
}
|
|
274
|
+
export interface CredentialQueryFailureHint {
|
|
275
|
+
reason: CredentialQueryFailureReason;
|
|
276
|
+
credentialSchema?: CredentialSchemaDetail;
|
|
254
277
|
}
|
|
255
|
-
export interface
|
|
278
|
+
export interface CredentialRevocationCheckResponse {
|
|
256
279
|
credentialId: string;
|
|
257
|
-
status:
|
|
280
|
+
status: CredentialState;
|
|
258
281
|
success: boolean;
|
|
259
282
|
reason?: string;
|
|
260
283
|
}
|
|
261
|
-
export interface
|
|
284
|
+
export interface CredentialSchemaBackgroundProperties {
|
|
262
285
|
color?: string;
|
|
263
286
|
image?: string;
|
|
264
287
|
}
|
|
265
|
-
export interface
|
|
288
|
+
export interface CredentialSchemaCodeProperties {
|
|
289
|
+
attribute: string;
|
|
290
|
+
type: CredentialSchemaCodeType;
|
|
291
|
+
}
|
|
292
|
+
export interface CredentialSchemaDetail {
|
|
266
293
|
id: string;
|
|
267
294
|
createdDate: string;
|
|
268
295
|
lastModified: string;
|
|
269
296
|
name: string;
|
|
270
297
|
format: string;
|
|
271
298
|
revocationMethod?: string;
|
|
272
|
-
|
|
299
|
+
claims: Array<ClaimSchema>;
|
|
300
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
273
301
|
schemaId: string;
|
|
274
|
-
layoutType?: LayoutTypeBindingEnum;
|
|
275
302
|
importedSourceUrl: string;
|
|
276
|
-
|
|
303
|
+
layoutType?: LayoutType;
|
|
304
|
+
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
277
305
|
allowSuspension: boolean;
|
|
278
306
|
requiresWalletInstanceAttestation: boolean;
|
|
307
|
+
transactionCode?: CredentialSchemaTransactionCode;
|
|
279
308
|
}
|
|
280
|
-
export interface
|
|
281
|
-
|
|
282
|
-
|
|
309
|
+
export interface CredentialSchemaLayoutProperties {
|
|
310
|
+
background?: CredentialSchemaBackgroundProperties;
|
|
311
|
+
logo?: CredentialSchemaLogoProperties;
|
|
312
|
+
primaryAttribute?: string;
|
|
313
|
+
secondaryAttribute?: string;
|
|
314
|
+
pictureAttribute?: string;
|
|
315
|
+
code?: CredentialSchemaCodeProperties;
|
|
283
316
|
}
|
|
284
|
-
export interface
|
|
317
|
+
export interface CredentialSchemaList {
|
|
318
|
+
values: Array<CredentialSchemaListItem>;
|
|
319
|
+
totalPages: number;
|
|
320
|
+
totalItems: number;
|
|
321
|
+
}
|
|
322
|
+
export interface CredentialSchemaListItem {
|
|
285
323
|
id: string;
|
|
286
324
|
createdDate: string;
|
|
287
325
|
lastModified: string;
|
|
288
326
|
name: string;
|
|
289
327
|
format: string;
|
|
290
328
|
revocationMethod?: string;
|
|
291
|
-
|
|
292
|
-
keyStorageSecurity?: KeyStorageSecurityBindingEnum;
|
|
329
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
293
330
|
schemaId: string;
|
|
331
|
+
layoutType?: LayoutType;
|
|
294
332
|
importedSourceUrl: string;
|
|
295
|
-
|
|
296
|
-
layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
|
|
333
|
+
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
297
334
|
allowSuspension: boolean;
|
|
298
335
|
requiresWalletInstanceAttestation: boolean;
|
|
299
|
-
transactionCode?: CredentialSchemaTransactionCodeBindingDto;
|
|
300
|
-
}
|
|
301
|
-
export interface CredentialSchemaLayoutPropertiesBindingDto {
|
|
302
|
-
background?: CredentialSchemaBackgroundPropertiesBindingDto;
|
|
303
|
-
logo?: CredentialSchemaLogoPropertiesBindingDto;
|
|
304
|
-
primaryAttribute?: string;
|
|
305
|
-
secondaryAttribute?: string;
|
|
306
|
-
pictureAttribute?: string;
|
|
307
|
-
code?: CredentialSchemaCodePropertiesBindingDto;
|
|
308
336
|
}
|
|
309
|
-
export interface
|
|
310
|
-
values: Array<CredentialSchemaBindingDto>;
|
|
311
|
-
totalPages: number;
|
|
312
|
-
totalItems: number;
|
|
313
|
-
}
|
|
314
|
-
export interface CredentialSchemaListQueryBindingDto {
|
|
337
|
+
export interface CredentialSchemaListQuery {
|
|
315
338
|
page: number;
|
|
316
339
|
pageSize: number;
|
|
317
340
|
organisationId: string;
|
|
318
|
-
sort?:
|
|
341
|
+
sort?: SortableCredentialSchemaColumn;
|
|
319
342
|
sortDirection?: SortDirection;
|
|
320
343
|
name?: string;
|
|
321
344
|
ids?: Array<string>;
|
|
322
|
-
exact?: Array<
|
|
345
|
+
exact?: Array<CredentialSchemaListQueryExactColumn>;
|
|
323
346
|
include?: Array<CredentialSchemaListIncludeEntityType>;
|
|
324
347
|
schemaId?: string;
|
|
325
348
|
formats?: Array<string>;
|
|
@@ -328,192 +351,107 @@ export interface CredentialSchemaListQueryBindingDto {
|
|
|
328
351
|
lastModifiedAfter?: string;
|
|
329
352
|
lastModifiedBefore?: string;
|
|
330
353
|
}
|
|
331
|
-
export interface
|
|
354
|
+
export interface CredentialSchemaLogoProperties {
|
|
332
355
|
fontColor?: string;
|
|
333
356
|
backgroundColor?: string;
|
|
334
357
|
image?: string;
|
|
335
358
|
}
|
|
336
|
-
export interface
|
|
359
|
+
export interface CredentialSchemaShareResponse {
|
|
337
360
|
url: string;
|
|
338
361
|
}
|
|
339
|
-
export interface
|
|
340
|
-
type:
|
|
362
|
+
export interface CredentialSchemaTransactionCode {
|
|
363
|
+
type: TransactionCodeType;
|
|
341
364
|
length: number;
|
|
342
365
|
description?: string;
|
|
343
366
|
}
|
|
344
|
-
export interface
|
|
367
|
+
export interface CredentialSet {
|
|
345
368
|
required: boolean;
|
|
346
369
|
options: Array<Array<string>>;
|
|
347
370
|
}
|
|
348
|
-
export interface
|
|
371
|
+
export interface DeviceInfo {
|
|
349
372
|
address: string;
|
|
350
373
|
mtu: number;
|
|
351
374
|
}
|
|
352
|
-
export interface
|
|
353
|
-
|
|
375
|
+
export interface DidDetail {
|
|
376
|
+
id: string;
|
|
377
|
+
createdDate: string;
|
|
378
|
+
lastModified: string;
|
|
379
|
+
name: string;
|
|
380
|
+
organisationId?: string;
|
|
381
|
+
did: string;
|
|
382
|
+
didType: DidType;
|
|
383
|
+
didMethod: string;
|
|
384
|
+
keys: DidKeys;
|
|
385
|
+
deactivated: boolean;
|
|
386
|
+
}
|
|
387
|
+
export interface DidKeys {
|
|
388
|
+
authentication: Array<KeyListItem>;
|
|
389
|
+
assertionMethod: Array<KeyListItem>;
|
|
390
|
+
keyAgreement: Array<KeyListItem>;
|
|
391
|
+
capabilityInvocation: Array<KeyListItem>;
|
|
392
|
+
capabilityDelegation: Array<KeyListItem>;
|
|
393
|
+
}
|
|
394
|
+
export interface DidList {
|
|
395
|
+
values: Array<DidListItem>;
|
|
354
396
|
totalPages: number;
|
|
355
397
|
totalItems: number;
|
|
356
398
|
}
|
|
357
|
-
export interface
|
|
399
|
+
export interface DidListItem {
|
|
358
400
|
id: string;
|
|
359
401
|
createdDate: string;
|
|
360
402
|
lastModified: string;
|
|
361
403
|
name: string;
|
|
362
404
|
did: string;
|
|
363
|
-
didType:
|
|
405
|
+
didType: DidType;
|
|
364
406
|
didMethod: string;
|
|
365
407
|
deactivated: boolean;
|
|
366
408
|
}
|
|
367
|
-
export interface
|
|
409
|
+
export interface DidListQuery {
|
|
368
410
|
page: number;
|
|
369
411
|
pageSize: number;
|
|
370
|
-
sort?:
|
|
412
|
+
sort?: SortableDidColumn;
|
|
371
413
|
sortDirection?: SortDirection;
|
|
372
414
|
organisationId: string;
|
|
373
415
|
name?: string;
|
|
374
416
|
did?: string;
|
|
375
|
-
type?:
|
|
417
|
+
type?: DidType;
|
|
376
418
|
deactivated?: boolean;
|
|
377
|
-
exact?: Array<
|
|
419
|
+
exact?: Array<DidListQueryExactColumn>;
|
|
378
420
|
keyAlgorithms?: Array<string>;
|
|
379
|
-
keyRoles?: Array<
|
|
421
|
+
keyRoles?: Array<KeyRole>;
|
|
380
422
|
keyStorages?: Array<string>;
|
|
381
423
|
keyIds?: Array<string>;
|
|
382
424
|
didMethods?: Array<string>;
|
|
383
425
|
}
|
|
384
|
-
export interface
|
|
385
|
-
organisationId: string;
|
|
386
|
-
name: string;
|
|
387
|
-
didMethod: string;
|
|
388
|
-
keys: DidRequestKeysBindingDto;
|
|
389
|
-
params: Record<string, string>;
|
|
390
|
-
}
|
|
391
|
-
export interface DidRequestKeysBindingDto {
|
|
426
|
+
export interface DidRequestKeys {
|
|
392
427
|
authentication: Array<string>;
|
|
393
428
|
assertionMethod: Array<string>;
|
|
394
429
|
keyAgreement: Array<string>;
|
|
395
430
|
capabilityInvocation: Array<string>;
|
|
396
431
|
capabilityDelegation: Array<string>;
|
|
397
432
|
}
|
|
398
|
-
export interface
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
lastModified: string;
|
|
402
|
-
name: string;
|
|
403
|
-
organisationId?: string;
|
|
404
|
-
did: string;
|
|
405
|
-
didType: DidTypeBindingEnum;
|
|
406
|
-
didMethod: string;
|
|
407
|
-
keys: DidResponseKeysBindingDto;
|
|
408
|
-
deactivated: boolean;
|
|
409
|
-
}
|
|
410
|
-
export interface DidResponseKeysBindingDto {
|
|
411
|
-
authentication: Array<KeyListItemResponseBindingDto>;
|
|
412
|
-
assertionMethod: Array<KeyListItemResponseBindingDto>;
|
|
413
|
-
keyAgreement: Array<KeyListItemResponseBindingDto>;
|
|
414
|
-
capabilityInvocation: Array<KeyListItemResponseBindingDto>;
|
|
415
|
-
capabilityDelegation: Array<KeyListItemResponseBindingDto>;
|
|
433
|
+
export interface DisplayName {
|
|
434
|
+
lang: string;
|
|
435
|
+
value: string;
|
|
416
436
|
}
|
|
417
|
-
export interface
|
|
437
|
+
export interface ErrorResponse {
|
|
418
438
|
code: string;
|
|
419
439
|
message: string;
|
|
420
440
|
cause?: Cause;
|
|
421
441
|
}
|
|
422
|
-
export interface
|
|
423
|
-
keyReference: number[];
|
|
424
|
-
publicKey: number[];
|
|
425
|
-
}
|
|
426
|
-
export interface GetIdentifierBindingDto {
|
|
427
|
-
id: string;
|
|
428
|
-
createdDate: string;
|
|
429
|
-
lastModified: string;
|
|
430
|
-
name: string;
|
|
431
|
-
organisationId?: string;
|
|
432
|
-
type: IdentifierTypeBindingEnum;
|
|
433
|
-
isRemote: boolean;
|
|
434
|
-
state: IdentifierStateBindingEnum;
|
|
435
|
-
did?: DidResponseBindingDto;
|
|
436
|
-
key?: KeyResponseBindingDto;
|
|
437
|
-
certificates?: Array<CertificateResponseBindingDto>;
|
|
438
|
-
}
|
|
439
|
-
export interface GetIdentifierListBindingDto {
|
|
440
|
-
values: Array<GetIdentifierListItemBindingDto>;
|
|
441
|
-
totalPages: number;
|
|
442
|
-
totalItems: number;
|
|
443
|
-
}
|
|
444
|
-
export interface GetIdentifierListItemBindingDto {
|
|
445
|
-
id: string;
|
|
446
|
-
createdDate: string;
|
|
447
|
-
lastModified: string;
|
|
448
|
-
name: string;
|
|
449
|
-
type: IdentifierTypeBindingEnum;
|
|
450
|
-
isRemote: boolean;
|
|
451
|
-
state: IdentifierStateBindingEnum;
|
|
452
|
-
organisationId?: string;
|
|
453
|
-
}
|
|
454
|
-
export interface GetProofSchemaBindingDto {
|
|
455
|
-
id: string;
|
|
456
|
-
createdDate: string;
|
|
457
|
-
lastModified: string;
|
|
458
|
-
name: string;
|
|
442
|
+
export interface GenerateKeyRequest {
|
|
459
443
|
organisationId: string;
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
importedSourceUrl?: string;
|
|
463
|
-
}
|
|
464
|
-
export interface GetProofSchemaListItemBindingDto {
|
|
465
|
-
id: string;
|
|
466
|
-
createdDate: string;
|
|
467
|
-
lastModified: string;
|
|
468
|
-
deletedAt?: string;
|
|
469
|
-
name: string;
|
|
470
|
-
expireDuration: number;
|
|
471
|
-
}
|
|
472
|
-
export interface GetRemoteTrustEntityResponseBindingDto {
|
|
473
|
-
id: string;
|
|
474
|
-
organisationId?: string;
|
|
475
|
-
createdDate: string;
|
|
476
|
-
lastModified: string;
|
|
477
|
-
name: string;
|
|
478
|
-
logo?: string;
|
|
479
|
-
website?: string;
|
|
480
|
-
termsUrl?: string;
|
|
481
|
-
privacyUrl?: string;
|
|
482
|
-
role: TrustEntityRoleBindingEnum;
|
|
483
|
-
trustAnchor: GetTrustAnchorResponseBindingDto;
|
|
484
|
-
did?: DidListItemBindingDto;
|
|
485
|
-
state: TrustEntityStateBindingEnum;
|
|
486
|
-
}
|
|
487
|
-
export interface GetTrustAnchorResponseBindingDto {
|
|
488
|
-
id: string;
|
|
444
|
+
keyType: string;
|
|
445
|
+
keyParams: Record<string, string>;
|
|
489
446
|
name: string;
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
type: string;
|
|
493
|
-
isPublisher: boolean;
|
|
494
|
-
publisherReference: string;
|
|
447
|
+
storageType: string;
|
|
448
|
+
storageParams: Record<string, string>;
|
|
495
449
|
}
|
|
496
|
-
export interface
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
createdDate: string;
|
|
500
|
-
lastModified: string;
|
|
501
|
-
name: string;
|
|
502
|
-
logo?: string;
|
|
503
|
-
website?: string;
|
|
504
|
-
termsUrl?: string;
|
|
505
|
-
privacyUrl?: string;
|
|
506
|
-
role: TrustEntityRoleBindingEnum;
|
|
507
|
-
trustAnchor: GetTrustAnchorResponseBindingDto;
|
|
508
|
-
did?: DidListItemBindingDto;
|
|
509
|
-
state: TrustEntityStateBindingEnum;
|
|
510
|
-
entityKey: string;
|
|
511
|
-
type: TrustEntityTypeBindingEnum;
|
|
512
|
-
identifier?: GetIdentifierListItemBindingDto;
|
|
513
|
-
content?: string;
|
|
514
|
-
ca?: TrustEntityCertificateResponseBindingDto;
|
|
450
|
+
export interface GeneratedKey {
|
|
451
|
+
keyReference: number[];
|
|
452
|
+
publicKey: number[];
|
|
515
453
|
}
|
|
516
|
-
export interface
|
|
454
|
+
export interface HandleInvitationRequest {
|
|
517
455
|
/**
|
|
518
456
|
* Typically encoded as a QR code or deep link by the issuer or
|
|
519
457
|
* verifier. For example: "https://example.com/credential-offer".
|
|
@@ -534,48 +472,48 @@ export interface HandleInvitationRequestBindingDto {
|
|
|
534
472
|
*/
|
|
535
473
|
redirectUri?: string;
|
|
536
474
|
}
|
|
537
|
-
export interface
|
|
475
|
+
export interface HistoryErrorMetadata {
|
|
538
476
|
errorCode: string;
|
|
539
477
|
message: string;
|
|
540
478
|
}
|
|
541
|
-
export interface
|
|
542
|
-
values: Array<
|
|
479
|
+
export interface HistoryList {
|
|
480
|
+
values: Array<HistoryListItem>;
|
|
543
481
|
totalPages: number;
|
|
544
482
|
totalItems: number;
|
|
545
483
|
}
|
|
546
|
-
export interface
|
|
484
|
+
export interface HistoryListItem {
|
|
547
485
|
id: string;
|
|
548
486
|
createdDate: string;
|
|
549
|
-
action:
|
|
487
|
+
action: HistoryAction;
|
|
550
488
|
name: string;
|
|
551
489
|
entityId?: string;
|
|
552
|
-
entityType:
|
|
553
|
-
metadata?:
|
|
490
|
+
entityType: HistoryEntityType;
|
|
491
|
+
metadata?: HistoryMetadata;
|
|
554
492
|
organisationId?: string;
|
|
555
493
|
target?: string;
|
|
556
494
|
user?: string;
|
|
557
495
|
}
|
|
558
|
-
export interface
|
|
496
|
+
export interface HistoryListQuery {
|
|
559
497
|
page: number;
|
|
560
498
|
pageSize: number;
|
|
561
499
|
organisationId: string;
|
|
562
500
|
entityIds?: Array<string>;
|
|
563
|
-
entityTypes?: Array<
|
|
564
|
-
actions?: Array<
|
|
501
|
+
entityTypes?: Array<HistoryEntityType>;
|
|
502
|
+
actions?: Array<HistoryAction>;
|
|
565
503
|
createdDateAfter?: string;
|
|
566
504
|
createdDateBefore?: string;
|
|
567
505
|
identifierId?: string;
|
|
568
506
|
credentialId?: string;
|
|
569
507
|
credentialSchemaId?: string;
|
|
570
508
|
proofSchemaId?: string;
|
|
571
|
-
search?:
|
|
509
|
+
search?: HistorySearch;
|
|
572
510
|
users?: Array<string>;
|
|
573
511
|
}
|
|
574
|
-
export interface
|
|
512
|
+
export interface HistorySearch {
|
|
575
513
|
text: string;
|
|
576
|
-
type?:
|
|
514
|
+
type?: HistorySearchType;
|
|
577
515
|
}
|
|
578
|
-
export interface
|
|
516
|
+
export interface HolderAcceptCredentialRequest {
|
|
579
517
|
interactionId: string;
|
|
580
518
|
didId?: string;
|
|
581
519
|
identifierId?: string;
|
|
@@ -583,44 +521,79 @@ export interface HolderAcceptCredentialRequestBindingDto {
|
|
|
583
521
|
txCode?: string;
|
|
584
522
|
holderWalletUnitId?: string;
|
|
585
523
|
}
|
|
586
|
-
export interface
|
|
524
|
+
export interface HolderRegisterWalletUnitRequest {
|
|
587
525
|
organisationId: string;
|
|
588
526
|
/** Reference the `walletProvider` configuration of the Wallet Provider. */
|
|
589
|
-
walletProvider:
|
|
527
|
+
walletProvider: WalletProvider;
|
|
590
528
|
keyType: string;
|
|
591
529
|
}
|
|
592
|
-
export interface
|
|
530
|
+
export interface HolderRegisterWalletUnitResponse {
|
|
531
|
+
id: string;
|
|
532
|
+
status: WalletUnitStatus;
|
|
533
|
+
}
|
|
534
|
+
export interface HolderWalletUnit {
|
|
593
535
|
id: string;
|
|
594
536
|
createdDate: string;
|
|
595
537
|
lastModified: string;
|
|
596
538
|
providerWalletUnitId: string;
|
|
597
539
|
walletProviderUrl: string;
|
|
598
|
-
walletProviderType:
|
|
540
|
+
walletProviderType: WalletProviderType;
|
|
599
541
|
walletProviderName: string;
|
|
600
|
-
status:
|
|
601
|
-
authenticationKey
|
|
542
|
+
status: WalletUnitStatus;
|
|
543
|
+
authenticationKey?: KeyListItem;
|
|
544
|
+
}
|
|
545
|
+
export interface HolderWalletUnitUpdateRequest {
|
|
546
|
+
trustCollections: Array<string>;
|
|
547
|
+
}
|
|
548
|
+
export interface IdentifierDetail {
|
|
549
|
+
id: string;
|
|
550
|
+
createdDate: string;
|
|
551
|
+
lastModified: string;
|
|
552
|
+
name: string;
|
|
553
|
+
organisationId?: string;
|
|
554
|
+
type: IdentifierType;
|
|
555
|
+
isRemote: boolean;
|
|
556
|
+
state: IdentifierState;
|
|
557
|
+
did?: DidDetail;
|
|
558
|
+
key?: KeyDetail;
|
|
559
|
+
certificates?: Array<CertificateDetail>;
|
|
560
|
+
}
|
|
561
|
+
export interface IdentifierList {
|
|
562
|
+
values: Array<IdentifierListItem>;
|
|
563
|
+
totalPages: number;
|
|
564
|
+
totalItems: number;
|
|
602
565
|
}
|
|
603
|
-
export interface
|
|
566
|
+
export interface IdentifierListItem {
|
|
567
|
+
id: string;
|
|
568
|
+
createdDate: string;
|
|
569
|
+
lastModified: string;
|
|
570
|
+
name: string;
|
|
571
|
+
type: IdentifierType;
|
|
572
|
+
isRemote: boolean;
|
|
573
|
+
state: IdentifierState;
|
|
574
|
+
organisationId?: string;
|
|
575
|
+
}
|
|
576
|
+
export interface IdentifierListQuery {
|
|
604
577
|
page: number;
|
|
605
578
|
pageSize: number;
|
|
606
|
-
sort?:
|
|
579
|
+
sort?: SortableIdentifierColumn;
|
|
607
580
|
sortDirection?: SortDirection;
|
|
608
581
|
organisationId: string;
|
|
609
582
|
name?: string;
|
|
610
|
-
types?: Array<
|
|
611
|
-
states?: Array<
|
|
612
|
-
exact?: Array<
|
|
583
|
+
types?: Array<IdentifierType>;
|
|
584
|
+
states?: Array<IdentifierState>;
|
|
585
|
+
exact?: Array<IdentifierListQueryExactColumn>;
|
|
613
586
|
didMethods?: Array<string>;
|
|
614
587
|
isRemote?: boolean;
|
|
615
588
|
keyAlgorithms?: Array<string>;
|
|
616
|
-
keyRoles?: Array<
|
|
589
|
+
keyRoles?: Array<KeyRole>;
|
|
617
590
|
keyStorages?: Array<string>;
|
|
618
591
|
createdDateAfter?: string;
|
|
619
592
|
createdDateBefore?: string;
|
|
620
593
|
lastModifiedAfter?: string;
|
|
621
594
|
lastModifiedBefore?: string;
|
|
622
595
|
}
|
|
623
|
-
export interface
|
|
596
|
+
export interface ImportCredentialSchemaClaimSchema {
|
|
624
597
|
id: string;
|
|
625
598
|
createdDate: string;
|
|
626
599
|
lastModified: string;
|
|
@@ -628,21 +601,21 @@ export interface ImportCredentialSchemaClaimSchemaBindingDto {
|
|
|
628
601
|
key: string;
|
|
629
602
|
datatype: string;
|
|
630
603
|
array?: boolean;
|
|
631
|
-
claims?: Array<
|
|
604
|
+
claims?: Array<ImportCredentialSchemaClaimSchema>;
|
|
632
605
|
}
|
|
633
|
-
export interface
|
|
634
|
-
background?:
|
|
635
|
-
logo?:
|
|
606
|
+
export interface ImportCredentialSchemaLayoutProperties {
|
|
607
|
+
background?: CredentialSchemaBackgroundProperties;
|
|
608
|
+
logo?: CredentialSchemaLogoProperties;
|
|
636
609
|
primaryAttribute?: string;
|
|
637
610
|
secondaryAttribute?: string;
|
|
638
611
|
pictureAttribute?: string;
|
|
639
|
-
code?:
|
|
612
|
+
code?: CredentialSchemaCodeProperties;
|
|
640
613
|
}
|
|
641
|
-
export interface
|
|
614
|
+
export interface ImportCredentialSchemaRequest {
|
|
642
615
|
organisationId: string;
|
|
643
|
-
schema:
|
|
616
|
+
schema: ImportCredentialSchemaRequestSchema;
|
|
644
617
|
}
|
|
645
|
-
export interface
|
|
618
|
+
export interface ImportCredentialSchemaRequestSchema {
|
|
646
619
|
id: string;
|
|
647
620
|
createdDate: string;
|
|
648
621
|
lastModified: string;
|
|
@@ -650,22 +623,22 @@ export interface ImportCredentialSchemaRequestSchemaBindingDto {
|
|
|
650
623
|
format: string;
|
|
651
624
|
revocationMethod: string;
|
|
652
625
|
organisationId: string;
|
|
653
|
-
claims: Array<
|
|
654
|
-
keyStorageSecurity?:
|
|
626
|
+
claims: Array<ImportCredentialSchemaClaimSchema>;
|
|
627
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
655
628
|
schemaId: string;
|
|
656
629
|
importedSourceUrl: string;
|
|
657
|
-
layoutType?:
|
|
658
|
-
layoutProperties?:
|
|
630
|
+
layoutType?: LayoutType;
|
|
631
|
+
layoutProperties?: ImportCredentialSchemaLayoutProperties;
|
|
659
632
|
allowSuspension?: boolean;
|
|
660
633
|
requiresWalletInstanceAttestation?: boolean;
|
|
661
|
-
transactionCode?:
|
|
634
|
+
transactionCode?: ImportCredentialSchemaTransactionCode;
|
|
662
635
|
}
|
|
663
|
-
export interface
|
|
664
|
-
type:
|
|
636
|
+
export interface ImportCredentialSchemaTransactionCode {
|
|
637
|
+
type: TransactionCodeType;
|
|
665
638
|
length: number;
|
|
666
639
|
description?: string;
|
|
667
640
|
}
|
|
668
|
-
export interface
|
|
641
|
+
export interface ImportProofSchema {
|
|
669
642
|
id: string;
|
|
670
643
|
createdDate: string;
|
|
671
644
|
lastModified: string;
|
|
@@ -673,18 +646,18 @@ export interface ImportProofSchemaBindingDto {
|
|
|
673
646
|
organisationId: string;
|
|
674
647
|
expireDuration: number;
|
|
675
648
|
importedSourceUrl: string;
|
|
676
|
-
proofInputSchemas: Array<
|
|
649
|
+
proofInputSchemas: Array<ImportProofSchemaInputSchema>;
|
|
677
650
|
}
|
|
678
|
-
export interface
|
|
651
|
+
export interface ImportProofSchemaClaimSchema {
|
|
679
652
|
id: string;
|
|
680
653
|
requested: boolean;
|
|
681
654
|
required: boolean;
|
|
682
655
|
key: string;
|
|
683
656
|
dataType: string;
|
|
684
|
-
claims?: Array<
|
|
657
|
+
claims?: Array<ImportProofSchemaClaimSchema>;
|
|
685
658
|
array: boolean;
|
|
686
659
|
}
|
|
687
|
-
export interface
|
|
660
|
+
export interface ImportProofSchemaCredentialSchema {
|
|
688
661
|
id: string;
|
|
689
662
|
createdDate: string;
|
|
690
663
|
lastModified: string;
|
|
@@ -692,23 +665,23 @@ export interface ImportProofSchemaCredentialSchemaBindingDto {
|
|
|
692
665
|
name: string;
|
|
693
666
|
format: string;
|
|
694
667
|
revocationMethod?: string;
|
|
695
|
-
keyStorageSecurity?:
|
|
668
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
696
669
|
schemaId: string;
|
|
697
670
|
importedSourceUrl: string;
|
|
698
|
-
layoutType?:
|
|
699
|
-
layoutProperties?:
|
|
671
|
+
layoutType?: LayoutType;
|
|
672
|
+
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
700
673
|
allowSuspension?: boolean;
|
|
701
674
|
requiresWalletInstanceAttestation?: boolean;
|
|
702
675
|
}
|
|
703
|
-
export interface
|
|
704
|
-
claimSchemas: Array<
|
|
705
|
-
credentialSchema:
|
|
676
|
+
export interface ImportProofSchemaInputSchema {
|
|
677
|
+
claimSchemas: Array<ImportProofSchemaClaimSchema>;
|
|
678
|
+
credentialSchema: ImportProofSchemaCredentialSchema;
|
|
706
679
|
}
|
|
707
|
-
export interface
|
|
708
|
-
schema:
|
|
680
|
+
export interface ImportProofSchemaRequest {
|
|
681
|
+
schema: ImportProofSchema;
|
|
709
682
|
organisationId: string;
|
|
710
683
|
}
|
|
711
|
-
export interface
|
|
684
|
+
export interface InitParams {
|
|
712
685
|
configJson?: string;
|
|
713
686
|
nativeSecureElement?: NativeKeyStorage;
|
|
714
687
|
remoteSecureElement?: NativeKeyStorage;
|
|
@@ -717,249 +690,186 @@ export interface InitParamsDto {
|
|
|
717
690
|
nfcHce?: NfcHce;
|
|
718
691
|
nfcScanner?: NfcScanner;
|
|
719
692
|
}
|
|
720
|
-
export interface
|
|
693
|
+
export interface InitiateIssuanceAuthorizationDetail {
|
|
721
694
|
type: string;
|
|
722
695
|
credentialConfigurationId: string;
|
|
723
696
|
}
|
|
724
|
-
export interface
|
|
697
|
+
export interface InitiateIssuanceRequest {
|
|
725
698
|
organisationId: string;
|
|
726
699
|
protocol: string;
|
|
727
700
|
issuer: string;
|
|
728
701
|
clientId: string;
|
|
729
702
|
redirectUri?: string;
|
|
730
703
|
scope?: Array<string>;
|
|
731
|
-
authorizationDetails?: Array<
|
|
704
|
+
authorizationDetails?: Array<InitiateIssuanceAuthorizationDetail>;
|
|
732
705
|
}
|
|
733
|
-
export interface
|
|
706
|
+
export interface InitiateIssuanceResponse {
|
|
734
707
|
url: string;
|
|
735
708
|
}
|
|
736
|
-
export interface
|
|
737
|
-
profile: KeyGenerateCsrRequestProfileBinding;
|
|
738
|
-
subject: KeyGenerateCsrRequestSubjectBindingDto;
|
|
739
|
-
}
|
|
740
|
-
export interface KeyGenerateCsrRequestSubjectBindingDto {
|
|
741
|
-
/** Two-letter country code. */
|
|
742
|
-
countryName?: string;
|
|
743
|
-
/** Common name to include in the CSR, typically the domain name of the organization. */
|
|
744
|
-
commonName?: string;
|
|
745
|
-
stateOrProvinceName?: string;
|
|
746
|
-
organisationName?: string;
|
|
747
|
-
localityName?: string;
|
|
748
|
-
serialNumber?: string;
|
|
749
|
-
}
|
|
750
|
-
export interface KeyListItemBindingDto {
|
|
751
|
-
id: string;
|
|
752
|
-
createdDate: string;
|
|
753
|
-
lastModified: string;
|
|
754
|
-
name: string;
|
|
755
|
-
publicKey: number[];
|
|
756
|
-
keyType: string;
|
|
757
|
-
storageType: string;
|
|
758
|
-
}
|
|
759
|
-
export interface KeyListItemResponseBindingDto {
|
|
709
|
+
export interface KeyDetail {
|
|
760
710
|
id: string;
|
|
761
711
|
createdDate: string;
|
|
762
712
|
lastModified: string;
|
|
713
|
+
organisationId: string;
|
|
763
714
|
name: string;
|
|
764
715
|
publicKey: number[];
|
|
765
716
|
keyType: string;
|
|
766
717
|
storageType: string;
|
|
767
718
|
}
|
|
768
|
-
export interface
|
|
769
|
-
organisationId: string;
|
|
770
|
-
keyType: string;
|
|
771
|
-
keyParams: Record<string, string>;
|
|
772
|
-
name: string;
|
|
773
|
-
storageType: string;
|
|
774
|
-
storageParams: Record<string, string>;
|
|
775
|
-
}
|
|
776
|
-
export interface KeyResponseBindingDto {
|
|
719
|
+
export interface KeyListItem {
|
|
777
720
|
id: string;
|
|
778
721
|
createdDate: string;
|
|
779
722
|
lastModified: string;
|
|
780
|
-
organisationId: string;
|
|
781
723
|
name: string;
|
|
782
724
|
publicKey: number[];
|
|
783
725
|
keyType: string;
|
|
784
726
|
storageType: string;
|
|
785
727
|
}
|
|
786
|
-
export interface
|
|
787
|
-
page: number;
|
|
788
|
-
pageSize: number;
|
|
789
|
-
sort?: SortableProofSchemaColumnBinding;
|
|
790
|
-
sortDirection?: SortDirection;
|
|
791
|
-
organisationId: string;
|
|
792
|
-
name?: string;
|
|
793
|
-
exact?: Array<ProofSchemaListQueryExactColumnBinding>;
|
|
794
|
-
ids?: Array<string>;
|
|
795
|
-
formats?: Array<string>;
|
|
796
|
-
createdDateAfter?: string;
|
|
797
|
-
createdDateBefore?: string;
|
|
798
|
-
lastModifiedAfter?: string;
|
|
799
|
-
lastModifiedBefore?: string;
|
|
800
|
-
}
|
|
801
|
-
export interface ListTrustAnchorsFiltersBindings {
|
|
802
|
-
page: number;
|
|
803
|
-
pageSize: number;
|
|
804
|
-
sort?: SortableTrustAnchorColumnBindings;
|
|
805
|
-
sortDirection?: SortDirection;
|
|
806
|
-
name?: string;
|
|
807
|
-
isPublisher?: boolean;
|
|
808
|
-
type?: string;
|
|
809
|
-
exact?: Array<ExactTrustAnchorFilterColumnBindings>;
|
|
810
|
-
createdDateAfter?: string;
|
|
811
|
-
createdDateBefore?: string;
|
|
812
|
-
lastModifiedAfter?: string;
|
|
813
|
-
lastModifiedBefore?: string;
|
|
814
|
-
}
|
|
815
|
-
export interface ListTrustEntitiesFiltersBindings {
|
|
816
|
-
page: number;
|
|
817
|
-
pageSize: number;
|
|
818
|
-
sort?: SortableTrustEntityColumnBindings;
|
|
819
|
-
sortDirection?: SortDirection;
|
|
820
|
-
name?: string;
|
|
821
|
-
role?: TrustEntityRoleBindingEnum;
|
|
822
|
-
trustAnchor?: string;
|
|
823
|
-
didId?: string;
|
|
824
|
-
organisationId?: string;
|
|
825
|
-
types?: Array<TrustEntityTypeBindingEnum>;
|
|
826
|
-
entityKey?: string;
|
|
827
|
-
states?: Array<TrustEntityStateBindingEnum>;
|
|
828
|
-
exact?: Array<ExactTrustEntityFilterColumnBindings>;
|
|
829
|
-
createdDateAfter?: string;
|
|
830
|
-
createdDateBefore?: string;
|
|
831
|
-
lastModifiedAfter?: string;
|
|
832
|
-
lastModifiedBefore?: string;
|
|
833
|
-
}
|
|
834
|
-
export interface MdocMsoValidityResponseBindingDto {
|
|
728
|
+
export interface MdocMsoValidity {
|
|
835
729
|
expiration: string;
|
|
836
730
|
nextUpdate: string;
|
|
837
731
|
lastUpdate: string;
|
|
838
732
|
}
|
|
839
|
-
export interface
|
|
733
|
+
export interface Metadata {
|
|
840
734
|
dbVersion: string;
|
|
841
735
|
dbHash: string;
|
|
842
736
|
createdAt: string;
|
|
843
737
|
}
|
|
844
738
|
/** Optional messages to be displayed on (iOS) system overlay */
|
|
845
|
-
export interface
|
|
739
|
+
export interface NfcScanRequest {
|
|
846
740
|
inProgressMessage?: string;
|
|
847
741
|
failureMessage?: string;
|
|
848
742
|
successMessage?: string;
|
|
849
743
|
}
|
|
850
|
-
export interface
|
|
851
|
-
|
|
852
|
-
}
|
|
853
|
-
export interface OpenId4vciTxCodeBindingDto {
|
|
854
|
-
inputMode: OpenId4vciTxCodeInputModeBindingEnum;
|
|
744
|
+
export interface OpenId4vciTxCode {
|
|
745
|
+
inputMode: OpenId4vciTxCodeInputMode;
|
|
855
746
|
length?: number;
|
|
856
747
|
description?: string;
|
|
857
748
|
}
|
|
858
|
-
export interface
|
|
749
|
+
export interface PeripheralDiscoveryData {
|
|
859
750
|
deviceAddress: string;
|
|
860
751
|
localDeviceName?: string;
|
|
861
752
|
advertisedServices: Array<string>;
|
|
862
753
|
advertisedServiceData?: Record<string, number[]>;
|
|
863
754
|
}
|
|
864
|
-
export interface
|
|
865
|
-
requestGroups: Array<
|
|
866
|
-
credentials: Array<
|
|
755
|
+
export interface PresentationDefinition {
|
|
756
|
+
requestGroups: Array<PresentationDefinitionRequestGroup>;
|
|
757
|
+
credentials: Array<CredentialDetail>;
|
|
867
758
|
}
|
|
868
|
-
export interface
|
|
759
|
+
export interface PresentationDefinitionField {
|
|
869
760
|
id: string;
|
|
870
761
|
name?: string;
|
|
871
762
|
purpose?: string;
|
|
872
763
|
required: boolean;
|
|
873
764
|
keyMap: Record<string, string>;
|
|
874
765
|
}
|
|
875
|
-
export interface
|
|
766
|
+
export interface PresentationDefinitionRequestGroup {
|
|
876
767
|
id: string;
|
|
877
768
|
name?: string;
|
|
878
769
|
purpose?: string;
|
|
879
|
-
rule:
|
|
880
|
-
requestedCredentials: Array<
|
|
770
|
+
rule: PresentationDefinitionRule;
|
|
771
|
+
requestedCredentials: Array<PresentationDefinitionRequestedCredential>;
|
|
881
772
|
}
|
|
882
|
-
export interface
|
|
773
|
+
export interface PresentationDefinitionRequestedCredential {
|
|
883
774
|
id: string;
|
|
884
775
|
name?: string;
|
|
885
776
|
purpose?: string;
|
|
886
|
-
fields: Array<
|
|
777
|
+
fields: Array<PresentationDefinitionField>;
|
|
887
778
|
applicableCredentials: Array<string>;
|
|
888
779
|
inapplicableCredentials: Array<string>;
|
|
889
780
|
multiple?: boolean;
|
|
890
781
|
}
|
|
891
|
-
export interface
|
|
892
|
-
type:
|
|
782
|
+
export interface PresentationDefinitionRule {
|
|
783
|
+
type: PresentationDefinitionRuleType;
|
|
893
784
|
min?: number;
|
|
894
785
|
max?: number;
|
|
895
786
|
count?: number;
|
|
896
787
|
}
|
|
897
|
-
export interface
|
|
788
|
+
export interface PresentationDefinitionV2 {
|
|
789
|
+
credentialQueries: Record<string, CredentialQuery>;
|
|
790
|
+
credentialSets: Array<CredentialSet>;
|
|
791
|
+
}
|
|
792
|
+
export interface PresentationDefinitionV2Claim {
|
|
898
793
|
path: string;
|
|
899
|
-
schema:
|
|
900
|
-
value:
|
|
794
|
+
schema: ClaimSchema;
|
|
795
|
+
value: PresentationDefinitionV2ClaimValue;
|
|
901
796
|
userSelection: boolean;
|
|
902
797
|
required: boolean;
|
|
903
798
|
}
|
|
904
|
-
export interface
|
|
799
|
+
export interface PresentationDefinitionV2Credential {
|
|
905
800
|
id: string;
|
|
906
801
|
createdDate: string;
|
|
907
802
|
issuanceDate?: string;
|
|
908
803
|
lastModified: string;
|
|
909
804
|
revocationDate?: string;
|
|
910
|
-
issuer?:
|
|
911
|
-
issuerCertificate?:
|
|
912
|
-
holder?:
|
|
913
|
-
state:
|
|
914
|
-
schema:
|
|
915
|
-
claims: Array<
|
|
805
|
+
issuer?: IdentifierListItem;
|
|
806
|
+
issuerCertificate?: CertificateDetail;
|
|
807
|
+
holder?: IdentifierListItem;
|
|
808
|
+
state: CredentialState;
|
|
809
|
+
schema: CredentialSchemaListItem;
|
|
810
|
+
claims: Array<PresentationDefinitionV2Claim>;
|
|
916
811
|
redirectUri?: string;
|
|
917
|
-
role:
|
|
812
|
+
role: CredentialRole;
|
|
918
813
|
suspendEndDate?: string;
|
|
919
|
-
mdocMsoValidity?:
|
|
814
|
+
mdocMsoValidity?: MdocMsoValidity;
|
|
920
815
|
protocol: string;
|
|
921
816
|
profile?: string;
|
|
922
817
|
}
|
|
923
|
-
export interface
|
|
924
|
-
credentialQueries: Record<string, CredentialQueryResponseBindingDto>;
|
|
925
|
-
credentialSets: Array<CredentialSetResponseBindingDto>;
|
|
926
|
-
}
|
|
927
|
-
export interface PresentationSubmitCredentialRequestBindingDto {
|
|
818
|
+
export interface PresentationSubmitCredentialRequest {
|
|
928
819
|
credentialId: string;
|
|
929
820
|
submitClaims: Array<string>;
|
|
930
821
|
}
|
|
931
|
-
export interface
|
|
822
|
+
export interface PresentationSubmitV2CredentialRequest {
|
|
932
823
|
credentialId: string;
|
|
933
824
|
userSelections: Array<string>;
|
|
934
825
|
}
|
|
935
|
-
export interface
|
|
826
|
+
export interface ProofClaim {
|
|
827
|
+
schema: ProofClaimSchema;
|
|
828
|
+
value?: ProofClaimValue;
|
|
829
|
+
}
|
|
830
|
+
export interface ProofClaimSchema {
|
|
936
831
|
id: string;
|
|
937
832
|
requested: boolean;
|
|
938
833
|
required: boolean;
|
|
939
834
|
key: string;
|
|
940
835
|
dataType: string;
|
|
941
|
-
claims: Array<
|
|
836
|
+
claims: Array<ProofClaimSchema>;
|
|
942
837
|
array: boolean;
|
|
943
838
|
}
|
|
944
|
-
export interface
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
|
|
839
|
+
export interface ProofDetail {
|
|
840
|
+
id: string;
|
|
841
|
+
createdDate: string;
|
|
842
|
+
lastModified: string;
|
|
843
|
+
verifier?: IdentifierListItem;
|
|
844
|
+
state: ProofState;
|
|
845
|
+
role: ProofRole;
|
|
846
|
+
proofSchema?: ProofSchemaListItem;
|
|
847
|
+
protocol: string;
|
|
848
|
+
engagement?: string;
|
|
849
|
+
transport: string;
|
|
850
|
+
redirectUri?: string;
|
|
851
|
+
proofInputs: Array<ProofInput>;
|
|
852
|
+
retainUntilDate?: string;
|
|
853
|
+
requestedDate?: string;
|
|
854
|
+
completedDate?: string;
|
|
855
|
+
claimsRemovedAt?: string;
|
|
856
|
+
profile?: string;
|
|
948
857
|
}
|
|
949
|
-
export interface
|
|
950
|
-
|
|
951
|
-
|
|
858
|
+
export interface ProofInput {
|
|
859
|
+
claims: Array<ProofClaim>;
|
|
860
|
+
credential?: CredentialDetail;
|
|
861
|
+
credentialSchema: CredentialSchemaListItem;
|
|
952
862
|
}
|
|
953
|
-
export interface
|
|
954
|
-
|
|
955
|
-
|
|
863
|
+
export interface ProofInputSchema {
|
|
864
|
+
claimSchemas: Array<ProofClaimSchema>;
|
|
865
|
+
credentialSchema: CredentialSchemaListItem;
|
|
956
866
|
}
|
|
957
|
-
export interface
|
|
958
|
-
values: Array<
|
|
867
|
+
export interface ProofList {
|
|
868
|
+
values: Array<ProofListItem>;
|
|
959
869
|
totalPages: number;
|
|
960
870
|
totalItems: number;
|
|
961
871
|
}
|
|
962
|
-
export interface
|
|
872
|
+
export interface ProofListItem {
|
|
963
873
|
id: string;
|
|
964
874
|
createdDate: string;
|
|
965
875
|
lastModified: string;
|
|
@@ -969,25 +879,25 @@ export interface ProofListItemBindingDto {
|
|
|
969
879
|
protocol: string;
|
|
970
880
|
transport: string;
|
|
971
881
|
engagement?: string;
|
|
972
|
-
state:
|
|
973
|
-
role:
|
|
974
|
-
schema?:
|
|
882
|
+
state: ProofState;
|
|
883
|
+
role: ProofRole;
|
|
884
|
+
schema?: ProofSchemaListItem;
|
|
975
885
|
retainUntilDate?: string;
|
|
976
886
|
profile?: string;
|
|
977
887
|
}
|
|
978
|
-
export interface
|
|
888
|
+
export interface ProofListQuery {
|
|
979
889
|
page: number;
|
|
980
890
|
pageSize: number;
|
|
981
891
|
organisationId: string;
|
|
982
|
-
sort?:
|
|
892
|
+
sort?: SortableProofColumn;
|
|
983
893
|
sortDirection?: SortDirection;
|
|
984
894
|
name?: string;
|
|
985
895
|
profiles?: Array<string>;
|
|
986
896
|
ids?: Array<string>;
|
|
987
|
-
proofStates?: Array<
|
|
988
|
-
proofRoles?: Array<
|
|
897
|
+
proofStates?: Array<ProofState>;
|
|
898
|
+
proofRoles?: Array<ProofRole>;
|
|
989
899
|
proofSchemaIds?: Array<string>;
|
|
990
|
-
exact?: Array<
|
|
900
|
+
exact?: Array<ProofListQueryExactColumn>;
|
|
991
901
|
createdDateAfter?: string;
|
|
992
902
|
createdDateBefore?: string;
|
|
993
903
|
lastModifiedAfter?: string;
|
|
@@ -997,84 +907,104 @@ export interface ProofListQueryBindingDto {
|
|
|
997
907
|
completedDateAfter?: string;
|
|
998
908
|
completedDateBefore?: string;
|
|
999
909
|
}
|
|
1000
|
-
export interface
|
|
1001
|
-
schema: ProofClaimSchemaBindingDto;
|
|
1002
|
-
value?: ProofRequestClaimValueBindingDto;
|
|
1003
|
-
}
|
|
1004
|
-
export interface ProofResponseBindingDto {
|
|
910
|
+
export interface ProofSchemaDetail {
|
|
1005
911
|
id: string;
|
|
1006
912
|
createdDate: string;
|
|
1007
913
|
lastModified: string;
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
engagement?: string;
|
|
1014
|
-
transport: string;
|
|
1015
|
-
redirectUri?: string;
|
|
1016
|
-
proofInputs: Array<ProofInputBindingDto>;
|
|
1017
|
-
retainUntilDate?: string;
|
|
1018
|
-
requestedDate?: string;
|
|
1019
|
-
completedDate?: string;
|
|
1020
|
-
claimsRemovedAt?: string;
|
|
1021
|
-
profile?: string;
|
|
914
|
+
name: string;
|
|
915
|
+
organisationId: string;
|
|
916
|
+
expireDuration: number;
|
|
917
|
+
proofInputSchemas: Array<ProofInputSchema>;
|
|
918
|
+
importedSourceUrl?: string;
|
|
1022
919
|
}
|
|
1023
|
-
export interface
|
|
1024
|
-
values: Array<
|
|
920
|
+
export interface ProofSchemaList {
|
|
921
|
+
values: Array<ProofSchemaListItem>;
|
|
1025
922
|
totalPages: number;
|
|
1026
923
|
totalItems: number;
|
|
1027
924
|
}
|
|
1028
|
-
export interface
|
|
925
|
+
export interface ProofSchemaListItem {
|
|
926
|
+
id: string;
|
|
927
|
+
createdDate: string;
|
|
928
|
+
lastModified: string;
|
|
929
|
+
deletedAt?: string;
|
|
930
|
+
name: string;
|
|
931
|
+
expireDuration: number;
|
|
932
|
+
}
|
|
933
|
+
export interface ProofSchemaListQuery {
|
|
934
|
+
page: number;
|
|
935
|
+
pageSize: number;
|
|
936
|
+
sort?: SortableProofSchemaColumn;
|
|
937
|
+
sortDirection?: SortDirection;
|
|
938
|
+
organisationId: string;
|
|
939
|
+
name?: string;
|
|
940
|
+
exact?: Array<ProofSchemaListQueryExactColumn>;
|
|
941
|
+
ids?: Array<string>;
|
|
942
|
+
formats?: Array<string>;
|
|
943
|
+
createdDateAfter?: string;
|
|
944
|
+
createdDateBefore?: string;
|
|
945
|
+
lastModifiedAfter?: string;
|
|
946
|
+
lastModifiedBefore?: string;
|
|
947
|
+
}
|
|
948
|
+
export interface ProofSchemaShareResponse {
|
|
1029
949
|
url: string;
|
|
1030
950
|
}
|
|
1031
|
-
export interface
|
|
951
|
+
export interface ProposeProofRequest {
|
|
1032
952
|
protocol: string;
|
|
1033
953
|
organisationId: string;
|
|
1034
954
|
engagement: Array<string>;
|
|
1035
955
|
uiMessage?: string;
|
|
1036
956
|
}
|
|
1037
|
-
export interface
|
|
957
|
+
export interface ProposeProofResponse {
|
|
1038
958
|
proofId: string;
|
|
1039
959
|
interactionId: string;
|
|
1040
960
|
url?: string;
|
|
1041
961
|
}
|
|
1042
|
-
export interface
|
|
1043
|
-
|
|
962
|
+
export interface RemoteTrustEntityDetail {
|
|
963
|
+
id: string;
|
|
964
|
+
organisationId?: string;
|
|
965
|
+
createdDate: string;
|
|
966
|
+
lastModified: string;
|
|
967
|
+
name: string;
|
|
968
|
+
logo?: string;
|
|
969
|
+
website?: string;
|
|
970
|
+
termsUrl?: string;
|
|
971
|
+
privacyUrl?: string;
|
|
972
|
+
role: TrustEntityRole;
|
|
973
|
+
trustAnchor: TrustAnchorDetail;
|
|
974
|
+
did?: DidListItem;
|
|
975
|
+
state: TrustEntityState;
|
|
1044
976
|
}
|
|
1045
|
-
export interface
|
|
1046
|
-
identifiers: Array<
|
|
977
|
+
export interface ResolveTrustEntitiesRequest {
|
|
978
|
+
identifiers: Array<ResolveTrustEntityRequest>;
|
|
1047
979
|
}
|
|
1048
|
-
export interface
|
|
980
|
+
export interface ResolveTrustEntityRequest {
|
|
1049
981
|
id: string;
|
|
1050
982
|
certificateId?: string;
|
|
1051
983
|
}
|
|
1052
|
-
export interface
|
|
1053
|
-
|
|
984
|
+
export interface ResolvedJsonLdContext {
|
|
985
|
+
context: string;
|
|
986
|
+
}
|
|
987
|
+
export interface ResolvedTrustEntity {
|
|
988
|
+
trustEntity: TrustEntityDetail;
|
|
1054
989
|
certificateIds?: Array<string>;
|
|
1055
990
|
}
|
|
1056
|
-
export interface
|
|
991
|
+
export interface ServiceDescription {
|
|
1057
992
|
uuid: string;
|
|
1058
993
|
advertise: boolean;
|
|
1059
994
|
advertisedServiceData?: number[];
|
|
1060
|
-
characteristics: Array<
|
|
995
|
+
characteristics: Array<CharacteristicSettings>;
|
|
1061
996
|
}
|
|
1062
|
-
export interface
|
|
1063
|
-
params?:
|
|
997
|
+
export interface ShareProofRequest {
|
|
998
|
+
params?: ShareProofRequestParams;
|
|
1064
999
|
}
|
|
1065
|
-
export interface
|
|
1066
|
-
clientIdScheme?:
|
|
1000
|
+
export interface ShareProofRequestParams {
|
|
1001
|
+
clientIdScheme?: ClientIdScheme;
|
|
1067
1002
|
}
|
|
1068
|
-
export interface
|
|
1003
|
+
export interface ShareProofResponse {
|
|
1069
1004
|
url: string;
|
|
1070
1005
|
expiresAt?: string;
|
|
1071
1006
|
}
|
|
1072
|
-
export interface
|
|
1073
|
-
values: Array<TrustAnchorsListItemResponseBindingDto>;
|
|
1074
|
-
totalPages: number;
|
|
1075
|
-
totalItems: number;
|
|
1076
|
-
}
|
|
1077
|
-
export interface TrustAnchorsListItemResponseBindingDto {
|
|
1007
|
+
export interface TrustAnchorDetail {
|
|
1078
1008
|
id: string;
|
|
1079
1009
|
name: string;
|
|
1080
1010
|
createdDate: string;
|
|
@@ -1082,29 +1012,49 @@ export interface TrustAnchorsListItemResponseBindingDto {
|
|
|
1082
1012
|
type: string;
|
|
1083
1013
|
isPublisher: boolean;
|
|
1084
1014
|
publisherReference: string;
|
|
1085
|
-
entities: number;
|
|
1086
1015
|
}
|
|
1087
|
-
export interface
|
|
1088
|
-
values: Array<
|
|
1016
|
+
export interface TrustAnchorList {
|
|
1017
|
+
values: Array<TrustAnchorListItem>;
|
|
1089
1018
|
totalPages: number;
|
|
1090
1019
|
totalItems: number;
|
|
1091
1020
|
}
|
|
1092
|
-
export interface
|
|
1021
|
+
export interface TrustAnchorListItem {
|
|
1093
1022
|
id: string;
|
|
1094
1023
|
name: string;
|
|
1095
1024
|
createdDate: string;
|
|
1096
1025
|
lastModified: string;
|
|
1097
|
-
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
privacyUrl?: string;
|
|
1102
|
-
role: TrustEntityRoleBindingEnum;
|
|
1103
|
-
trustAnchor: GetTrustAnchorResponseBindingDto;
|
|
1104
|
-
did?: DidListItemBindingDto;
|
|
1026
|
+
type: string;
|
|
1027
|
+
isPublisher: boolean;
|
|
1028
|
+
publisherReference: string;
|
|
1029
|
+
entities: number;
|
|
1105
1030
|
}
|
|
1106
|
-
export interface
|
|
1107
|
-
|
|
1031
|
+
export interface TrustAnchorListQuery {
|
|
1032
|
+
page: number;
|
|
1033
|
+
pageSize: number;
|
|
1034
|
+
sort?: SortableTrustAnchorColumn;
|
|
1035
|
+
sortDirection?: SortDirection;
|
|
1036
|
+
name?: string;
|
|
1037
|
+
isPublisher?: boolean;
|
|
1038
|
+
type?: string;
|
|
1039
|
+
exact?: Array<TrustAnchorListQueryExactColumn>;
|
|
1040
|
+
createdDateAfter?: string;
|
|
1041
|
+
createdDateBefore?: string;
|
|
1042
|
+
lastModifiedAfter?: string;
|
|
1043
|
+
lastModifiedBefore?: string;
|
|
1044
|
+
}
|
|
1045
|
+
export interface TrustCollectionInfo {
|
|
1046
|
+
selected: boolean;
|
|
1047
|
+
id: string;
|
|
1048
|
+
name: string;
|
|
1049
|
+
logo: string;
|
|
1050
|
+
displayName: Array<DisplayName>;
|
|
1051
|
+
description: Array<DisplayName>;
|
|
1052
|
+
}
|
|
1053
|
+
export interface TrustCollections {
|
|
1054
|
+
trustCollections: Array<TrustCollectionInfo>;
|
|
1055
|
+
}
|
|
1056
|
+
export interface TrustEntityCertificate {
|
|
1057
|
+
state: CertificateState;
|
|
1108
1058
|
publicKey: string;
|
|
1109
1059
|
commonName?: string;
|
|
1110
1060
|
serialNumber: string;
|
|
@@ -1113,36 +1063,94 @@ export interface TrustEntityCertificateResponseBindingDto {
|
|
|
1113
1063
|
issuer: string;
|
|
1114
1064
|
subject: string;
|
|
1115
1065
|
fingerprint: string;
|
|
1116
|
-
extensions: Array<
|
|
1066
|
+
extensions: Array<CertificateX509Extension>;
|
|
1117
1067
|
}
|
|
1118
|
-
export interface
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1068
|
+
export interface TrustEntityDetail {
|
|
1069
|
+
id: string;
|
|
1070
|
+
organisationId?: string;
|
|
1071
|
+
createdDate: string;
|
|
1072
|
+
lastModified: string;
|
|
1073
|
+
name: string;
|
|
1074
|
+
logo?: string;
|
|
1075
|
+
website?: string;
|
|
1076
|
+
termsUrl?: string;
|
|
1077
|
+
privacyUrl?: string;
|
|
1078
|
+
role: TrustEntityRole;
|
|
1079
|
+
trustAnchor: TrustAnchorDetail;
|
|
1080
|
+
did?: DidListItem;
|
|
1081
|
+
state: TrustEntityState;
|
|
1082
|
+
entityKey: string;
|
|
1083
|
+
type: TrustEntityType;
|
|
1084
|
+
identifier?: IdentifierListItem;
|
|
1085
|
+
content?: string;
|
|
1086
|
+
ca?: TrustEntityCertificate;
|
|
1087
|
+
}
|
|
1088
|
+
export interface TrustEntityList {
|
|
1089
|
+
values: Array<TrustEntityListItem>;
|
|
1090
|
+
totalPages: number;
|
|
1091
|
+
totalItems: number;
|
|
1092
|
+
}
|
|
1093
|
+
export interface TrustEntityListItem {
|
|
1094
|
+
id: string;
|
|
1095
|
+
name: string;
|
|
1096
|
+
createdDate: string;
|
|
1097
|
+
lastModified: string;
|
|
1098
|
+
logo?: string;
|
|
1099
|
+
website?: string;
|
|
1100
|
+
termsUrl?: string;
|
|
1101
|
+
state: TrustEntityState;
|
|
1102
|
+
privacyUrl?: string;
|
|
1103
|
+
role: TrustEntityRole;
|
|
1104
|
+
trustAnchor: TrustAnchorDetail;
|
|
1105
|
+
did?: DidListItem;
|
|
1106
|
+
}
|
|
1107
|
+
export interface TrustEntityListQuery {
|
|
1108
|
+
page: number;
|
|
1109
|
+
pageSize: number;
|
|
1110
|
+
sort?: SortableTrustEntityColumn;
|
|
1111
|
+
sortDirection?: SortDirection;
|
|
1112
|
+
name?: string;
|
|
1113
|
+
role?: TrustEntityRole;
|
|
1114
|
+
trustAnchor?: string;
|
|
1115
|
+
didId?: string;
|
|
1116
|
+
organisationId?: string;
|
|
1117
|
+
types?: Array<TrustEntityType>;
|
|
1118
|
+
entityKey?: string;
|
|
1119
|
+
states?: Array<TrustEntityState>;
|
|
1120
|
+
exact?: Array<TrustEntityListQueryExactColumn>;
|
|
1121
|
+
createdDateAfter?: string;
|
|
1122
|
+
createdDateBefore?: string;
|
|
1123
|
+
lastModifiedAfter?: string;
|
|
1124
|
+
lastModifiedBefore?: string;
|
|
1125
|
+
}
|
|
1126
|
+
export interface UnexportableEntities {
|
|
1127
|
+
credentials: Array<CredentialDetail>;
|
|
1128
|
+
keys: Array<KeyListItem>;
|
|
1129
|
+
dids: Array<DidListItem>;
|
|
1130
|
+
identifiers: Array<IdentifierListItem>;
|
|
1123
1131
|
totalCredentials: number;
|
|
1124
1132
|
totalKeys: number;
|
|
1125
1133
|
totalDids: number;
|
|
1126
1134
|
totalIdentifiers: number;
|
|
1127
1135
|
}
|
|
1128
|
-
export interface
|
|
1136
|
+
export interface UpdateRemoteTrustEntityRequest {
|
|
1129
1137
|
didId: string;
|
|
1130
|
-
action?:
|
|
1138
|
+
action?: TrustEntityUpdateAction;
|
|
1131
1139
|
name?: string;
|
|
1132
1140
|
logo?: string | null;
|
|
1133
1141
|
website?: string | null;
|
|
1134
1142
|
termsUrl?: string | null;
|
|
1135
1143
|
privacyUrl?: string | null;
|
|
1136
|
-
role?:
|
|
1144
|
+
role?: TrustEntityRole;
|
|
1137
1145
|
}
|
|
1138
|
-
export interface
|
|
1146
|
+
export interface UpsertOrganisationRequest {
|
|
1139
1147
|
id: string;
|
|
1140
1148
|
name?: string;
|
|
1141
1149
|
deactivate?: boolean;
|
|
1142
1150
|
walletProvider?: string | null;
|
|
1143
1151
|
walletProviderIssuer?: string | null;
|
|
1144
1152
|
}
|
|
1145
|
-
export interface
|
|
1153
|
+
export interface Version {
|
|
1146
1154
|
target: string;
|
|
1147
1155
|
buildTime: string;
|
|
1148
1156
|
branch: string;
|
|
@@ -1151,20 +1159,16 @@ export interface VersionBindingDto {
|
|
|
1151
1159
|
rustVersion: string;
|
|
1152
1160
|
pipelineId: string;
|
|
1153
1161
|
}
|
|
1154
|
-
export interface
|
|
1162
|
+
export interface WalletProvider {
|
|
1155
1163
|
url: string;
|
|
1156
|
-
type:
|
|
1164
|
+
type: WalletProviderType;
|
|
1157
1165
|
}
|
|
1158
|
-
export type
|
|
1166
|
+
export type ApplicableCredentialOrFailureHint = {
|
|
1159
1167
|
type_: "APPLICABLE_CREDENTIALS";
|
|
1160
|
-
applicableCredentials: Array<
|
|
1168
|
+
applicableCredentials: Array<PresentationDefinitionV2Credential>;
|
|
1161
1169
|
} | {
|
|
1162
1170
|
type_: "FAILURE_HINT";
|
|
1163
|
-
failureHint:
|
|
1164
|
-
};
|
|
1165
|
-
export type BindingError = {
|
|
1166
|
-
type_: "ERROR_RESPONSE";
|
|
1167
|
-
data: ErrorResponseBindingDto;
|
|
1171
|
+
failureHint: CredentialQueryFailureHint;
|
|
1168
1172
|
};
|
|
1169
1173
|
export type BleError = {
|
|
1170
1174
|
type_: "ADAPTER_NOT_ENABLED";
|
|
@@ -1210,7 +1214,7 @@ export type BleError = {
|
|
|
1210
1214
|
type_: "UNKNOWN";
|
|
1211
1215
|
reason: string;
|
|
1212
1216
|
};
|
|
1213
|
-
export declare enum
|
|
1217
|
+
export declare enum CacheType {
|
|
1214
1218
|
DID_DOCUMENT = "DID_DOCUMENT",
|
|
1215
1219
|
JSON_LD_CONTEXT = "JSON_LD_CONTEXT",
|
|
1216
1220
|
STATUS_LIST_CREDENTIAL = "STATUS_LIST_CREDENTIAL",
|
|
@@ -1221,28 +1225,28 @@ export declare enum CacheTypeBindingDto {
|
|
|
1221
1225
|
ANDROID_ATTESTATION_CRL = "ANDROID_ATTESTATION_CRL",
|
|
1222
1226
|
OPEN_ID_METADATA = "OPEN_ID_METADATA"
|
|
1223
1227
|
}
|
|
1224
|
-
export declare enum
|
|
1228
|
+
export declare enum CertificateState {
|
|
1225
1229
|
NOT_YET_ACTIVE = "NOT_YET_ACTIVE",
|
|
1226
1230
|
ACTIVE = "ACTIVE",
|
|
1227
1231
|
REVOKED = "REVOKED",
|
|
1228
1232
|
EXPIRED = "EXPIRED"
|
|
1229
1233
|
}
|
|
1230
|
-
export declare enum
|
|
1234
|
+
export declare enum CharacteristicPermission {
|
|
1231
1235
|
READ = "READ",
|
|
1232
1236
|
WRITE = "WRITE"
|
|
1233
1237
|
}
|
|
1234
|
-
export declare enum
|
|
1238
|
+
export declare enum CharacteristicProperty {
|
|
1235
1239
|
READ = "READ",
|
|
1236
1240
|
WRITE = "WRITE",
|
|
1237
1241
|
NOTIFY = "NOTIFY",
|
|
1238
1242
|
WRITE_WITHOUT_RESPONSE = "WRITE_WITHOUT_RESPONSE",
|
|
1239
1243
|
INDICATE = "INDICATE"
|
|
1240
1244
|
}
|
|
1241
|
-
export declare enum
|
|
1245
|
+
export declare enum CharacteristicWriteType {
|
|
1242
1246
|
WITH_RESPONSE = "WITH_RESPONSE",
|
|
1243
1247
|
WITHOUT_RESPONSE = "WITHOUT_RESPONSE"
|
|
1244
1248
|
}
|
|
1245
|
-
export type
|
|
1249
|
+
export type ClaimValue = {
|
|
1246
1250
|
type_: "BOOLEAN";
|
|
1247
1251
|
value: boolean;
|
|
1248
1252
|
} | {
|
|
@@ -1256,39 +1260,48 @@ export type ClaimValueBindingDto = {
|
|
|
1256
1260
|
value: string;
|
|
1257
1261
|
} | {
|
|
1258
1262
|
type_: "NESTED";
|
|
1259
|
-
value: Array<
|
|
1263
|
+
value: Array<Claim>;
|
|
1260
1264
|
};
|
|
1261
|
-
export declare enum
|
|
1265
|
+
export declare enum ClientIdScheme {
|
|
1262
1266
|
REDIRECT_URI = "REDIRECT_URI",
|
|
1263
1267
|
VERIFIER_ATTESTATION = "VERIFIER_ATTESTATION",
|
|
1264
1268
|
DID = "DID",
|
|
1265
1269
|
X509_SAN_DNS = "X509_SAN_DNS"
|
|
1266
1270
|
}
|
|
1267
|
-
export type
|
|
1271
|
+
export type ConnectionEvent = {
|
|
1268
1272
|
type_: "CONNECTED";
|
|
1269
|
-
deviceInfo:
|
|
1273
|
+
deviceInfo: DeviceInfo;
|
|
1270
1274
|
} | {
|
|
1271
1275
|
type_: "DISCONNECTED";
|
|
1272
1276
|
deviceAddress: string;
|
|
1273
1277
|
};
|
|
1274
|
-
export declare enum
|
|
1278
|
+
export declare enum CreateSelfSignedCaRequestIssuerAlternativeNameType {
|
|
1279
|
+
EMAIL = "EMAIL",
|
|
1280
|
+
URI = "URI"
|
|
1281
|
+
}
|
|
1282
|
+
export declare enum CredentialListIncludeEntityType {
|
|
1275
1283
|
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES",
|
|
1276
1284
|
CREDENTIAL = "CREDENTIAL"
|
|
1277
1285
|
}
|
|
1278
|
-
export declare enum
|
|
1286
|
+
export declare enum CredentialListQueryExactColumn {
|
|
1279
1287
|
NAME = "NAME"
|
|
1280
1288
|
}
|
|
1281
|
-
export declare enum
|
|
1289
|
+
export declare enum CredentialListQuerySearchType {
|
|
1290
|
+
CLAIM_NAME = "CLAIM_NAME",
|
|
1291
|
+
CLAIM_VALUE = "CLAIM_VALUE",
|
|
1292
|
+
CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME"
|
|
1293
|
+
}
|
|
1294
|
+
export declare enum CredentialQueryFailureReason {
|
|
1282
1295
|
NO_CREDENTIAL = "NO_CREDENTIAL",
|
|
1283
1296
|
VALIDITY = "VALIDITY",
|
|
1284
1297
|
CONSTRAINT = "CONSTRAINT"
|
|
1285
1298
|
}
|
|
1286
|
-
export declare enum
|
|
1299
|
+
export declare enum CredentialRole {
|
|
1287
1300
|
HOLDER = "HOLDER",
|
|
1288
1301
|
ISSUER = "ISSUER",
|
|
1289
1302
|
VERIFIER = "VERIFIER"
|
|
1290
1303
|
}
|
|
1291
|
-
export declare enum
|
|
1304
|
+
export declare enum CredentialSchemaCodeType {
|
|
1292
1305
|
BARCODE = "BARCODE",
|
|
1293
1306
|
MRZ = "MRZ",
|
|
1294
1307
|
QR_CODE = "QR_CODE"
|
|
@@ -1296,11 +1309,11 @@ export declare enum CredentialSchemaCodeTypeBindingDto {
|
|
|
1296
1309
|
export declare enum CredentialSchemaListIncludeEntityType {
|
|
1297
1310
|
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES"
|
|
1298
1311
|
}
|
|
1299
|
-
export declare enum
|
|
1312
|
+
export declare enum CredentialSchemaListQueryExactColumn {
|
|
1300
1313
|
NAME = "NAME",
|
|
1301
1314
|
SCHEMA_ID = "SCHEMA_ID"
|
|
1302
1315
|
}
|
|
1303
|
-
export declare enum
|
|
1316
|
+
export declare enum CredentialState {
|
|
1304
1317
|
CREATED = "CREATED",
|
|
1305
1318
|
PENDING = "PENDING",
|
|
1306
1319
|
OFFERED = "OFFERED",
|
|
@@ -1311,29 +1324,19 @@ export declare enum CredentialStateBindingEnum {
|
|
|
1311
1324
|
ERROR = "ERROR",
|
|
1312
1325
|
INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
|
|
1313
1326
|
}
|
|
1314
|
-
export declare enum
|
|
1315
|
-
LOCAL = "LOCAL",
|
|
1316
|
-
REMOTE = "REMOTE"
|
|
1317
|
-
}
|
|
1318
|
-
export declare enum ExactDidFilterColumnBindingEnum {
|
|
1327
|
+
export declare enum DidListQueryExactColumn {
|
|
1319
1328
|
NAME = "NAME",
|
|
1320
1329
|
DID = "DID"
|
|
1321
1330
|
}
|
|
1322
|
-
export declare enum
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
export declare enum ExactTrustAnchorFilterColumnBindings {
|
|
1326
|
-
NAME = "NAME",
|
|
1327
|
-
TYPE = "TYPE"
|
|
1328
|
-
}
|
|
1329
|
-
export declare enum ExactTrustEntityFilterColumnBindings {
|
|
1330
|
-
NAME = "NAME"
|
|
1331
|
+
export declare enum DidType {
|
|
1332
|
+
LOCAL = "LOCAL",
|
|
1333
|
+
REMOTE = "REMOTE"
|
|
1331
1334
|
}
|
|
1332
|
-
export type
|
|
1335
|
+
export type HandleInvitationResponse = {
|
|
1333
1336
|
type_: "CREDENTIAL_ISSUANCE";
|
|
1334
1337
|
/** For reference. */
|
|
1335
1338
|
interactionId: string;
|
|
1336
|
-
keyStorageSecurityLevels?: Array<
|
|
1339
|
+
keyStorageSecurityLevels?: Array<KeyStorageSecurity>;
|
|
1337
1340
|
keyAlgorithms?: Array<string>;
|
|
1338
1341
|
/**
|
|
1339
1342
|
* Metadata for entering a transaction code
|
|
@@ -1341,7 +1344,7 @@ export type HandleInvitationResponseBindingEnum = {
|
|
|
1341
1344
|
* wallet user must input a transaction code to receive the offered credential.
|
|
1342
1345
|
* This code is typically sent through a separate channel such as SMS or email.
|
|
1343
1346
|
*/
|
|
1344
|
-
txCode?:
|
|
1347
|
+
txCode?: OpenId4vciTxCode;
|
|
1345
1348
|
protocol: string;
|
|
1346
1349
|
requiresWalletInstanceAttestation: boolean;
|
|
1347
1350
|
} | {
|
|
@@ -1362,7 +1365,7 @@ export type HandleInvitationResponseBindingEnum = {
|
|
|
1362
1365
|
proofId: string;
|
|
1363
1366
|
protocol: string;
|
|
1364
1367
|
};
|
|
1365
|
-
export declare enum
|
|
1368
|
+
export declare enum HistoryAction {
|
|
1366
1369
|
ACCEPTED = "ACCEPTED",
|
|
1367
1370
|
CREATED = "CREATED",
|
|
1368
1371
|
CSR_GENERATED = "CSR_GENERATED",
|
|
@@ -1392,7 +1395,7 @@ export declare enum HistoryActionBindingEnum {
|
|
|
1392
1395
|
INTERACTION_EXPIRED = "INTERACTION_EXPIRED",
|
|
1393
1396
|
DELIVERED = "DELIVERED"
|
|
1394
1397
|
}
|
|
1395
|
-
export declare enum
|
|
1398
|
+
export declare enum HistoryEntityType {
|
|
1396
1399
|
KEY = "KEY",
|
|
1397
1400
|
DID = "DID",
|
|
1398
1401
|
IDENTIFIER = "IDENTIFIER",
|
|
@@ -1416,19 +1419,22 @@ export declare enum HistoryEntityTypeBindingEnum {
|
|
|
1416
1419
|
STS_TOKEN = "STS_TOKEN",
|
|
1417
1420
|
SIGNATURE = "SIGNATURE",
|
|
1418
1421
|
NOTIFICATION = "NOTIFICATION",
|
|
1419
|
-
SUPERVISORY_AUTHORITY = "SUPERVISORY_AUTHORITY"
|
|
1422
|
+
SUPERVISORY_AUTHORITY = "SUPERVISORY_AUTHORITY",
|
|
1423
|
+
TRUST_LIST_PUBLICATION = "TRUST_LIST_PUBLICATION",
|
|
1424
|
+
TRUST_COLLECTION = "TRUST_COLLECTION",
|
|
1425
|
+
TRUST_LIST_SUBSCRIPTION = "TRUST_LIST_SUBSCRIPTION"
|
|
1420
1426
|
}
|
|
1421
|
-
export type
|
|
1427
|
+
export type HistoryMetadata = {
|
|
1422
1428
|
type_: "UNEXPORTABLE_ENTITIES";
|
|
1423
|
-
value:
|
|
1429
|
+
value: UnexportableEntities;
|
|
1424
1430
|
} | {
|
|
1425
1431
|
type_: "ERROR_METADATA";
|
|
1426
|
-
value:
|
|
1432
|
+
value: HistoryErrorMetadata;
|
|
1427
1433
|
} | {
|
|
1428
1434
|
type_: "WALLET_UNIT_JWT";
|
|
1429
1435
|
value: [string];
|
|
1430
1436
|
};
|
|
1431
|
-
export declare enum
|
|
1437
|
+
export declare enum HistorySearchType {
|
|
1432
1438
|
CLAIM_NAME = "CLAIM_NAME",
|
|
1433
1439
|
CLAIM_VALUE = "CLAIM_VALUE",
|
|
1434
1440
|
CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME",
|
|
@@ -1438,35 +1444,33 @@ export declare enum HistorySearchEnumBindingEnum {
|
|
|
1438
1444
|
VERIFIER_NAME = "VERIFIER_NAME",
|
|
1439
1445
|
PROOF_SCHEMA_NAME = "PROOF_SCHEMA_NAME"
|
|
1440
1446
|
}
|
|
1441
|
-
export declare enum
|
|
1447
|
+
export declare enum IdentifierListQueryExactColumn {
|
|
1448
|
+
NAME = "NAME"
|
|
1449
|
+
}
|
|
1450
|
+
export declare enum IdentifierState {
|
|
1442
1451
|
ACTIVE = "ACTIVE",
|
|
1443
1452
|
DEACTIVATED = "DEACTIVATED"
|
|
1444
1453
|
}
|
|
1445
|
-
export declare enum
|
|
1454
|
+
export declare enum IdentifierType {
|
|
1446
1455
|
KEY = "KEY",
|
|
1447
1456
|
DID = "DID",
|
|
1448
1457
|
CERTIFICATE = "CERTIFICATE",
|
|
1449
1458
|
CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
|
|
1450
1459
|
}
|
|
1451
|
-
export declare enum
|
|
1452
|
-
GENERIC = "GENERIC",
|
|
1453
|
-
MDL = "MDL",
|
|
1454
|
-
CA = "CA"
|
|
1455
|
-
}
|
|
1456
|
-
export declare enum KeyRoleBindingEnum {
|
|
1460
|
+
export declare enum KeyRole {
|
|
1457
1461
|
AUTHENTICATION = "AUTHENTICATION",
|
|
1458
1462
|
ASSERTION_METHOD = "ASSERTION_METHOD",
|
|
1459
1463
|
KEY_AGREEMENT = "KEY_AGREEMENT",
|
|
1460
1464
|
CAPABILITY_INVOCATION = "CAPABILITY_INVOCATION",
|
|
1461
1465
|
CAPABILITY_DELEGATION = "CAPABILITY_DELEGATION"
|
|
1462
1466
|
}
|
|
1463
|
-
export declare enum
|
|
1467
|
+
export declare enum KeyStorageSecurity {
|
|
1464
1468
|
HIGH = "HIGH",
|
|
1465
1469
|
MODERATE = "MODERATE",
|
|
1466
1470
|
ENHANCED_BASIC = "ENHANCED_BASIC",
|
|
1467
1471
|
BASIC = "BASIC"
|
|
1468
1472
|
}
|
|
1469
|
-
export declare enum
|
|
1473
|
+
export declare enum LayoutType {
|
|
1470
1474
|
CARD = "CARD",
|
|
1471
1475
|
DOCUMENT = "DOCUMENT",
|
|
1472
1476
|
SINGLE_ATTRIBUTE = "SINGLE_ATTRIBUTE"
|
|
@@ -1499,15 +1503,19 @@ export type NfcError = {
|
|
|
1499
1503
|
type_: "UNKNOWN";
|
|
1500
1504
|
reason: string;
|
|
1501
1505
|
};
|
|
1502
|
-
export
|
|
1506
|
+
export type OneCoreError = {
|
|
1507
|
+
type_: "RESPONSE";
|
|
1508
|
+
data: ErrorResponse;
|
|
1509
|
+
};
|
|
1510
|
+
export declare enum OpenId4vciTxCodeInputMode {
|
|
1503
1511
|
NUMERIC = "NUMERIC",
|
|
1504
1512
|
TEXT = "TEXT"
|
|
1505
1513
|
}
|
|
1506
|
-
export declare enum
|
|
1514
|
+
export declare enum PresentationDefinitionRuleType {
|
|
1507
1515
|
ALL = "ALL",
|
|
1508
1516
|
PICK = "PICK"
|
|
1509
1517
|
}
|
|
1510
|
-
export type
|
|
1518
|
+
export type PresentationDefinitionV2ClaimValue = {
|
|
1511
1519
|
type_: "BOOLEAN";
|
|
1512
1520
|
value: boolean;
|
|
1513
1521
|
} | {
|
|
@@ -1521,26 +1529,26 @@ export type PresentationDefinitionV2ClaimValueBindingDto = {
|
|
|
1521
1529
|
value: string;
|
|
1522
1530
|
} | {
|
|
1523
1531
|
type_: "NESTED";
|
|
1524
|
-
value: Array<
|
|
1532
|
+
value: Array<PresentationDefinitionV2Claim>;
|
|
1525
1533
|
};
|
|
1526
|
-
export
|
|
1527
|
-
NAME = "NAME"
|
|
1528
|
-
}
|
|
1529
|
-
export type ProofRequestClaimValueBindingDto = {
|
|
1534
|
+
export type ProofClaimValue = {
|
|
1530
1535
|
type_: "VALUE";
|
|
1531
1536
|
value: string;
|
|
1532
1537
|
} | {
|
|
1533
1538
|
type_: "CLAIMS";
|
|
1534
|
-
value: Array<
|
|
1539
|
+
value: Array<ProofClaim>;
|
|
1535
1540
|
};
|
|
1536
|
-
export declare enum
|
|
1541
|
+
export declare enum ProofListQueryExactColumn {
|
|
1542
|
+
NAME = "NAME"
|
|
1543
|
+
}
|
|
1544
|
+
export declare enum ProofRole {
|
|
1537
1545
|
HOLDER = "HOLDER",
|
|
1538
1546
|
VERIFIER = "VERIFIER"
|
|
1539
1547
|
}
|
|
1540
|
-
export declare enum
|
|
1548
|
+
export declare enum ProofSchemaListQueryExactColumn {
|
|
1541
1549
|
NAME = "NAME"
|
|
1542
1550
|
}
|
|
1543
|
-
export declare enum
|
|
1551
|
+
export declare enum ProofState {
|
|
1544
1552
|
CREATED = "CREATED",
|
|
1545
1553
|
PENDING = "PENDING",
|
|
1546
1554
|
REQUESTED = "REQUESTED",
|
|
@@ -1550,27 +1558,22 @@ export declare enum ProofStateBindingEnum {
|
|
|
1550
1558
|
ERROR = "ERROR",
|
|
1551
1559
|
INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
|
|
1552
1560
|
}
|
|
1553
|
-
export declare enum SearchTypeBindingEnum {
|
|
1554
|
-
CLAIM_NAME = "CLAIM_NAME",
|
|
1555
|
-
CLAIM_VALUE = "CLAIM_VALUE",
|
|
1556
|
-
CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME"
|
|
1557
|
-
}
|
|
1558
1561
|
export declare enum SortDirection {
|
|
1559
1562
|
ASCENDING = "ASCENDING",
|
|
1560
1563
|
DESCENDING = "DESCENDING"
|
|
1561
1564
|
}
|
|
1562
|
-
export declare enum
|
|
1565
|
+
export declare enum SortableCredentialColumn {
|
|
1563
1566
|
CREATED_DATE = "CREATED_DATE",
|
|
1564
1567
|
SCHEMA_NAME = "SCHEMA_NAME",
|
|
1565
1568
|
ISSUER = "ISSUER",
|
|
1566
1569
|
STATE = "STATE"
|
|
1567
1570
|
}
|
|
1568
|
-
export declare enum
|
|
1571
|
+
export declare enum SortableCredentialSchemaColumn {
|
|
1569
1572
|
NAME = "NAME",
|
|
1570
1573
|
FORMAT = "FORMAT",
|
|
1571
1574
|
CREATED_DATE = "CREATED_DATE"
|
|
1572
1575
|
}
|
|
1573
|
-
export declare enum
|
|
1576
|
+
export declare enum SortableDidColumn {
|
|
1574
1577
|
NAME = "NAME",
|
|
1575
1578
|
CREATED_DATE = "CREATED_DATE",
|
|
1576
1579
|
METHOD = "METHOD",
|
|
@@ -1578,105 +1581,113 @@ export declare enum SortableDidColumnBindingEnum {
|
|
|
1578
1581
|
DID = "DID",
|
|
1579
1582
|
DEACTIVATED = "DEACTIVATED"
|
|
1580
1583
|
}
|
|
1581
|
-
export declare enum
|
|
1584
|
+
export declare enum SortableIdentifierColumn {
|
|
1582
1585
|
NAME = "NAME",
|
|
1583
1586
|
CREATED_DATE = "CREATED_DATE",
|
|
1584
1587
|
TYPE = "TYPE",
|
|
1585
1588
|
STATE = "STATE"
|
|
1586
1589
|
}
|
|
1587
|
-
export declare enum
|
|
1590
|
+
export declare enum SortableProofColumn {
|
|
1588
1591
|
SCHEMA_NAME = "SCHEMA_NAME",
|
|
1589
1592
|
VERIFIER = "VERIFIER",
|
|
1590
1593
|
STATE = "STATE",
|
|
1591
1594
|
CREATED_DATE = "CREATED_DATE"
|
|
1592
1595
|
}
|
|
1593
|
-
export declare enum
|
|
1596
|
+
export declare enum SortableProofSchemaColumn {
|
|
1594
1597
|
NAME = "NAME",
|
|
1595
1598
|
CREATED_DATE = "CREATED_DATE"
|
|
1596
1599
|
}
|
|
1597
|
-
export declare enum
|
|
1600
|
+
export declare enum SortableTrustAnchorColumn {
|
|
1598
1601
|
NAME = "NAME",
|
|
1599
1602
|
CREATED_DATE = "CREATED_DATE",
|
|
1600
1603
|
TYPE = "TYPE"
|
|
1601
1604
|
}
|
|
1602
|
-
export declare enum
|
|
1605
|
+
export declare enum SortableTrustEntityColumn {
|
|
1603
1606
|
NAME = "NAME",
|
|
1604
1607
|
ROLE = "ROLE",
|
|
1605
1608
|
LAST_MODIFIED = "LAST_MODIFIED",
|
|
1606
1609
|
STATE = "STATE"
|
|
1607
1610
|
}
|
|
1608
|
-
export declare enum
|
|
1611
|
+
export declare enum TransactionCodeType {
|
|
1609
1612
|
NUMERIC = "NUMERIC",
|
|
1610
1613
|
ALPHANUMERIC = "ALPHANUMERIC"
|
|
1611
1614
|
}
|
|
1612
|
-
export declare enum
|
|
1615
|
+
export declare enum TrustAnchorListQueryExactColumn {
|
|
1616
|
+
NAME = "NAME",
|
|
1617
|
+
TYPE = "TYPE"
|
|
1618
|
+
}
|
|
1619
|
+
export declare enum TrustEntityListQueryExactColumn {
|
|
1620
|
+
NAME = "NAME"
|
|
1621
|
+
}
|
|
1622
|
+
export declare enum TrustEntityRole {
|
|
1613
1623
|
ISSUER = "ISSUER",
|
|
1614
1624
|
VERIFIER = "VERIFIER",
|
|
1615
1625
|
BOTH = "BOTH"
|
|
1616
1626
|
}
|
|
1617
|
-
export declare enum
|
|
1627
|
+
export declare enum TrustEntityState {
|
|
1618
1628
|
ACTIVE = "ACTIVE",
|
|
1619
1629
|
REMOVED = "REMOVED",
|
|
1620
1630
|
WITHDRAWN = "WITHDRAWN",
|
|
1621
1631
|
REMOVED_AND_WITHDRAWN = "REMOVED_AND_WITHDRAWN"
|
|
1622
1632
|
}
|
|
1623
|
-
export declare enum
|
|
1633
|
+
export declare enum TrustEntityType {
|
|
1624
1634
|
DID = "DID",
|
|
1625
1635
|
/** certificate authority */
|
|
1626
1636
|
CA = "CA"
|
|
1627
1637
|
}
|
|
1628
|
-
export declare enum
|
|
1638
|
+
export declare enum TrustEntityUpdateAction {
|
|
1629
1639
|
ADMIN_ACTIVATE = "ADMIN_ACTIVATE",
|
|
1630
1640
|
ACTIVATE = "ACTIVATE",
|
|
1631
1641
|
WITHDRAW = "WITHDRAW",
|
|
1632
1642
|
REMOVE = "REMOVE"
|
|
1633
1643
|
}
|
|
1634
|
-
export declare enum
|
|
1644
|
+
export declare enum WalletProviderType {
|
|
1635
1645
|
PROCIVIS_ONE = "PROCIVIS_ONE"
|
|
1636
1646
|
}
|
|
1637
|
-
export declare enum
|
|
1647
|
+
export declare enum WalletUnitStatus {
|
|
1638
1648
|
PENDING = "PENDING",
|
|
1639
1649
|
ACTIVE = "ACTIVE",
|
|
1640
1650
|
REVOKED = "REVOKED",
|
|
1651
|
+
UNATTESTED = "UNATTESTED",
|
|
1641
1652
|
ERROR = "ERROR"
|
|
1642
1653
|
}
|
|
1643
1654
|
export interface BleCentral {
|
|
1655
|
+
connect(peripheral: string): Promise<number>;
|
|
1656
|
+
disconnect(peripheral: string): Promise<void>;
|
|
1657
|
+
getDiscoveredDevices(): Promise<Array<PeripheralDiscoveryData>>;
|
|
1658
|
+
getNotifications(peripheral: string, service: string, characteristic: string): Promise<Array<number[]>>;
|
|
1644
1659
|
isAdapterEnabled(): Promise<boolean>;
|
|
1645
|
-
startScan(filterServices: Array<string> | undefined): Promise<void>;
|
|
1646
|
-
stopScan(): Promise<void>;
|
|
1647
1660
|
isScanning(): Promise<boolean>;
|
|
1648
|
-
writeData(peripheral: string, service: string, characteristic: string, data: number[], writeType: CharacteristicWriteTypeBindingEnum): Promise<void>;
|
|
1649
1661
|
readData(peripheral: string, service: string, characteristic: string): Promise<number[]>;
|
|
1650
|
-
|
|
1651
|
-
|
|
1652
|
-
getDiscoveredDevices(): Promise<Array<PeripheralDiscoveryDataBindingDto>>;
|
|
1662
|
+
startScan(filterServices: Array<string> | undefined): Promise<void>;
|
|
1663
|
+
stopScan(): Promise<void>;
|
|
1653
1664
|
subscribeToCharacteristicNotifications(peripheral: string, service: string, characteristic: string): Promise<void>;
|
|
1654
1665
|
unsubscribeFromCharacteristicNotifications(peripheral: string, service: string, characteristic: string): Promise<void>;
|
|
1655
|
-
|
|
1666
|
+
writeData(peripheral: string, service: string, characteristic: string, data: number[], writeType: CharacteristicWriteType): Promise<void>;
|
|
1656
1667
|
}
|
|
1657
1668
|
export interface BlePeripheral {
|
|
1669
|
+
getCharacteristicWrites(device: string, service: string, characteristic: string): Promise<Array<number[]>>;
|
|
1670
|
+
getConnectionChangeEvents(): Promise<Array<ConnectionEvent>>;
|
|
1658
1671
|
isAdapterEnabled(): Promise<boolean>;
|
|
1659
|
-
startAdvertisement(deviceName: string | undefined, services: Array<ServiceDescriptionBindingDto>): Promise<string | undefined>;
|
|
1660
|
-
stopAdvertisement(): Promise<void>;
|
|
1661
1672
|
isAdvertising(): Promise<boolean>;
|
|
1662
|
-
setCharacteristicData(service: string, characteristic: string, data: number[]): Promise<void>;
|
|
1663
1673
|
notifyCharacteristicData(deviceAddress: string, service: string, characteristic: string, data: number[]): Promise<void>;
|
|
1664
|
-
|
|
1665
|
-
|
|
1666
|
-
|
|
1674
|
+
setCharacteristicData(service: string, characteristic: string, data: number[]): Promise<void>;
|
|
1675
|
+
startAdvertisement(deviceName: string | undefined, services: Array<ServiceDescription>): Promise<string | undefined>;
|
|
1676
|
+
stopAdvertisement(): Promise<void>;
|
|
1667
1677
|
stopServer(): Promise<void>;
|
|
1678
|
+
waitForCharacteristicRead(device: string, service: string, characteristic: string): Promise<void>;
|
|
1668
1679
|
}
|
|
1669
1680
|
export interface NativeKeyStorage {
|
|
1670
|
-
generateKey(keyAlias: string): Promise<GeneratedKeyBindingDto>;
|
|
1671
|
-
sign(keyReference: number[], message: number[]): Promise<number[]>;
|
|
1672
|
-
generateAttestationKey(keyAlias: string, nonce: string | undefined): Promise<GeneratedKeyBindingDto>;
|
|
1673
1681
|
generateAttestation(keyReference: number[], nonce: string | undefined): Promise<Array<string>>;
|
|
1682
|
+
generateAttestationKey(keyAlias: string, nonce: string | undefined): Promise<GeneratedKey>;
|
|
1683
|
+
generateKey(keyAlias: string): Promise<GeneratedKey>;
|
|
1684
|
+
sign(keyReference: number[], message: number[]): Promise<number[]>;
|
|
1674
1685
|
signWithAttestationKey(keyReference: number[], message: number[]): Promise<number[]>;
|
|
1675
1686
|
}
|
|
1676
1687
|
/** Provider of NFC host-card emulation (HCE) */
|
|
1677
1688
|
export interface NfcHce {
|
|
1678
|
-
isSupported(): Promise<boolean>;
|
|
1679
1689
|
isEnabled(): Promise<boolean>;
|
|
1690
|
+
isSupported(): Promise<boolean>;
|
|
1680
1691
|
/**
|
|
1681
1692
|
* Starts NFC host-card emulation (HCE)
|
|
1682
1693
|
* * `handler` implementation for handling NFC events
|
|
@@ -1699,10 +1710,16 @@ export interface NfcHceHandler {
|
|
|
1699
1710
|
}
|
|
1700
1711
|
/** Provider of NFC scanner functionality */
|
|
1701
1712
|
export interface NfcScanner {
|
|
1702
|
-
/**
|
|
1703
|
-
|
|
1713
|
+
/**
|
|
1714
|
+
* Stops scanning previously started via `scan`
|
|
1715
|
+
* or disconnects the established session
|
|
1716
|
+
* * `error_message` - error UI message to display on the system NFC overlay (iOS)
|
|
1717
|
+
*/
|
|
1718
|
+
cancelScan(errorMessage: string | undefined): Promise<void>;
|
|
1704
1719
|
/** Check whether NFC adapter is enabled on the device (android only, iOS always enabled) */
|
|
1705
1720
|
isEnabled(): Promise<boolean>;
|
|
1721
|
+
/** Check whether NFC scanning is supported on the device */
|
|
1722
|
+
isSupported(): Promise<boolean>;
|
|
1706
1723
|
/**
|
|
1707
1724
|
* Starts scanning for ISO 7816-4 NFC tag
|
|
1708
1725
|
* * `message` - UI message to display on the system NFC overlay (iOS)
|
|
@@ -1715,18 +1732,12 @@ export interface NfcScanner {
|
|
|
1715
1732
|
scan(message: string | undefined): Promise<void>;
|
|
1716
1733
|
/** Update UI message on the system NFC scanner overlay (iOS) - previously set via `scan` */
|
|
1717
1734
|
setMessage(message: string): Promise<void>;
|
|
1718
|
-
/**
|
|
1719
|
-
* Stops scanning previously started via `scan`
|
|
1720
|
-
* or disconnects the established session
|
|
1721
|
-
* * `error_message` - error UI message to display on the system NFC overlay (iOS)
|
|
1722
|
-
*/
|
|
1723
|
-
cancelScan(errorMessage: string | undefined): Promise<void>;
|
|
1724
1735
|
/** Send APDU request and wait for response APDU */
|
|
1725
1736
|
transceive(commandApdu: number[]): Promise<number[]>;
|
|
1726
1737
|
}
|
|
1727
|
-
export interface
|
|
1728
|
-
backupInfo(): Promise<
|
|
1729
|
-
checkRevocation(credentialIds: Array<string>, forceRefresh: boolean | undefined): Promise<Array<
|
|
1738
|
+
export interface OneCore {
|
|
1739
|
+
backupInfo(): Promise<UnexportableEntities>;
|
|
1740
|
+
checkRevocation(credentialIds: Array<string>, forceRefresh: boolean | undefined): Promise<Array<CredentialRevocationCheckResponse>>;
|
|
1730
1741
|
/**
|
|
1731
1742
|
* For wallet-initiated flows, continues the OpenID4VCI issuance
|
|
1732
1743
|
* process after completing authorization.
|
|
@@ -1735,18 +1746,18 @@ export interface OneCoreBinding {
|
|
|
1735
1746
|
* Authorization Code Flow issuance process. For example:
|
|
1736
1747
|
* `myapp://example/credential-offer?code=xxx&clientId=myWallet&...`
|
|
1737
1748
|
*/
|
|
1738
|
-
continueIssuance(url: string): Promise<
|
|
1739
|
-
createBackup(password: string, outputPath: string): Promise<
|
|
1740
|
-
createDid(request:
|
|
1741
|
-
createIdentifier(request:
|
|
1742
|
-
createOrganisation(request:
|
|
1749
|
+
continueIssuance(url: string): Promise<ContinueIssuanceResponse>;
|
|
1750
|
+
createBackup(password: string, outputPath: string): Promise<CreatedBackup>;
|
|
1751
|
+
createDid(request: CreateDidRequest): Promise<string>;
|
|
1752
|
+
createIdentifier(request: CreateIdentifierRequest): Promise<string>;
|
|
1753
|
+
createOrganisation(request: CreateOrganisationRequest): Promise<string>;
|
|
1743
1754
|
/** For verifiers, creates a proof request. */
|
|
1744
|
-
createProof(request:
|
|
1745
|
-
createProofSchema(request:
|
|
1746
|
-
createRemoteTrustEntity(request:
|
|
1747
|
-
createTrustAnchor(anchor:
|
|
1748
|
-
createTrustEntity(request:
|
|
1749
|
-
deleteCache(types: Array<
|
|
1755
|
+
createProof(request: CreateProofRequest): Promise<string>;
|
|
1756
|
+
createProofSchema(request: CreateProofSchemaRequest): Promise<string>;
|
|
1757
|
+
createRemoteTrustEntity(request: CreateRemoteTrustEntityRequest): Promise<string>;
|
|
1758
|
+
createTrustAnchor(anchor: CreateTrustAnchorRequest): Promise<string>;
|
|
1759
|
+
createTrustEntity(request: CreateTrustEntityRequest): Promise<string>;
|
|
1760
|
+
deleteCache(types: Array<CacheType> | undefined): Promise<void>;
|
|
1750
1761
|
deleteCredential(credentialId: string): Promise<void>;
|
|
1751
1762
|
deleteCredentialSchema(credentialSchemaId: string): Promise<void>;
|
|
1752
1763
|
deleteIdentifier(id: string): Promise<void>;
|
|
@@ -1755,60 +1766,63 @@ export interface OneCoreBinding {
|
|
|
1755
1766
|
deleteProofSchema(proofSchemaId: string): Promise<void>;
|
|
1756
1767
|
deleteTrustAnchor(anchorId: string): Promise<void>;
|
|
1757
1768
|
finalizeImport(): Promise<void>;
|
|
1758
|
-
generateKey(request:
|
|
1759
|
-
getConfig(): Promise<
|
|
1760
|
-
getCredential(credentialId: string): Promise<
|
|
1761
|
-
getCredentialSchema(credentialSchemaId: string): Promise<
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
getProofSchemas(filter: ListProofSchemasFiltersBindingDto): Promise<ProofSchemaListBindingDto>;
|
|
1773
|
-
getProofs(query: ProofListQueryBindingDto): Promise<ProofListBindingDto>;
|
|
1774
|
-
getRemoteTrustEntity(didId: string): Promise<GetRemoteTrustEntityResponseBindingDto>;
|
|
1775
|
-
getTrustAnchor(trustAnchorId: string): Promise<GetTrustAnchorResponseBindingDto>;
|
|
1776
|
-
getTrustEntity(trustEntityId: string): Promise<GetTrustEntityResponseBindingDto>;
|
|
1777
|
-
getTrustEntityByDid(didId: string): Promise<GetTrustEntityResponseBindingDto>;
|
|
1769
|
+
generateKey(request: GenerateKeyRequest): Promise<string>;
|
|
1770
|
+
getConfig(): Promise<Config>;
|
|
1771
|
+
getCredential(credentialId: string): Promise<CredentialDetail>;
|
|
1772
|
+
getCredentialSchema(credentialSchemaId: string): Promise<CredentialSchemaDetail>;
|
|
1773
|
+
getHistoryEntry(historyId: string): Promise<HistoryListItem>;
|
|
1774
|
+
getIdentifier(id: string): Promise<IdentifierDetail>;
|
|
1775
|
+
getPresentationDefinition(proofId: string): Promise<PresentationDefinition>;
|
|
1776
|
+
getPresentationDefinitionV2(proofId: string): Promise<PresentationDefinitionV2>;
|
|
1777
|
+
getProof(proofId: string): Promise<ProofDetail>;
|
|
1778
|
+
getProofSchema(proofSchemaId: string): Promise<ProofSchemaDetail>;
|
|
1779
|
+
getRemoteTrustEntity(didId: string): Promise<RemoteTrustEntityDetail>;
|
|
1780
|
+
getTrustAnchor(trustAnchorId: string): Promise<TrustAnchorDetail>;
|
|
1781
|
+
getTrustEntity(trustEntityId: string): Promise<TrustEntityDetail>;
|
|
1782
|
+
getTrustEntityByDid(didId: string): Promise<TrustEntityDetail>;
|
|
1778
1783
|
/**
|
|
1779
1784
|
* For a wallet, handles the interaction once the wallet connects to a share
|
|
1780
1785
|
* endpoint URL (for example, scans the QR code of an offered credential or
|
|
1781
1786
|
* request for proof).
|
|
1782
1787
|
*/
|
|
1783
|
-
handleInvitation(request:
|
|
1788
|
+
handleInvitation(request: HandleInvitationRequest): Promise<HandleInvitationResponse>;
|
|
1784
1789
|
/**
|
|
1785
1790
|
* Accepts an offered credential. The system will generate a new
|
|
1786
1791
|
* identifier that matches issuer's restrictions. Alternatively,
|
|
1787
1792
|
* you can specify an existing identifier.
|
|
1788
1793
|
*/
|
|
1789
|
-
holderAcceptCredential(request:
|
|
1790
|
-
holderGetWalletUnit(id: string): Promise<
|
|
1794
|
+
holderAcceptCredential(request: HolderAcceptCredentialRequest): Promise<string>;
|
|
1795
|
+
holderGetWalletUnit(id: string): Promise<HolderWalletUnit>;
|
|
1796
|
+
holderGetWalletUnitTrustCollections(id: string): Promise<TrustCollections>;
|
|
1791
1797
|
/** Register with a Wallet Provider. */
|
|
1792
|
-
holderRegisterWalletUnit(request:
|
|
1798
|
+
holderRegisterWalletUnit(request: HolderRegisterWalletUnitRequest): Promise<HolderRegisterWalletUnitResponse>;
|
|
1793
1799
|
/** Rejects an offered credential. */
|
|
1794
1800
|
holderRejectCredential(interactionId: string): Promise<void>;
|
|
1795
1801
|
holderRejectProof(interactionId: string): Promise<void>;
|
|
1796
|
-
holderSubmitProof(interactionId: string, submitCredentials: Record<string, Array<
|
|
1797
|
-
holderSubmitProofV2(interactionId: string, submission: Record<string, Array<
|
|
1802
|
+
holderSubmitProof(interactionId: string, submitCredentials: Record<string, Array<PresentationSubmitCredentialRequest>>): Promise<void>;
|
|
1803
|
+
holderSubmitProofV2(interactionId: string, submission: Record<string, Array<PresentationSubmitV2CredentialRequest>>): Promise<void>;
|
|
1798
1804
|
/**
|
|
1799
1805
|
* Check status of wallet unit with the Wallet Provider. Will return an error
|
|
1800
1806
|
* if the unit has been revoked.
|
|
1801
1807
|
*/
|
|
1802
1808
|
holderWalletUnitStatus(id: string): Promise<void>;
|
|
1803
|
-
|
|
1804
|
-
|
|
1809
|
+
/** Edit holder wallet unit */
|
|
1810
|
+
holderWalletUnitUpdate(id: string, request: HolderWalletUnitUpdateRequest): Promise<void>;
|
|
1811
|
+
importCredentialSchema(request: ImportCredentialSchemaRequest): Promise<string>;
|
|
1812
|
+
importProofSchema(request: ImportProofSchemaRequest): Promise<string>;
|
|
1805
1813
|
/** For wallets, starts the OpenID4VCI Authorization Code Flow. */
|
|
1806
|
-
initiateIssuance(request:
|
|
1807
|
-
|
|
1808
|
-
|
|
1809
|
-
|
|
1814
|
+
initiateIssuance(request: InitiateIssuanceRequest): Promise<InitiateIssuanceResponse>;
|
|
1815
|
+
listCredentialSchemas(query: CredentialSchemaListQuery): Promise<CredentialSchemaList>;
|
|
1816
|
+
listCredentials(query: CredentialListQuery): Promise<CredentialList>;
|
|
1817
|
+
listDids(query: DidListQuery): Promise<DidList>;
|
|
1818
|
+
listHistory(query: HistoryListQuery): Promise<HistoryList>;
|
|
1819
|
+
listIdentifiers(query: IdentifierListQuery): Promise<IdentifierList>;
|
|
1820
|
+
listProofSchemas(filter: ProofSchemaListQuery): Promise<ProofSchemaList>;
|
|
1821
|
+
listProofs(query: ProofListQuery): Promise<ProofList>;
|
|
1822
|
+
listTrustAnchors(filters: TrustAnchorListQuery): Promise<TrustAnchorList>;
|
|
1823
|
+
listTrustEntities(filters: TrustEntityListQuery): Promise<TrustEntityList>;
|
|
1810
1824
|
/** Scan NFC for ISO 18013-5 engagment */
|
|
1811
|
-
nfcReadIsoMdlEngagement(request:
|
|
1825
|
+
nfcReadIsoMdlEngagement(request: NfcScanRequest): Promise<string>;
|
|
1812
1826
|
/** Cancel previously started NFC scan via `nfc_read_iso_mdl_engagement` */
|
|
1813
1827
|
nfcStopIsoMdlEngagement(): Promise<void>;
|
|
1814
1828
|
/**
|
|
@@ -1816,17 +1830,17 @@ export interface OneCoreBinding {
|
|
|
1816
1830
|
* the `verificationEngagement` entry of your configuration for your
|
|
1817
1831
|
* options for `engagement`.
|
|
1818
1832
|
*/
|
|
1819
|
-
proposeProof(request:
|
|
1820
|
-
resolveJsonldContext(url: string): Promise<
|
|
1821
|
-
resolveTrustEntityByIdentifier(request:
|
|
1833
|
+
proposeProof(request: ProposeProofRequest): Promise<ProposeProofResponse>;
|
|
1834
|
+
resolveJsonldContext(url: string): Promise<ResolvedJsonLdContext>;
|
|
1835
|
+
resolveTrustEntityByIdentifier(request: ResolveTrustEntitiesRequest): Promise<Record<string, Array<ResolvedTrustEntity>>>;
|
|
1822
1836
|
rollbackImport(): Promise<void>;
|
|
1823
|
-
runTask(task: string): Promise<string>;
|
|
1824
|
-
shareCredentialSchema(credentialSchemaId: string): Promise<
|
|
1825
|
-
shareProof(proofId: string, params:
|
|
1826
|
-
shareProofSchema(proofSchemaId: string): Promise<
|
|
1837
|
+
runTask(task: string, params: string | undefined): Promise<string>;
|
|
1838
|
+
shareCredentialSchema(credentialSchemaId: string): Promise<CredentialSchemaShareResponse>;
|
|
1839
|
+
shareProof(proofId: string, params: ShareProofRequest): Promise<ShareProofResponse>;
|
|
1840
|
+
shareProofSchema(proofSchemaId: string): Promise<ProofSchemaShareResponse>;
|
|
1827
1841
|
uninitialize(deleteData: boolean): Promise<void>;
|
|
1828
|
-
unpackBackup(password: string, inputPath: string): Promise<
|
|
1829
|
-
updateRemoteTrustEntity(request:
|
|
1830
|
-
upsertOrganisation(request:
|
|
1831
|
-
version():
|
|
1842
|
+
unpackBackup(password: string, inputPath: string): Promise<Metadata>;
|
|
1843
|
+
updateRemoteTrustEntity(request: UpdateRemoteTrustEntityRequest): Promise<void>;
|
|
1844
|
+
upsertOrganisation(request: UpsertOrganisationRequest): Promise<void>;
|
|
1845
|
+
version(): Version;
|
|
1832
1846
|
}
|