@procivis/react-native-one-core 1.94025.0 → 1.98296.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.
@@ -1,103 +1,156 @@
1
- export interface BackupCreateBindingDto {
2
- historyId: string;
3
- file: string;
4
- unexportable: UnexportableEntitiesBindingDto;
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 CertificateResponseBindingDto {
14
+ export interface CertificateDetail {
10
15
  id: string;
11
16
  identifierId: string;
12
17
  createdDate: string;
13
18
  lastModified: string;
14
- state: CertificateStateBindingEnum;
19
+ state: CertificateState;
15
20
  name: string;
16
21
  chain: string;
17
- key?: KeyListItemResponseBindingDto;
18
- x509Attributes: CertificateX509AttributesBindingDto;
22
+ key?: KeyListItem;
23
+ x509Attributes: CertificateX509Attributes;
24
+ roles: Array<CertificateRole>;
19
25
  }
20
- export interface CertificateX509AttributesBindingDto {
26
+ export interface CertificateX509Attributes {
21
27
  serialNumber: string;
22
28
  notBefore: string;
23
29
  notAfter: string;
24
30
  issuer: string;
25
31
  subject: string;
26
32
  fingerprint: string;
27
- extensions: Array<CertificateX509ExtensionBindingDto>;
33
+ extensions: Array<CertificateX509Extension>;
28
34
  }
29
- export interface CertificateX509ExtensionBindingDto {
35
+ export interface CertificateX509Extension {
30
36
  oid: string;
31
37
  value: string;
32
38
  critical: boolean;
33
39
  }
34
- export interface CharacteristicBindingDto {
40
+ export interface CharacteristicSettings {
35
41
  uuid: string;
36
- permissions: Array<CharacteristicPermissionBindingEnum>;
37
- properties: Array<CharacteristicPropertyBindingEnum>;
42
+ permissions: Array<CharacteristicPermission>;
43
+ properties: Array<CharacteristicProperty>;
38
44
  }
39
- export interface ClaimBindingDto {
45
+ export interface Claim {
40
46
  path: string;
41
- schema: CredentialClaimSchemaBindingDto;
42
- value: ClaimValueBindingDto;
47
+ schema: ClaimSchema;
48
+ value: ClaimValue;
43
49
  }
44
- export interface ConfigBindingDto {
50
+ export interface ClaimSchema {
51
+ id: string;
52
+ createdDate: string;
53
+ lastModified: string;
54
+ key: string;
55
+ datatype: string;
56
+ required: boolean;
57
+ array: boolean;
58
+ claims: Array<ClaimSchema>;
59
+ }
60
+ export interface Config {
61
+ /** Credential formats. */
45
62
  format: Record<string, string>;
63
+ /** Protocols used for issuance. */
46
64
  issuanceProtocol: Record<string, string>;
65
+ /** Protocols used for presentation and verification. */
47
66
  verificationProtocol: Record<string, string>;
67
+ /** Protocols used for communicating. */
48
68
  transport: Record<string, string>;
69
+ /** Methods for managing credential status. */
49
70
  revocation: Record<string, string>;
71
+ /** DID methods for identifying agents. */
50
72
  did: Record<string, string>;
73
+ /** Identifier types for representing agent's identities. */
51
74
  identifier: Record<string, string>;
75
+ /** Data types for validation. */
52
76
  datatype: Record<string, string>;
77
+ /** Key algorithms used for signatures. */
53
78
  keyAlgorithm: Record<string, string>;
79
+ /** Storage options for keys. */
54
80
  keyStorage: Record<string, string>;
81
+ /** Trust management solutions. */
55
82
  trustManagement: Record<string, string>;
83
+ /** Entities held in temporary storage. */
56
84
  cacheEntities: Record<string, string>;
85
+ /** Tasks which can be run via the `runTask` method. */
57
86
  task: Record<string, string>;
87
+ /** Configuration for wallet-initiated issuance flows. */
58
88
  credentialIssuer: Record<string, string>;
89
+ /**
90
+ * Configurations from the Wallet Provider, including version
91
+ * management, trust collections, and feature flags.
92
+ */
59
93
  walletProvider: Record<string, string>;
60
94
  }
61
- export interface ContinueIssuanceResponseBindingDto {
95
+ export interface ContinueIssuanceResponse {
62
96
  /** For reference. */
63
97
  interactionId: string;
64
- keyStorageSecurityLevels?: Array<KeyStorageSecurityBindingEnum>;
98
+ /** Key storage required to complete issuance. */
99
+ keyStorageSecurityLevels?: Array<KeyStorageSecurity>;
100
+ /** Key algorithms suitable for issuance. */
65
101
  keyAlgorithms?: Array<string>;
102
+ /** Whether a valid WIA is required to complete issuance. */
66
103
  requiresWalletInstanceAttestation: boolean;
104
+ /** Protocol used for issuance. */
67
105
  protocol: string;
68
106
  }
69
- export interface CreateCertificateAuthorityRequestBindingDto {
107
+ export interface CreateCertificateAuthorityRequest {
70
108
  name?: string;
71
109
  keyId: string;
72
110
  chain?: string;
73
- selfSigned?: CreateSelfSignedCertificateAuthorityRequestBindingDto;
111
+ selfSigned?: CreateSelfSignedCertificateAuthorityRequest;
74
112
  }
75
- export interface CreateCertificateRequestBindingDto {
113
+ export interface CreateCertificateRequest {
76
114
  name?: string;
77
115
  chain: string;
78
116
  keyId: string;
117
+ roles: Array<CertificateRole>;
79
118
  }
80
- export interface CreateIdentifierDidRequestBindingDto {
119
+ export interface CreateDidRequest {
120
+ organisationId: string;
121
+ name: string;
122
+ didMethod: string;
123
+ keys: DidRequestKeys;
124
+ params: Record<string, string>;
125
+ }
126
+ export interface CreateIdentifierDidRequest {
81
127
  name?: string;
82
128
  method: string;
83
- keys: DidRequestKeysBindingDto;
129
+ keys: DidRequestKeys;
84
130
  params: Record<string, string>;
85
131
  }
86
- export interface CreateIdentifierKeyRequestBindingDto {
132
+ export interface CreateIdentifierKeyRequest {
87
133
  keyId: string;
88
134
  }
89
- export interface CreateIdentifierRequestBindingDto {
135
+ export interface CreateIdentifierRequest {
90
136
  organisationId: string;
91
137
  name: string;
92
138
  /** Deprecated. Use the `key` field instead. */
93
139
  keyId?: string;
94
- key?: CreateIdentifierKeyRequestBindingDto;
95
- did?: CreateIdentifierDidRequestBindingDto;
96
- certificates?: Array<CreateCertificateRequestBindingDto>;
97
- certificateAuthorities?: Array<CreateCertificateAuthorityRequestBindingDto>;
98
- }
99
- export interface CreateOrganisationRequestBindingDto {
140
+ key?: CreateIdentifierKeyRequest;
141
+ did?: CreateIdentifierDidRequest;
142
+ certificates?: Array<CreateCertificateRequest>;
143
+ certificateAuthorities?: Array<CreateCertificateAuthorityRequest>;
144
+ trustInformation: Array<CreateIdentifierTrustInformationRequest>;
145
+ }
146
+ export interface CreateIdentifierTrustInformationRequest {
147
+ data: string;
148
+ type: IdentifierTrustInformationType;
149
+ }
150
+ export interface CreateOrganisationRequest {
151
+ /** If no UUID is passed, one will be created. */
100
152
  id?: string;
153
+ /** If no name is passed, the UUID will be used. */
101
154
  name?: string;
102
155
  }
103
156
  /**
@@ -107,30 +160,66 @@ export interface CreateOrganisationRequestBindingDto {
107
160
  * (for QR device engagement) or NFC engagement parameters from
108
161
  * `nfc_read_iso_mdl_engagement`.
109
162
  */
110
- export interface CreateProofRequestBindingDto {
163
+ export interface CreateProofRequest {
164
+ /** Choose a proof schema to use. */
111
165
  proofSchemaId: string;
166
+ /** Deprecated. Use `verifierIdentifierId`. */
112
167
  verifierDidId?: string;
168
+ /** Choose the identifier to use to make the request. */
113
169
  verifierIdentifierId?: string;
170
+ /**
171
+ * Choose the protocol to use for verification. Check the
172
+ * `verificationProtocol` object of your configuration for
173
+ * supported options and reference the configuration instance.
174
+ */
114
175
  protocol: string;
176
+ /**
177
+ * When a shared proof is accepted, the wallet will be redirected
178
+ * to the resource specified here, if redirects are enabled in the
179
+ * configuration. The URI must use a scheme that is allowed by the
180
+ * configuration.
181
+ */
115
182
  redirectUri?: string;
183
+ /**
184
+ * If the identifier contains multiple keys, use this to specify
185
+ * which key to use. If omitted, the first suitable key is used.
186
+ */
116
187
  verifierKey?: string;
188
+ /**
189
+ * If the identifier contains multiple certificates, use this to
190
+ * specify which key to use. If omitted, the first suitable
191
+ * certificate is used.
192
+ */
117
193
  verifierCertificate?: string;
194
+ /** Use to specify device engagement type. */
118
195
  isoMdlEngagement?: string;
196
+ /**
197
+ * Choose the transport protocol for the exchange. Check the
198
+ * `transport` object of your configuration for supported
199
+ * options and reference the configuration instance.
200
+ */
119
201
  transport?: Array<string>;
202
+ /** Country profile to associate with this request. */
120
203
  profile?: string;
204
+ /** Use for ISO mDL verification over BLE. */
121
205
  engagement?: string;
122
206
  }
123
- export interface CreateProofSchemaClaimRequestDto {
207
+ export interface CreateProofSchemaInput {
208
+ credentialSchemaId: string;
209
+ claimSchemas: Array<CreateProofSchemaInputClaim>;
210
+ }
211
+ export interface CreateProofSchemaInputClaim {
124
212
  id: string;
125
213
  required: boolean;
126
214
  }
127
- export interface CreateProofSchemaRequestDto {
215
+ export interface CreateProofSchemaRequest {
128
216
  name: string;
129
217
  organisationId: string;
130
218
  expireDuration: number;
131
- proofInputSchemas: Array<ProofInputSchemaRequestDto>;
219
+ /** Set of all claims to request. */
220
+ proofInputSchemas: Array<CreateProofSchemaInput>;
132
221
  }
133
- export interface CreateRemoteTrustEntityRequestBindingDto {
222
+ export interface CreateRemoteTrustEntityRequest {
134
223
  didId: string;
135
224
  trustAnchorId?: string;
136
225
  name: string;
@@ -138,193 +227,267 @@ export interface CreateRemoteTrustEntityRequestBindingDto {
138
227
  termsUrl?: string;
139
228
  privacyUrl?: string;
140
229
  website?: string;
141
- role: TrustEntityRoleBindingEnum;
230
+ role: TrustEntityRole;
142
231
  }
143
- export interface CreateSelfSignedCaRequestIssuerAlternativeNameBindingDto {
144
- type: CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum;
232
+ export interface CreateSelfSignedCertificateAuthorityIssuerAlternativeNameRequest {
233
+ type: CreateSelfSignedCaRequestIssuerAlternativeNameType;
145
234
  name: string;
146
235
  }
147
- export interface CreateSelfSignedCertificateAuthorityRequestBindingDto {
148
- content: CreateSelfSignedCertificateAuthorityRequestContentBindingDto;
236
+ export interface CreateSelfSignedCertificateAuthorityRequest {
237
+ content: CreateSelfSignedCertificateAuthorityRequestContent;
149
238
  signer: string;
150
239
  validityStart?: string;
151
240
  validityEnd?: string;
152
241
  }
153
- export interface CreateSelfSignedCertificateAuthorityRequestContentBindingDto {
154
- subject: KeyGenerateCsrRequestSubjectBindingDto;
155
- issuerAlternativeName?: CreateSelfSignedCaRequestIssuerAlternativeNameBindingDto;
242
+ export interface CreateSelfSignedCertificateAuthorityRequestContent {
243
+ subject: CsrSubject;
244
+ issuerAlternativeName?: CreateSelfSignedCertificateAuthorityIssuerAlternativeNameRequest;
156
245
  }
157
- export interface CreateTrustAnchorRequestBindingDto {
246
+ export interface CreateTrustAnchorRequest {
158
247
  name: string;
159
248
  type: string;
160
249
  isPublisher?: boolean;
161
250
  publisherReference?: string;
162
251
  }
163
- export interface CreateTrustEntityRequestBindingDto {
252
+ export interface CreateTrustEntityRequest {
164
253
  name: string;
165
254
  logo?: string;
166
255
  website?: string;
167
256
  termsUrl?: string;
168
257
  privacyUrl?: string;
169
- role: TrustEntityRoleBindingEnum;
258
+ role: TrustEntityRole;
170
259
  trustAnchorId: string;
171
260
  didId?: string;
172
- type?: TrustEntityTypeBindingEnum;
261
+ type?: TrustEntityType;
173
262
  identifierId?: string;
174
263
  content?: string;
175
264
  organisationId: string;
176
265
  }
177
- export interface CredentialClaimSchemaBindingDto {
178
- id: string;
179
- createdDate: string;
180
- lastModified: string;
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>;
266
+ export interface CreatedBackup {
267
+ historyId: string;
268
+ file: string;
269
+ unexportable: UnexportableEntities;
189
270
  }
190
- export interface CredentialDetailBindingDto {
271
+ export interface CredentialDetail {
191
272
  id: string;
192
273
  createdDate: string;
193
274
  issuanceDate?: string;
194
275
  lastModified: string;
195
276
  revocationDate?: string;
196
- issuer?: GetIdentifierListItemBindingDto;
197
- holder?: GetIdentifierListItemBindingDto;
198
- state: CredentialStateBindingEnum;
199
- schema: CredentialSchemaBindingDto;
200
- claims: Array<ClaimBindingDto>;
277
+ /** Credential issuer metadata. */
278
+ issuer?: IdentifierListItem;
279
+ /** Credential holder metadata. */
280
+ holder?: IdentifierListItem;
281
+ /** State representation of the credential in the system. */
282
+ state: CredentialState;
283
+ /** Schema of the credential. */
284
+ schema: CredentialSchemaListItem;
285
+ claims: Array<Claim>;
201
286
  redirectUri?: string;
202
- role: CredentialRoleBindingDto;
287
+ /**
288
+ * The role the system has in relation to the credential. For example,
289
+ * if the system received the credential as a wallet this value will
290
+ * be `HOLDER`. If the system verified this credential during a presentation,
291
+ * this value will be `VERIFIER`.
292
+ */
293
+ role: CredentialRole;
294
+ /** Scheduled date for credential reactivation. */
203
295
  suspendEndDate?: string;
204
- mdocMsoValidity?: MdocMsoValidityResponseBindingDto;
296
+ /** Validity details for ISO mdocs. */
297
+ mdocMsoValidity?: MdocMsoValidity;
298
+ /** Protocol used to issue the credential. */
205
299
  protocol: string;
300
+ /** Country profile associated with the credential. */
206
301
  profile?: string;
207
302
  }
208
- export interface CredentialListBindingDto {
209
- values: Array<CredentialListItemBindingDto>;
303
+ export interface CredentialList {
304
+ values: Array<CredentialListItem>;
210
305
  totalPages: number;
211
306
  totalItems: number;
212
307
  }
213
- export interface CredentialListItemBindingDto {
308
+ export interface CredentialListItem {
214
309
  id: string;
215
310
  createdDate: string;
216
311
  issuanceDate?: string;
217
312
  lastModified: string;
218
313
  revocationDate?: string;
314
+ /** Credential issuer metadata. */
219
315
  issuer?: string;
220
- state: CredentialStateBindingEnum;
221
- schema: CredentialSchemaBindingDto;
222
- role: CredentialRoleBindingDto;
316
+ /** State representation of the credential in the system. */
317
+ state: CredentialState;
318
+ /** Schema of the credential. */
319
+ schema: CredentialSchemaListItem;
320
+ /**
321
+ * The role the system has in relation to the credential. For example,
322
+ * if the system received the credential as a wallet this value will
323
+ * be `HOLDER`. If the system verified this credential during a presentation,
324
+ * this value will be `VERIFIER`.
325
+ */
326
+ role: CredentialRole;
327
+ /** Scheduled date for credential reactivation. */
223
328
  suspendEndDate?: string;
329
+ /** Protocol used to issue the credential. */
224
330
  protocol: string;
331
+ /** Country profile associated with the credential. */
225
332
  profile?: string;
226
333
  }
227
- export interface CredentialListQueryBindingDto {
334
+ export interface CredentialListQuery {
335
+ /** Page number to retrieve (0-based indexing). */
228
336
  page: number;
337
+ /** Number of items to return per page. */
229
338
  pageSize: number;
230
- sort?: SortableCredentialColumnBindingEnum;
339
+ /** Field value to sort results by. */
340
+ sort?: SortableCredentialColumn;
341
+ /** Direction to sort results by. */
231
342
  sortDirection?: SortDirection;
343
+ /** Specifies the organizational context for this operation. */
232
344
  organisationId: string;
345
+ /** Return only credentials with a name starting with this string. */
233
346
  name?: string;
347
+ /** Filter by one or more country profiles. */
234
348
  profiles?: Array<string>;
349
+ /** Search for a string. */
235
350
  searchText?: string;
236
- searchType?: Array<SearchTypeBindingEnum>;
237
- exact?: Array<CredentialListQueryExactColumnBindingEnum>;
238
- roles?: Array<CredentialRoleBindingDto>;
351
+ /**
352
+ * Changes where `searchText` is searched. Choose one or more
353
+ * `searchType`s and pass a `searchText`.
354
+ */
355
+ searchType?: Array<CredentialListQuerySearchType>;
356
+ /** Set which filters apply in an exact way. */
357
+ exact?: Array<CredentialListQueryExactColumn>;
358
+ /**
359
+ * Filter credentials by one or more roles: issued by the system,
360
+ * verified by the system, or held by the system as a wallet.
361
+ */
362
+ roles?: Array<CredentialRole>;
363
+ /** Filter by one or more UUIDs. */
239
364
  ids?: Array<string>;
240
- states?: Array<CredentialStateBindingEnum>;
241
- include?: Array<CredentialListIncludeEntityTypeBindingEnum>;
365
+ /** Filter by one or more credential states. */
366
+ states?: Array<CredentialState>;
367
+ /**
368
+ * Additional fields to include in response objects. Omitting
369
+ * this keeps responses shorter.
370
+ */
371
+ include?: Array<CredentialListIncludeEntityType>;
372
+ /** Return only credentials with the specified credential schema(s). */
242
373
  credentialSchemaIds?: Array<string>;
374
+ /**
375
+ * Return only credentials created after this time. Timestamp in
376
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
377
+ */
243
378
  createdDateAfter?: string;
379
+ /**
380
+ * Return only credentials created before this time. Timestamp in
381
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
382
+ */
244
383
  createdDateBefore?: string;
384
+ /**
385
+ * Return only credentials last modified after this time. Timestamp in
386
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
387
+ */
245
388
  lastModifiedAfter?: string;
389
+ /**
390
+ * Return only credentials last modified before this time. Timestamp in
391
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
392
+ */
246
393
  lastModifiedBefore?: string;
394
+ /**
395
+ * Return only credentials issued after this time. Timestamp in
396
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
397
+ */
247
398
  issuanceDateAfter?: string;
399
+ /**
400
+ * Return only credentials issued before this time. Timestamp in
401
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
402
+ */
248
403
  issuanceDateBefore?: string;
404
+ /**
405
+ * Return only credentials revoked after this time. Timestamp in
406
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
407
+ */
249
408
  revocationDateAfter?: string;
409
+ /**
410
+ * Return only credentials revoked before this time. Timestamp in
411
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
412
+ */
250
413
  revocationDateBefore?: string;
251
414
  }
252
- export interface CredentialQueryFailureHintResponseBindingDto {
253
- reason: CredentialQueryFailureReasonBindingEnum;
254
- credentialSchema?: CredentialSchemaDetailBindingDto;
255
- }
256
- export interface CredentialQueryResponseBindingDto {
415
+ export interface CredentialQuery {
257
416
  multiple: boolean;
258
- credentialOrFailureHint: ApplicableCredentialOrFailureHintBindingEnum;
417
+ credentialOrFailureHint: ApplicableCredentialOrFailureHint;
259
418
  }
260
- export interface CredentialRevocationCheckResponseBindingDto {
419
+ export interface CredentialQueryFailureHint {
420
+ reason: CredentialQueryFailureReason;
421
+ credentialSchema?: CredentialSchemaDetail;
422
+ }
423
+ export interface CredentialRevocationCheckResponse {
261
424
  credentialId: string;
262
- status: CredentialStateBindingEnum;
425
+ status: CredentialState;
263
426
  success: boolean;
264
427
  reason?: string;
265
428
  }
266
- export interface CredentialSchemaBackgroundPropertiesBindingDto {
429
+ export interface CredentialSchemaBackgroundProperties {
267
430
  color?: string;
268
431
  image?: string;
269
432
  }
270
- export interface CredentialSchemaBindingDto {
433
+ export interface CredentialSchemaCodeProperties {
434
+ attribute: string;
435
+ type: CredentialSchemaCodeType;
436
+ }
437
+ export interface CredentialSchemaDetail {
271
438
  id: string;
272
439
  createdDate: string;
273
440
  lastModified: string;
274
441
  name: string;
275
442
  format: string;
276
443
  revocationMethod?: string;
277
- keyStorageSecurity?: KeyStorageSecurityBindingEnum;
444
+ claims: Array<ClaimSchema>;
445
+ keyStorageSecurity?: KeyStorageSecurity;
278
446
  schemaId: string;
279
- layoutType?: LayoutTypeBindingEnum;
280
447
  importedSourceUrl: string;
281
- layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
448
+ layoutType?: LayoutType;
449
+ layoutProperties?: CredentialSchemaLayoutProperties;
282
450
  allowSuspension: boolean;
283
451
  requiresWalletInstanceAttestation: boolean;
452
+ transactionCode?: CredentialSchemaTransactionCode;
284
453
  }
285
- export interface CredentialSchemaCodePropertiesBindingDto {
286
- attribute: string;
287
- type: CredentialSchemaCodeTypeBindingDto;
454
+ export interface CredentialSchemaLayoutProperties {
455
+ background?: CredentialSchemaBackgroundProperties;
456
+ logo?: CredentialSchemaLogoProperties;
457
+ primaryAttribute?: string;
458
+ secondaryAttribute?: string;
459
+ pictureAttribute?: string;
460
+ code?: CredentialSchemaCodeProperties;
288
461
  }
289
- export interface CredentialSchemaDetailBindingDto {
462
+ export interface CredentialSchemaList {
463
+ values: Array<CredentialSchemaListItem>;
464
+ totalPages: number;
465
+ totalItems: number;
466
+ }
467
+ export interface CredentialSchemaListItem {
290
468
  id: string;
291
469
  createdDate: string;
292
470
  lastModified: string;
293
471
  name: string;
294
472
  format: string;
295
473
  revocationMethod?: string;
296
- claims: Array<CredentialClaimSchemaBindingDto>;
297
- keyStorageSecurity?: KeyStorageSecurityBindingEnum;
474
+ keyStorageSecurity?: KeyStorageSecurity;
298
475
  schemaId: string;
476
+ layoutType?: LayoutType;
299
477
  importedSourceUrl: string;
300
- layoutType?: LayoutTypeBindingEnum;
301
- layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
478
+ layoutProperties?: CredentialSchemaLayoutProperties;
302
479
  allowSuspension: boolean;
303
480
  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
481
  }
319
- export interface CredentialSchemaListQueryBindingDto {
482
+ export interface CredentialSchemaListQuery {
320
483
  page: number;
321
484
  pageSize: number;
322
485
  organisationId: string;
323
- sort?: SortableCredentialSchemaColumnBindingEnum;
486
+ sort?: SortableCredentialSchemaColumn;
324
487
  sortDirection?: SortDirection;
325
488
  name?: string;
326
489
  ids?: Array<string>;
327
- exact?: Array<CredentialSchemaListQueryExactColumnBindingEnum>;
490
+ exact?: Array<CredentialSchemaListQueryExactColumn>;
328
491
  include?: Array<CredentialSchemaListIncludeEntityType>;
329
492
  schemaId?: string;
330
493
  formats?: Array<string>;
@@ -333,197 +496,124 @@ export interface CredentialSchemaListQueryBindingDto {
333
496
  lastModifiedAfter?: string;
334
497
  lastModifiedBefore?: string;
335
498
  }
336
- export interface CredentialSchemaLogoPropertiesBindingDto {
499
+ export interface CredentialSchemaLogoProperties {
337
500
  fontColor?: string;
338
501
  backgroundColor?: string;
339
502
  image?: string;
340
503
  }
341
- export interface CredentialSchemaShareResponseBindingDto {
504
+ export interface CredentialSchemaShareResponse {
342
505
  url: string;
343
506
  }
344
- export interface CredentialSchemaTransactionCodeBindingDto {
345
- type: TransactionCodeTypeBindingEnum;
507
+ export interface CredentialSchemaTransactionCode {
508
+ type: TransactionCodeType;
346
509
  length: number;
347
510
  description?: string;
348
511
  }
349
- export interface CredentialSetResponseBindingDto {
512
+ export interface CredentialSet {
350
513
  required: boolean;
351
514
  options: Array<Array<string>>;
352
515
  }
353
- export interface DeviceInfoBindingDto {
516
+ export interface DeviceInfo {
354
517
  address: string;
355
518
  mtu: number;
356
519
  }
357
- export interface DidListBindingDto {
358
- values: Array<DidListItemBindingDto>;
520
+ export interface DidDetail {
521
+ id: string;
522
+ createdDate: string;
523
+ lastModified: string;
524
+ name: string;
525
+ organisationId?: string;
526
+ did: string;
527
+ didType: DidType;
528
+ didMethod: string;
529
+ keys: DidKeys;
530
+ deactivated: boolean;
531
+ }
532
+ export interface DidKeys {
533
+ authentication: Array<KeyListItem>;
534
+ assertionMethod: Array<KeyListItem>;
535
+ keyAgreement: Array<KeyListItem>;
536
+ capabilityInvocation: Array<KeyListItem>;
537
+ capabilityDelegation: Array<KeyListItem>;
538
+ }
539
+ export interface DidList {
540
+ values: Array<DidListItem>;
359
541
  totalPages: number;
360
542
  totalItems: number;
361
543
  }
362
- export interface DidListItemBindingDto {
544
+ export interface DidListItem {
363
545
  id: string;
364
546
  createdDate: string;
365
547
  lastModified: string;
366
548
  name: string;
367
549
  did: string;
368
- didType: DidTypeBindingEnum;
550
+ didType: DidType;
369
551
  didMethod: string;
370
552
  deactivated: boolean;
371
553
  }
372
- export interface DidListQueryBindingDto {
554
+ export interface DidListQuery {
373
555
  page: number;
374
556
  pageSize: number;
375
- sort?: SortableDidColumnBindingEnum;
557
+ sort?: SortableDidColumn;
376
558
  sortDirection?: SortDirection;
377
559
  organisationId: string;
378
560
  name?: string;
379
561
  did?: string;
380
- type?: DidTypeBindingEnum;
562
+ type?: DidType;
381
563
  deactivated?: boolean;
382
- exact?: Array<ExactDidFilterColumnBindingEnum>;
564
+ exact?: Array<DidListQueryExactColumn>;
383
565
  keyAlgorithms?: Array<string>;
384
- keyRoles?: Array<KeyRoleBindingEnum>;
566
+ keyRoles?: Array<KeyRole>;
385
567
  keyStorages?: Array<string>;
386
568
  keyIds?: Array<string>;
387
569
  didMethods?: Array<string>;
388
570
  }
389
- export interface DidRequestBindingDto {
390
- organisationId: string;
391
- name: string;
392
- didMethod: string;
393
- keys: DidRequestKeysBindingDto;
394
- params: Record<string, string>;
395
- }
396
- export interface DidRequestKeysBindingDto {
571
+ export interface DidRequestKeys {
397
572
  authentication: Array<string>;
398
573
  assertionMethod: Array<string>;
399
574
  keyAgreement: Array<string>;
400
575
  capabilityInvocation: Array<string>;
401
576
  capabilityDelegation: Array<string>;
402
577
  }
403
- export interface DidResponseBindingDto {
404
- id: string;
405
- createdDate: string;
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>;
578
+ export interface DisplayName {
579
+ lang: string;
580
+ value: string;
421
581
  }
422
- export interface ErrorResponseBindingDto {
582
+ export interface ErrorResponse {
423
583
  code: string;
424
584
  message: string;
425
585
  cause?: Cause;
426
586
  }
427
- export interface GeneratedKeyBindingDto {
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;
587
+ export interface GenerateKeyRequest {
588
+ /** Specifies the organizational context of this operation. */
464
589
  organisationId: string;
465
- expireDuration: number;
466
- proofInputSchemas: Array<ProofInputSchemaBindingDto>;
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;
590
+ /**
591
+ * Choose which key algorithm to use to create the key pair. Check
592
+ * `keyAlgorithm` of your configuration for supported options and
593
+ * reference the configured instance.
594
+ */
595
+ keyType: string;
596
+ keyParams: Record<string, string>;
597
+ /** Internal label for created key pair. */
494
598
  name: string;
495
- createdDate: string;
496
- lastModified: string;
497
- type: string;
498
- isPublisher: boolean;
499
- publisherReference: string;
599
+ /**
600
+ * Choose how to store the key. Check `keyStorage` of your configuration
601
+ * for supported options and reference the configured instance.
602
+ */
603
+ storageType: string;
604
+ storageParams: Record<string, string>;
500
605
  }
501
- export interface GetTrustEntityResponseBindingDto {
502
- id: string;
503
- organisationId?: string;
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;
606
+ export interface GeneratedKey {
607
+ keyReference: number[];
608
+ publicKey: number[];
520
609
  }
521
- export interface HandleInvitationRequestBindingDto {
610
+ export interface HandleInvitationRequest {
522
611
  /**
523
612
  * Typically encoded as a QR code or deep link by the issuer or
524
613
  * verifier. For example: "https://example.com/credential-offer".
525
614
  */
526
615
  url: string;
616
+ /** Specifies the organizational context for this operation. */
527
617
  organisationId: string;
528
618
  /**
529
619
  * For configurations with multiple transport protocols enabled you
@@ -539,93 +629,174 @@ export interface HandleInvitationRequestBindingDto {
539
629
  */
540
630
  redirectUri?: string;
541
631
  }
542
- export interface HistoryErrorMetadataBindingDto {
632
+ export interface HistoryErrorMetadata {
543
633
  errorCode: string;
544
634
  message: string;
545
635
  }
546
- export interface HistoryListBindingDto {
547
- values: Array<HistoryListItemBindingDto>;
636
+ export interface HistoryList {
637
+ values: Array<HistoryListItem>;
548
638
  totalPages: number;
549
639
  totalItems: number;
550
640
  }
551
- export interface HistoryListItemBindingDto {
641
+ export interface HistoryListItem {
552
642
  id: string;
553
643
  createdDate: string;
554
- action: HistoryActionBindingEnum;
644
+ action: HistoryAction;
555
645
  name: string;
556
646
  entityId?: string;
557
- entityType: HistoryEntityTypeBindingEnum;
558
- metadata?: HistoryMetadataBinding;
647
+ entityType: HistoryEntityType;
648
+ metadata?: HistoryMetadata;
559
649
  organisationId?: string;
560
650
  target?: string;
561
651
  user?: string;
562
652
  }
563
- export interface HistoryListQueryBindingDto {
653
+ export interface HistoryListQuery {
654
+ /** Page number to retrieve (0-based indexing). */
564
655
  page: number;
656
+ /** Number of items to return per page. */
565
657
  pageSize: number;
658
+ /** Field value to sort results by. */
659
+ sort?: SortableHistoryColumn;
660
+ /** Direction to sort results by. */
661
+ sortDirection?: SortDirection;
662
+ /** Specifies the organizational context for this operation. */
566
663
  organisationId: string;
664
+ /** Return only events associated with the provided entity IDs. */
567
665
  entityIds?: Array<string>;
568
- entityTypes?: Array<HistoryEntityTypeBindingEnum>;
569
- actions?: Array<HistoryActionBindingEnum>;
666
+ /** Return only events associated with the provided entity types. */
667
+ entityTypes?: Array<HistoryEntityType>;
668
+ /** Return only the provided events. */
669
+ actions?: Array<HistoryAction>;
670
+ /**
671
+ * Return only entries created after this time. Timestamp in
672
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
673
+ */
570
674
  createdDateAfter?: string;
675
+ /**
676
+ * Return only entries created before this time. Timestamp in
677
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
678
+ */
571
679
  createdDateBefore?: string;
680
+ /** Return only events associated with the provided identifier ID. */
572
681
  identifierId?: string;
682
+ /** Return only events associated with the provided credential ID. */
573
683
  credentialId?: string;
684
+ /** Return only events associated with the provided credential schema ID. */
574
685
  credentialSchemaId?: string;
686
+ /** Return only events associated with the provided proof ID. */
687
+ proofId?: string;
688
+ /** Return only events associated with the provided proof schema ID. */
575
689
  proofSchemaId?: string;
576
- search?: HistorySearchBindingDto;
690
+ /** Search for a string. */
691
+ search?: HistorySearch;
692
+ /** Return only events associated with the provided user(s). */
577
693
  users?: Array<string>;
578
694
  }
579
- export interface HistorySearchBindingDto {
695
+ export interface HistorySearch {
580
696
  text: string;
581
- type?: HistorySearchEnumBindingEnum;
697
+ type?: HistorySearchType;
582
698
  }
583
- export interface HolderAcceptCredentialRequestBindingDto {
699
+ export interface HolderAcceptCredentialRequest {
700
+ /** ID for this issuance. */
584
701
  interactionId: string;
702
+ /** Deprecated. Use `identifierId`. */
585
703
  didId?: string;
586
704
  identifierId?: string;
705
+ /**
706
+ * If you are using an identifier with multiple keys for authentication,
707
+ * specify which key to use. If no key is specified, the first suitable
708
+ * key listed will be used.
709
+ */
587
710
  keyId?: string;
711
+ /** User-provided transaction code. */
588
712
  txCode?: string;
589
- holderWalletUnitId?: string;
590
713
  }
591
- export interface HolderRegisterWalletUnitRequestBindingDto {
714
+ export interface HolderRegisterWalletUnitRequest {
715
+ /** The wallet unit's organization. */
592
716
  organisationId: string;
593
- /** Reference the `walletProvider` configuration of the Wallet Provider. */
594
- walletProvider: WalletProviderBindingDto;
717
+ /** Reference the `walletProvider` configuration. */
718
+ walletProvider: WalletProvider;
595
719
  keyType: string;
596
720
  }
597
- export interface HolderWalletUnitResponseBindingDto {
721
+ export interface HolderRegisterWalletUnitResponse {
722
+ id: string;
723
+ status: WalletUnitStatus;
724
+ }
725
+ export interface HolderWalletUnit {
598
726
  id: string;
599
727
  createdDate: string;
600
728
  lastModified: string;
601
729
  providerWalletUnitId: string;
602
730
  walletProviderUrl: string;
603
- walletProviderType: WalletProviderTypeBindingEnum;
731
+ walletProviderType: WalletProviderType;
604
732
  walletProviderName: string;
605
- status: WalletUnitStatusBindingEnum;
606
- authenticationKey: KeyListItemResponseBindingDto;
733
+ status: WalletUnitStatus;
734
+ authenticationKey?: KeyListItem;
735
+ }
736
+ export interface HolderWalletUnitUpdateRequest {
737
+ trustCollections: Array<string>;
738
+ }
739
+ export interface IdentifierDetail {
740
+ id: string;
741
+ createdDate: string;
742
+ lastModified: string;
743
+ name: string;
744
+ organisationId?: string;
745
+ type: IdentifierType;
746
+ isRemote: boolean;
747
+ state: IdentifierState;
748
+ did?: DidDetail;
749
+ key?: KeyDetail;
750
+ certificates?: Array<CertificateDetail>;
751
+ trustInformation: Array<IdentifierTrustInformationResponseDto>;
752
+ }
753
+ export interface IdentifierList {
754
+ values: Array<IdentifierListItem>;
755
+ totalPages: number;
756
+ totalItems: number;
757
+ }
758
+ export interface IdentifierListItem {
759
+ id: string;
760
+ createdDate: string;
761
+ lastModified: string;
762
+ name: string;
763
+ type: IdentifierType;
764
+ isRemote: boolean;
765
+ state: IdentifierState;
766
+ organisationId?: string;
607
767
  }
608
- export interface IdentifierListQueryBindingDto {
768
+ export interface IdentifierListQuery {
609
769
  page: number;
610
770
  pageSize: number;
611
- sort?: SortableIdentifierColumnBindingEnum;
771
+ sort?: SortableIdentifierColumn;
612
772
  sortDirection?: SortDirection;
613
773
  organisationId: string;
774
+ ids?: Array<string>;
614
775
  name?: string;
615
- types?: Array<IdentifierTypeBindingEnum>;
616
- states?: Array<IdentifierStateBindingEnum>;
617
- exact?: Array<ExactIdentifierFilterColumnBindingEnum>;
776
+ types?: Array<IdentifierType>;
777
+ states?: Array<IdentifierState>;
778
+ exact?: Array<IdentifierListQueryExactColumn>;
618
779
  didMethods?: Array<string>;
619
780
  isRemote?: boolean;
620
781
  keyAlgorithms?: Array<string>;
621
- keyRoles?: Array<KeyRoleBindingEnum>;
782
+ keyRoles?: Array<KeyRole>;
622
783
  keyStorages?: Array<string>;
784
+ certificateRoles?: Array<CertificateRole>;
785
+ certificateRolesMatchMode?: CertificateRolesMatchMode;
786
+ trustIssuanceSchemaId?: string;
787
+ trustVerificationSchemaId?: string;
623
788
  createdDateAfter?: string;
624
789
  createdDateBefore?: string;
625
790
  lastModifiedAfter?: string;
626
791
  lastModifiedBefore?: string;
627
792
  }
628
- export interface ImportCredentialSchemaClaimSchemaBindingDto {
793
+ export interface IdentifierTrustInformationResponseDto {
794
+ data: string;
795
+ type: IdentifierTrustInformationType;
796
+ validFrom?: string;
797
+ validTo?: string;
798
+ }
799
+ export interface ImportCredentialSchemaClaimSchema {
629
800
  id: string;
630
801
  createdDate: string;
631
802
  lastModified: string;
@@ -633,21 +804,21 @@ export interface ImportCredentialSchemaClaimSchemaBindingDto {
633
804
  key: string;
634
805
  datatype: string;
635
806
  array?: boolean;
636
- claims?: Array<ImportCredentialSchemaClaimSchemaBindingDto>;
807
+ claims?: Array<ImportCredentialSchemaClaimSchema>;
637
808
  }
638
- export interface ImportCredentialSchemaLayoutPropertiesBindingDto {
639
- background?: CredentialSchemaBackgroundPropertiesBindingDto;
640
- logo?: CredentialSchemaLogoPropertiesBindingDto;
809
+ export interface ImportCredentialSchemaLayoutProperties {
810
+ background?: CredentialSchemaBackgroundProperties;
811
+ logo?: CredentialSchemaLogoProperties;
641
812
  primaryAttribute?: string;
642
813
  secondaryAttribute?: string;
643
814
  pictureAttribute?: string;
644
- code?: CredentialSchemaCodePropertiesBindingDto;
815
+ code?: CredentialSchemaCodeProperties;
645
816
  }
646
- export interface ImportCredentialSchemaRequestBindingDto {
817
+ export interface ImportCredentialSchemaRequest {
647
818
  organisationId: string;
648
- schema: ImportCredentialSchemaRequestSchemaBindingDto;
819
+ schema: ImportCredentialSchemaRequestSchema;
649
820
  }
650
- export interface ImportCredentialSchemaRequestSchemaBindingDto {
821
+ export interface ImportCredentialSchemaRequestSchema {
651
822
  id: string;
652
823
  createdDate: string;
653
824
  lastModified: string;
@@ -655,41 +826,49 @@ export interface ImportCredentialSchemaRequestSchemaBindingDto {
655
826
  format: string;
656
827
  revocationMethod: string;
657
828
  organisationId: string;
658
- claims: Array<ImportCredentialSchemaClaimSchemaBindingDto>;
659
- keyStorageSecurity?: KeyStorageSecurityBindingEnum;
829
+ claims: Array<ImportCredentialSchemaClaimSchema>;
830
+ keyStorageSecurity?: KeyStorageSecurity;
660
831
  schemaId: string;
661
832
  importedSourceUrl: string;
662
- layoutType?: LayoutTypeBindingEnum;
663
- layoutProperties?: ImportCredentialSchemaLayoutPropertiesBindingDto;
833
+ layoutType?: LayoutType;
834
+ layoutProperties?: ImportCredentialSchemaLayoutProperties;
664
835
  allowSuspension?: boolean;
665
836
  requiresWalletInstanceAttestation?: boolean;
666
- transactionCode?: ImportCredentialSchemaTransactionCodeBindingDto;
837
+ transactionCode?: ImportCredentialSchemaTransactionCode;
667
838
  }
668
- export interface ImportCredentialSchemaTransactionCodeBindingDto {
669
- type: TransactionCodeTypeBindingEnum;
839
+ export interface ImportCredentialSchemaTransactionCode {
840
+ type: TransactionCodeType;
670
841
  length: number;
671
842
  description?: string;
672
843
  }
673
- export interface ImportProofSchemaBindingDto {
844
+ export interface ImportProofSchema {
674
845
  id: string;
675
846
  createdDate: string;
676
847
  lastModified: string;
677
848
  name: string;
849
+ /** Specifies the organizational context for this operation. */
678
850
  organisationId: string;
851
+ /**
852
+ * Defines how long the system will store data received from wallets. After
853
+ * the defined duration, the received proof and its data are deleted from
854
+ * the system. If 0, proofs received when using this schema will not be
855
+ * deleted.
856
+ */
679
857
  expireDuration: number;
680
858
  importedSourceUrl: string;
681
- proofInputSchemas: Array<ImportProofSchemaInputSchemaBindingDto>;
859
+ /** Set of all claims to request. */
860
+ proofInputSchemas: Array<ImportProofSchemaInputSchema>;
682
861
  }
683
- export interface ImportProofSchemaClaimSchemaBindingDto {
862
+ export interface ImportProofSchemaClaimSchema {
684
863
  id: string;
685
864
  requested: boolean;
686
865
  required: boolean;
687
866
  key: string;
688
867
  dataType: string;
689
- claims?: Array<ImportProofSchemaClaimSchemaBindingDto>;
868
+ claims?: Array<ImportProofSchemaClaimSchema>;
690
869
  array: boolean;
691
870
  }
692
- export interface ImportProofSchemaCredentialSchemaBindingDto {
871
+ export interface ImportProofSchemaCredentialSchema {
693
872
  id: string;
694
873
  createdDate: string;
695
874
  lastModified: string;
@@ -697,385 +876,483 @@ export interface ImportProofSchemaCredentialSchemaBindingDto {
697
876
  name: string;
698
877
  format: string;
699
878
  revocationMethod?: string;
700
- keyStorageSecurity?: KeyStorageSecurityBindingEnum;
879
+ keyStorageSecurity?: KeyStorageSecurity;
701
880
  schemaId: string;
702
881
  importedSourceUrl: string;
703
- layoutType?: LayoutTypeBindingEnum;
704
- layoutProperties?: CredentialSchemaLayoutPropertiesBindingDto;
882
+ layoutType?: LayoutType;
883
+ layoutProperties?: CredentialSchemaLayoutProperties;
705
884
  allowSuspension?: boolean;
706
885
  requiresWalletInstanceAttestation?: boolean;
707
886
  }
708
- export interface ImportProofSchemaInputSchemaBindingDto {
709
- claimSchemas: Array<ImportProofSchemaClaimSchemaBindingDto>;
710
- credentialSchema: ImportProofSchemaCredentialSchemaBindingDto;
887
+ export interface ImportProofSchemaInputSchema {
888
+ claimSchemas: Array<ImportProofSchemaClaimSchema>;
889
+ credentialSchema: ImportProofSchemaCredentialSchema;
711
890
  }
712
- export interface ImportProofSchemaRequestBindingsDto {
713
- schema: ImportProofSchemaBindingDto;
891
+ export interface ImportProofSchemaRequest {
892
+ schema: ImportProofSchema;
714
893
  organisationId: string;
715
894
  }
716
- export interface InitParamsDto {
895
+ export interface InitParams {
896
+ /** Pass a serialized JSON to override the default configuration. */
717
897
  configJson?: string;
898
+ /** Create an instance of the native implementation of Secure Element and pass it here. */
718
899
  nativeSecureElement?: NativeKeyStorage;
900
+ /** Create a custom implementation of HSM and pass it. */
719
901
  remoteSecureElement?: NativeKeyStorage;
720
902
  bleCentral?: BleCentral;
721
903
  blePeripheral?: BlePeripheral;
722
904
  nfcHce?: NfcHce;
723
905
  nfcScanner?: NfcScanner;
724
906
  }
725
- export interface InitiateIssuanceAuthorizationDetailBindingDto {
907
+ export interface InitiateIssuanceAuthorizationDetail {
726
908
  type: string;
727
909
  credentialConfigurationId: string;
728
910
  }
729
- export interface InitiateIssuanceRequestBindingDto {
911
+ export interface InitiateIssuanceRequest {
912
+ /** Specifies the organizational context for this operation. */
730
913
  organisationId: string;
914
+ /** Choose a protocol to complete issuance. */
731
915
  protocol: string;
916
+ /** OpenID4VCI authorization request parameter. */
732
917
  issuer: string;
918
+ /** OpenID4VCI authorization request parameter. */
733
919
  clientId: string;
920
+ /** OpenID4VCI authorization request parameter. */
734
921
  redirectUri?: string;
922
+ /** OpenID4VCI authorization request parameter. */
735
923
  scope?: Array<string>;
736
- authorizationDetails?: Array<InitiateIssuanceAuthorizationDetailBindingDto>;
924
+ /** OpenID4VCI authorization request parameter. */
925
+ authorizationDetails?: Array<InitiateIssuanceAuthorizationDetail>;
737
926
  }
738
- export interface InitiateIssuanceResponseBindingDto {
927
+ export interface InitiateIssuanceResponse {
739
928
  url: string;
740
929
  }
741
- export interface KeyGenerateCsrRequestSubjectBindingDto {
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 {
752
- id: string;
753
- createdDate: string;
754
- lastModified: string;
755
- name: string;
756
- publicKey: number[];
757
- keyType: string;
758
- storageType: string;
759
- }
760
- export interface KeyListItemResponseBindingDto {
930
+ export interface KeyDetail {
761
931
  id: string;
762
932
  createdDate: string;
763
933
  lastModified: string;
934
+ organisationId: string;
764
935
  name: string;
765
936
  publicKey: number[];
766
937
  keyType: string;
767
938
  storageType: string;
768
939
  }
769
- export interface KeyRequestBindingDto {
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 {
940
+ export interface KeyListItem {
778
941
  id: string;
779
942
  createdDate: string;
780
943
  lastModified: string;
781
- organisationId: string;
782
944
  name: string;
783
945
  publicKey: number[];
784
946
  keyType: string;
785
947
  storageType: string;
786
948
  }
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 {
949
+ export interface MdocMsoValidity {
836
950
  expiration: string;
837
951
  nextUpdate: string;
838
952
  lastUpdate: string;
839
953
  }
840
- export interface MetadataBindingDto {
954
+ export interface Metadata {
841
955
  dbVersion: string;
842
956
  dbHash: string;
843
957
  createdAt: string;
844
958
  }
845
- /** Optional messages to be displayed on (iOS) system overlay */
846
- export interface NfcScanRequestBindingDto {
959
+ /** Optional messages to be displayed on (iOS) system overlay. */
960
+ export interface NfcScanRequest {
847
961
  inProgressMessage?: string;
848
962
  failureMessage?: string;
849
963
  successMessage?: string;
850
964
  }
851
- export interface OpenId4vciProofTypeSupportedBindingDto {
852
- proofSigningAlgValuesSupported: Array<string>;
853
- }
854
- export interface OpenId4vciTxCodeBindingDto {
855
- inputMode: OpenId4vciTxCodeInputModeBindingEnum;
965
+ export interface OpenId4vciTxCode {
966
+ /** For validation. */
967
+ inputMode: OpenId4vciTxCodeInputMode;
968
+ /** Character length of code, to assist the user. */
856
969
  length?: number;
970
+ /**
971
+ * Guidance text displayed in the wallet, describing how to
972
+ * obtain the transaction code.
973
+ */
857
974
  description?: string;
858
975
  }
859
- export interface PeripheralDiscoveryDataBindingDto {
976
+ export interface PeripheralDiscoveryData {
860
977
  deviceAddress: string;
861
978
  localDeviceName?: string;
862
979
  advertisedServices: Array<string>;
863
980
  advertisedServiceData?: Record<string, number[]>;
864
981
  }
865
- export interface PresentationDefinitionBindingDto {
866
- requestGroups: Array<PresentationDefinitionRequestGroupBindingDto>;
867
- credentials: Array<CredentialDetailBindingDto>;
982
+ export interface PresentationDefinition {
983
+ requestGroups: Array<PresentationDefinitionRequestGroup>;
984
+ credentials: Array<CredentialDetail>;
868
985
  }
869
- export interface PresentationDefinitionFieldBindingDto {
986
+ export interface PresentationDefinitionField {
870
987
  id: string;
871
988
  name?: string;
872
989
  purpose?: string;
873
990
  required: boolean;
874
991
  keyMap: Record<string, string>;
875
992
  }
876
- export interface PresentationDefinitionRequestGroupBindingDto {
993
+ export interface PresentationDefinitionRequestGroup {
877
994
  id: string;
878
995
  name?: string;
879
996
  purpose?: string;
880
- rule: PresentationDefinitionRuleBindingDto;
881
- requestedCredentials: Array<PresentationDefinitionRequestedCredentialBindingDto>;
997
+ rule: PresentationDefinitionRule;
998
+ requestedCredentials: Array<PresentationDefinitionRequestedCredential>;
882
999
  }
883
- export interface PresentationDefinitionRequestedCredentialBindingDto {
1000
+ export interface PresentationDefinitionRequestedCredential {
884
1001
  id: string;
885
1002
  name?: string;
886
1003
  purpose?: string;
887
- fields: Array<PresentationDefinitionFieldBindingDto>;
1004
+ fields: Array<PresentationDefinitionField>;
888
1005
  applicableCredentials: Array<string>;
889
1006
  inapplicableCredentials: Array<string>;
890
1007
  multiple?: boolean;
891
1008
  }
892
- export interface PresentationDefinitionRuleBindingDto {
893
- type: PresentationDefinitionRuleTypeBindingEnum;
1009
+ export interface PresentationDefinitionRule {
1010
+ type: PresentationDefinitionRuleType;
894
1011
  min?: number;
895
1012
  max?: number;
896
1013
  count?: number;
897
1014
  }
898
- export interface PresentationDefinitionV2ClaimBindingDto {
1015
+ export interface PresentationDefinitionV2 {
1016
+ credentialQueries: Record<string, CredentialQuery>;
1017
+ credentialSets: Array<CredentialSet>;
1018
+ }
1019
+ export interface PresentationDefinitionV2Claim {
899
1020
  path: string;
900
- schema: CredentialClaimSchemaBindingDto;
901
- value: PresentationDefinitionV2ClaimValueBindingDto;
1021
+ schema: ClaimSchema;
1022
+ value: PresentationDefinitionV2ClaimValue;
902
1023
  userSelection: boolean;
903
1024
  required: boolean;
904
1025
  }
905
- export interface PresentationDefinitionV2CredentialDetailBindingDto {
1026
+ export interface PresentationDefinitionV2Credential {
906
1027
  id: string;
907
1028
  createdDate: string;
908
1029
  issuanceDate?: string;
909
1030
  lastModified: string;
910
1031
  revocationDate?: string;
911
- issuer?: GetIdentifierListItemBindingDto;
912
- issuerCertificate?: CertificateResponseBindingDto;
913
- holder?: GetIdentifierListItemBindingDto;
914
- state: CredentialStateBindingEnum;
915
- schema: CredentialSchemaBindingDto;
916
- claims: Array<PresentationDefinitionV2ClaimBindingDto>;
1032
+ issuer?: IdentifierListItem;
1033
+ issuerCertificate?: CertificateDetail;
1034
+ holder?: IdentifierListItem;
1035
+ state: CredentialState;
1036
+ schema: CredentialSchemaListItem;
1037
+ claims: Array<PresentationDefinitionV2Claim>;
917
1038
  redirectUri?: string;
918
- role: CredentialRoleBindingDto;
1039
+ role: CredentialRole;
919
1040
  suspendEndDate?: string;
920
- mdocMsoValidity?: MdocMsoValidityResponseBindingDto;
1041
+ mdocMsoValidity?: MdocMsoValidity;
921
1042
  protocol: string;
922
1043
  profile?: string;
923
1044
  }
924
- export interface PresentationDefinitionV2ResponseBindingDto {
925
- credentialQueries: Record<string, CredentialQueryResponseBindingDto>;
926
- credentialSets: Array<CredentialSetResponseBindingDto>;
927
- }
928
- export interface PresentationSubmitCredentialRequestBindingDto {
1045
+ export interface PresentationSubmitCredentialRequest {
1046
+ /** ID of the credential to submit. */
929
1047
  credentialId: string;
930
1048
  submitClaims: Array<string>;
931
1049
  }
932
- export interface PresentationSubmitV2CredentialRequestBindingDto {
1050
+ export interface PresentationSubmitV2CredentialRequest {
1051
+ /** ID of the credential to submit. */
933
1052
  credentialId: string;
1053
+ /**
1054
+ * Array of claim paths for claims where `userSelection: true` that the
1055
+ * holder chooses to share. Only include paths for optional claims the
1056
+ * holder selects. Omit entirely or use an empty array if withholding all
1057
+ * optional claims.
1058
+ */
934
1059
  userSelections: Array<string>;
935
1060
  }
936
- export interface ProofClaimSchemaBindingDto {
1061
+ export interface ProofClaim {
1062
+ schema: ProofClaimSchema;
1063
+ value?: ProofClaimValue;
1064
+ }
1065
+ export interface ProofClaimSchema {
937
1066
  id: string;
938
1067
  requested: boolean;
939
1068
  required: boolean;
940
1069
  key: string;
941
1070
  dataType: string;
942
- claims: Array<ProofClaimSchemaBindingDto>;
1071
+ claims: Array<ProofClaimSchema>;
943
1072
  array: boolean;
944
1073
  }
945
- export interface ProofInputBindingDto {
946
- claims: Array<ProofRequestClaimBindingDto>;
947
- credential?: CredentialDetailBindingDto;
948
- credentialSchema: CredentialSchemaBindingDto;
1074
+ export interface ProofDetail {
1075
+ id: string;
1076
+ createdDate: string;
1077
+ lastModified: string;
1078
+ /** Identifier of the verifier of this request. */
1079
+ verifier?: IdentifierListItem;
1080
+ state: ProofState;
1081
+ /** The role the system has in relation to this request. */
1082
+ role: ProofRole;
1083
+ /** Schema used for this request. */
1084
+ proofSchema?: ProofSchemaListItem;
1085
+ /** Protocol used for verification. */
1086
+ protocol: string;
1087
+ /** Engagement method used for this request. */
1088
+ engagement?: string;
1089
+ /** Channel used for this request. */
1090
+ transport: string;
1091
+ /**
1092
+ * The wallet is redirected to this resource once a shared proof
1093
+ * is accepted.
1094
+ */
1095
+ redirectUri?: string;
1096
+ /** Credential and claim data shared by the wallet holder. */
1097
+ proofInputs: Array<ProofInput>;
1098
+ /**
1099
+ * Time at which the data shared by the wallet holder for this request
1100
+ * will be deleted. Determined by the `expireDuration` parameter of the
1101
+ * proof schema.
1102
+ */
1103
+ retainUntilDate?: string;
1104
+ /** When the request was shared with the wallet holder. */
1105
+ requestedDate?: string;
1106
+ /** When the wallet holder submitted valid proof. */
1107
+ completedDate?: string;
1108
+ /** When claim data was deleted. */
1109
+ claimsRemovedAt?: string;
1110
+ /** Country profile associated with this request. */
1111
+ profile?: string;
949
1112
  }
950
- export interface ProofInputSchemaBindingDto {
951
- claimSchemas: Array<ProofClaimSchemaBindingDto>;
952
- credentialSchema: CredentialSchemaBindingDto;
1113
+ export interface ProofInput {
1114
+ /** Set of claims asserted by the shared credential. */
1115
+ claims: Array<ProofClaim>;
1116
+ /** Shared credential metadata. */
1117
+ credential?: CredentialDetail;
1118
+ /** Credential schema metadata. */
1119
+ credentialSchema: CredentialSchemaListItem;
953
1120
  }
954
- export interface ProofInputSchemaRequestDto {
955
- credentialSchemaId: string;
956
- claimSchemas: Array<CreateProofSchemaClaimRequestDto>;
1121
+ export interface ProofInputSchema {
1122
+ claimSchemas: Array<ProofClaimSchema>;
1123
+ credentialSchema: CredentialSchemaListItem;
957
1124
  }
958
- export interface ProofListBindingDto {
959
- values: Array<ProofListItemBindingDto>;
1125
+ export interface ProofList {
1126
+ values: Array<ProofListItem>;
960
1127
  totalPages: number;
961
1128
  totalItems: number;
962
1129
  }
963
- export interface ProofListItemBindingDto {
1130
+ export interface ProofListItem {
964
1131
  id: string;
965
1132
  createdDate: string;
966
1133
  lastModified: string;
967
1134
  requestedDate?: string;
1135
+ /** When the wallet holder submitted valid proof. */
968
1136
  completedDate?: string;
969
1137
  verifier?: string;
1138
+ /** Protocol used for verification. */
970
1139
  protocol: string;
1140
+ /** Channel used for this request. */
971
1141
  transport: string;
1142
+ /** Engagement method used for this request. */
972
1143
  engagement?: string;
973
- state: ProofStateBindingEnum;
974
- role: ProofRoleBindingEnum;
975
- schema?: GetProofSchemaListItemBindingDto;
1144
+ /** State representation of this request. */
1145
+ state: ProofState;
1146
+ /** The role the system has in relation to this request. */
1147
+ role: ProofRole;
1148
+ schema?: ProofSchemaListItem;
1149
+ /**
1150
+ * Time at which the data shared by the wallet holder for this request
1151
+ * will be deleted. Determined by the `expireDuration` parameter of the
1152
+ * proof schema.
1153
+ */
976
1154
  retainUntilDate?: string;
1155
+ /** Country profile associated with this request. */
977
1156
  profile?: string;
978
1157
  }
979
- export interface ProofListQueryBindingDto {
1158
+ export interface ProofListQuery {
1159
+ /** Page number to retrieve (0-based indexing). */
980
1160
  page: number;
1161
+ /** Number of items to return per page. */
981
1162
  pageSize: number;
1163
+ /** Specifies the organizational context for this operation. */
982
1164
  organisationId: string;
983
- sort?: SortableProofListColumnBinding;
1165
+ /** Field value to sort results by. */
1166
+ sort?: SortableProofColumn;
1167
+ /** Direction to sort results by. */
984
1168
  sortDirection?: SortDirection;
1169
+ /** Return only proof requests with a name starting with this string. */
985
1170
  name?: string;
1171
+ /** Filter by one or more country profiles. */
986
1172
  profiles?: Array<string>;
1173
+ /** Filter by one or more UUIDs. */
987
1174
  ids?: Array<string>;
988
- proofStates?: Array<ProofStateBindingEnum>;
989
- proofRoles?: Array<ProofRoleBindingEnum>;
1175
+ /** Filter by one or more proof request states. */
1176
+ proofStates?: Array<ProofState>;
1177
+ /**
1178
+ * Filter proof requests by one or more roles: requested by the
1179
+ * system (`VERIFIER`) or received by the system (`HOLDER`).
1180
+ */
1181
+ proofRoles?: Array<ProofRole>;
1182
+ /** Filter by associated proof schemas. */
990
1183
  proofSchemaIds?: Array<string>;
991
- exact?: Array<ProofListQueryExactColumnBindingEnum>;
1184
+ /** Set which filters apply in an exact way. */
1185
+ exact?: Array<ProofListQueryExactColumn>;
1186
+ /**
1187
+ * Return only proof requests created after this time. Timestamp in
1188
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1189
+ */
992
1190
  createdDateAfter?: string;
1191
+ /**
1192
+ * Return only proof requests created before this time. Timestamp in
1193
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1194
+ */
993
1195
  createdDateBefore?: string;
1196
+ /**
1197
+ * Return only proof requests last modified after this time. Timestamp in
1198
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1199
+ */
994
1200
  lastModifiedAfter?: string;
1201
+ /**
1202
+ * Return only proof requests last modified before this time. Timestamp in
1203
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1204
+ */
995
1205
  lastModifiedBefore?: string;
1206
+ /**
1207
+ * Return only proofs requested after this time. Timestamp in
1208
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1209
+ */
996
1210
  requestedDateAfter?: string;
1211
+ /**
1212
+ * Return only proofs requested before this time. Timestamp in
1213
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1214
+ */
997
1215
  requestedDateBefore?: string;
1216
+ /**
1217
+ * Return only proofs requested completed after this time. Timestamp in
1218
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1219
+ */
998
1220
  completedDateAfter?: string;
1221
+ /**
1222
+ * Return only proofs requested completed before this time. Timestamp in
1223
+ * RFC 3339 format (for example `2023-06-09T14:19:57.000Z`).
1224
+ */
999
1225
  completedDateBefore?: string;
1000
1226
  }
1001
- export interface ProofRequestClaimBindingDto {
1002
- schema: ProofClaimSchemaBindingDto;
1003
- value?: ProofRequestClaimValueBindingDto;
1004
- }
1005
- export interface ProofResponseBindingDto {
1227
+ export interface ProofSchemaDetail {
1006
1228
  id: string;
1007
1229
  createdDate: string;
1008
1230
  lastModified: string;
1009
- verifier?: GetIdentifierListItemBindingDto;
1010
- state: ProofStateBindingEnum;
1011
- role: ProofRoleBindingEnum;
1012
- proofSchema?: GetProofSchemaListItemBindingDto;
1013
- protocol: string;
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;
1231
+ name: string;
1232
+ /** Specifies organizational context for this operation. */
1233
+ organisationId: string;
1234
+ /**
1235
+ * Defines how long the system will store data received from wallets. After
1236
+ * the defined duration, the received proof and its data are deleted from
1237
+ * the system. If 0, proofs received when using this schema will not be
1238
+ * deleted.
1239
+ */
1240
+ expireDuration: number;
1241
+ /** Set of requested claims. */
1242
+ proofInputSchemas: Array<ProofInputSchema>;
1243
+ /** Source URL for imported schema. */
1244
+ importedSourceUrl?: string;
1023
1245
  }
1024
- export interface ProofSchemaListBindingDto {
1025
- values: Array<GetProofSchemaListItemBindingDto>;
1246
+ export interface ProofSchemaList {
1247
+ values: Array<ProofSchemaListItem>;
1026
1248
  totalPages: number;
1027
1249
  totalItems: number;
1028
1250
  }
1029
- export interface ProofSchemaShareResponseBindingDto {
1251
+ export interface ProofSchemaListItem {
1252
+ id: string;
1253
+ createdDate: string;
1254
+ lastModified: string;
1255
+ deletedAt?: string;
1256
+ name: string;
1257
+ /**
1258
+ * Defines how long the system will store data received from wallets. After
1259
+ * the defined duration, the received proof and its data are deleted from
1260
+ * the system. If 0, proofs received when using this schema will not be
1261
+ * deleted.
1262
+ */
1263
+ expireDuration: number;
1264
+ }
1265
+ export interface ProofSchemaListQuery {
1266
+ page: number;
1267
+ pageSize: number;
1268
+ sort?: SortableProofSchemaColumn;
1269
+ sortDirection?: SortDirection;
1270
+ organisationId: string;
1271
+ name?: string;
1272
+ exact?: Array<ProofSchemaListQueryExactColumn>;
1273
+ ids?: Array<string>;
1274
+ formats?: Array<string>;
1275
+ createdDateAfter?: string;
1276
+ createdDateBefore?: string;
1277
+ lastModifiedAfter?: string;
1278
+ lastModifiedBefore?: string;
1279
+ }
1280
+ export interface ProofSchemaShareResponse {
1030
1281
  url: string;
1031
1282
  }
1032
- export interface ProposeProofRequestBindingDto {
1283
+ export interface ProposeProofRequest {
1033
1284
  protocol: string;
1034
1285
  organisationId: string;
1035
1286
  engagement: Array<string>;
1036
1287
  uiMessage?: string;
1037
1288
  }
1038
- export interface ProposeProofResponseBindingDto {
1289
+ export interface ProposeProofResponse {
1039
1290
  proofId: string;
1040
1291
  interactionId: string;
1041
1292
  url?: string;
1042
1293
  }
1043
- export interface ResolveJsonLdContextResponseBindingDto {
1044
- context: string;
1294
+ export interface RegisterVerifierInstanceRequest {
1295
+ /** The verifier unit's organization. */
1296
+ organisationId: string;
1297
+ /** The Verifier Provider's reference URL. */
1298
+ verifierProviderUrl: string;
1299
+ /** Reference a configured `verifierProvider` instance. */
1300
+ type: string;
1301
+ }
1302
+ export interface RegisterVerifierInstanceResponse {
1303
+ id: string;
1304
+ }
1305
+ export interface RemoteTrustEntityDetail {
1306
+ id: string;
1307
+ organisationId?: string;
1308
+ createdDate: string;
1309
+ lastModified: string;
1310
+ name: string;
1311
+ logo?: string;
1312
+ website?: string;
1313
+ termsUrl?: string;
1314
+ privacyUrl?: string;
1315
+ role: TrustEntityRole;
1316
+ trustAnchor: TrustAnchorDetail;
1317
+ did?: DidListItem;
1318
+ state: TrustEntityState;
1045
1319
  }
1046
- export interface ResolveTrustEntitiesRequestBindingDto {
1047
- identifiers: Array<ResolveTrustEntityRequestBindingDto>;
1320
+ export interface ResolveTrustEntitiesRequest {
1321
+ identifiers: Array<ResolveTrustEntityRequest>;
1048
1322
  }
1049
- export interface ResolveTrustEntityRequestBindingDto {
1323
+ export interface ResolveTrustEntityRequest {
1050
1324
  id: string;
1051
1325
  certificateId?: string;
1052
1326
  }
1053
- export interface ResolvedIdentifierTrustEntityResponseBindingDto {
1054
- trustEntity: GetTrustEntityResponseBindingDto;
1327
+ export interface ResolvedJsonLdContext {
1328
+ context: string;
1329
+ }
1330
+ export interface ResolvedTrustEntity {
1331
+ trustEntity: TrustEntityDetail;
1055
1332
  certificateIds?: Array<string>;
1056
1333
  }
1057
- export interface ServiceDescriptionBindingDto {
1334
+ export interface ServiceDescription {
1058
1335
  uuid: string;
1059
1336
  advertise: boolean;
1060
1337
  advertisedServiceData?: number[];
1061
- characteristics: Array<CharacteristicBindingDto>;
1338
+ characteristics: Array<CharacteristicSettings>;
1062
1339
  }
1063
- export interface ShareProofRequestBindingDto {
1064
- params?: ShareProofRequestParamsBindingDto;
1340
+ export interface ShareProofRequest {
1341
+ params?: ShareProofRequestParams;
1065
1342
  }
1066
- export interface ShareProofRequestParamsBindingDto {
1067
- clientIdScheme?: ClientIdSchemeBindingEnum;
1343
+ export interface ShareProofRequestParams {
1344
+ /**
1345
+ * For requests made with OpenID4VC, a Client ID Scheme can be
1346
+ * specified here. If no scheme is specified the default scheme
1347
+ * from the configuration is used.
1348
+ */
1349
+ clientIdScheme?: ClientIdScheme;
1068
1350
  }
1069
- export interface ShareProofResponseBindingDto {
1351
+ export interface ShareProofResponse {
1070
1352
  url: string;
1071
1353
  expiresAt?: string;
1072
1354
  }
1073
- export interface TrustAnchorsListBindingDto {
1074
- values: Array<TrustAnchorsListItemResponseBindingDto>;
1075
- totalPages: number;
1076
- totalItems: number;
1077
- }
1078
- export interface TrustAnchorsListItemResponseBindingDto {
1355
+ export interface TrustAnchorDetail {
1079
1356
  id: string;
1080
1357
  name: string;
1081
1358
  createdDate: string;
@@ -1083,29 +1360,49 @@ export interface TrustAnchorsListItemResponseBindingDto {
1083
1360
  type: string;
1084
1361
  isPublisher: boolean;
1085
1362
  publisherReference: string;
1086
- entities: number;
1087
1363
  }
1088
- export interface TrustEntitiesListBindingDto {
1089
- values: Array<TrustEntitiesListItemResponseBindingDto>;
1364
+ export interface TrustAnchorList {
1365
+ values: Array<TrustAnchorListItem>;
1090
1366
  totalPages: number;
1091
1367
  totalItems: number;
1092
1368
  }
1093
- export interface TrustEntitiesListItemResponseBindingDto {
1369
+ export interface TrustAnchorListItem {
1094
1370
  id: string;
1095
1371
  name: string;
1096
1372
  createdDate: string;
1097
1373
  lastModified: string;
1098
- logo?: string;
1099
- website?: string;
1100
- termsUrl?: string;
1101
- state: TrustEntityStateBindingEnum;
1102
- privacyUrl?: string;
1103
- role: TrustEntityRoleBindingEnum;
1104
- trustAnchor: GetTrustAnchorResponseBindingDto;
1105
- did?: DidListItemBindingDto;
1374
+ type: string;
1375
+ isPublisher: boolean;
1376
+ publisherReference: string;
1377
+ entities: number;
1378
+ }
1379
+ export interface TrustAnchorListQuery {
1380
+ page: number;
1381
+ pageSize: number;
1382
+ sort?: SortableTrustAnchorColumn;
1383
+ sortDirection?: SortDirection;
1384
+ name?: string;
1385
+ isPublisher?: boolean;
1386
+ type?: string;
1387
+ exact?: Array<TrustAnchorListQueryExactColumn>;
1388
+ createdDateAfter?: string;
1389
+ createdDateBefore?: string;
1390
+ lastModifiedAfter?: string;
1391
+ lastModifiedBefore?: string;
1392
+ }
1393
+ export interface TrustCollectionInfo {
1394
+ selected: boolean;
1395
+ id: string;
1396
+ name: string;
1397
+ logo: string;
1398
+ displayName: Array<DisplayName>;
1399
+ description: Array<DisplayName>;
1106
1400
  }
1107
- export interface TrustEntityCertificateResponseBindingDto {
1108
- state: CertificateStateBindingEnum;
1401
+ export interface TrustCollections {
1402
+ trustCollections: Array<TrustCollectionInfo>;
1403
+ }
1404
+ export interface TrustEntityCertificate {
1405
+ state: CertificateState;
1109
1406
  publicKey: string;
1110
1407
  commonName?: string;
1111
1408
  serialNumber: string;
@@ -1114,36 +1411,102 @@ export interface TrustEntityCertificateResponseBindingDto {
1114
1411
  issuer: string;
1115
1412
  subject: string;
1116
1413
  fingerprint: string;
1117
- extensions: Array<CertificateX509ExtensionBindingDto>;
1414
+ extensions: Array<CertificateX509Extension>;
1415
+ }
1416
+ export interface TrustEntityDetail {
1417
+ id: string;
1418
+ organisationId?: string;
1419
+ createdDate: string;
1420
+ lastModified: string;
1421
+ name: string;
1422
+ logo?: string;
1423
+ website?: string;
1424
+ termsUrl?: string;
1425
+ privacyUrl?: string;
1426
+ role: TrustEntityRole;
1427
+ trustAnchor: TrustAnchorDetail;
1428
+ did?: DidListItem;
1429
+ state: TrustEntityState;
1430
+ entityKey: string;
1431
+ type: TrustEntityType;
1432
+ identifier?: IdentifierListItem;
1433
+ content?: string;
1434
+ ca?: TrustEntityCertificate;
1435
+ }
1436
+ export interface TrustEntityList {
1437
+ values: Array<TrustEntityListItem>;
1438
+ totalPages: number;
1439
+ totalItems: number;
1440
+ }
1441
+ export interface TrustEntityListItem {
1442
+ id: string;
1443
+ name: string;
1444
+ createdDate: string;
1445
+ lastModified: string;
1446
+ logo?: string;
1447
+ website?: string;
1448
+ termsUrl?: string;
1449
+ state: TrustEntityState;
1450
+ privacyUrl?: string;
1451
+ role: TrustEntityRole;
1452
+ trustAnchor: TrustAnchorDetail;
1453
+ did?: DidListItem;
1454
+ }
1455
+ export interface TrustEntityListQuery {
1456
+ page: number;
1457
+ pageSize: number;
1458
+ sort?: SortableTrustEntityColumn;
1459
+ sortDirection?: SortDirection;
1460
+ name?: string;
1461
+ role?: TrustEntityRole;
1462
+ trustAnchor?: string;
1463
+ didId?: string;
1464
+ organisationId?: string;
1465
+ types?: Array<TrustEntityType>;
1466
+ entityKey?: string;
1467
+ states?: Array<TrustEntityState>;
1468
+ exact?: Array<TrustEntityListQueryExactColumn>;
1469
+ createdDateAfter?: string;
1470
+ createdDateBefore?: string;
1471
+ lastModifiedAfter?: string;
1472
+ lastModifiedBefore?: string;
1118
1473
  }
1119
- export interface UnexportableEntitiesBindingDto {
1120
- credentials: Array<CredentialDetailBindingDto>;
1121
- keys: Array<KeyListItemBindingDto>;
1122
- dids: Array<DidListItemBindingDto>;
1123
- identifiers: Array<GetIdentifierListItemBindingDto>;
1474
+ export interface UnexportableEntities {
1475
+ credentials: Array<CredentialDetail>;
1476
+ keys: Array<KeyListItem>;
1477
+ dids: Array<DidListItem>;
1478
+ identifiers: Array<IdentifierListItem>;
1124
1479
  totalCredentials: number;
1125
1480
  totalKeys: number;
1126
1481
  totalDids: number;
1127
1482
  totalIdentifiers: number;
1128
1483
  }
1129
- export interface UpdateRemoteTrustEntityFromDidRequestBindingDto {
1484
+ export interface UpdateRemoteTrustEntityRequest {
1130
1485
  didId: string;
1131
- action?: TrustEntityUpdateActionBindingEnum;
1486
+ action?: TrustEntityUpdateAction;
1132
1487
  name?: string;
1133
1488
  logo?: string | null;
1134
1489
  website?: string | null;
1135
1490
  termsUrl?: string | null;
1136
1491
  privacyUrl?: string | null;
1137
- role?: TrustEntityRoleBindingEnum;
1492
+ role?: TrustEntityRole;
1138
1493
  }
1139
- export interface UpsertOrganisationRequestBindingDto {
1494
+ export interface UpdateVerifierInstanceRequest {
1495
+ trustCollections: Array<string>;
1496
+ }
1497
+ export interface UpsertOrganisationRequest {
1498
+ /** Unique identifier of the organization to create or update. */
1140
1499
  id: string;
1500
+ /** Organization's display name. */
1141
1501
  name?: string;
1502
+ /** Set to `true` to deactivate the organization. */
1142
1503
  deactivate?: boolean;
1504
+ /** Wallet Provider use only. */
1143
1505
  walletProvider?: string | null;
1506
+ /** Wallet Provider use only. */
1144
1507
  walletProviderIssuer?: string | null;
1145
1508
  }
1146
- export interface VersionBindingDto {
1509
+ export interface Version {
1147
1510
  target: string;
1148
1511
  buildTime: string;
1149
1512
  branch: string;
@@ -1152,20 +1515,16 @@ export interface VersionBindingDto {
1152
1515
  rustVersion: string;
1153
1516
  pipelineId: string;
1154
1517
  }
1155
- export interface WalletProviderBindingDto {
1518
+ export interface WalletProvider {
1156
1519
  url: string;
1157
- type: WalletProviderTypeBindingEnum;
1520
+ type: WalletProviderType;
1158
1521
  }
1159
- export type ApplicableCredentialOrFailureHintBindingEnum = {
1522
+ export type ApplicableCredentialOrFailureHint = {
1160
1523
  type_: "APPLICABLE_CREDENTIALS";
1161
- applicableCredentials: Array<PresentationDefinitionV2CredentialDetailBindingDto>;
1524
+ applicableCredentials: Array<PresentationDefinitionV2Credential>;
1162
1525
  } | {
1163
1526
  type_: "FAILURE_HINT";
1164
- failureHint: CredentialQueryFailureHintResponseBindingDto;
1165
- };
1166
- export type BindingError = {
1167
- type_: "ERROR_RESPONSE";
1168
- data: ErrorResponseBindingDto;
1527
+ failureHint: CredentialQueryFailureHint;
1169
1528
  };
1170
1529
  export type BleError = {
1171
1530
  type_: "ADAPTER_NOT_ENABLED";
@@ -1211,7 +1570,7 @@ export type BleError = {
1211
1570
  type_: "UNKNOWN";
1212
1571
  reason: string;
1213
1572
  };
1214
- export declare enum CacheTypeBindingDto {
1573
+ export declare enum CacheType {
1215
1574
  DID_DOCUMENT = "DID_DOCUMENT",
1216
1575
  JSON_LD_CONTEXT = "JSON_LD_CONTEXT",
1217
1576
  STATUS_LIST_CREDENTIAL = "STATUS_LIST_CREDENTIAL",
@@ -1222,28 +1581,37 @@ export declare enum CacheTypeBindingDto {
1222
1581
  ANDROID_ATTESTATION_CRL = "ANDROID_ATTESTATION_CRL",
1223
1582
  OPEN_ID_METADATA = "OPEN_ID_METADATA"
1224
1583
  }
1225
- export declare enum CertificateStateBindingEnum {
1584
+ export declare enum CertificateRole {
1585
+ AUTHENTICATION = "AUTHENTICATION",
1586
+ ASSERTION_METHOD = "ASSERTION_METHOD"
1587
+ }
1588
+ /** The mode used to match certificate roles. Default any. */
1589
+ export declare enum CertificateRolesMatchMode {
1590
+ ALL = "ALL",
1591
+ ANY = "ANY"
1592
+ }
1593
+ export declare enum CertificateState {
1226
1594
  NOT_YET_ACTIVE = "NOT_YET_ACTIVE",
1227
1595
  ACTIVE = "ACTIVE",
1228
1596
  REVOKED = "REVOKED",
1229
1597
  EXPIRED = "EXPIRED"
1230
1598
  }
1231
- export declare enum CharacteristicPermissionBindingEnum {
1599
+ export declare enum CharacteristicPermission {
1232
1600
  READ = "READ",
1233
1601
  WRITE = "WRITE"
1234
1602
  }
1235
- export declare enum CharacteristicPropertyBindingEnum {
1603
+ export declare enum CharacteristicProperty {
1236
1604
  READ = "READ",
1237
1605
  WRITE = "WRITE",
1238
1606
  NOTIFY = "NOTIFY",
1239
1607
  WRITE_WITHOUT_RESPONSE = "WRITE_WITHOUT_RESPONSE",
1240
1608
  INDICATE = "INDICATE"
1241
1609
  }
1242
- export declare enum CharacteristicWriteTypeBindingEnum {
1610
+ export declare enum CharacteristicWriteType {
1243
1611
  WITH_RESPONSE = "WITH_RESPONSE",
1244
1612
  WITHOUT_RESPONSE = "WITHOUT_RESPONSE"
1245
1613
  }
1246
- export type ClaimValueBindingDto = {
1614
+ export type ClaimValue = {
1247
1615
  type_: "BOOLEAN";
1248
1616
  value: boolean;
1249
1617
  } | {
@@ -1257,43 +1625,48 @@ export type ClaimValueBindingDto = {
1257
1625
  value: string;
1258
1626
  } | {
1259
1627
  type_: "NESTED";
1260
- value: Array<ClaimBindingDto>;
1628
+ value: Array<Claim>;
1261
1629
  };
1262
- export declare enum ClientIdSchemeBindingEnum {
1630
+ export declare enum ClientIdScheme {
1263
1631
  REDIRECT_URI = "REDIRECT_URI",
1264
1632
  VERIFIER_ATTESTATION = "VERIFIER_ATTESTATION",
1265
1633
  DID = "DID",
1266
1634
  X509_SAN_DNS = "X509_SAN_DNS"
1267
1635
  }
1268
- export type ConnectionEventBindingEnum = {
1636
+ export type ConnectionEvent = {
1269
1637
  type_: "CONNECTED";
1270
- deviceInfo: DeviceInfoBindingDto;
1638
+ deviceInfo: DeviceInfo;
1271
1639
  } | {
1272
1640
  type_: "DISCONNECTED";
1273
1641
  deviceAddress: string;
1274
1642
  };
1275
- export declare enum CreateSelfSignedCaRequestIssuerAlternativeNameTypeBindingEnum {
1643
+ export declare enum CreateSelfSignedCaRequestIssuerAlternativeNameType {
1276
1644
  EMAIL = "EMAIL",
1277
1645
  URI = "URI"
1278
1646
  }
1279
- export declare enum CredentialListIncludeEntityTypeBindingEnum {
1647
+ export declare enum CredentialListIncludeEntityType {
1280
1648
  LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES",
1281
1649
  CREDENTIAL = "CREDENTIAL"
1282
1650
  }
1283
- export declare enum CredentialListQueryExactColumnBindingEnum {
1651
+ export declare enum CredentialListQueryExactColumn {
1284
1652
  NAME = "NAME"
1285
1653
  }
1286
- export declare enum CredentialQueryFailureReasonBindingEnum {
1654
+ export declare enum CredentialListQuerySearchType {
1655
+ CLAIM_NAME = "CLAIM_NAME",
1656
+ CLAIM_VALUE = "CLAIM_VALUE",
1657
+ CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME"
1658
+ }
1659
+ export declare enum CredentialQueryFailureReason {
1287
1660
  NO_CREDENTIAL = "NO_CREDENTIAL",
1288
1661
  VALIDITY = "VALIDITY",
1289
1662
  CONSTRAINT = "CONSTRAINT"
1290
1663
  }
1291
- export declare enum CredentialRoleBindingDto {
1664
+ export declare enum CredentialRole {
1292
1665
  HOLDER = "HOLDER",
1293
1666
  ISSUER = "ISSUER",
1294
1667
  VERIFIER = "VERIFIER"
1295
1668
  }
1296
- export declare enum CredentialSchemaCodeTypeBindingDto {
1669
+ export declare enum CredentialSchemaCodeType {
1297
1670
  BARCODE = "BARCODE",
1298
1671
  MRZ = "MRZ",
1299
1672
  QR_CODE = "QR_CODE"
@@ -1301,11 +1674,11 @@ export declare enum CredentialSchemaCodeTypeBindingDto {
1301
1674
  export declare enum CredentialSchemaListIncludeEntityType {
1302
1675
  LAYOUT_PROPERTIES = "LAYOUT_PROPERTIES"
1303
1676
  }
1304
- export declare enum CredentialSchemaListQueryExactColumnBindingEnum {
1677
+ export declare enum CredentialSchemaListQueryExactColumn {
1305
1678
  NAME = "NAME",
1306
1679
  SCHEMA_ID = "SCHEMA_ID"
1307
1680
  }
1308
- export declare enum CredentialStateBindingEnum {
1681
+ export declare enum CredentialState {
1309
1682
  CREATED = "CREATED",
1310
1683
  PENDING = "PENDING",
1311
1684
  OFFERED = "OFFERED",
@@ -1316,29 +1689,21 @@ export declare enum CredentialStateBindingEnum {
1316
1689
  ERROR = "ERROR",
1317
1690
  INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
1318
1691
  }
1319
- export declare enum DidTypeBindingEnum {
1320
- LOCAL = "LOCAL",
1321
- REMOTE = "REMOTE"
1322
- }
1323
- export declare enum ExactDidFilterColumnBindingEnum {
1692
+ export declare enum DidListQueryExactColumn {
1324
1693
  NAME = "NAME",
1325
1694
  DID = "DID"
1326
1695
  }
1327
- export declare enum ExactIdentifierFilterColumnBindingEnum {
1328
- NAME = "NAME"
1329
- }
1330
- export declare enum ExactTrustAnchorFilterColumnBindings {
1331
- NAME = "NAME",
1332
- TYPE = "TYPE"
1333
- }
1334
- export declare enum ExactTrustEntityFilterColumnBindings {
1335
- NAME = "NAME"
1696
+ export declare enum DidType {
1697
+ LOCAL = "LOCAL",
1698
+ REMOTE = "REMOTE"
1336
1699
  }
1337
- export type HandleInvitationResponseBindingEnum = {
1700
+ export type HandleInvitationResponse = {
1338
1701
  type_: "CREDENTIAL_ISSUANCE";
1339
1702
  /** For reference. */
1340
1703
  interactionId: string;
1341
- keyStorageSecurityLevels?: Array<KeyStorageSecurityBindingEnum>;
1704
+ /** Key storage required to complete issuance. */
1705
+ keyStorageSecurityLevels?: Array<KeyStorageSecurity>;
1706
+ /** Key algorithms suitable for issuance. */
1342
1707
  keyAlgorithms?: Array<string>;
1343
1708
  /**
1344
1709
  * Metadata for entering a transaction code
@@ -1346,8 +1711,10 @@ export type HandleInvitationResponseBindingEnum = {
1346
1711
  * wallet user must input a transaction code to receive the offered credential.
1347
1712
  * This code is typically sent through a separate channel such as SMS or email.
1348
1713
  */
1349
- txCode?: OpenId4vciTxCodeBindingDto;
1714
+ txCode?: OpenId4vciTxCode;
1715
+ /** Protocol used for issuance. */
1350
1716
  protocol: string;
1717
+ /** Whether a valid WIA is required to complete issuance. */
1351
1718
  requiresWalletInstanceAttestation: boolean;
1352
1719
  } | {
1353
1720
  type_: "AUTHORIZATION_CODE_FLOW";
@@ -1358,6 +1725,7 @@ export type HandleInvitationResponseBindingEnum = {
1358
1725
  * the authorization process with the authorization server.
1359
1726
  */
1360
1727
  authorizationCodeFlowUrl: string;
1728
+ /** Protocol used for issuance. */
1361
1729
  protocol: string;
1362
1730
  } | {
1363
1731
  type_: "PROOF_REQUEST";
@@ -1365,9 +1733,10 @@ export type HandleInvitationResponseBindingEnum = {
1365
1733
  interactionId: string;
1366
1734
  /** Proof request. */
1367
1735
  proofId: string;
1736
+ /** Protocol used for issuance. */
1368
1737
  protocol: string;
1369
1738
  };
1370
- export declare enum HistoryActionBindingEnum {
1739
+ export declare enum HistoryAction {
1371
1740
  ACCEPTED = "ACCEPTED",
1372
1741
  CREATED = "CREATED",
1373
1742
  CSR_GENERATED = "CSR_GENERATED",
@@ -1395,9 +1764,11 @@ export declare enum HistoryActionBindingEnum {
1395
1764
  INTERACTION_CREATED = "INTERACTION_CREATED",
1396
1765
  INTERACTION_ERRORED = "INTERACTION_ERRORED",
1397
1766
  INTERACTION_EXPIRED = "INTERACTION_EXPIRED",
1398
- DELIVERED = "DELIVERED"
1767
+ DELIVERED = "DELIVERED",
1768
+ WRP_AC_RECEIVED = "WRP_AC_RECEIVED",
1769
+ WRP_RC_RECEIVED = "WRP_RC_RECEIVED"
1399
1770
  }
1400
- export declare enum HistoryEntityTypeBindingEnum {
1771
+ export declare enum HistoryEntityType {
1401
1772
  KEY = "KEY",
1402
1773
  DID = "DID",
1403
1774
  IDENTIFIER = "IDENTIFIER",
@@ -1421,19 +1792,27 @@ export declare enum HistoryEntityTypeBindingEnum {
1421
1792
  STS_TOKEN = "STS_TOKEN",
1422
1793
  SIGNATURE = "SIGNATURE",
1423
1794
  NOTIFICATION = "NOTIFICATION",
1424
- SUPERVISORY_AUTHORITY = "SUPERVISORY_AUTHORITY"
1795
+ SUPERVISORY_AUTHORITY = "SUPERVISORY_AUTHORITY",
1796
+ TRUST_LIST_PUBLICATION = "TRUST_LIST_PUBLICATION",
1797
+ TRUST_COLLECTION = "TRUST_COLLECTION",
1798
+ TRUST_LIST_SUBSCRIPTION = "TRUST_LIST_SUBSCRIPTION",
1799
+ VERIFIER_INSTANCE = "VERIFIER_INSTANCE"
1425
1800
  }
1426
- export type HistoryMetadataBinding = {
1801
+ export type HistoryMetadata = {
1427
1802
  type_: "UNEXPORTABLE_ENTITIES";
1428
- value: UnexportableEntitiesBindingDto;
1803
+ value: UnexportableEntities;
1429
1804
  } | {
1430
1805
  type_: "ERROR_METADATA";
1431
- value: HistoryErrorMetadataBindingDto;
1806
+ value: HistoryErrorMetadata;
1432
1807
  } | {
1433
1808
  type_: "WALLET_UNIT_JWT";
1434
1809
  value: [string];
1810
+ } | {
1811
+ type_: "CERTIFICATE";
1812
+ value: [string];
1435
1813
  };
1436
- export declare enum HistorySearchEnumBindingEnum {
1814
+ export declare enum HistorySearchType {
1815
+ ALL = "ALL",
1437
1816
  CLAIM_NAME = "CLAIM_NAME",
1438
1817
  CLAIM_VALUE = "CLAIM_VALUE",
1439
1818
  CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME",
@@ -1443,30 +1822,36 @@ export declare enum HistorySearchEnumBindingEnum {
1443
1822
  VERIFIER_NAME = "VERIFIER_NAME",
1444
1823
  PROOF_SCHEMA_NAME = "PROOF_SCHEMA_NAME"
1445
1824
  }
1446
- export declare enum IdentifierStateBindingEnum {
1825
+ export declare enum IdentifierListQueryExactColumn {
1826
+ NAME = "NAME"
1827
+ }
1828
+ export declare enum IdentifierState {
1447
1829
  ACTIVE = "ACTIVE",
1448
1830
  DEACTIVATED = "DEACTIVATED"
1449
1831
  }
1450
- export declare enum IdentifierTypeBindingEnum {
1832
+ export declare enum IdentifierTrustInformationType {
1833
+ REGISTRATION_CERTIFICATE = "REGISTRATION_CERTIFICATE"
1834
+ }
1835
+ export declare enum IdentifierType {
1451
1836
  KEY = "KEY",
1452
1837
  DID = "DID",
1453
1838
  CERTIFICATE = "CERTIFICATE",
1454
1839
  CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
1455
1840
  }
1456
- export declare enum KeyRoleBindingEnum {
1841
+ export declare enum KeyRole {
1457
1842
  AUTHENTICATION = "AUTHENTICATION",
1458
1843
  ASSERTION_METHOD = "ASSERTION_METHOD",
1459
1844
  KEY_AGREEMENT = "KEY_AGREEMENT",
1460
1845
  CAPABILITY_INVOCATION = "CAPABILITY_INVOCATION",
1461
1846
  CAPABILITY_DELEGATION = "CAPABILITY_DELEGATION"
1462
1847
  }
1463
- export declare enum KeyStorageSecurityBindingEnum {
1848
+ export declare enum KeyStorageSecurity {
1464
1849
  HIGH = "HIGH",
1465
1850
  MODERATE = "MODERATE",
1466
1851
  ENHANCED_BASIC = "ENHANCED_BASIC",
1467
1852
  BASIC = "BASIC"
1468
1853
  }
1469
- export declare enum LayoutTypeBindingEnum {
1854
+ export declare enum LayoutType {
1470
1855
  CARD = "CARD",
1471
1856
  DOCUMENT = "DOCUMENT",
1472
1857
  SINGLE_ATTRIBUTE = "SINGLE_ATTRIBUTE"
@@ -1499,15 +1884,19 @@ export type NfcError = {
1499
1884
  type_: "UNKNOWN";
1500
1885
  reason: string;
1501
1886
  };
1502
- export declare enum OpenId4vciTxCodeInputModeBindingEnum {
1887
+ export type OneCoreError = {
1888
+ type_: "RESPONSE";
1889
+ data: ErrorResponse;
1890
+ };
1891
+ export declare enum OpenId4vciTxCodeInputMode {
1503
1892
  NUMERIC = "NUMERIC",
1504
1893
  TEXT = "TEXT"
1505
1894
  }
1506
- export declare enum PresentationDefinitionRuleTypeBindingEnum {
1895
+ export declare enum PresentationDefinitionRuleType {
1507
1896
  ALL = "ALL",
1508
1897
  PICK = "PICK"
1509
1898
  }
1510
- export type PresentationDefinitionV2ClaimValueBindingDto = {
1899
+ export type PresentationDefinitionV2ClaimValue = {
1511
1900
  type_: "BOOLEAN";
1512
1901
  value: boolean;
1513
1902
  } | {
@@ -1521,26 +1910,26 @@ export type PresentationDefinitionV2ClaimValueBindingDto = {
1521
1910
  value: string;
1522
1911
  } | {
1523
1912
  type_: "NESTED";
1524
- value: Array<PresentationDefinitionV2ClaimBindingDto>;
1913
+ value: Array<PresentationDefinitionV2Claim>;
1525
1914
  };
1526
- export declare enum ProofListQueryExactColumnBindingEnum {
1527
- NAME = "NAME"
1528
- }
1529
- export type ProofRequestClaimValueBindingDto = {
1915
+ export type ProofClaimValue = {
1530
1916
  type_: "VALUE";
1531
1917
  value: string;
1532
1918
  } | {
1533
1919
  type_: "CLAIMS";
1534
- value: Array<ProofRequestClaimBindingDto>;
1920
+ value: Array<ProofClaim>;
1535
1921
  };
1536
- export declare enum ProofRoleBindingEnum {
1922
+ export declare enum ProofListQueryExactColumn {
1923
+ NAME = "NAME"
1924
+ }
1925
+ export declare enum ProofRole {
1537
1926
  HOLDER = "HOLDER",
1538
1927
  VERIFIER = "VERIFIER"
1539
1928
  }
1540
- export declare enum ProofSchemaListQueryExactColumnBinding {
1929
+ export declare enum ProofSchemaListQueryExactColumn {
1541
1930
  NAME = "NAME"
1542
1931
  }
1543
- export declare enum ProofStateBindingEnum {
1932
+ export declare enum ProofState {
1544
1933
  CREATED = "CREATED",
1545
1934
  PENDING = "PENDING",
1546
1935
  REQUESTED = "REQUESTED",
@@ -1550,27 +1939,22 @@ export declare enum ProofStateBindingEnum {
1550
1939
  ERROR = "ERROR",
1551
1940
  INTERACTION_EXPIRED = "INTERACTION_EXPIRED"
1552
1941
  }
1553
- export declare enum SearchTypeBindingEnum {
1554
- CLAIM_NAME = "CLAIM_NAME",
1555
- CLAIM_VALUE = "CLAIM_VALUE",
1556
- CREDENTIAL_SCHEMA_NAME = "CREDENTIAL_SCHEMA_NAME"
1557
- }
1558
1942
  export declare enum SortDirection {
1559
1943
  ASCENDING = "ASCENDING",
1560
1944
  DESCENDING = "DESCENDING"
1561
1945
  }
1562
- export declare enum SortableCredentialColumnBindingEnum {
1946
+ export declare enum SortableCredentialColumn {
1563
1947
  CREATED_DATE = "CREATED_DATE",
1564
1948
  SCHEMA_NAME = "SCHEMA_NAME",
1565
1949
  ISSUER = "ISSUER",
1566
1950
  STATE = "STATE"
1567
1951
  }
1568
- export declare enum SortableCredentialSchemaColumnBindingEnum {
1952
+ export declare enum SortableCredentialSchemaColumn {
1569
1953
  NAME = "NAME",
1570
1954
  FORMAT = "FORMAT",
1571
1955
  CREATED_DATE = "CREATED_DATE"
1572
1956
  }
1573
- export declare enum SortableDidColumnBindingEnum {
1957
+ export declare enum SortableDidColumn {
1574
1958
  NAME = "NAME",
1575
1959
  CREATED_DATE = "CREATED_DATE",
1576
1960
  METHOD = "METHOD",
@@ -1578,105 +1962,121 @@ export declare enum SortableDidColumnBindingEnum {
1578
1962
  DID = "DID",
1579
1963
  DEACTIVATED = "DEACTIVATED"
1580
1964
  }
1581
- export declare enum SortableIdentifierColumnBindingEnum {
1965
+ export declare enum SortableHistoryColumn {
1966
+ CREATED_DATE = "CREATED_DATE",
1967
+ ACTION = "ACTION",
1968
+ ENTITY_TYPE = "ENTITY_TYPE",
1969
+ SOURCE = "SOURCE",
1970
+ USER = "USER",
1971
+ ORGANISATION_ID = "ORGANISATION_ID"
1972
+ }
1973
+ export declare enum SortableIdentifierColumn {
1582
1974
  NAME = "NAME",
1583
1975
  CREATED_DATE = "CREATED_DATE",
1584
1976
  TYPE = "TYPE",
1585
1977
  STATE = "STATE"
1586
1978
  }
1587
- export declare enum SortableProofListColumnBinding {
1979
+ export declare enum SortableProofColumn {
1588
1980
  SCHEMA_NAME = "SCHEMA_NAME",
1589
1981
  VERIFIER = "VERIFIER",
1590
1982
  STATE = "STATE",
1591
1983
  CREATED_DATE = "CREATED_DATE"
1592
1984
  }
1593
- export declare enum SortableProofSchemaColumnBinding {
1985
+ export declare enum SortableProofSchemaColumn {
1594
1986
  NAME = "NAME",
1595
1987
  CREATED_DATE = "CREATED_DATE"
1596
1988
  }
1597
- export declare enum SortableTrustAnchorColumnBindings {
1989
+ export declare enum SortableTrustAnchorColumn {
1598
1990
  NAME = "NAME",
1599
1991
  CREATED_DATE = "CREATED_DATE",
1600
1992
  TYPE = "TYPE"
1601
1993
  }
1602
- export declare enum SortableTrustEntityColumnBindings {
1994
+ export declare enum SortableTrustEntityColumn {
1603
1995
  NAME = "NAME",
1604
1996
  ROLE = "ROLE",
1605
1997
  LAST_MODIFIED = "LAST_MODIFIED",
1606
1998
  STATE = "STATE"
1607
1999
  }
1608
- export declare enum TransactionCodeTypeBindingEnum {
2000
+ export declare enum TransactionCodeType {
1609
2001
  NUMERIC = "NUMERIC",
1610
2002
  ALPHANUMERIC = "ALPHANUMERIC"
1611
2003
  }
1612
- export declare enum TrustEntityRoleBindingEnum {
2004
+ export declare enum TrustAnchorListQueryExactColumn {
2005
+ NAME = "NAME",
2006
+ TYPE = "TYPE"
2007
+ }
2008
+ export declare enum TrustEntityListQueryExactColumn {
2009
+ NAME = "NAME"
2010
+ }
2011
+ export declare enum TrustEntityRole {
1613
2012
  ISSUER = "ISSUER",
1614
2013
  VERIFIER = "VERIFIER",
1615
2014
  BOTH = "BOTH"
1616
2015
  }
1617
- export declare enum TrustEntityStateBindingEnum {
2016
+ export declare enum TrustEntityState {
1618
2017
  ACTIVE = "ACTIVE",
1619
2018
  REMOVED = "REMOVED",
1620
2019
  WITHDRAWN = "WITHDRAWN",
1621
2020
  REMOVED_AND_WITHDRAWN = "REMOVED_AND_WITHDRAWN"
1622
2021
  }
1623
- export declare enum TrustEntityTypeBindingEnum {
2022
+ export declare enum TrustEntityType {
1624
2023
  DID = "DID",
1625
2024
  /** certificate authority */
1626
2025
  CA = "CA"
1627
2026
  }
1628
- export declare enum TrustEntityUpdateActionBindingEnum {
2027
+ export declare enum TrustEntityUpdateAction {
1629
2028
  ADMIN_ACTIVATE = "ADMIN_ACTIVATE",
1630
2029
  ACTIVATE = "ACTIVATE",
1631
2030
  WITHDRAW = "WITHDRAW",
1632
2031
  REMOVE = "REMOVE"
1633
2032
  }
1634
- export declare enum WalletProviderTypeBindingEnum {
2033
+ export declare enum WalletProviderType {
1635
2034
  PROCIVIS_ONE = "PROCIVIS_ONE"
1636
2035
  }
1637
- export declare enum WalletUnitStatusBindingEnum {
2036
+ export declare enum WalletUnitStatus {
1638
2037
  PENDING = "PENDING",
1639
2038
  ACTIVE = "ACTIVE",
1640
2039
  REVOKED = "REVOKED",
2040
+ UNATTESTED = "UNATTESTED",
1641
2041
  ERROR = "ERROR"
1642
2042
  }
1643
2043
  export interface BleCentral {
2044
+ connect(peripheral: string): Promise<number>;
2045
+ disconnect(peripheral: string): Promise<void>;
2046
+ getDiscoveredDevices(): Promise<Array<PeripheralDiscoveryData>>;
2047
+ getNotifications(peripheral: string, service: string, characteristic: string): Promise<Array<number[]>>;
1644
2048
  isAdapterEnabled(): Promise<boolean>;
1645
- startScan(filterServices: Array<string> | undefined): Promise<void>;
1646
- stopScan(): Promise<void>;
1647
2049
  isScanning(): Promise<boolean>;
1648
- writeData(peripheral: string, service: string, characteristic: string, data: number[], writeType: CharacteristicWriteTypeBindingEnum): Promise<void>;
1649
2050
  readData(peripheral: string, service: string, characteristic: string): Promise<number[]>;
1650
- connect(peripheral: string): Promise<number>;
1651
- disconnect(peripheral: string): Promise<void>;
1652
- getDiscoveredDevices(): Promise<Array<PeripheralDiscoveryDataBindingDto>>;
2051
+ startScan(filterServices: Array<string> | undefined): Promise<void>;
2052
+ stopScan(): Promise<void>;
1653
2053
  subscribeToCharacteristicNotifications(peripheral: string, service: string, characteristic: string): Promise<void>;
1654
2054
  unsubscribeFromCharacteristicNotifications(peripheral: string, service: string, characteristic: string): Promise<void>;
1655
- getNotifications(peripheral: string, service: string, characteristic: string): Promise<Array<number[]>>;
2055
+ writeData(peripheral: string, service: string, characteristic: string, data: number[], writeType: CharacteristicWriteType): Promise<void>;
1656
2056
  }
1657
2057
  export interface BlePeripheral {
2058
+ getCharacteristicWrites(device: string, service: string, characteristic: string): Promise<Array<number[]>>;
2059
+ getConnectionChangeEvents(): Promise<Array<ConnectionEvent>>;
1658
2060
  isAdapterEnabled(): Promise<boolean>;
1659
- startAdvertisement(deviceName: string | undefined, services: Array<ServiceDescriptionBindingDto>): Promise<string | undefined>;
1660
- stopAdvertisement(): Promise<void>;
1661
2061
  isAdvertising(): Promise<boolean>;
1662
- setCharacteristicData(service: string, characteristic: string, data: number[]): Promise<void>;
1663
2062
  notifyCharacteristicData(deviceAddress: string, service: string, characteristic: string, data: number[]): Promise<void>;
1664
- getConnectionChangeEvents(): Promise<Array<ConnectionEventBindingEnum>>;
1665
- getCharacteristicWrites(device: string, service: string, characteristic: string): Promise<Array<number[]>>;
1666
- waitForCharacteristicRead(device: string, service: string, characteristic: string): Promise<void>;
2063
+ setCharacteristicData(service: string, characteristic: string, data: number[]): Promise<void>;
2064
+ startAdvertisement(deviceName: string | undefined, services: Array<ServiceDescription>): Promise<string | undefined>;
2065
+ stopAdvertisement(): Promise<void>;
1667
2066
  stopServer(): Promise<void>;
2067
+ waitForCharacteristicRead(device: string, service: string, characteristic: string): Promise<void>;
1668
2068
  }
1669
2069
  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
2070
  generateAttestation(keyReference: number[], nonce: string | undefined): Promise<Array<string>>;
2071
+ generateAttestationKey(keyAlias: string, nonce: string | undefined): Promise<GeneratedKey>;
2072
+ generateKey(keyAlias: string): Promise<GeneratedKey>;
2073
+ sign(keyReference: number[], message: number[]): Promise<number[]>;
1674
2074
  signWithAttestationKey(keyReference: number[], message: number[]): Promise<number[]>;
1675
2075
  }
1676
2076
  /** Provider of NFC host-card emulation (HCE) */
1677
2077
  export interface NfcHce {
1678
- isSupported(): Promise<boolean>;
1679
2078
  isEnabled(): Promise<boolean>;
2079
+ isSupported(): Promise<boolean>;
1680
2080
  /**
1681
2081
  * Starts NFC host-card emulation (HCE)
1682
2082
  * * `handler` implementation for handling NFC events
@@ -1699,10 +2099,16 @@ export interface NfcHceHandler {
1699
2099
  }
1700
2100
  /** Provider of NFC scanner functionality */
1701
2101
  export interface NfcScanner {
1702
- /** Check whether NFC scanning is supported on the device */
1703
- isSupported(): Promise<boolean>;
2102
+ /**
2103
+ * Stops scanning previously started via `scan`
2104
+ * or disconnects the established session
2105
+ * * `error_message` - error UI message to display on the system NFC overlay (iOS)
2106
+ */
2107
+ cancelScan(errorMessage: string | undefined): Promise<void>;
1704
2108
  /** Check whether NFC adapter is enabled on the device (android only, iOS always enabled) */
1705
2109
  isEnabled(): Promise<boolean>;
2110
+ /** Check whether NFC scanning is supported on the device */
2111
+ isSupported(): Promise<boolean>;
1706
2112
  /**
1707
2113
  * Starts scanning for ISO 7816-4 NFC tag
1708
2114
  * * `message` - UI message to display on the system NFC overlay (iOS)
@@ -1715,18 +2121,27 @@ export interface NfcScanner {
1715
2121
  scan(message: string | undefined): Promise<void>;
1716
2122
  /** Update UI message on the system NFC scanner overlay (iOS) - previously set via `scan` */
1717
2123
  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
2124
  /** Send APDU request and wait for response APDU */
1725
2125
  transceive(commandApdu: number[]): Promise<number[]>;
1726
2126
  }
1727
- export interface OneCoreBinding {
1728
- backupInfo(): Promise<UnexportableEntitiesBindingDto>;
1729
- checkRevocation(credentialIds: Array<string>, forceRefresh: boolean | undefined): Promise<Array<CredentialRevocationCheckResponseBindingDto>>;
2127
+ export interface OneCore {
2128
+ /**
2129
+ * Returns information about items that will be excluded from the
2130
+ * export.
2131
+ */
2132
+ backupInfo(): Promise<UnexportableEntities>;
2133
+ /**
2134
+ * Checks whether a held credential has been suspended or revoked.
2135
+ *
2136
+ * For list-based revocation methods, the signed lists and any DID
2137
+ * documents containing public keys used to verify the lists are
2138
+ * cached. Use `forceRefresh` to force the system to retrieve these
2139
+ * from the external resource.
2140
+ *
2141
+ * For modcs, use `forceRefresh` to force the system to request a
2142
+ * new MSO.
2143
+ */
2144
+ checkRevocation(credentialIds: Array<string>, forceRefresh: boolean | undefined): Promise<Array<CredentialRevocationCheckResponse>>;
1730
2145
  /**
1731
2146
  * For wallet-initiated flows, continues the OpenID4VCI issuance
1732
2147
  * process after completing authorization.
@@ -1735,98 +2150,195 @@ export interface OneCoreBinding {
1735
2150
  * Authorization Code Flow issuance process. For example:
1736
2151
  * `myapp://example/credential-offer?code=xxx&clientId=myWallet&...`
1737
2152
  */
1738
- continueIssuance(url: string): Promise<ContinueIssuanceResponseBindingDto>;
1739
- createBackup(password: string, outputPath: string): Promise<BackupCreateBindingDto>;
1740
- createDid(request: DidRequestBindingDto): Promise<string>;
1741
- createIdentifier(request: CreateIdentifierRequestBindingDto): Promise<string>;
1742
- createOrganisation(request: CreateOrganisationRequestBindingDto): Promise<string>;
1743
- /** For verifiers, creates a proof request. */
1744
- createProof(request: CreateProofRequestBindingDto): Promise<string>;
1745
- createProofSchema(request: CreateProofSchemaRequestDto): Promise<string>;
1746
- createRemoteTrustEntity(request: CreateRemoteTrustEntityRequestBindingDto): Promise<string>;
1747
- createTrustAnchor(anchor: CreateTrustAnchorRequestBindingDto): Promise<string>;
1748
- createTrustEntity(request: CreateTrustEntityRequestBindingDto): Promise<string>;
1749
- deleteCache(types: Array<CacheTypeBindingDto> | undefined): Promise<void>;
2153
+ continueIssuance(url: string): Promise<ContinueIssuanceResponse>;
2154
+ /** Creates a backup of the current database and writes it to a file. */
2155
+ createBackup(password: string, outputPath: string): Promise<CreatedBackup>;
2156
+ /** Deprecated. Use the `createIdentifier` method. */
2157
+ createDid(request: CreateDidRequest): Promise<string>;
2158
+ /** Creates a new identifier. */
2159
+ createIdentifier(request: CreateIdentifierRequest): Promise<string>;
2160
+ /** Creates an organization. */
2161
+ createOrganisation(request: CreateOrganisationRequest): Promise<string>;
2162
+ /**
2163
+ * For verifiers, creates a proof request. Choose what information to
2164
+ * request via a proof schema, an identifier, and which protocol to use
2165
+ * for making the request.
2166
+ */
2167
+ createProof(request: CreateProofRequest): Promise<string>;
2168
+ /**
2169
+ * Creates a proof schema, which defines the credentials and claims to
2170
+ * request from a wallet. Proof schemas reference credential schemas
2171
+ * already created in your own system; create or import those first
2172
+ * before building a proof schema that includes their claims.
2173
+ */
2174
+ createProofSchema(request: CreateProofSchemaRequest): Promise<string>;
2175
+ createRemoteTrustEntity(request: CreateRemoteTrustEntityRequest): Promise<string>;
2176
+ createTrustAnchor(anchor: CreateTrustAnchorRequest): Promise<string>;
2177
+ createTrustEntity(request: CreateTrustEntityRequest): Promise<string>;
2178
+ /**
2179
+ * Deletes the system cache. See the
2180
+ * [Caching](https://docs.procivis.ch/configure/caching#cached-entities)
2181
+ * guide for details on cached entities.
2182
+ */
2183
+ deleteCache(types: Array<CacheType> | undefined): Promise<void>;
1750
2184
  deleteCredential(credentialId: string): Promise<void>;
2185
+ /** Permanently removes a credential schema. */
1751
2186
  deleteCredentialSchema(credentialSchemaId: string): Promise<void>;
1752
2187
  deleteIdentifier(id: string): Promise<void>;
2188
+ /**
2189
+ * Deletes an incomplete proof request. If the request is in `REQUESTED`
2190
+ * state the proof is retracted instead, retaining history of the interaction.
2191
+ */
1753
2192
  deleteProof(proofId: string): Promise<void>;
1754
2193
  deleteProofClaims(proofId: string): Promise<void>;
1755
2194
  deleteProofSchema(proofSchemaId: string): Promise<void>;
1756
2195
  deleteTrustAnchor(anchorId: string): Promise<void>;
2196
+ /**
2197
+ * Commits to the restored database, replacing the original. The old
2198
+ * database is deleted.
2199
+ */
1757
2200
  finalizeImport(): Promise<void>;
1758
- generateKey(request: KeyRequestBindingDto): Promise<string>;
1759
- getConfig(): Promise<ConfigBindingDto>;
1760
- getCredential(credentialId: string): Promise<CredentialDetailBindingDto>;
1761
- getCredentialSchema(credentialSchemaId: string): Promise<CredentialSchemaDetailBindingDto>;
1762
- getCredentialSchemas(query: CredentialSchemaListQueryBindingDto): Promise<CredentialSchemaListBindingDto>;
1763
- getCredentials(query: CredentialListQueryBindingDto): Promise<CredentialListBindingDto>;
1764
- getDids(query: DidListQueryBindingDto): Promise<DidListBindingDto>;
1765
- getHistoryEntry(historyId: string): Promise<HistoryListItemBindingDto>;
1766
- getHistoryList(query: HistoryListQueryBindingDto): Promise<HistoryListBindingDto>;
1767
- getIdentifier(id: string): Promise<GetIdentifierBindingDto>;
1768
- getPresentationDefinition(proofId: string): Promise<PresentationDefinitionBindingDto>;
1769
- getPresentationDefinitionV2(proofId: string): Promise<PresentationDefinitionV2ResponseBindingDto>;
1770
- getProof(proofId: string): Promise<ProofResponseBindingDto>;
1771
- getProofSchema(proofSchemaId: string): Promise<GetProofSchemaBindingDto>;
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>;
2201
+ generateKey(request: GenerateKeyRequest): Promise<string>;
2202
+ /** Returns the system configuration. */
2203
+ getConfig(): Promise<Config>;
2204
+ /** Returns detailed information about a credential in the system. */
2205
+ getCredential(credentialId: string): Promise<CredentialDetail>;
2206
+ /**
2207
+ * Returns detailed information about a credential schema.
2208
+ * A credential schema defines the structure and format of a credential,
2209
+ * including the attributes that issuers make claims about. Schemas also
2210
+ * specify how issued credentials should be presented in wallets, whether
2211
+ * a revocation method is used to manage credential status, and issuer
2212
+ * preferences for suitable key storage types for wallets to use.
2213
+ */
2214
+ getCredentialSchema(credentialSchemaId: string): Promise<CredentialSchemaDetail>;
2215
+ /** Returns details on a single event. */
2216
+ getHistoryEntry(historyId: string): Promise<HistoryListItem>;
2217
+ getIdentifier(id: string): Promise<IdentifierDetail>;
2218
+ getPresentationDefinition(proofId: string): Promise<PresentationDefinition>;
2219
+ getPresentationDefinitionV2(proofId: string): Promise<PresentationDefinitionV2>;
2220
+ /** Returns detailed information about a proof request. */
2221
+ getProof(proofId: string): Promise<ProofDetail>;
2222
+ getProofSchema(proofSchemaId: string): Promise<ProofSchemaDetail>;
2223
+ getRemoteTrustEntity(didId: string): Promise<RemoteTrustEntityDetail>;
2224
+ getTrustAnchor(trustAnchorId: string): Promise<TrustAnchorDetail>;
2225
+ getTrustEntity(trustEntityId: string): Promise<TrustEntityDetail>;
2226
+ getTrustEntityByDid(didId: string): Promise<TrustEntityDetail>;
2227
+ /** Returns trust collections curated by the Verifier Provider. */
2228
+ getVerifierInstanceTrustCollections(id: string): Promise<TrustCollections>;
1778
2229
  /**
1779
2230
  * For a wallet, handles the interaction once the wallet connects to a share
1780
2231
  * endpoint URL (for example, scans the QR code of an offered credential or
1781
2232
  * request for proof).
1782
2233
  */
1783
- handleInvitation(request: HandleInvitationRequestBindingDto): Promise<HandleInvitationResponseBindingEnum>;
2234
+ handleInvitation(request: HandleInvitationRequest): Promise<HandleInvitationResponse>;
1784
2235
  /**
1785
2236
  * Accepts an offered credential. The system will generate a new
1786
2237
  * identifier that matches issuer's restrictions. Alternatively,
1787
2238
  * you can specify an existing identifier.
1788
2239
  */
1789
- holderAcceptCredential(request: HolderAcceptCredentialRequestBindingDto): Promise<string>;
1790
- holderGetWalletUnit(id: string): Promise<HolderWalletUnitResponseBindingDto>;
1791
- /** Register with a Wallet Provider. */
1792
- holderRegisterWalletUnit(request: HolderRegisterWalletUnitRequestBindingDto): Promise<string>;
2240
+ holderAcceptCredential(request: HolderAcceptCredentialRequest): Promise<string>;
2241
+ /** Returns wallet registration details from the Wallet Provider. */
2242
+ holderGetWalletUnit(id: string): Promise<HolderWalletUnit>;
2243
+ /** Returns trust collections curated by the Wallet Provider. */
2244
+ holderGetWalletUnitTrustCollections(id: string): Promise<TrustCollections>;
2245
+ /** Registers the wallet unit with a Wallet Provider. */
2246
+ holderRegisterWalletUnit(request: HolderRegisterWalletUnitRequest): Promise<HolderRegisterWalletUnitResponse>;
1793
2247
  /** Rejects an offered credential. */
1794
2248
  holderRejectCredential(interactionId: string): Promise<void>;
2249
+ /** Rejects a proof request. */
1795
2250
  holderRejectProof(interactionId: string): Promise<void>;
1796
- holderSubmitProof(interactionId: string, submitCredentials: Record<string, Array<PresentationSubmitCredentialRequestBindingDto>>): Promise<void>;
1797
- holderSubmitProofV2(interactionId: string, submission: Record<string, Array<PresentationSubmitV2CredentialRequestBindingDto>>): Promise<void>;
2251
+ /**
2252
+ * Submits a presentation using Presentation Exchange as the query
2253
+ * language; this should be used after `getPresentationDefinition`.
2254
+ */
2255
+ holderSubmitProof(interactionId: string, submitCredentials: Record<string, Array<PresentationSubmitCredentialRequest>>): Promise<void>;
2256
+ /**
2257
+ * Submits a presentation using DCQL as a query language; this should
2258
+ * be used after `getPresentationDefinitionv2`.
2259
+ */
2260
+ holderSubmitProofV2(interactionId: string, submission: Record<string, Array<PresentationSubmitV2CredentialRequest>>): Promise<void>;
1798
2261
  /**
1799
2262
  * Check status of wallet unit with the Wallet Provider. Will return an error
1800
2263
  * if the unit has been revoked.
1801
2264
  */
1802
2265
  holderWalletUnitStatus(id: string): Promise<void>;
1803
- importCredentialSchema(request: ImportCredentialSchemaRequestBindingDto): Promise<string>;
1804
- importProofSchema(request: ImportProofSchemaRequestBindingsDto): Promise<string>;
2266
+ /** Modifies wallet unit's settings. */
2267
+ holderWalletUnitUpdate(id: string, request: HolderWalletUnitUpdateRequest): Promise<void>;
2268
+ /**
2269
+ * Imports a credential schema shared from another mobile verifier device
2270
+ * using the one-core.
2271
+ */
2272
+ importCredentialSchema(request: ImportCredentialSchemaRequest): Promise<string>;
2273
+ importProofSchema(request: ImportProofSchemaRequest): Promise<string>;
1805
2274
  /** For wallets, starts the OpenID4VCI Authorization Code Flow. */
1806
- initiateIssuance(request: InitiateIssuanceRequestBindingDto): Promise<InitiateIssuanceResponseBindingDto>;
1807
- listIdentifiers(query: IdentifierListQueryBindingDto): Promise<GetIdentifierListBindingDto>;
1808
- listTrustAnchors(filters: ListTrustAnchorsFiltersBindings): Promise<TrustAnchorsListBindingDto>;
1809
- listTrustEntities(filters: ListTrustEntitiesFiltersBindings): Promise<TrustEntitiesListBindingDto>;
1810
- /** Scan NFC for ISO 18013-5 engagment */
1811
- nfcReadIsoMdlEngagement(request: NfcScanRequestBindingDto): Promise<string>;
1812
- /** Cancel previously started NFC scan via `nfc_read_iso_mdl_engagement` */
2275
+ initiateIssuance(request: InitiateIssuanceRequest): Promise<InitiateIssuanceResponse>;
2276
+ /** Returns a filterable list of credential schemas. */
2277
+ listCredentialSchemas(query: CredentialSchemaListQuery): Promise<CredentialSchemaList>;
2278
+ /** Returns a filterable list of credentials in the system. */
2279
+ listCredentials(query: CredentialListQuery): Promise<CredentialList>;
2280
+ /** Deprecated. Use the `listIdentifiers` method. */
2281
+ listDids(query: DidListQuery): Promise<DidList>;
2282
+ /** Returns a filterable list of history events. */
2283
+ listHistory(query: HistoryListQuery): Promise<HistoryList>;
2284
+ /** Returns a filterable list of identifiers. */
2285
+ listIdentifiers(query: IdentifierListQuery): Promise<IdentifierList>;
2286
+ listProofSchemas(filter: ProofSchemaListQuery): Promise<ProofSchemaList>;
2287
+ /** Returns a filterable list of proof requests. */
2288
+ listProofs(query: ProofListQuery): Promise<ProofList>;
2289
+ listTrustAnchors(filters: TrustAnchorListQuery): Promise<TrustAnchorList>;
2290
+ listTrustEntities(filters: TrustEntityListQuery): Promise<TrustEntityList>;
2291
+ /** Scan NFC for ISO 18013-5 engagment. */
2292
+ nfcReadIsoMdlEngagement(request: NfcScanRequest): Promise<string>;
2293
+ /** Cancel previously started NFC scan via `nfc_read_iso_mdl_engagement`. */
1813
2294
  nfcStopIsoMdlEngagement(): Promise<void>;
1814
2295
  /**
1815
2296
  * For wallets, initiates device engagement for offline flows. Reference
1816
2297
  * the `verificationEngagement` entry of your configuration for your
1817
2298
  * options for `engagement`.
1818
2299
  */
1819
- proposeProof(request: ProposeProofRequestBindingDto): Promise<ProposeProofResponseBindingDto>;
1820
- resolveJsonldContext(url: string): Promise<ResolveJsonLdContextResponseBindingDto>;
1821
- resolveTrustEntityByIdentifier(request: ResolveTrustEntitiesRequestBindingDto): Promise<Record<string, Array<ResolvedIdentifierTrustEntityResponseBindingDto>>>;
2300
+ proposeProof(request: ProposeProofRequest): Promise<ProposeProofResponse>;
2301
+ /** Registers the verifier unit with a Verifier Provider. */
2302
+ registerVerifierInstance(request: RegisterVerifierInstanceRequest): Promise<RegisterVerifierInstanceResponse>;
2303
+ /** Returns the @context of a JSON-LD credential. The result is cached. */
2304
+ resolveJsonldContext(url: string): Promise<ResolvedJsonLdContext>;
2305
+ resolveTrustEntityByIdentifier(request: ResolveTrustEntitiesRequest): Promise<Record<string, Array<ResolvedTrustEntity>>>;
2306
+ /** Discards the restored database and continues using the original. */
1822
2307
  rollbackImport(): Promise<void>;
1823
- runTask(task: string): Promise<string>;
1824
- shareCredentialSchema(credentialSchemaId: string): Promise<CredentialSchemaShareResponseBindingDto>;
1825
- shareProof(proofId: string, params: ShareProofRequestBindingDto): Promise<ShareProofResponseBindingDto>;
1826
- shareProofSchema(proofSchemaId: string): Promise<ProofSchemaShareResponseBindingDto>;
2308
+ /**
2309
+ * Runs a task. Check the `task` object of your configuration and reference
2310
+ * the configured instance.
2311
+ */
2312
+ runTask(task: string, params: string | undefined): Promise<string>;
2313
+ /**
2314
+ * Produces a URL for sharing a credential schema with another mobile
2315
+ * verifier device using the one-core.
2316
+ */
2317
+ shareCredentialSchema(credentialSchemaId: string): Promise<CredentialSchemaShareResponse>;
2318
+ /**
2319
+ * Creates a share URL from a proof request. A wallet holder can use this
2320
+ * URL to access the request.
2321
+ */
2322
+ shareProof(proofId: string, params: ShareProofRequest): Promise<ShareProofResponse>;
2323
+ shareProofSchema(proofSchemaId: string): Promise<ProofSchemaShareResponse>;
2324
+ /**
2325
+ * Deleting data while uninitializing the Core erases all wallet data permanently.
2326
+ * If data is not deleted it is reused when Core is reinitialized.
2327
+ */
1827
2328
  uninitialize(deleteData: boolean): Promise<void>;
1828
- unpackBackup(password: string, inputPath: string): Promise<MetadataBindingDto>;
1829
- updateRemoteTrustEntity(request: UpdateRemoteTrustEntityFromDidRequestBindingDto): Promise<void>;
1830
- upsertOrganisation(request: UpsertOrganisationRequestBindingDto): Promise<void>;
1831
- version(): VersionBindingDto;
2329
+ /**
2330
+ * Makes the restored database active for calls.
2331
+ * Follow by calling either `finalizeImport` or `rollbackImport`.
2332
+ */
2333
+ unpackBackup(password: string, inputPath: string): Promise<Metadata>;
2334
+ updateRemoteTrustEntity(request: UpdateRemoteTrustEntityRequest): Promise<void>;
2335
+ /** Modifies verifier unit's settings. */
2336
+ updateVerifierInstance(id: string, request: UpdateVerifierInstanceRequest): Promise<void>;
2337
+ /**
2338
+ * Updates or deactivates an organization if it exists, otherwise
2339
+ * creates a new organization using the provided UUID and name.
2340
+ */
2341
+ upsertOrganisation(request: UpsertOrganisationRequest): Promise<void>;
2342
+ /** Returns build information. */
2343
+ version(): Version;
1832
2344
  }