@procivis/react-native-one-core 1.94025.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 +706 -692
- package/dist/src/one-core-uniffi-intf.js +357 -353
- 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,45 +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
|
|
84
|
+
export interface CreateCertificateAuthorityRequest {
|
|
70
85
|
name?: string;
|
|
71
86
|
keyId: string;
|
|
72
87
|
chain?: string;
|
|
73
|
-
selfSigned?:
|
|
88
|
+
selfSigned?: CreateSelfSignedCertificateAuthorityRequest;
|
|
74
89
|
}
|
|
75
|
-
export interface
|
|
90
|
+
export interface CreateCertificateRequest {
|
|
76
91
|
name?: string;
|
|
77
92
|
chain: string;
|
|
78
93
|
keyId: string;
|
|
79
94
|
}
|
|
80
|
-
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 {
|
|
81
103
|
name?: string;
|
|
82
104
|
method: string;
|
|
83
|
-
keys:
|
|
105
|
+
keys: DidRequestKeys;
|
|
84
106
|
params: Record<string, string>;
|
|
85
107
|
}
|
|
86
|
-
export interface
|
|
108
|
+
export interface CreateIdentifierKeyRequest {
|
|
87
109
|
keyId: string;
|
|
88
110
|
}
|
|
89
|
-
export interface
|
|
111
|
+
export interface CreateIdentifierRequest {
|
|
90
112
|
organisationId: string;
|
|
91
113
|
name: string;
|
|
92
114
|
/** Deprecated. Use the `key` field instead. */
|
|
93
115
|
keyId?: string;
|
|
94
|
-
key?:
|
|
95
|
-
did?:
|
|
96
|
-
certificates?: Array<
|
|
97
|
-
certificateAuthorities?: Array<
|
|
116
|
+
key?: CreateIdentifierKeyRequest;
|
|
117
|
+
did?: CreateIdentifierDidRequest;
|
|
118
|
+
certificates?: Array<CreateCertificateRequest>;
|
|
119
|
+
certificateAuthorities?: Array<CreateCertificateAuthorityRequest>;
|
|
98
120
|
}
|
|
99
|
-
export interface
|
|
121
|
+
export interface CreateOrganisationRequest {
|
|
100
122
|
id?: string;
|
|
101
123
|
name?: string;
|
|
102
124
|
}
|
|
@@ -107,7 +129,7 @@ export interface CreateOrganisationRequestBindingDto {
|
|
|
107
129
|
* (for QR device engagement) or NFC engagement parameters from
|
|
108
130
|
* `nfc_read_iso_mdl_engagement`.
|
|
109
131
|
*/
|
|
110
|
-
export interface
|
|
132
|
+
export interface CreateProofRequest {
|
|
111
133
|
proofSchemaId: string;
|
|
112
134
|
verifierDidId?: string;
|
|
113
135
|
verifierIdentifierId?: string;
|
|
@@ -120,17 +142,21 @@ export interface CreateProofRequestBindingDto {
|
|
|
120
142
|
profile?: string;
|
|
121
143
|
engagement?: string;
|
|
122
144
|
}
|
|
123
|
-
export interface
|
|
145
|
+
export interface CreateProofSchemaInput {
|
|
146
|
+
credentialSchemaId: string;
|
|
147
|
+
claimSchemas: Array<CreateProofSchemaInputClaim>;
|
|
148
|
+
}
|
|
149
|
+
export interface CreateProofSchemaInputClaim {
|
|
124
150
|
id: string;
|
|
125
151
|
required: boolean;
|
|
126
152
|
}
|
|
127
|
-
export interface
|
|
153
|
+
export interface CreateProofSchemaRequest {
|
|
128
154
|
name: string;
|
|
129
155
|
organisationId: string;
|
|
130
156
|
expireDuration: number;
|
|
131
|
-
proofInputSchemas: Array<
|
|
157
|
+
proofInputSchemas: Array<CreateProofSchemaInput>;
|
|
132
158
|
}
|
|
133
|
-
export interface
|
|
159
|
+
export interface CreateRemoteTrustEntityRequest {
|
|
134
160
|
didId: string;
|
|
135
161
|
trustAnchorId?: string;
|
|
136
162
|
name: string;
|
|
@@ -138,107 +164,99 @@ export interface CreateRemoteTrustEntityRequestBindingDto {
|
|
|
138
164
|
termsUrl?: string;
|
|
139
165
|
privacyUrl?: string;
|
|
140
166
|
website?: string;
|
|
141
|
-
role:
|
|
167
|
+
role: TrustEntityRole;
|
|
142
168
|
}
|
|
143
|
-
export interface
|
|
144
|
-
type:
|
|
169
|
+
export interface CreateSelfSignedCertificateAuthorityIssuerAlternativeNameRequest {
|
|
170
|
+
type: CreateSelfSignedCaRequestIssuerAlternativeNameType;
|
|
145
171
|
name: string;
|
|
146
172
|
}
|
|
147
|
-
export interface
|
|
148
|
-
content:
|
|
173
|
+
export interface CreateSelfSignedCertificateAuthorityRequest {
|
|
174
|
+
content: CreateSelfSignedCertificateAuthorityRequestContent;
|
|
149
175
|
signer: string;
|
|
150
176
|
validityStart?: string;
|
|
151
177
|
validityEnd?: string;
|
|
152
178
|
}
|
|
153
|
-
export interface
|
|
154
|
-
subject:
|
|
155
|
-
issuerAlternativeName?:
|
|
179
|
+
export interface CreateSelfSignedCertificateAuthorityRequestContent {
|
|
180
|
+
subject: CsrSubject;
|
|
181
|
+
issuerAlternativeName?: CreateSelfSignedCertificateAuthorityIssuerAlternativeNameRequest;
|
|
156
182
|
}
|
|
157
|
-
export interface
|
|
183
|
+
export interface CreateTrustAnchorRequest {
|
|
158
184
|
name: string;
|
|
159
185
|
type: string;
|
|
160
186
|
isPublisher?: boolean;
|
|
161
187
|
publisherReference?: string;
|
|
162
188
|
}
|
|
163
|
-
export interface
|
|
189
|
+
export interface CreateTrustEntityRequest {
|
|
164
190
|
name: string;
|
|
165
191
|
logo?: string;
|
|
166
192
|
website?: string;
|
|
167
193
|
termsUrl?: string;
|
|
168
194
|
privacyUrl?: string;
|
|
169
|
-
role:
|
|
195
|
+
role: TrustEntityRole;
|
|
170
196
|
trustAnchorId: string;
|
|
171
197
|
didId?: string;
|
|
172
|
-
type?:
|
|
198
|
+
type?: TrustEntityType;
|
|
173
199
|
identifierId?: string;
|
|
174
200
|
content?: string;
|
|
175
201
|
organisationId: string;
|
|
176
202
|
}
|
|
177
|
-
export interface
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
key: string;
|
|
182
|
-
datatype: string;
|
|
183
|
-
required: boolean;
|
|
184
|
-
array: boolean;
|
|
185
|
-
claims: Array<CredentialClaimSchemaBindingDto>;
|
|
186
|
-
}
|
|
187
|
-
export interface CredentialConfigurationSupportedResponseBindingDto {
|
|
188
|
-
proofTypesSupported?: Record<string, OpenId4vciProofTypeSupportedBindingDto>;
|
|
203
|
+
export interface CreatedBackup {
|
|
204
|
+
historyId: string;
|
|
205
|
+
file: string;
|
|
206
|
+
unexportable: UnexportableEntities;
|
|
189
207
|
}
|
|
190
|
-
export interface
|
|
208
|
+
export interface CredentialDetail {
|
|
191
209
|
id: string;
|
|
192
210
|
createdDate: string;
|
|
193
211
|
issuanceDate?: string;
|
|
194
212
|
lastModified: string;
|
|
195
213
|
revocationDate?: string;
|
|
196
|
-
issuer?:
|
|
197
|
-
holder?:
|
|
198
|
-
state:
|
|
199
|
-
schema:
|
|
200
|
-
claims: Array<
|
|
214
|
+
issuer?: IdentifierListItem;
|
|
215
|
+
holder?: IdentifierListItem;
|
|
216
|
+
state: CredentialState;
|
|
217
|
+
schema: CredentialSchemaListItem;
|
|
218
|
+
claims: Array<Claim>;
|
|
201
219
|
redirectUri?: string;
|
|
202
|
-
role:
|
|
220
|
+
role: CredentialRole;
|
|
203
221
|
suspendEndDate?: string;
|
|
204
|
-
mdocMsoValidity?:
|
|
222
|
+
mdocMsoValidity?: MdocMsoValidity;
|
|
205
223
|
protocol: string;
|
|
206
224
|
profile?: string;
|
|
207
225
|
}
|
|
208
|
-
export interface
|
|
209
|
-
values: Array<
|
|
226
|
+
export interface CredentialList {
|
|
227
|
+
values: Array<CredentialListItem>;
|
|
210
228
|
totalPages: number;
|
|
211
229
|
totalItems: number;
|
|
212
230
|
}
|
|
213
|
-
export interface
|
|
231
|
+
export interface CredentialListItem {
|
|
214
232
|
id: string;
|
|
215
233
|
createdDate: string;
|
|
216
234
|
issuanceDate?: string;
|
|
217
235
|
lastModified: string;
|
|
218
236
|
revocationDate?: string;
|
|
219
237
|
issuer?: string;
|
|
220
|
-
state:
|
|
221
|
-
schema:
|
|
222
|
-
role:
|
|
238
|
+
state: CredentialState;
|
|
239
|
+
schema: CredentialSchemaListItem;
|
|
240
|
+
role: CredentialRole;
|
|
223
241
|
suspendEndDate?: string;
|
|
224
242
|
protocol: string;
|
|
225
243
|
profile?: string;
|
|
226
244
|
}
|
|
227
|
-
export interface
|
|
245
|
+
export interface CredentialListQuery {
|
|
228
246
|
page: number;
|
|
229
247
|
pageSize: number;
|
|
230
|
-
sort?:
|
|
248
|
+
sort?: SortableCredentialColumn;
|
|
231
249
|
sortDirection?: SortDirection;
|
|
232
250
|
organisationId: string;
|
|
233
251
|
name?: string;
|
|
234
252
|
profiles?: Array<string>;
|
|
235
253
|
searchText?: string;
|
|
236
|
-
searchType?: Array<
|
|
237
|
-
exact?: Array<
|
|
238
|
-
roles?: Array<
|
|
254
|
+
searchType?: Array<CredentialListQuerySearchType>;
|
|
255
|
+
exact?: Array<CredentialListQueryExactColumn>;
|
|
256
|
+
roles?: Array<CredentialRole>;
|
|
239
257
|
ids?: Array<string>;
|
|
240
|
-
states?: Array<
|
|
241
|
-
include?: Array<
|
|
258
|
+
states?: Array<CredentialState>;
|
|
259
|
+
include?: Array<CredentialListIncludeEntityType>;
|
|
242
260
|
credentialSchemaIds?: Array<string>;
|
|
243
261
|
createdDateAfter?: string;
|
|
244
262
|
createdDateBefore?: string;
|
|
@@ -249,82 +267,82 @@ export interface CredentialListQueryBindingDto {
|
|
|
249
267
|
revocationDateAfter?: string;
|
|
250
268
|
revocationDateBefore?: string;
|
|
251
269
|
}
|
|
252
|
-
export interface
|
|
253
|
-
reason: CredentialQueryFailureReasonBindingEnum;
|
|
254
|
-
credentialSchema?: CredentialSchemaDetailBindingDto;
|
|
255
|
-
}
|
|
256
|
-
export interface CredentialQueryResponseBindingDto {
|
|
270
|
+
export interface CredentialQuery {
|
|
257
271
|
multiple: boolean;
|
|
258
|
-
credentialOrFailureHint:
|
|
272
|
+
credentialOrFailureHint: ApplicableCredentialOrFailureHint;
|
|
273
|
+
}
|
|
274
|
+
export interface CredentialQueryFailureHint {
|
|
275
|
+
reason: CredentialQueryFailureReason;
|
|
276
|
+
credentialSchema?: CredentialSchemaDetail;
|
|
259
277
|
}
|
|
260
|
-
export interface
|
|
278
|
+
export interface CredentialRevocationCheckResponse {
|
|
261
279
|
credentialId: string;
|
|
262
|
-
status:
|
|
280
|
+
status: CredentialState;
|
|
263
281
|
success: boolean;
|
|
264
282
|
reason?: string;
|
|
265
283
|
}
|
|
266
|
-
export interface
|
|
284
|
+
export interface CredentialSchemaBackgroundProperties {
|
|
267
285
|
color?: string;
|
|
268
286
|
image?: string;
|
|
269
287
|
}
|
|
270
|
-
export interface
|
|
288
|
+
export interface CredentialSchemaCodeProperties {
|
|
289
|
+
attribute: string;
|
|
290
|
+
type: CredentialSchemaCodeType;
|
|
291
|
+
}
|
|
292
|
+
export interface CredentialSchemaDetail {
|
|
271
293
|
id: string;
|
|
272
294
|
createdDate: string;
|
|
273
295
|
lastModified: string;
|
|
274
296
|
name: string;
|
|
275
297
|
format: string;
|
|
276
298
|
revocationMethod?: string;
|
|
277
|
-
|
|
299
|
+
claims: Array<ClaimSchema>;
|
|
300
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
278
301
|
schemaId: string;
|
|
279
|
-
layoutType?: LayoutTypeBindingEnum;
|
|
280
302
|
importedSourceUrl: string;
|
|
281
|
-
|
|
303
|
+
layoutType?: LayoutType;
|
|
304
|
+
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
282
305
|
allowSuspension: boolean;
|
|
283
306
|
requiresWalletInstanceAttestation: boolean;
|
|
307
|
+
transactionCode?: CredentialSchemaTransactionCode;
|
|
284
308
|
}
|
|
285
|
-
export interface
|
|
286
|
-
|
|
287
|
-
|
|
309
|
+
export interface CredentialSchemaLayoutProperties {
|
|
310
|
+
background?: CredentialSchemaBackgroundProperties;
|
|
311
|
+
logo?: CredentialSchemaLogoProperties;
|
|
312
|
+
primaryAttribute?: string;
|
|
313
|
+
secondaryAttribute?: string;
|
|
314
|
+
pictureAttribute?: string;
|
|
315
|
+
code?: CredentialSchemaCodeProperties;
|
|
288
316
|
}
|
|
289
|
-
export interface
|
|
317
|
+
export interface CredentialSchemaList {
|
|
318
|
+
values: Array<CredentialSchemaListItem>;
|
|
319
|
+
totalPages: number;
|
|
320
|
+
totalItems: number;
|
|
321
|
+
}
|
|
322
|
+
export interface CredentialSchemaListItem {
|
|
290
323
|
id: string;
|
|
291
324
|
createdDate: string;
|
|
292
325
|
lastModified: string;
|
|
293
326
|
name: string;
|
|
294
327
|
format: string;
|
|
295
328
|
revocationMethod?: string;
|
|
296
|
-
|
|
297
|
-
keyStorageSecurity?: KeyStorageSecurityBindingEnum;
|
|
329
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
298
330
|
schemaId: string;
|
|
331
|
+
layoutType?: LayoutType;
|
|
299
332
|
importedSourceUrl: string;
|
|
300
|
-
|
|
301
|
-
layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
|
|
333
|
+
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
302
334
|
allowSuspension: boolean;
|
|
303
335
|
requiresWalletInstanceAttestation: boolean;
|
|
304
|
-
transactionCode?: CredentialSchemaTransactionCodeBindingDto;
|
|
305
|
-
}
|
|
306
|
-
export interface CredentialSchemaLayoutPropertiesBindingDto {
|
|
307
|
-
background?: CredentialSchemaBackgroundPropertiesBindingDto;
|
|
308
|
-
logo?: CredentialSchemaLogoPropertiesBindingDto;
|
|
309
|
-
primaryAttribute?: string;
|
|
310
|
-
secondaryAttribute?: string;
|
|
311
|
-
pictureAttribute?: string;
|
|
312
|
-
code?: CredentialSchemaCodePropertiesBindingDto;
|
|
313
|
-
}
|
|
314
|
-
export interface CredentialSchemaListBindingDto {
|
|
315
|
-
values: Array<CredentialSchemaBindingDto>;
|
|
316
|
-
totalPages: number;
|
|
317
|
-
totalItems: number;
|
|
318
336
|
}
|
|
319
|
-
export interface
|
|
337
|
+
export interface CredentialSchemaListQuery {
|
|
320
338
|
page: number;
|
|
321
339
|
pageSize: number;
|
|
322
340
|
organisationId: string;
|
|
323
|
-
sort?:
|
|
341
|
+
sort?: SortableCredentialSchemaColumn;
|
|
324
342
|
sortDirection?: SortDirection;
|
|
325
343
|
name?: string;
|
|
326
344
|
ids?: Array<string>;
|
|
327
|
-
exact?: Array<
|
|
345
|
+
exact?: Array<CredentialSchemaListQueryExactColumn>;
|
|
328
346
|
include?: Array<CredentialSchemaListIncludeEntityType>;
|
|
329
347
|
schemaId?: string;
|
|
330
348
|
formats?: Array<string>;
|
|
@@ -333,192 +351,107 @@ export interface CredentialSchemaListQueryBindingDto {
|
|
|
333
351
|
lastModifiedAfter?: string;
|
|
334
352
|
lastModifiedBefore?: string;
|
|
335
353
|
}
|
|
336
|
-
export interface
|
|
354
|
+
export interface CredentialSchemaLogoProperties {
|
|
337
355
|
fontColor?: string;
|
|
338
356
|
backgroundColor?: string;
|
|
339
357
|
image?: string;
|
|
340
358
|
}
|
|
341
|
-
export interface
|
|
359
|
+
export interface CredentialSchemaShareResponse {
|
|
342
360
|
url: string;
|
|
343
361
|
}
|
|
344
|
-
export interface
|
|
345
|
-
type:
|
|
362
|
+
export interface CredentialSchemaTransactionCode {
|
|
363
|
+
type: TransactionCodeType;
|
|
346
364
|
length: number;
|
|
347
365
|
description?: string;
|
|
348
366
|
}
|
|
349
|
-
export interface
|
|
367
|
+
export interface CredentialSet {
|
|
350
368
|
required: boolean;
|
|
351
369
|
options: Array<Array<string>>;
|
|
352
370
|
}
|
|
353
|
-
export interface
|
|
371
|
+
export interface DeviceInfo {
|
|
354
372
|
address: string;
|
|
355
373
|
mtu: number;
|
|
356
374
|
}
|
|
357
|
-
export interface
|
|
358
|
-
|
|
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>;
|
|
359
396
|
totalPages: number;
|
|
360
397
|
totalItems: number;
|
|
361
398
|
}
|
|
362
|
-
export interface
|
|
399
|
+
export interface DidListItem {
|
|
363
400
|
id: string;
|
|
364
401
|
createdDate: string;
|
|
365
402
|
lastModified: string;
|
|
366
403
|
name: string;
|
|
367
404
|
did: string;
|
|
368
|
-
didType:
|
|
405
|
+
didType: DidType;
|
|
369
406
|
didMethod: string;
|
|
370
407
|
deactivated: boolean;
|
|
371
408
|
}
|
|
372
|
-
export interface
|
|
409
|
+
export interface DidListQuery {
|
|
373
410
|
page: number;
|
|
374
411
|
pageSize: number;
|
|
375
|
-
sort?:
|
|
412
|
+
sort?: SortableDidColumn;
|
|
376
413
|
sortDirection?: SortDirection;
|
|
377
414
|
organisationId: string;
|
|
378
415
|
name?: string;
|
|
379
416
|
did?: string;
|
|
380
|
-
type?:
|
|
417
|
+
type?: DidType;
|
|
381
418
|
deactivated?: boolean;
|
|
382
|
-
exact?: Array<
|
|
419
|
+
exact?: Array<DidListQueryExactColumn>;
|
|
383
420
|
keyAlgorithms?: Array<string>;
|
|
384
|
-
keyRoles?: Array<
|
|
421
|
+
keyRoles?: Array<KeyRole>;
|
|
385
422
|
keyStorages?: Array<string>;
|
|
386
423
|
keyIds?: Array<string>;
|
|
387
424
|
didMethods?: Array<string>;
|
|
388
425
|
}
|
|
389
|
-
export interface
|
|
390
|
-
organisationId: string;
|
|
391
|
-
name: string;
|
|
392
|
-
didMethod: string;
|
|
393
|
-
keys: DidRequestKeysBindingDto;
|
|
394
|
-
params: Record<string, string>;
|
|
395
|
-
}
|
|
396
|
-
export interface DidRequestKeysBindingDto {
|
|
426
|
+
export interface DidRequestKeys {
|
|
397
427
|
authentication: Array<string>;
|
|
398
428
|
assertionMethod: Array<string>;
|
|
399
429
|
keyAgreement: Array<string>;
|
|
400
430
|
capabilityInvocation: Array<string>;
|
|
401
431
|
capabilityDelegation: Array<string>;
|
|
402
432
|
}
|
|
403
|
-
export interface
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
lastModified: string;
|
|
407
|
-
name: string;
|
|
408
|
-
organisationId?: string;
|
|
409
|
-
did: string;
|
|
410
|
-
didType: DidTypeBindingEnum;
|
|
411
|
-
didMethod: string;
|
|
412
|
-
keys: DidResponseKeysBindingDto;
|
|
413
|
-
deactivated: boolean;
|
|
414
|
-
}
|
|
415
|
-
export interface DidResponseKeysBindingDto {
|
|
416
|
-
authentication: Array<KeyListItemResponseBindingDto>;
|
|
417
|
-
assertionMethod: Array<KeyListItemResponseBindingDto>;
|
|
418
|
-
keyAgreement: Array<KeyListItemResponseBindingDto>;
|
|
419
|
-
capabilityInvocation: Array<KeyListItemResponseBindingDto>;
|
|
420
|
-
capabilityDelegation: Array<KeyListItemResponseBindingDto>;
|
|
433
|
+
export interface DisplayName {
|
|
434
|
+
lang: string;
|
|
435
|
+
value: string;
|
|
421
436
|
}
|
|
422
|
-
export interface
|
|
437
|
+
export interface ErrorResponse {
|
|
423
438
|
code: string;
|
|
424
439
|
message: string;
|
|
425
440
|
cause?: Cause;
|
|
426
441
|
}
|
|
427
|
-
export interface
|
|
428
|
-
keyReference: number[];
|
|
429
|
-
publicKey: number[];
|
|
430
|
-
}
|
|
431
|
-
export interface GetIdentifierBindingDto {
|
|
432
|
-
id: string;
|
|
433
|
-
createdDate: string;
|
|
434
|
-
lastModified: string;
|
|
435
|
-
name: string;
|
|
436
|
-
organisationId?: string;
|
|
437
|
-
type: IdentifierTypeBindingEnum;
|
|
438
|
-
isRemote: boolean;
|
|
439
|
-
state: IdentifierStateBindingEnum;
|
|
440
|
-
did?: DidResponseBindingDto;
|
|
441
|
-
key?: KeyResponseBindingDto;
|
|
442
|
-
certificates?: Array<CertificateResponseBindingDto>;
|
|
443
|
-
}
|
|
444
|
-
export interface GetIdentifierListBindingDto {
|
|
445
|
-
values: Array<GetIdentifierListItemBindingDto>;
|
|
446
|
-
totalPages: number;
|
|
447
|
-
totalItems: number;
|
|
448
|
-
}
|
|
449
|
-
export interface GetIdentifierListItemBindingDto {
|
|
450
|
-
id: string;
|
|
451
|
-
createdDate: string;
|
|
452
|
-
lastModified: string;
|
|
453
|
-
name: string;
|
|
454
|
-
type: IdentifierTypeBindingEnum;
|
|
455
|
-
isRemote: boolean;
|
|
456
|
-
state: IdentifierStateBindingEnum;
|
|
457
|
-
organisationId?: string;
|
|
458
|
-
}
|
|
459
|
-
export interface GetProofSchemaBindingDto {
|
|
460
|
-
id: string;
|
|
461
|
-
createdDate: string;
|
|
462
|
-
lastModified: string;
|
|
463
|
-
name: string;
|
|
442
|
+
export interface GenerateKeyRequest {
|
|
464
443
|
organisationId: string;
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
importedSourceUrl?: string;
|
|
468
|
-
}
|
|
469
|
-
export interface GetProofSchemaListItemBindingDto {
|
|
470
|
-
id: string;
|
|
471
|
-
createdDate: string;
|
|
472
|
-
lastModified: string;
|
|
473
|
-
deletedAt?: string;
|
|
474
|
-
name: string;
|
|
475
|
-
expireDuration: number;
|
|
476
|
-
}
|
|
477
|
-
export interface GetRemoteTrustEntityResponseBindingDto {
|
|
478
|
-
id: string;
|
|
479
|
-
organisationId?: string;
|
|
480
|
-
createdDate: string;
|
|
481
|
-
lastModified: string;
|
|
482
|
-
name: string;
|
|
483
|
-
logo?: string;
|
|
484
|
-
website?: string;
|
|
485
|
-
termsUrl?: string;
|
|
486
|
-
privacyUrl?: string;
|
|
487
|
-
role: TrustEntityRoleBindingEnum;
|
|
488
|
-
trustAnchor: GetTrustAnchorResponseBindingDto;
|
|
489
|
-
did?: DidListItemBindingDto;
|
|
490
|
-
state: TrustEntityStateBindingEnum;
|
|
491
|
-
}
|
|
492
|
-
export interface GetTrustAnchorResponseBindingDto {
|
|
493
|
-
id: string;
|
|
444
|
+
keyType: string;
|
|
445
|
+
keyParams: Record<string, string>;
|
|
494
446
|
name: string;
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
type: string;
|
|
498
|
-
isPublisher: boolean;
|
|
499
|
-
publisherReference: string;
|
|
447
|
+
storageType: string;
|
|
448
|
+
storageParams: Record<string, string>;
|
|
500
449
|
}
|
|
501
|
-
export interface
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
createdDate: string;
|
|
505
|
-
lastModified: string;
|
|
506
|
-
name: string;
|
|
507
|
-
logo?: string;
|
|
508
|
-
website?: string;
|
|
509
|
-
termsUrl?: string;
|
|
510
|
-
privacyUrl?: string;
|
|
511
|
-
role: TrustEntityRoleBindingEnum;
|
|
512
|
-
trustAnchor: GetTrustAnchorResponseBindingDto;
|
|
513
|
-
did?: DidListItemBindingDto;
|
|
514
|
-
state: TrustEntityStateBindingEnum;
|
|
515
|
-
entityKey: string;
|
|
516
|
-
type: TrustEntityTypeBindingEnum;
|
|
517
|
-
identifier?: GetIdentifierListItemBindingDto;
|
|
518
|
-
content?: string;
|
|
519
|
-
ca?: TrustEntityCertificateResponseBindingDto;
|
|
450
|
+
export interface GeneratedKey {
|
|
451
|
+
keyReference: number[];
|
|
452
|
+
publicKey: number[];
|
|
520
453
|
}
|
|
521
|
-
export interface
|
|
454
|
+
export interface HandleInvitationRequest {
|
|
522
455
|
/**
|
|
523
456
|
* Typically encoded as a QR code or deep link by the issuer or
|
|
524
457
|
* verifier. For example: "https://example.com/credential-offer".
|
|
@@ -539,48 +472,48 @@ export interface HandleInvitationRequestBindingDto {
|
|
|
539
472
|
*/
|
|
540
473
|
redirectUri?: string;
|
|
541
474
|
}
|
|
542
|
-
export interface
|
|
475
|
+
export interface HistoryErrorMetadata {
|
|
543
476
|
errorCode: string;
|
|
544
477
|
message: string;
|
|
545
478
|
}
|
|
546
|
-
export interface
|
|
547
|
-
values: Array<
|
|
479
|
+
export interface HistoryList {
|
|
480
|
+
values: Array<HistoryListItem>;
|
|
548
481
|
totalPages: number;
|
|
549
482
|
totalItems: number;
|
|
550
483
|
}
|
|
551
|
-
export interface
|
|
484
|
+
export interface HistoryListItem {
|
|
552
485
|
id: string;
|
|
553
486
|
createdDate: string;
|
|
554
|
-
action:
|
|
487
|
+
action: HistoryAction;
|
|
555
488
|
name: string;
|
|
556
489
|
entityId?: string;
|
|
557
|
-
entityType:
|
|
558
|
-
metadata?:
|
|
490
|
+
entityType: HistoryEntityType;
|
|
491
|
+
metadata?: HistoryMetadata;
|
|
559
492
|
organisationId?: string;
|
|
560
493
|
target?: string;
|
|
561
494
|
user?: string;
|
|
562
495
|
}
|
|
563
|
-
export interface
|
|
496
|
+
export interface HistoryListQuery {
|
|
564
497
|
page: number;
|
|
565
498
|
pageSize: number;
|
|
566
499
|
organisationId: string;
|
|
567
500
|
entityIds?: Array<string>;
|
|
568
|
-
entityTypes?: Array<
|
|
569
|
-
actions?: Array<
|
|
501
|
+
entityTypes?: Array<HistoryEntityType>;
|
|
502
|
+
actions?: Array<HistoryAction>;
|
|
570
503
|
createdDateAfter?: string;
|
|
571
504
|
createdDateBefore?: string;
|
|
572
505
|
identifierId?: string;
|
|
573
506
|
credentialId?: string;
|
|
574
507
|
credentialSchemaId?: string;
|
|
575
508
|
proofSchemaId?: string;
|
|
576
|
-
search?:
|
|
509
|
+
search?: HistorySearch;
|
|
577
510
|
users?: Array<string>;
|
|
578
511
|
}
|
|
579
|
-
export interface
|
|
512
|
+
export interface HistorySearch {
|
|
580
513
|
text: string;
|
|
581
|
-
type?:
|
|
514
|
+
type?: HistorySearchType;
|
|
582
515
|
}
|
|
583
|
-
export interface
|
|
516
|
+
export interface HolderAcceptCredentialRequest {
|
|
584
517
|
interactionId: string;
|
|
585
518
|
didId?: string;
|
|
586
519
|
identifierId?: string;
|
|
@@ -588,44 +521,79 @@ export interface HolderAcceptCredentialRequestBindingDto {
|
|
|
588
521
|
txCode?: string;
|
|
589
522
|
holderWalletUnitId?: string;
|
|
590
523
|
}
|
|
591
|
-
export interface
|
|
524
|
+
export interface HolderRegisterWalletUnitRequest {
|
|
592
525
|
organisationId: string;
|
|
593
526
|
/** Reference the `walletProvider` configuration of the Wallet Provider. */
|
|
594
|
-
walletProvider:
|
|
527
|
+
walletProvider: WalletProvider;
|
|
595
528
|
keyType: string;
|
|
596
529
|
}
|
|
597
|
-
export interface
|
|
530
|
+
export interface HolderRegisterWalletUnitResponse {
|
|
531
|
+
id: string;
|
|
532
|
+
status: WalletUnitStatus;
|
|
533
|
+
}
|
|
534
|
+
export interface HolderWalletUnit {
|
|
598
535
|
id: string;
|
|
599
536
|
createdDate: string;
|
|
600
537
|
lastModified: string;
|
|
601
538
|
providerWalletUnitId: string;
|
|
602
539
|
walletProviderUrl: string;
|
|
603
|
-
walletProviderType:
|
|
540
|
+
walletProviderType: WalletProviderType;
|
|
604
541
|
walletProviderName: string;
|
|
605
|
-
status:
|
|
606
|
-
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;
|
|
565
|
+
}
|
|
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;
|
|
607
575
|
}
|
|
608
|
-
export interface
|
|
576
|
+
export interface IdentifierListQuery {
|
|
609
577
|
page: number;
|
|
610
578
|
pageSize: number;
|
|
611
|
-
sort?:
|
|
579
|
+
sort?: SortableIdentifierColumn;
|
|
612
580
|
sortDirection?: SortDirection;
|
|
613
581
|
organisationId: string;
|
|
614
582
|
name?: string;
|
|
615
|
-
types?: Array<
|
|
616
|
-
states?: Array<
|
|
617
|
-
exact?: Array<
|
|
583
|
+
types?: Array<IdentifierType>;
|
|
584
|
+
states?: Array<IdentifierState>;
|
|
585
|
+
exact?: Array<IdentifierListQueryExactColumn>;
|
|
618
586
|
didMethods?: Array<string>;
|
|
619
587
|
isRemote?: boolean;
|
|
620
588
|
keyAlgorithms?: Array<string>;
|
|
621
|
-
keyRoles?: Array<
|
|
589
|
+
keyRoles?: Array<KeyRole>;
|
|
622
590
|
keyStorages?: Array<string>;
|
|
623
591
|
createdDateAfter?: string;
|
|
624
592
|
createdDateBefore?: string;
|
|
625
593
|
lastModifiedAfter?: string;
|
|
626
594
|
lastModifiedBefore?: string;
|
|
627
595
|
}
|
|
628
|
-
export interface
|
|
596
|
+
export interface ImportCredentialSchemaClaimSchema {
|
|
629
597
|
id: string;
|
|
630
598
|
createdDate: string;
|
|
631
599
|
lastModified: string;
|
|
@@ -633,21 +601,21 @@ export interface ImportCredentialSchemaClaimSchemaBindingDto {
|
|
|
633
601
|
key: string;
|
|
634
602
|
datatype: string;
|
|
635
603
|
array?: boolean;
|
|
636
|
-
claims?: Array<
|
|
604
|
+
claims?: Array<ImportCredentialSchemaClaimSchema>;
|
|
637
605
|
}
|
|
638
|
-
export interface
|
|
639
|
-
background?:
|
|
640
|
-
logo?:
|
|
606
|
+
export interface ImportCredentialSchemaLayoutProperties {
|
|
607
|
+
background?: CredentialSchemaBackgroundProperties;
|
|
608
|
+
logo?: CredentialSchemaLogoProperties;
|
|
641
609
|
primaryAttribute?: string;
|
|
642
610
|
secondaryAttribute?: string;
|
|
643
611
|
pictureAttribute?: string;
|
|
644
|
-
code?:
|
|
612
|
+
code?: CredentialSchemaCodeProperties;
|
|
645
613
|
}
|
|
646
|
-
export interface
|
|
614
|
+
export interface ImportCredentialSchemaRequest {
|
|
647
615
|
organisationId: string;
|
|
648
|
-
schema:
|
|
616
|
+
schema: ImportCredentialSchemaRequestSchema;
|
|
649
617
|
}
|
|
650
|
-
export interface
|
|
618
|
+
export interface ImportCredentialSchemaRequestSchema {
|
|
651
619
|
id: string;
|
|
652
620
|
createdDate: string;
|
|
653
621
|
lastModified: string;
|
|
@@ -655,22 +623,22 @@ export interface ImportCredentialSchemaRequestSchemaBindingDto {
|
|
|
655
623
|
format: string;
|
|
656
624
|
revocationMethod: string;
|
|
657
625
|
organisationId: string;
|
|
658
|
-
claims: Array<
|
|
659
|
-
keyStorageSecurity?:
|
|
626
|
+
claims: Array<ImportCredentialSchemaClaimSchema>;
|
|
627
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
660
628
|
schemaId: string;
|
|
661
629
|
importedSourceUrl: string;
|
|
662
|
-
layoutType?:
|
|
663
|
-
layoutProperties?:
|
|
630
|
+
layoutType?: LayoutType;
|
|
631
|
+
layoutProperties?: ImportCredentialSchemaLayoutProperties;
|
|
664
632
|
allowSuspension?: boolean;
|
|
665
633
|
requiresWalletInstanceAttestation?: boolean;
|
|
666
|
-
transactionCode?:
|
|
634
|
+
transactionCode?: ImportCredentialSchemaTransactionCode;
|
|
667
635
|
}
|
|
668
|
-
export interface
|
|
669
|
-
type:
|
|
636
|
+
export interface ImportCredentialSchemaTransactionCode {
|
|
637
|
+
type: TransactionCodeType;
|
|
670
638
|
length: number;
|
|
671
639
|
description?: string;
|
|
672
640
|
}
|
|
673
|
-
export interface
|
|
641
|
+
export interface ImportProofSchema {
|
|
674
642
|
id: string;
|
|
675
643
|
createdDate: string;
|
|
676
644
|
lastModified: string;
|
|
@@ -678,18 +646,18 @@ export interface ImportProofSchemaBindingDto {
|
|
|
678
646
|
organisationId: string;
|
|
679
647
|
expireDuration: number;
|
|
680
648
|
importedSourceUrl: string;
|
|
681
|
-
proofInputSchemas: Array<
|
|
649
|
+
proofInputSchemas: Array<ImportProofSchemaInputSchema>;
|
|
682
650
|
}
|
|
683
|
-
export interface
|
|
651
|
+
export interface ImportProofSchemaClaimSchema {
|
|
684
652
|
id: string;
|
|
685
653
|
requested: boolean;
|
|
686
654
|
required: boolean;
|
|
687
655
|
key: string;
|
|
688
656
|
dataType: string;
|
|
689
|
-
claims?: Array<
|
|
657
|
+
claims?: Array<ImportProofSchemaClaimSchema>;
|
|
690
658
|
array: boolean;
|
|
691
659
|
}
|
|
692
|
-
export interface
|
|
660
|
+
export interface ImportProofSchemaCredentialSchema {
|
|
693
661
|
id: string;
|
|
694
662
|
createdDate: string;
|
|
695
663
|
lastModified: string;
|
|
@@ -697,23 +665,23 @@ export interface ImportProofSchemaCredentialSchemaBindingDto {
|
|
|
697
665
|
name: string;
|
|
698
666
|
format: string;
|
|
699
667
|
revocationMethod?: string;
|
|
700
|
-
keyStorageSecurity?:
|
|
668
|
+
keyStorageSecurity?: KeyStorageSecurity;
|
|
701
669
|
schemaId: string;
|
|
702
670
|
importedSourceUrl: string;
|
|
703
|
-
layoutType?:
|
|
704
|
-
layoutProperties?:
|
|
671
|
+
layoutType?: LayoutType;
|
|
672
|
+
layoutProperties?: CredentialSchemaLayoutProperties;
|
|
705
673
|
allowSuspension?: boolean;
|
|
706
674
|
requiresWalletInstanceAttestation?: boolean;
|
|
707
675
|
}
|
|
708
|
-
export interface
|
|
709
|
-
claimSchemas: Array<
|
|
710
|
-
credentialSchema:
|
|
676
|
+
export interface ImportProofSchemaInputSchema {
|
|
677
|
+
claimSchemas: Array<ImportProofSchemaClaimSchema>;
|
|
678
|
+
credentialSchema: ImportProofSchemaCredentialSchema;
|
|
711
679
|
}
|
|
712
|
-
export interface
|
|
713
|
-
schema:
|
|
680
|
+
export interface ImportProofSchemaRequest {
|
|
681
|
+
schema: ImportProofSchema;
|
|
714
682
|
organisationId: string;
|
|
715
683
|
}
|
|
716
|
-
export interface
|
|
684
|
+
export interface InitParams {
|
|
717
685
|
configJson?: string;
|
|
718
686
|
nativeSecureElement?: NativeKeyStorage;
|
|
719
687
|
remoteSecureElement?: NativeKeyStorage;
|
|
@@ -722,42 +690,33 @@ export interface InitParamsDto {
|
|
|
722
690
|
nfcHce?: NfcHce;
|
|
723
691
|
nfcScanner?: NfcScanner;
|
|
724
692
|
}
|
|
725
|
-
export interface
|
|
693
|
+
export interface InitiateIssuanceAuthorizationDetail {
|
|
726
694
|
type: string;
|
|
727
695
|
credentialConfigurationId: string;
|
|
728
696
|
}
|
|
729
|
-
export interface
|
|
697
|
+
export interface InitiateIssuanceRequest {
|
|
730
698
|
organisationId: string;
|
|
731
699
|
protocol: string;
|
|
732
700
|
issuer: string;
|
|
733
701
|
clientId: string;
|
|
734
702
|
redirectUri?: string;
|
|
735
703
|
scope?: Array<string>;
|
|
736
|
-
authorizationDetails?: Array<
|
|
704
|
+
authorizationDetails?: Array<InitiateIssuanceAuthorizationDetail>;
|
|
737
705
|
}
|
|
738
|
-
export interface
|
|
706
|
+
export interface InitiateIssuanceResponse {
|
|
739
707
|
url: string;
|
|
740
708
|
}
|
|
741
|
-
export interface
|
|
742
|
-
/** Two-letter country code. */
|
|
743
|
-
countryName?: string;
|
|
744
|
-
/** Common name to include in the CSR, typically the domain name of the organization. */
|
|
745
|
-
commonName?: string;
|
|
746
|
-
stateOrProvinceName?: string;
|
|
747
|
-
organisationName?: string;
|
|
748
|
-
localityName?: string;
|
|
749
|
-
serialNumber?: string;
|
|
750
|
-
}
|
|
751
|
-
export interface KeyListItemBindingDto {
|
|
709
|
+
export interface KeyDetail {
|
|
752
710
|
id: string;
|
|
753
711
|
createdDate: string;
|
|
754
712
|
lastModified: string;
|
|
713
|
+
organisationId: string;
|
|
755
714
|
name: string;
|
|
756
715
|
publicKey: number[];
|
|
757
716
|
keyType: string;
|
|
758
717
|
storageType: string;
|
|
759
718
|
}
|
|
760
|
-
export interface
|
|
719
|
+
export interface KeyListItem {
|
|
761
720
|
id: string;
|
|
762
721
|
createdDate: string;
|
|
763
722
|
lastModified: string;
|
|
@@ -766,201 +725,151 @@ export interface KeyListItemResponseBindingDto {
|
|
|
766
725
|
keyType: string;
|
|
767
726
|
storageType: string;
|
|
768
727
|
}
|
|
769
|
-
export interface
|
|
770
|
-
organisationId: string;
|
|
771
|
-
keyType: string;
|
|
772
|
-
keyParams: Record<string, string>;
|
|
773
|
-
name: string;
|
|
774
|
-
storageType: string;
|
|
775
|
-
storageParams: Record<string, string>;
|
|
776
|
-
}
|
|
777
|
-
export interface KeyResponseBindingDto {
|
|
778
|
-
id: string;
|
|
779
|
-
createdDate: string;
|
|
780
|
-
lastModified: string;
|
|
781
|
-
organisationId: string;
|
|
782
|
-
name: string;
|
|
783
|
-
publicKey: number[];
|
|
784
|
-
keyType: string;
|
|
785
|
-
storageType: string;
|
|
786
|
-
}
|
|
787
|
-
export interface ListProofSchemasFiltersBindingDto {
|
|
788
|
-
page: number;
|
|
789
|
-
pageSize: number;
|
|
790
|
-
sort?: SortableProofSchemaColumnBinding;
|
|
791
|
-
sortDirection?: SortDirection;
|
|
792
|
-
organisationId: string;
|
|
793
|
-
name?: string;
|
|
794
|
-
exact?: Array<ProofSchemaListQueryExactColumnBinding>;
|
|
795
|
-
ids?: Array<string>;
|
|
796
|
-
formats?: Array<string>;
|
|
797
|
-
createdDateAfter?: string;
|
|
798
|
-
createdDateBefore?: string;
|
|
799
|
-
lastModifiedAfter?: string;
|
|
800
|
-
lastModifiedBefore?: string;
|
|
801
|
-
}
|
|
802
|
-
export interface ListTrustAnchorsFiltersBindings {
|
|
803
|
-
page: number;
|
|
804
|
-
pageSize: number;
|
|
805
|
-
sort?: SortableTrustAnchorColumnBindings;
|
|
806
|
-
sortDirection?: SortDirection;
|
|
807
|
-
name?: string;
|
|
808
|
-
isPublisher?: boolean;
|
|
809
|
-
type?: string;
|
|
810
|
-
exact?: Array<ExactTrustAnchorFilterColumnBindings>;
|
|
811
|
-
createdDateAfter?: string;
|
|
812
|
-
createdDateBefore?: string;
|
|
813
|
-
lastModifiedAfter?: string;
|
|
814
|
-
lastModifiedBefore?: string;
|
|
815
|
-
}
|
|
816
|
-
export interface ListTrustEntitiesFiltersBindings {
|
|
817
|
-
page: number;
|
|
818
|
-
pageSize: number;
|
|
819
|
-
sort?: SortableTrustEntityColumnBindings;
|
|
820
|
-
sortDirection?: SortDirection;
|
|
821
|
-
name?: string;
|
|
822
|
-
role?: TrustEntityRoleBindingEnum;
|
|
823
|
-
trustAnchor?: string;
|
|
824
|
-
didId?: string;
|
|
825
|
-
organisationId?: string;
|
|
826
|
-
types?: Array<TrustEntityTypeBindingEnum>;
|
|
827
|
-
entityKey?: string;
|
|
828
|
-
states?: Array<TrustEntityStateBindingEnum>;
|
|
829
|
-
exact?: Array<ExactTrustEntityFilterColumnBindings>;
|
|
830
|
-
createdDateAfter?: string;
|
|
831
|
-
createdDateBefore?: string;
|
|
832
|
-
lastModifiedAfter?: string;
|
|
833
|
-
lastModifiedBefore?: string;
|
|
834
|
-
}
|
|
835
|
-
export interface MdocMsoValidityResponseBindingDto {
|
|
728
|
+
export interface MdocMsoValidity {
|
|
836
729
|
expiration: string;
|
|
837
730
|
nextUpdate: string;
|
|
838
731
|
lastUpdate: string;
|
|
839
732
|
}
|
|
840
|
-
export interface
|
|
733
|
+
export interface Metadata {
|
|
841
734
|
dbVersion: string;
|
|
842
735
|
dbHash: string;
|
|
843
736
|
createdAt: string;
|
|
844
737
|
}
|
|
845
738
|
/** Optional messages to be displayed on (iOS) system overlay */
|
|
846
|
-
export interface
|
|
739
|
+
export interface NfcScanRequest {
|
|
847
740
|
inProgressMessage?: string;
|
|
848
741
|
failureMessage?: string;
|
|
849
742
|
successMessage?: string;
|
|
850
743
|
}
|
|
851
|
-
export interface
|
|
852
|
-
|
|
853
|
-
}
|
|
854
|
-
export interface OpenId4vciTxCodeBindingDto {
|
|
855
|
-
inputMode: OpenId4vciTxCodeInputModeBindingEnum;
|
|
744
|
+
export interface OpenId4vciTxCode {
|
|
745
|
+
inputMode: OpenId4vciTxCodeInputMode;
|
|
856
746
|
length?: number;
|
|
857
747
|
description?: string;
|
|
858
748
|
}
|
|
859
|
-
export interface
|
|
749
|
+
export interface PeripheralDiscoveryData {
|
|
860
750
|
deviceAddress: string;
|
|
861
751
|
localDeviceName?: string;
|
|
862
752
|
advertisedServices: Array<string>;
|
|
863
753
|
advertisedServiceData?: Record<string, number[]>;
|
|
864
754
|
}
|
|
865
|
-
export interface
|
|
866
|
-
requestGroups: Array<
|
|
867
|
-
credentials: Array<
|
|
755
|
+
export interface PresentationDefinition {
|
|
756
|
+
requestGroups: Array<PresentationDefinitionRequestGroup>;
|
|
757
|
+
credentials: Array<CredentialDetail>;
|
|
868
758
|
}
|
|
869
|
-
export interface
|
|
759
|
+
export interface PresentationDefinitionField {
|
|
870
760
|
id: string;
|
|
871
761
|
name?: string;
|
|
872
762
|
purpose?: string;
|
|
873
763
|
required: boolean;
|
|
874
764
|
keyMap: Record<string, string>;
|
|
875
765
|
}
|
|
876
|
-
export interface
|
|
766
|
+
export interface PresentationDefinitionRequestGroup {
|
|
877
767
|
id: string;
|
|
878
768
|
name?: string;
|
|
879
769
|
purpose?: string;
|
|
880
|
-
rule:
|
|
881
|
-
requestedCredentials: Array<
|
|
770
|
+
rule: PresentationDefinitionRule;
|
|
771
|
+
requestedCredentials: Array<PresentationDefinitionRequestedCredential>;
|
|
882
772
|
}
|
|
883
|
-
export interface
|
|
773
|
+
export interface PresentationDefinitionRequestedCredential {
|
|
884
774
|
id: string;
|
|
885
775
|
name?: string;
|
|
886
776
|
purpose?: string;
|
|
887
|
-
fields: Array<
|
|
777
|
+
fields: Array<PresentationDefinitionField>;
|
|
888
778
|
applicableCredentials: Array<string>;
|
|
889
779
|
inapplicableCredentials: Array<string>;
|
|
890
780
|
multiple?: boolean;
|
|
891
781
|
}
|
|
892
|
-
export interface
|
|
893
|
-
type:
|
|
782
|
+
export interface PresentationDefinitionRule {
|
|
783
|
+
type: PresentationDefinitionRuleType;
|
|
894
784
|
min?: number;
|
|
895
785
|
max?: number;
|
|
896
786
|
count?: number;
|
|
897
787
|
}
|
|
898
|
-
export interface
|
|
788
|
+
export interface PresentationDefinitionV2 {
|
|
789
|
+
credentialQueries: Record<string, CredentialQuery>;
|
|
790
|
+
credentialSets: Array<CredentialSet>;
|
|
791
|
+
}
|
|
792
|
+
export interface PresentationDefinitionV2Claim {
|
|
899
793
|
path: string;
|
|
900
|
-
schema:
|
|
901
|
-
value:
|
|
794
|
+
schema: ClaimSchema;
|
|
795
|
+
value: PresentationDefinitionV2ClaimValue;
|
|
902
796
|
userSelection: boolean;
|
|
903
797
|
required: boolean;
|
|
904
798
|
}
|
|
905
|
-
export interface
|
|
799
|
+
export interface PresentationDefinitionV2Credential {
|
|
906
800
|
id: string;
|
|
907
801
|
createdDate: string;
|
|
908
802
|
issuanceDate?: string;
|
|
909
803
|
lastModified: string;
|
|
910
804
|
revocationDate?: string;
|
|
911
|
-
issuer?:
|
|
912
|
-
issuerCertificate?:
|
|
913
|
-
holder?:
|
|
914
|
-
state:
|
|
915
|
-
schema:
|
|
916
|
-
claims: Array<
|
|
805
|
+
issuer?: IdentifierListItem;
|
|
806
|
+
issuerCertificate?: CertificateDetail;
|
|
807
|
+
holder?: IdentifierListItem;
|
|
808
|
+
state: CredentialState;
|
|
809
|
+
schema: CredentialSchemaListItem;
|
|
810
|
+
claims: Array<PresentationDefinitionV2Claim>;
|
|
917
811
|
redirectUri?: string;
|
|
918
|
-
role:
|
|
812
|
+
role: CredentialRole;
|
|
919
813
|
suspendEndDate?: string;
|
|
920
|
-
mdocMsoValidity?:
|
|
814
|
+
mdocMsoValidity?: MdocMsoValidity;
|
|
921
815
|
protocol: string;
|
|
922
816
|
profile?: string;
|
|
923
817
|
}
|
|
924
|
-
export interface
|
|
925
|
-
credentialQueries: Record<string, CredentialQueryResponseBindingDto>;
|
|
926
|
-
credentialSets: Array<CredentialSetResponseBindingDto>;
|
|
927
|
-
}
|
|
928
|
-
export interface PresentationSubmitCredentialRequestBindingDto {
|
|
818
|
+
export interface PresentationSubmitCredentialRequest {
|
|
929
819
|
credentialId: string;
|
|
930
820
|
submitClaims: Array<string>;
|
|
931
821
|
}
|
|
932
|
-
export interface
|
|
822
|
+
export interface PresentationSubmitV2CredentialRequest {
|
|
933
823
|
credentialId: string;
|
|
934
824
|
userSelections: Array<string>;
|
|
935
825
|
}
|
|
936
|
-
export interface
|
|
826
|
+
export interface ProofClaim {
|
|
827
|
+
schema: ProofClaimSchema;
|
|
828
|
+
value?: ProofClaimValue;
|
|
829
|
+
}
|
|
830
|
+
export interface ProofClaimSchema {
|
|
937
831
|
id: string;
|
|
938
832
|
requested: boolean;
|
|
939
833
|
required: boolean;
|
|
940
834
|
key: string;
|
|
941
835
|
dataType: string;
|
|
942
|
-
claims: Array<
|
|
836
|
+
claims: Array<ProofClaimSchema>;
|
|
943
837
|
array: boolean;
|
|
944
838
|
}
|
|
945
|
-
export interface
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
|
|
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;
|
|
949
857
|
}
|
|
950
|
-
export interface
|
|
951
|
-
|
|
952
|
-
|
|
858
|
+
export interface ProofInput {
|
|
859
|
+
claims: Array<ProofClaim>;
|
|
860
|
+
credential?: CredentialDetail;
|
|
861
|
+
credentialSchema: CredentialSchemaListItem;
|
|
953
862
|
}
|
|
954
|
-
export interface
|
|
955
|
-
|
|
956
|
-
|
|
863
|
+
export interface ProofInputSchema {
|
|
864
|
+
claimSchemas: Array<ProofClaimSchema>;
|
|
865
|
+
credentialSchema: CredentialSchemaListItem;
|
|
957
866
|
}
|
|
958
|
-
export interface
|
|
959
|
-
values: Array<
|
|
867
|
+
export interface ProofList {
|
|
868
|
+
values: Array<ProofListItem>;
|
|
960
869
|
totalPages: number;
|
|
961
870
|
totalItems: number;
|
|
962
871
|
}
|
|
963
|
-
export interface
|
|
872
|
+
export interface ProofListItem {
|
|
964
873
|
id: string;
|
|
965
874
|
createdDate: string;
|
|
966
875
|
lastModified: string;
|
|
@@ -970,25 +879,25 @@ export interface ProofListItemBindingDto {
|
|
|
970
879
|
protocol: string;
|
|
971
880
|
transport: string;
|
|
972
881
|
engagement?: string;
|
|
973
|
-
state:
|
|
974
|
-
role:
|
|
975
|
-
schema?:
|
|
882
|
+
state: ProofState;
|
|
883
|
+
role: ProofRole;
|
|
884
|
+
schema?: ProofSchemaListItem;
|
|
976
885
|
retainUntilDate?: string;
|
|
977
886
|
profile?: string;
|
|
978
887
|
}
|
|
979
|
-
export interface
|
|
888
|
+
export interface ProofListQuery {
|
|
980
889
|
page: number;
|
|
981
890
|
pageSize: number;
|
|
982
891
|
organisationId: string;
|
|
983
|
-
sort?:
|
|
892
|
+
sort?: SortableProofColumn;
|
|
984
893
|
sortDirection?: SortDirection;
|
|
985
894
|
name?: string;
|
|
986
895
|
profiles?: Array<string>;
|
|
987
896
|
ids?: Array<string>;
|
|
988
|
-
proofStates?: Array<
|
|
989
|
-
proofRoles?: Array<
|
|
897
|
+
proofStates?: Array<ProofState>;
|
|
898
|
+
proofRoles?: Array<ProofRole>;
|
|
990
899
|
proofSchemaIds?: Array<string>;
|
|
991
|
-
exact?: Array<
|
|
900
|
+
exact?: Array<ProofListQueryExactColumn>;
|
|
992
901
|
createdDateAfter?: string;
|
|
993
902
|
createdDateBefore?: string;
|
|
994
903
|
lastModifiedAfter?: string;
|
|
@@ -998,84 +907,104 @@ export interface ProofListQueryBindingDto {
|
|
|
998
907
|
completedDateAfter?: string;
|
|
999
908
|
completedDateBefore?: string;
|
|
1000
909
|
}
|
|
1001
|
-
export interface
|
|
1002
|
-
schema: ProofClaimSchemaBindingDto;
|
|
1003
|
-
value?: ProofRequestClaimValueBindingDto;
|
|
1004
|
-
}
|
|
1005
|
-
export interface ProofResponseBindingDto {
|
|
910
|
+
export interface ProofSchemaDetail {
|
|
1006
911
|
id: string;
|
|
1007
912
|
createdDate: string;
|
|
1008
913
|
lastModified: string;
|
|
1009
|
-
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
engagement?: string;
|
|
1015
|
-
transport: string;
|
|
1016
|
-
redirectUri?: string;
|
|
1017
|
-
proofInputs: Array<ProofInputBindingDto>;
|
|
1018
|
-
retainUntilDate?: string;
|
|
1019
|
-
requestedDate?: string;
|
|
1020
|
-
completedDate?: string;
|
|
1021
|
-
claimsRemovedAt?: string;
|
|
1022
|
-
profile?: string;
|
|
914
|
+
name: string;
|
|
915
|
+
organisationId: string;
|
|
916
|
+
expireDuration: number;
|
|
917
|
+
proofInputSchemas: Array<ProofInputSchema>;
|
|
918
|
+
importedSourceUrl?: string;
|
|
1023
919
|
}
|
|
1024
|
-
export interface
|
|
1025
|
-
values: Array<
|
|
920
|
+
export interface ProofSchemaList {
|
|
921
|
+
values: Array<ProofSchemaListItem>;
|
|
1026
922
|
totalPages: number;
|
|
1027
923
|
totalItems: number;
|
|
1028
924
|
}
|
|
1029
|
-
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 {
|
|
1030
949
|
url: string;
|
|
1031
950
|
}
|
|
1032
|
-
export interface
|
|
951
|
+
export interface ProposeProofRequest {
|
|
1033
952
|
protocol: string;
|
|
1034
953
|
organisationId: string;
|
|
1035
954
|
engagement: Array<string>;
|
|
1036
955
|
uiMessage?: string;
|
|
1037
956
|
}
|
|
1038
|
-
export interface
|
|
957
|
+
export interface ProposeProofResponse {
|
|
1039
958
|
proofId: string;
|
|
1040
959
|
interactionId: string;
|
|
1041
960
|
url?: string;
|
|
1042
961
|
}
|
|
1043
|
-
export interface
|
|
1044
|
-
|
|
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;
|
|
1045
976
|
}
|
|
1046
|
-
export interface
|
|
1047
|
-
identifiers: Array<
|
|
977
|
+
export interface ResolveTrustEntitiesRequest {
|
|
978
|
+
identifiers: Array<ResolveTrustEntityRequest>;
|
|
1048
979
|
}
|
|
1049
|
-
export interface
|
|
980
|
+
export interface ResolveTrustEntityRequest {
|
|
1050
981
|
id: string;
|
|
1051
982
|
certificateId?: string;
|
|
1052
983
|
}
|
|
1053
|
-
export interface
|
|
1054
|
-
|
|
984
|
+
export interface ResolvedJsonLdContext {
|
|
985
|
+
context: string;
|
|
986
|
+
}
|
|
987
|
+
export interface ResolvedTrustEntity {
|
|
988
|
+
trustEntity: TrustEntityDetail;
|
|
1055
989
|
certificateIds?: Array<string>;
|
|
1056
990
|
}
|
|
1057
|
-
export interface
|
|
991
|
+
export interface ServiceDescription {
|
|
1058
992
|
uuid: string;
|
|
1059
993
|
advertise: boolean;
|
|
1060
994
|
advertisedServiceData?: number[];
|
|
1061
|
-
characteristics: Array<
|
|
995
|
+
characteristics: Array<CharacteristicSettings>;
|
|
1062
996
|
}
|
|
1063
|
-
export interface
|
|
1064
|
-
params?:
|
|
997
|
+
export interface ShareProofRequest {
|
|
998
|
+
params?: ShareProofRequestParams;
|
|
1065
999
|
}
|
|
1066
|
-
export interface
|
|
1067
|
-
clientIdScheme?:
|
|
1000
|
+
export interface ShareProofRequestParams {
|
|
1001
|
+
clientIdScheme?: ClientIdScheme;
|
|
1068
1002
|
}
|
|
1069
|
-
export interface
|
|
1003
|
+
export interface ShareProofResponse {
|
|
1070
1004
|
url: string;
|
|
1071
1005
|
expiresAt?: string;
|
|
1072
1006
|
}
|
|
1073
|
-
export interface
|
|
1074
|
-
values: Array<TrustAnchorsListItemResponseBindingDto>;
|
|
1075
|
-
totalPages: number;
|
|
1076
|
-
totalItems: number;
|
|
1077
|
-
}
|
|
1078
|
-
export interface TrustAnchorsListItemResponseBindingDto {
|
|
1007
|
+
export interface TrustAnchorDetail {
|
|
1079
1008
|
id: string;
|
|
1080
1009
|
name: string;
|
|
1081
1010
|
createdDate: string;
|
|
@@ -1083,29 +1012,49 @@ export interface TrustAnchorsListItemResponseBindingDto {
|
|
|
1083
1012
|
type: string;
|
|
1084
1013
|
isPublisher: boolean;
|
|
1085
1014
|
publisherReference: string;
|
|
1086
|
-
entities: number;
|
|
1087
1015
|
}
|
|
1088
|
-
export interface
|
|
1089
|
-
values: Array<
|
|
1016
|
+
export interface TrustAnchorList {
|
|
1017
|
+
values: Array<TrustAnchorListItem>;
|
|
1090
1018
|
totalPages: number;
|
|
1091
1019
|
totalItems: number;
|
|
1092
1020
|
}
|
|
1093
|
-
export interface
|
|
1021
|
+
export interface TrustAnchorListItem {
|
|
1094
1022
|
id: string;
|
|
1095
1023
|
name: string;
|
|
1096
1024
|
createdDate: string;
|
|
1097
1025
|
lastModified: string;
|
|
1098
|
-
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1105
|
-
|
|
1026
|
+
type: string;
|
|
1027
|
+
isPublisher: boolean;
|
|
1028
|
+
publisherReference: string;
|
|
1029
|
+
entities: number;
|
|
1030
|
+
}
|
|
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;
|
|
1106
1044
|
}
|
|
1107
|
-
export interface
|
|
1108
|
-
|
|
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;
|
|
1109
1058
|
publicKey: string;
|
|
1110
1059
|
commonName?: string;
|
|
1111
1060
|
serialNumber: string;
|
|
@@ -1114,36 +1063,94 @@ export interface TrustEntityCertificateResponseBindingDto {
|
|
|
1114
1063
|
issuer: string;
|
|
1115
1064
|
subject: string;
|
|
1116
1065
|
fingerprint: string;
|
|
1117
|
-
extensions: Array<
|
|
1066
|
+
extensions: Array<CertificateX509Extension>;
|
|
1118
1067
|
}
|
|
1119
|
-
export interface
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
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>;
|
|
1124
1131
|
totalCredentials: number;
|
|
1125
1132
|
totalKeys: number;
|
|
1126
1133
|
totalDids: number;
|
|
1127
1134
|
totalIdentifiers: number;
|
|
1128
1135
|
}
|
|
1129
|
-
export interface
|
|
1136
|
+
export interface UpdateRemoteTrustEntityRequest {
|
|
1130
1137
|
didId: string;
|
|
1131
|
-
action?:
|
|
1138
|
+
action?: TrustEntityUpdateAction;
|
|
1132
1139
|
name?: string;
|
|
1133
1140
|
logo?: string | null;
|
|
1134
1141
|
website?: string | null;
|
|
1135
1142
|
termsUrl?: string | null;
|
|
1136
1143
|
privacyUrl?: string | null;
|
|
1137
|
-
role?:
|
|
1144
|
+
role?: TrustEntityRole;
|
|
1138
1145
|
}
|
|
1139
|
-
export interface
|
|
1146
|
+
export interface UpsertOrganisationRequest {
|
|
1140
1147
|
id: string;
|
|
1141
1148
|
name?: string;
|
|
1142
1149
|
deactivate?: boolean;
|
|
1143
1150
|
walletProvider?: string | null;
|
|
1144
1151
|
walletProviderIssuer?: string | null;
|
|
1145
1152
|
}
|
|
1146
|
-
export interface
|
|
1153
|
+
export interface Version {
|
|
1147
1154
|
target: string;
|
|
1148
1155
|
buildTime: string;
|
|
1149
1156
|
branch: string;
|
|
@@ -1152,20 +1159,16 @@ export interface VersionBindingDto {
|
|
|
1152
1159
|
rustVersion: string;
|
|
1153
1160
|
pipelineId: string;
|
|
1154
1161
|
}
|
|
1155
|
-
export interface
|
|
1162
|
+
export interface WalletProvider {
|
|
1156
1163
|
url: string;
|
|
1157
|
-
type:
|
|
1164
|
+
type: WalletProviderType;
|
|
1158
1165
|
}
|
|
1159
|
-
export type
|
|
1166
|
+
export type ApplicableCredentialOrFailureHint = {
|
|
1160
1167
|
type_: "APPLICABLE_CREDENTIALS";
|
|
1161
|
-
applicableCredentials: Array<
|
|
1168
|
+
applicableCredentials: Array<PresentationDefinitionV2Credential>;
|
|
1162
1169
|
} | {
|
|
1163
1170
|
type_: "FAILURE_HINT";
|
|
1164
|
-
failureHint:
|
|
1165
|
-
};
|
|
1166
|
-
export type BindingError = {
|
|
1167
|
-
type_: "ERROR_RESPONSE";
|
|
1168
|
-
data: ErrorResponseBindingDto;
|
|
1171
|
+
failureHint: CredentialQueryFailureHint;
|
|
1169
1172
|
};
|
|
1170
1173
|
export type BleError = {
|
|
1171
1174
|
type_: "ADAPTER_NOT_ENABLED";
|
|
@@ -1211,7 +1214,7 @@ export type BleError = {
|
|
|
1211
1214
|
type_: "UNKNOWN";
|
|
1212
1215
|
reason: string;
|
|
1213
1216
|
};
|
|
1214
|
-
export declare enum
|
|
1217
|
+
export declare enum CacheType {
|
|
1215
1218
|
DID_DOCUMENT = "DID_DOCUMENT",
|
|
1216
1219
|
JSON_LD_CONTEXT = "JSON_LD_CONTEXT",
|
|
1217
1220
|
STATUS_LIST_CREDENTIAL = "STATUS_LIST_CREDENTIAL",
|
|
@@ -1222,28 +1225,28 @@ export declare enum CacheTypeBindingDto {
|
|
|
1222
1225
|
ANDROID_ATTESTATION_CRL = "ANDROID_ATTESTATION_CRL",
|
|
1223
1226
|
OPEN_ID_METADATA = "OPEN_ID_METADATA"
|
|
1224
1227
|
}
|
|
1225
|
-
export declare enum
|
|
1228
|
+
export declare enum CertificateState {
|
|
1226
1229
|
NOT_YET_ACTIVE = "NOT_YET_ACTIVE",
|
|
1227
1230
|
ACTIVE = "ACTIVE",
|
|
1228
1231
|
REVOKED = "REVOKED",
|
|
1229
1232
|
EXPIRED = "EXPIRED"
|
|
1230
1233
|
}
|
|
1231
|
-
export declare enum
|
|
1234
|
+
export declare enum CharacteristicPermission {
|
|
1232
1235
|
READ = "READ",
|
|
1233
1236
|
WRITE = "WRITE"
|
|
1234
1237
|
}
|
|
1235
|
-
export declare enum
|
|
1238
|
+
export declare enum CharacteristicProperty {
|
|
1236
1239
|
READ = "READ",
|
|
1237
1240
|
WRITE = "WRITE",
|
|
1238
1241
|
NOTIFY = "NOTIFY",
|
|
1239
1242
|
WRITE_WITHOUT_RESPONSE = "WRITE_WITHOUT_RESPONSE",
|
|
1240
1243
|
INDICATE = "INDICATE"
|
|
1241
1244
|
}
|
|
1242
|
-
export declare enum
|
|
1245
|
+
export declare enum CharacteristicWriteType {
|
|
1243
1246
|
WITH_RESPONSE = "WITH_RESPONSE",
|
|
1244
1247
|
WITHOUT_RESPONSE = "WITHOUT_RESPONSE"
|
|
1245
1248
|
}
|
|
1246
|
-
export type
|
|
1249
|
+
export type ClaimValue = {
|
|
1247
1250
|
type_: "BOOLEAN";
|
|
1248
1251
|
value: boolean;
|
|
1249
1252
|
} | {
|
|
@@ -1257,43 +1260,48 @@ export type ClaimValueBindingDto = {
|
|
|
1257
1260
|
value: string;
|
|
1258
1261
|
} | {
|
|
1259
1262
|
type_: "NESTED";
|
|
1260
|
-
value: Array<
|
|
1263
|
+
value: Array<Claim>;
|
|
1261
1264
|
};
|
|
1262
|
-
export declare enum
|
|
1265
|
+
export declare enum ClientIdScheme {
|
|
1263
1266
|
REDIRECT_URI = "REDIRECT_URI",
|
|
1264
1267
|
VERIFIER_ATTESTATION = "VERIFIER_ATTESTATION",
|
|
1265
1268
|
DID = "DID",
|
|
1266
1269
|
X509_SAN_DNS = "X509_SAN_DNS"
|
|
1267
1270
|
}
|
|
1268
|
-
export type
|
|
1271
|
+
export type ConnectionEvent = {
|
|
1269
1272
|
type_: "CONNECTED";
|
|
1270
|
-
deviceInfo:
|
|
1273
|
+
deviceInfo: DeviceInfo;
|
|
1271
1274
|
} | {
|
|
1272
1275
|
type_: "DISCONNECTED";
|
|
1273
1276
|
deviceAddress: string;
|
|
1274
1277
|
};
|
|
1275
|
-
export declare enum
|
|
1278
|
+
export declare enum CreateSelfSignedCaRequestIssuerAlternativeNameType {
|
|
1276
1279
|
EMAIL = "EMAIL",
|
|
1277
1280
|
URI = "URI"
|
|
1278
1281
|
}
|
|
1279
|
-
export declare enum
|
|
1282
|
+
export declare enum CredentialListIncludeEntityType {
|
|
1280
1283
|
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES",
|
|
1281
1284
|
CREDENTIAL = "CREDENTIAL"
|
|
1282
1285
|
}
|
|
1283
|
-
export declare enum
|
|
1286
|
+
export declare enum CredentialListQueryExactColumn {
|
|
1284
1287
|
NAME = "NAME"
|
|
1285
1288
|
}
|
|
1286
|
-
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 {
|
|
1287
1295
|
NO_CREDENTIAL = "NO_CREDENTIAL",
|
|
1288
1296
|
VALIDITY = "VALIDITY",
|
|
1289
1297
|
CONSTRAINT = "CONSTRAINT"
|
|
1290
1298
|
}
|
|
1291
|
-
export declare enum
|
|
1299
|
+
export declare enum CredentialRole {
|
|
1292
1300
|
HOLDER = "HOLDER",
|
|
1293
1301
|
ISSUER = "ISSUER",
|
|
1294
1302
|
VERIFIER = "VERIFIER"
|
|
1295
1303
|
}
|
|
1296
|
-
export declare enum
|
|
1304
|
+
export declare enum CredentialSchemaCodeType {
|
|
1297
1305
|
BARCODE = "BARCODE",
|
|
1298
1306
|
MRZ = "MRZ",
|
|
1299
1307
|
QR_CODE = "QR_CODE"
|
|
@@ -1301,11 +1309,11 @@ export declare enum CredentialSchemaCodeTypeBindingDto {
|
|
|
1301
1309
|
export declare enum CredentialSchemaListIncludeEntityType {
|
|
1302
1310
|
LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES"
|
|
1303
1311
|
}
|
|
1304
|
-
export declare enum
|
|
1312
|
+
export declare enum CredentialSchemaListQueryExactColumn {
|
|
1305
1313
|
NAME = "NAME",
|
|
1306
1314
|
SCHEMA_ID = "SCHEMA_ID"
|
|
1307
1315
|
}
|
|
1308
|
-
export declare enum
|
|
1316
|
+
export declare enum CredentialState {
|
|
1309
1317
|
CREATED = "CREATED",
|
|
1310
1318
|
PENDING = "PENDING",
|
|
1311
1319
|
OFFERED = "OFFERED",
|
|
@@ -1316,29 +1324,19 @@ export declare enum CredentialStateBindingEnum {
|
|
|
1316
1324
|
ERROR = "ERROR",
|
|
1317
1325
|
INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
|
|
1318
1326
|
}
|
|
1319
|
-
export declare enum
|
|
1320
|
-
LOCAL = "LOCAL",
|
|
1321
|
-
REMOTE = "REMOTE"
|
|
1322
|
-
}
|
|
1323
|
-
export declare enum ExactDidFilterColumnBindingEnum {
|
|
1327
|
+
export declare enum DidListQueryExactColumn {
|
|
1324
1328
|
NAME = "NAME",
|
|
1325
1329
|
DID = "DID"
|
|
1326
1330
|
}
|
|
1327
|
-
export declare enum
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
export declare enum ExactTrustAnchorFilterColumnBindings {
|
|
1331
|
-
NAME = "NAME",
|
|
1332
|
-
TYPE = "TYPE"
|
|
1333
|
-
}
|
|
1334
|
-
export declare enum ExactTrustEntityFilterColumnBindings {
|
|
1335
|
-
NAME = "NAME"
|
|
1331
|
+
export declare enum DidType {
|
|
1332
|
+
LOCAL = "LOCAL",
|
|
1333
|
+
REMOTE = "REMOTE"
|
|
1336
1334
|
}
|
|
1337
|
-
export type
|
|
1335
|
+
export type HandleInvitationResponse = {
|
|
1338
1336
|
type_: "CREDENTIAL_ISSUANCE";
|
|
1339
1337
|
/** For reference. */
|
|
1340
1338
|
interactionId: string;
|
|
1341
|
-
keyStorageSecurityLevels?: Array<
|
|
1339
|
+
keyStorageSecurityLevels?: Array<KeyStorageSecurity>;
|
|
1342
1340
|
keyAlgorithms?: Array<string>;
|
|
1343
1341
|
/**
|
|
1344
1342
|
* Metadata for entering a transaction code
|
|
@@ -1346,7 +1344,7 @@ export type HandleInvitationResponseBindingEnum = {
|
|
|
1346
1344
|
* wallet user must input a transaction code to receive the offered credential.
|
|
1347
1345
|
* This code is typically sent through a separate channel such as SMS or email.
|
|
1348
1346
|
*/
|
|
1349
|
-
txCode?:
|
|
1347
|
+
txCode?: OpenId4vciTxCode;
|
|
1350
1348
|
protocol: string;
|
|
1351
1349
|
requiresWalletInstanceAttestation: boolean;
|
|
1352
1350
|
} | {
|
|
@@ -1367,7 +1365,7 @@ export type HandleInvitationResponseBindingEnum = {
|
|
|
1367
1365
|
proofId: string;
|
|
1368
1366
|
protocol: string;
|
|
1369
1367
|
};
|
|
1370
|
-
export declare enum
|
|
1368
|
+
export declare enum HistoryAction {
|
|
1371
1369
|
ACCEPTED = "ACCEPTED",
|
|
1372
1370
|
CREATED = "CREATED",
|
|
1373
1371
|
CSR_GENERATED = "CSR_GENERATED",
|
|
@@ -1397,7 +1395,7 @@ export declare enum HistoryActionBindingEnum {
|
|
|
1397
1395
|
INTERACTION_EXPIRED = "INTERACTION_EXPIRED",
|
|
1398
1396
|
DELIVERED = "DELIVERED"
|
|
1399
1397
|
}
|
|
1400
|
-
export declare enum
|
|
1398
|
+
export declare enum HistoryEntityType {
|
|
1401
1399
|
KEY = "KEY",
|
|
1402
1400
|
DID = "DID",
|
|
1403
1401
|
IDENTIFIER = "IDENTIFIER",
|
|
@@ -1421,19 +1419,22 @@ export declare enum HistoryEntityTypeBindingEnum {
|
|
|
1421
1419
|
STS_TOKEN = "STS_TOKEN",
|
|
1422
1420
|
SIGNATURE = "SIGNATURE",
|
|
1423
1421
|
NOTIFICATION = "NOTIFICATION",
|
|
1424
|
-
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"
|
|
1425
1426
|
}
|
|
1426
|
-
export type
|
|
1427
|
+
export type HistoryMetadata = {
|
|
1427
1428
|
type_: "UNEXPORTABLE_ENTITIES";
|
|
1428
|
-
value:
|
|
1429
|
+
value: UnexportableEntities;
|
|
1429
1430
|
} | {
|
|
1430
1431
|
type_: "ERROR_METADATA";
|
|
1431
|
-
value:
|
|
1432
|
+
value: HistoryErrorMetadata;
|
|
1432
1433
|
} | {
|
|
1433
1434
|
type_: "WALLET_UNIT_JWT";
|
|
1434
1435
|
value: [string];
|
|
1435
1436
|
};
|
|
1436
|
-
export declare enum
|
|
1437
|
+
export declare enum HistorySearchType {
|
|
1437
1438
|
CLAIM_NAME = "CLAIM_NAME",
|
|
1438
1439
|
CLAIM_VALUE = "CLAIM_VALUE",
|
|
1439
1440
|
CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME",
|
|
@@ -1443,30 +1444,33 @@ export declare enum HistorySearchEnumBindingEnum {
|
|
|
1443
1444
|
VERIFIER_NAME = "VERIFIER_NAME",
|
|
1444
1445
|
PROOF_SCHEMA_NAME = "PROOF_SCHEMA_NAME"
|
|
1445
1446
|
}
|
|
1446
|
-
export declare enum
|
|
1447
|
+
export declare enum IdentifierListQueryExactColumn {
|
|
1448
|
+
NAME = "NAME"
|
|
1449
|
+
}
|
|
1450
|
+
export declare enum IdentifierState {
|
|
1447
1451
|
ACTIVE = "ACTIVE",
|
|
1448
1452
|
DEACTIVATED = "DEACTIVATED"
|
|
1449
1453
|
}
|
|
1450
|
-
export declare enum
|
|
1454
|
+
export declare enum IdentifierType {
|
|
1451
1455
|
KEY = "KEY",
|
|
1452
1456
|
DID = "DID",
|
|
1453
1457
|
CERTIFICATE = "CERTIFICATE",
|
|
1454
1458
|
CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
|
|
1455
1459
|
}
|
|
1456
|
-
export declare enum
|
|
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
|
}
|