@idunion/tl-sdk 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +126 -118
- package/api.js +118 -118
- package/base.d.ts +1 -1
- package/base.js +1 -1
- package/common.d.ts +1 -1
- package/common.js +1 -1
- package/configuration.d.ts +1 -1
- package/configuration.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* IDUnion Trust List API
|
|
3
|
-
* IDUnion Trust List API
|
|
3
|
+
* The IDUnion Trust List API provides a backend for managing decentralized trust infrastructure based on ETSI TS 119-602 and TS 119-612 standards. It enables creation and management of Trust Lists (TLs) and Trust List Records (TLRs), DID document management, credential-based onboarding of organizations, and export of standards-compliant trust list XML documents. Trust Lists group organizations (Trust List Records) by their role in the ecosystem, such as Wallet Providers, PID Providers, or QEAA Providers. Each organization is represented by a W3C Decentralized Identifier (DID) with associated cryptographic verification methods.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 0.0.1
|
|
6
6
|
*
|
|
@@ -196,6 +196,10 @@ export interface Tl {
|
|
|
196
196
|
'didBase': string;
|
|
197
197
|
'governanceWalletId': string;
|
|
198
198
|
'verifierId': string;
|
|
199
|
+
/**
|
|
200
|
+
* Contact email address for the Trust List owner. Only returned by the authenticated owner-facing TlGet endpoint, not exposed in public directory responses.
|
|
201
|
+
*/
|
|
202
|
+
'email'?: string;
|
|
199
203
|
}
|
|
200
204
|
export interface TlList {
|
|
201
205
|
'items'?: Array<Tl>;
|
|
@@ -222,6 +226,10 @@ export interface TlPayload {
|
|
|
222
226
|
* The Verifier used to verify onboarding credentials
|
|
223
227
|
*/
|
|
224
228
|
'verifierId': string;
|
|
229
|
+
/**
|
|
230
|
+
* Contact email address for the Trust List owner.
|
|
231
|
+
*/
|
|
232
|
+
'email'?: string;
|
|
225
233
|
}
|
|
226
234
|
/**
|
|
227
235
|
* Trust List meta info
|
|
@@ -244,7 +252,7 @@ export interface TlPublicInfoList {
|
|
|
244
252
|
'items'?: Array<TlPublicInfo>;
|
|
245
253
|
}
|
|
246
254
|
/**
|
|
247
|
-
* Trust List
|
|
255
|
+
* Defines the role category of entities registered in the Trust List, aligned with ETSI TS 119-602 and the EU Digital Identity (EUDI) framework: - `QEAA_Provider`: Qualified Electronic Attestation of Attributes provider - `PuBEAA_Provider`: Public Body Electronic Attestation of Attributes provider - `Wallet_Provider`: EUDI-compliant identity wallet solution provider - `PID_Provider`: Person Identification Data provider (e.g. national eID issuer) - `Access_Certificate_Authority`: Issuer of access certificates for wallet interactions - `Registration_Certificates_Provider`: Issuer of registration certificates - `EAA_Provider`: Electronic Attestation of Attributes provider (non-qualified)
|
|
248
256
|
*/
|
|
249
257
|
export declare const TlType: {
|
|
250
258
|
readonly QeaaProvider: "QEAA_Provider";
|
|
@@ -349,7 +357,7 @@ export interface VpResponse {
|
|
|
349
357
|
*/
|
|
350
358
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
351
359
|
/**
|
|
352
|
-
*
|
|
360
|
+
* Returns the W3C DID Document for the specified Trust List Record. The document contains the entity\'s DID, cryptographic verification methods, and service endpoints. This endpoint follows the `did:web` resolution convention and is used by DID resolvers to look up the entity\'s public key material and service information.
|
|
353
361
|
* @param {string} tlId Trust List Identifier
|
|
354
362
|
* @param {string} tlrId Trust List Record Identifier
|
|
355
363
|
* @param {*} [options] Override http request option.
|
|
@@ -357,124 +365,124 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
357
365
|
*/
|
|
358
366
|
didGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
359
367
|
/**
|
|
360
|
-
*
|
|
368
|
+
* Returns a suggested DID for a new Trust List Record within the specified Trust List. The suggested DID is derived from the Trust List\'s DID base and can be used to pre-fill the DID field when creating a new record.
|
|
361
369
|
* @param {string} tlId
|
|
362
370
|
* @param {*} [options] Override http request option.
|
|
363
371
|
* @throws {RequiredError}
|
|
364
372
|
*/
|
|
365
373
|
didSuggest: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
366
374
|
/**
|
|
367
|
-
* Adds DID
|
|
375
|
+
* Adds a new verification method to the DID Document of the specified Trust List Record. The verification method includes cryptographic key material (e.g. Ed25519, RSA, or ES256K) and is registered under the assertionMethod, authentication, and capabilityInvocation relationships in the DID Document.
|
|
368
376
|
* @param {string} tlId Trust List Identifier
|
|
369
377
|
* @param {string} tlrId Trust List Record Identifier
|
|
370
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
378
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
371
379
|
* @param {*} [options] Override http request option.
|
|
372
380
|
* @throws {RequiredError}
|
|
373
381
|
*/
|
|
374
382
|
didVerificationMethodAdd: (tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
375
383
|
/**
|
|
376
|
-
*
|
|
384
|
+
* Updates an existing verification method on the DID Document of a Trust List Record. Primarily used to revoke a verification method by setting the `revoked` timestamp, which marks the key as no longer valid and transitions the Trust List Record status to `revoked`. The Trust List Record\'s status in the ETSI trust list XML is updated accordingly.
|
|
377
385
|
* @param {string} tlId Trust List Identifier
|
|
378
386
|
* @param {string} tlrId Trust List Record Identifier
|
|
379
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
387
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Partial verification method update payload. Provide the key ID and the fields to update, such as the `revoked` timestamp to revoke the key.
|
|
380
388
|
* @param {*} [options] Override http request option.
|
|
381
389
|
* @throws {RequiredError}
|
|
382
390
|
*/
|
|
383
391
|
didVerificationMethodPatch: (tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
384
392
|
/**
|
|
385
|
-
* Returns
|
|
393
|
+
* Returns the Trust List in ETSI TS 119-602 XML format, which defines the standard for trust frameworks of identity wallet ecosystems (e.g. EUDI Wallet). The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
386
394
|
* @param {string} tlId
|
|
387
395
|
* @param {*} [options] Override http request option.
|
|
388
396
|
* @throws {RequiredError}
|
|
389
397
|
*/
|
|
390
398
|
etsiTl602Get: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
391
399
|
/**
|
|
392
|
-
* Returns
|
|
400
|
+
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
393
401
|
* @param {string} tlId
|
|
394
402
|
* @param {*} [options] Override http request option.
|
|
395
403
|
* @throws {RequiredError}
|
|
396
404
|
*/
|
|
397
405
|
etsiTl612Get: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
398
406
|
/**
|
|
399
|
-
*
|
|
407
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
400
408
|
* @param {*} [options] Override http request option.
|
|
401
409
|
* @throws {RequiredError}
|
|
402
410
|
*/
|
|
403
411
|
healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
404
412
|
/**
|
|
405
|
-
* Initiates the onboarding process to the
|
|
413
|
+
* Initiates the credential-based onboarding process for an organization joining the specified Trust List. Returns a verifier URL to redirect the holder to, where they must present an onboarding Verifiable Credential (VC) proving their eligibility. After presenting the credential, the status can be polled via `GET /onboarding/{verifier_state}`. On successful verification, a Trust List Record is automatically created for the organization.
|
|
406
414
|
* @param {string} tlId Trust List identifier
|
|
407
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
415
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
408
416
|
* @param {*} [options] Override http request option.
|
|
409
417
|
* @throws {RequiredError}
|
|
410
418
|
*/
|
|
411
419
|
onboardingInit: (tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
412
420
|
/**
|
|
413
|
-
*
|
|
421
|
+
* Polls the status of an ongoing onboarding process using the verifier state token returned by `POST /{tl_id}/onboarding`. Returns the current status (`in_progress`, `completed`, or `error`) along with the assigned DID once onboarding is complete. Clients should poll this endpoint periodically until a terminal status is reached.
|
|
414
422
|
* @param {string} verifierState Verifier state
|
|
415
423
|
* @param {*} [options] Override http request option.
|
|
416
424
|
* @throws {RequiredError}
|
|
417
425
|
*/
|
|
418
426
|
onboardingStatus: (verifierState: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
419
427
|
/**
|
|
420
|
-
* Creates a Trust List
|
|
421
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
428
|
+
* Creates a new Trust List owned by the authenticated user. A Trust List groups organizations (Trust List Records) of a specific role type (e.g. Wallet Provider, PID Provider). It requires a governance wallet for VC interactions and a verifier to validate onboarding credentials presented by joining organizations.
|
|
429
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
422
430
|
* @param {*} [options] Override http request option.
|
|
423
431
|
* @throws {RequiredError}
|
|
424
432
|
*/
|
|
425
433
|
tlCreate: (tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
426
434
|
/**
|
|
427
|
-
*
|
|
435
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
428
436
|
* @param {string} tlId
|
|
429
437
|
* @param {*} [options] Override http request option.
|
|
430
438
|
* @throws {RequiredError}
|
|
431
439
|
*/
|
|
432
440
|
tlDelete: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
433
441
|
/**
|
|
434
|
-
*
|
|
442
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
435
443
|
* @param {string} tlId
|
|
436
444
|
* @param {*} [options] Override http request option.
|
|
437
445
|
* @throws {RequiredError}
|
|
438
446
|
*/
|
|
439
447
|
tlGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
440
448
|
/**
|
|
441
|
-
*
|
|
449
|
+
* Returns publicly accessible metadata for a specific Trust List. No authentication is required. Returns the same fields as the directory listing but for a single Trust List, excluding sensitive fields such as the verifier ID.
|
|
442
450
|
* @param {string} tlId
|
|
443
451
|
* @param {*} [options] Override http request option.
|
|
444
452
|
* @throws {RequiredError}
|
|
445
453
|
*/
|
|
446
454
|
tlGetPublicInfo: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
447
455
|
/**
|
|
448
|
-
*
|
|
456
|
+
* Returns a publicly accessible directory of all Trust Lists. No authentication is required. An optional `search` query parameter filters results by name or description. Used by clients to display a browseable catalog of available trust ecosystems.
|
|
449
457
|
* @param {string} [search]
|
|
450
458
|
* @param {*} [options] Override http request option.
|
|
451
459
|
* @throws {RequiredError}
|
|
452
460
|
*/
|
|
453
461
|
tlList: (search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
454
462
|
/**
|
|
455
|
-
*
|
|
463
|
+
* Returns all Trust Lists owned by the authenticated user. Unlike the public directory, this response includes the full Trust List representation with the verifier ID. Used to populate the authenticated user\'s management dashboard.
|
|
456
464
|
* @param {*} [options] Override http request option.
|
|
457
465
|
* @throws {RequiredError}
|
|
458
466
|
*/
|
|
459
467
|
tlListByOwner: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
460
468
|
/**
|
|
461
|
-
* Updates
|
|
469
|
+
* Updates the metadata of an existing Trust List. Only the Trust List owner can perform this operation. Fields provided in the payload will overwrite current values.
|
|
462
470
|
* @param {string} tlId
|
|
463
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
471
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
464
472
|
* @param {*} [options] Override http request option.
|
|
465
473
|
* @throws {RequiredError}
|
|
466
474
|
*/
|
|
467
475
|
tlPatch: (tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
468
476
|
/**
|
|
469
|
-
* Directly creates a new
|
|
477
|
+
* Directly creates a new Trust List Record in the specified Trust List, bypassing the credential-based onboarding flow. The public key material must be provided either as a `did:key` or a Certificate Signing Request (CSR) in PEM format. When a CSR is provided, the API issues an x509 certificate and registers it in the ETSI TS 119-612 trust list XML. Returns the generated DID and, if a CSR was provided, the issued certificate.
|
|
470
478
|
* @param {string} tlId
|
|
471
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
479
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
472
480
|
* @param {*} [options] Override http request option.
|
|
473
481
|
* @throws {RequiredError}
|
|
474
482
|
*/
|
|
475
483
|
tlrCreate: (tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
476
484
|
/**
|
|
477
|
-
*
|
|
485
|
+
* Permanently removes a specific Trust List Record from the Trust List. Only the Trust List owner can perform this operation. The associated DID Document and all related data will be deleted.
|
|
478
486
|
* @param {string} tlId Trust List Identifier
|
|
479
487
|
* @param {string} tlrId Trust List Record Identifier
|
|
480
488
|
* @param {*} [options] Override http request option.
|
|
@@ -482,7 +490,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
482
490
|
*/
|
|
483
491
|
tlrDelete: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
484
492
|
/**
|
|
485
|
-
*
|
|
493
|
+
* Returns a specific Trust List Record including organization details, DID, current status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. No authentication is required; used to display public entity detail pages.
|
|
486
494
|
* @param {string} tlId Trust List Identifier
|
|
487
495
|
* @param {string} tlrId Trust List Record Identifier
|
|
488
496
|
* @param {*} [options] Override http request option.
|
|
@@ -490,14 +498,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
490
498
|
*/
|
|
491
499
|
tlrGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
492
500
|
/**
|
|
493
|
-
*
|
|
501
|
+
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
494
502
|
* @param {string} orgName
|
|
495
503
|
* @param {*} [options] Override http request option.
|
|
496
504
|
* @throws {RequiredError}
|
|
497
505
|
*/
|
|
498
506
|
tlrSearch: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
499
507
|
/**
|
|
500
|
-
*
|
|
508
|
+
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
501
509
|
* @param {string} tlId Trust List Identifier
|
|
502
510
|
* @param {string} tlrId Trust List Record Identifier
|
|
503
511
|
* @param {*} [options] Override http request option.
|
|
@@ -505,14 +513,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
505
513
|
*/
|
|
506
514
|
tlrTrustChainGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
507
515
|
/**
|
|
508
|
-
*
|
|
516
|
+
* Returns all Trust List Records belonging to a specific Trust List. Each record represents an organization with its DID, status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. Used to display the list of entities participating in a trust ecosystem.
|
|
509
517
|
* @param {string} tlId
|
|
510
518
|
* @param {*} [options] Override http request option.
|
|
511
519
|
* @throws {RequiredError}
|
|
512
520
|
*/
|
|
513
521
|
tlrsGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
514
522
|
/**
|
|
515
|
-
*
|
|
523
|
+
* Retrieves the Verifiable Presentation (VP) stored for a specific Trust List Record. The VP is encoded as a JWT and represents the credential presented during the onboarding process, proving the entity\'s eligibility to join the Trust List. Used to audit or display the onboarding evidence for a given record.
|
|
516
524
|
* @param {string} tlId
|
|
517
525
|
* @param {string} did
|
|
518
526
|
* @param {string} id
|
|
@@ -526,7 +534,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
526
534
|
*/
|
|
527
535
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
528
536
|
/**
|
|
529
|
-
*
|
|
537
|
+
* Returns the W3C DID Document for the specified Trust List Record. The document contains the entity\'s DID, cryptographic verification methods, and service endpoints. This endpoint follows the `did:web` resolution convention and is used by DID resolvers to look up the entity\'s public key material and service information.
|
|
530
538
|
* @param {string} tlId Trust List Identifier
|
|
531
539
|
* @param {string} tlrId Trust List Record Identifier
|
|
532
540
|
* @param {*} [options] Override http request option.
|
|
@@ -534,124 +542,124 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
534
542
|
*/
|
|
535
543
|
didGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidDocument>>;
|
|
536
544
|
/**
|
|
537
|
-
*
|
|
545
|
+
* Returns a suggested DID for a new Trust List Record within the specified Trust List. The suggested DID is derived from the Trust List\'s DID base and can be used to pre-fill the DID field when creating a new record.
|
|
538
546
|
* @param {string} tlId
|
|
539
547
|
* @param {*} [options] Override http request option.
|
|
540
548
|
* @throws {RequiredError}
|
|
541
549
|
*/
|
|
542
550
|
didSuggest(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
543
551
|
/**
|
|
544
|
-
* Adds DID
|
|
552
|
+
* Adds a new verification method to the DID Document of the specified Trust List Record. The verification method includes cryptographic key material (e.g. Ed25519, RSA, or ES256K) and is registered under the assertionMethod, authentication, and capabilityInvocation relationships in the DID Document.
|
|
545
553
|
* @param {string} tlId Trust List Identifier
|
|
546
554
|
* @param {string} tlrId Trust List Record Identifier
|
|
547
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
555
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
548
556
|
* @param {*} [options] Override http request option.
|
|
549
557
|
* @throws {RequiredError}
|
|
550
558
|
*/
|
|
551
559
|
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
552
560
|
/**
|
|
553
|
-
*
|
|
561
|
+
* Updates an existing verification method on the DID Document of a Trust List Record. Primarily used to revoke a verification method by setting the `revoked` timestamp, which marks the key as no longer valid and transitions the Trust List Record status to `revoked`. The Trust List Record\'s status in the ETSI trust list XML is updated accordingly.
|
|
554
562
|
* @param {string} tlId Trust List Identifier
|
|
555
563
|
* @param {string} tlrId Trust List Record Identifier
|
|
556
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
564
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Partial verification method update payload. Provide the key ID and the fields to update, such as the `revoked` timestamp to revoke the key.
|
|
557
565
|
* @param {*} [options] Override http request option.
|
|
558
566
|
* @throws {RequiredError}
|
|
559
567
|
*/
|
|
560
568
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
561
569
|
/**
|
|
562
|
-
* Returns
|
|
570
|
+
* Returns the Trust List in ETSI TS 119-602 XML format, which defines the standard for trust frameworks of identity wallet ecosystems (e.g. EUDI Wallet). The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
563
571
|
* @param {string} tlId
|
|
564
572
|
* @param {*} [options] Override http request option.
|
|
565
573
|
* @throws {RequiredError}
|
|
566
574
|
*/
|
|
567
575
|
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
568
576
|
/**
|
|
569
|
-
* Returns
|
|
577
|
+
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
570
578
|
* @param {string} tlId
|
|
571
579
|
* @param {*} [options] Override http request option.
|
|
572
580
|
* @throws {RequiredError}
|
|
573
581
|
*/
|
|
574
582
|
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
575
583
|
/**
|
|
576
|
-
*
|
|
584
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
577
585
|
* @param {*} [options] Override http request option.
|
|
578
586
|
* @throws {RequiredError}
|
|
579
587
|
*/
|
|
580
588
|
healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthStatus>>;
|
|
581
589
|
/**
|
|
582
|
-
* Initiates the onboarding process to the
|
|
590
|
+
* Initiates the credential-based onboarding process for an organization joining the specified Trust List. Returns a verifier URL to redirect the holder to, where they must present an onboarding Verifiable Credential (VC) proving their eligibility. After presenting the credential, the status can be polled via `GET /onboarding/{verifier_state}`. On successful verification, a Trust List Record is automatically created for the organization.
|
|
583
591
|
* @param {string} tlId Trust List identifier
|
|
584
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
592
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
585
593
|
* @param {*} [options] Override http request option.
|
|
586
594
|
* @throws {RequiredError}
|
|
587
595
|
*/
|
|
588
596
|
onboardingInit(tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardingResponse>>;
|
|
589
597
|
/**
|
|
590
|
-
*
|
|
598
|
+
* Polls the status of an ongoing onboarding process using the verifier state token returned by `POST /{tl_id}/onboarding`. Returns the current status (`in_progress`, `completed`, or `error`) along with the assigned DID once onboarding is complete. Clients should poll this endpoint periodically until a terminal status is reached.
|
|
591
599
|
* @param {string} verifierState Verifier state
|
|
592
600
|
* @param {*} [options] Override http request option.
|
|
593
601
|
* @throws {RequiredError}
|
|
594
602
|
*/
|
|
595
603
|
onboardingStatus(verifierState: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardingStatus>>;
|
|
596
604
|
/**
|
|
597
|
-
* Creates a Trust List
|
|
598
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
605
|
+
* Creates a new Trust List owned by the authenticated user. A Trust List groups organizations (Trust List Records) of a specific role type (e.g. Wallet Provider, PID Provider). It requires a governance wallet for VC interactions and a verifier to validate onboarding credentials presented by joining organizations.
|
|
606
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
599
607
|
* @param {*} [options] Override http request option.
|
|
600
608
|
* @throws {RequiredError}
|
|
601
609
|
*/
|
|
602
610
|
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
603
611
|
/**
|
|
604
|
-
*
|
|
612
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
605
613
|
* @param {string} tlId
|
|
606
614
|
* @param {*} [options] Override http request option.
|
|
607
615
|
* @throws {RequiredError}
|
|
608
616
|
*/
|
|
609
617
|
tlDelete(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
610
618
|
/**
|
|
611
|
-
*
|
|
619
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
612
620
|
* @param {string} tlId
|
|
613
621
|
* @param {*} [options] Override http request option.
|
|
614
622
|
* @throws {RequiredError}
|
|
615
623
|
*/
|
|
616
624
|
tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
617
625
|
/**
|
|
618
|
-
*
|
|
626
|
+
* Returns publicly accessible metadata for a specific Trust List. No authentication is required. Returns the same fields as the directory listing but for a single Trust List, excluding sensitive fields such as the verifier ID.
|
|
619
627
|
* @param {string} tlId
|
|
620
628
|
* @param {*} [options] Override http request option.
|
|
621
629
|
* @throws {RequiredError}
|
|
622
630
|
*/
|
|
623
631
|
tlGetPublicInfo(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlPublicInfo>>;
|
|
624
632
|
/**
|
|
625
|
-
*
|
|
633
|
+
* Returns a publicly accessible directory of all Trust Lists. No authentication is required. An optional `search` query parameter filters results by name or description. Used by clients to display a browseable catalog of available trust ecosystems.
|
|
626
634
|
* @param {string} [search]
|
|
627
635
|
* @param {*} [options] Override http request option.
|
|
628
636
|
* @throws {RequiredError}
|
|
629
637
|
*/
|
|
630
638
|
tlList(search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlPublicInfoList>>;
|
|
631
639
|
/**
|
|
632
|
-
*
|
|
640
|
+
* Returns all Trust Lists owned by the authenticated user. Unlike the public directory, this response includes the full Trust List representation with the verifier ID. Used to populate the authenticated user\'s management dashboard.
|
|
633
641
|
* @param {*} [options] Override http request option.
|
|
634
642
|
* @throws {RequiredError}
|
|
635
643
|
*/
|
|
636
644
|
tlListByOwner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlList>>;
|
|
637
645
|
/**
|
|
638
|
-
* Updates
|
|
646
|
+
* Updates the metadata of an existing Trust List. Only the Trust List owner can perform this operation. Fields provided in the payload will overwrite current values.
|
|
639
647
|
* @param {string} tlId
|
|
640
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
648
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
641
649
|
* @param {*} [options] Override http request option.
|
|
642
650
|
* @throws {RequiredError}
|
|
643
651
|
*/
|
|
644
652
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
645
653
|
/**
|
|
646
|
-
* Directly creates a new
|
|
654
|
+
* Directly creates a new Trust List Record in the specified Trust List, bypassing the credential-based onboarding flow. The public key material must be provided either as a `did:key` or a Certificate Signing Request (CSR) in PEM format. When a CSR is provided, the API issues an x509 certificate and registers it in the ETSI TS 119-612 trust list XML. Returns the generated DID and, if a CSR was provided, the issued certificate.
|
|
647
655
|
* @param {string} tlId
|
|
648
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
656
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
649
657
|
* @param {*} [options] Override http request option.
|
|
650
658
|
* @throws {RequiredError}
|
|
651
659
|
*/
|
|
652
660
|
tlrCreate(tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrCreatedResult>>;
|
|
653
661
|
/**
|
|
654
|
-
*
|
|
662
|
+
* Permanently removes a specific Trust List Record from the Trust List. Only the Trust List owner can perform this operation. The associated DID Document and all related data will be deleted.
|
|
655
663
|
* @param {string} tlId Trust List Identifier
|
|
656
664
|
* @param {string} tlrId Trust List Record Identifier
|
|
657
665
|
* @param {*} [options] Override http request option.
|
|
@@ -659,7 +667,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
659
667
|
*/
|
|
660
668
|
tlrDelete(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
661
669
|
/**
|
|
662
|
-
*
|
|
670
|
+
* Returns a specific Trust List Record including organization details, DID, current status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. No authentication is required; used to display public entity detail pages.
|
|
663
671
|
* @param {string} tlId Trust List Identifier
|
|
664
672
|
* @param {string} tlrId Trust List Record Identifier
|
|
665
673
|
* @param {*} [options] Override http request option.
|
|
@@ -667,14 +675,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
667
675
|
*/
|
|
668
676
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
|
|
669
677
|
/**
|
|
670
|
-
*
|
|
678
|
+
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
671
679
|
* @param {string} orgName
|
|
672
680
|
* @param {*} [options] Override http request option.
|
|
673
681
|
* @throws {RequiredError}
|
|
674
682
|
*/
|
|
675
683
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
676
684
|
/**
|
|
677
|
-
*
|
|
685
|
+
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
678
686
|
* @param {string} tlId Trust List Identifier
|
|
679
687
|
* @param {string} tlrId Trust List Record Identifier
|
|
680
688
|
* @param {*} [options] Override http request option.
|
|
@@ -682,14 +690,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
682
690
|
*/
|
|
683
691
|
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tlr>>>;
|
|
684
692
|
/**
|
|
685
|
-
*
|
|
693
|
+
* Returns all Trust List Records belonging to a specific Trust List. Each record represents an organization with its DID, status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. Used to display the list of entities participating in a trust ecosystem.
|
|
686
694
|
* @param {string} tlId
|
|
687
695
|
* @param {*} [options] Override http request option.
|
|
688
696
|
* @throws {RequiredError}
|
|
689
697
|
*/
|
|
690
698
|
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
691
699
|
/**
|
|
692
|
-
*
|
|
700
|
+
* Retrieves the Verifiable Presentation (VP) stored for a specific Trust List Record. The VP is encoded as a JWT and represents the credential presented during the onboarding process, proving the entity\'s eligibility to join the Trust List. Used to audit or display the onboarding evidence for a given record.
|
|
693
701
|
* @param {string} tlId
|
|
694
702
|
* @param {string} did
|
|
695
703
|
* @param {string} id
|
|
@@ -703,7 +711,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
703
711
|
*/
|
|
704
712
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
705
713
|
/**
|
|
706
|
-
*
|
|
714
|
+
* Returns the W3C DID Document for the specified Trust List Record. The document contains the entity\'s DID, cryptographic verification methods, and service endpoints. This endpoint follows the `did:web` resolution convention and is used by DID resolvers to look up the entity\'s public key material and service information.
|
|
707
715
|
* @param {string} tlId Trust List Identifier
|
|
708
716
|
* @param {string} tlrId Trust List Record Identifier
|
|
709
717
|
* @param {*} [options] Override http request option.
|
|
@@ -711,124 +719,124 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
711
719
|
*/
|
|
712
720
|
didGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<DidDocument>;
|
|
713
721
|
/**
|
|
714
|
-
*
|
|
722
|
+
* Returns a suggested DID for a new Trust List Record within the specified Trust List. The suggested DID is derived from the Trust List\'s DID base and can be used to pre-fill the DID field when creating a new record.
|
|
715
723
|
* @param {string} tlId
|
|
716
724
|
* @param {*} [options] Override http request option.
|
|
717
725
|
* @throws {RequiredError}
|
|
718
726
|
*/
|
|
719
727
|
didSuggest(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
720
728
|
/**
|
|
721
|
-
* Adds DID
|
|
729
|
+
* Adds a new verification method to the DID Document of the specified Trust List Record. The verification method includes cryptographic key material (e.g. Ed25519, RSA, or ES256K) and is registered under the assertionMethod, authentication, and capabilityInvocation relationships in the DID Document.
|
|
722
730
|
* @param {string} tlId Trust List Identifier
|
|
723
731
|
* @param {string} tlrId Trust List Record Identifier
|
|
724
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
732
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
725
733
|
* @param {*} [options] Override http request option.
|
|
726
734
|
* @throws {RequiredError}
|
|
727
735
|
*/
|
|
728
736
|
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
729
737
|
/**
|
|
730
|
-
*
|
|
738
|
+
* Updates an existing verification method on the DID Document of a Trust List Record. Primarily used to revoke a verification method by setting the `revoked` timestamp, which marks the key as no longer valid and transitions the Trust List Record status to `revoked`. The Trust List Record\'s status in the ETSI trust list XML is updated accordingly.
|
|
731
739
|
* @param {string} tlId Trust List Identifier
|
|
732
740
|
* @param {string} tlrId Trust List Record Identifier
|
|
733
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
741
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Partial verification method update payload. Provide the key ID and the fields to update, such as the `revoked` timestamp to revoke the key.
|
|
734
742
|
* @param {*} [options] Override http request option.
|
|
735
743
|
* @throws {RequiredError}
|
|
736
744
|
*/
|
|
737
745
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
738
746
|
/**
|
|
739
|
-
* Returns
|
|
747
|
+
* Returns the Trust List in ETSI TS 119-602 XML format, which defines the standard for trust frameworks of identity wallet ecosystems (e.g. EUDI Wallet). The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
740
748
|
* @param {string} tlId
|
|
741
749
|
* @param {*} [options] Override http request option.
|
|
742
750
|
* @throws {RequiredError}
|
|
743
751
|
*/
|
|
744
752
|
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
745
753
|
/**
|
|
746
|
-
* Returns
|
|
754
|
+
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
747
755
|
* @param {string} tlId
|
|
748
756
|
* @param {*} [options] Override http request option.
|
|
749
757
|
* @throws {RequiredError}
|
|
750
758
|
*/
|
|
751
759
|
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
752
760
|
/**
|
|
753
|
-
*
|
|
761
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
754
762
|
* @param {*} [options] Override http request option.
|
|
755
763
|
* @throws {RequiredError}
|
|
756
764
|
*/
|
|
757
765
|
healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthStatus>;
|
|
758
766
|
/**
|
|
759
|
-
* Initiates the onboarding process to the
|
|
767
|
+
* Initiates the credential-based onboarding process for an organization joining the specified Trust List. Returns a verifier URL to redirect the holder to, where they must present an onboarding Verifiable Credential (VC) proving their eligibility. After presenting the credential, the status can be polled via `GET /onboarding/{verifier_state}`. On successful verification, a Trust List Record is automatically created for the organization.
|
|
760
768
|
* @param {string} tlId Trust List identifier
|
|
761
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
769
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
762
770
|
* @param {*} [options] Override http request option.
|
|
763
771
|
* @throws {RequiredError}
|
|
764
772
|
*/
|
|
765
773
|
onboardingInit(tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig): AxiosPromise<OnboardingResponse>;
|
|
766
774
|
/**
|
|
767
|
-
*
|
|
775
|
+
* Polls the status of an ongoing onboarding process using the verifier state token returned by `POST /{tl_id}/onboarding`. Returns the current status (`in_progress`, `completed`, or `error`) along with the assigned DID once onboarding is complete. Clients should poll this endpoint periodically until a terminal status is reached.
|
|
768
776
|
* @param {string} verifierState Verifier state
|
|
769
777
|
* @param {*} [options] Override http request option.
|
|
770
778
|
* @throws {RequiredError}
|
|
771
779
|
*/
|
|
772
780
|
onboardingStatus(verifierState: string, options?: RawAxiosRequestConfig): AxiosPromise<OnboardingStatus>;
|
|
773
781
|
/**
|
|
774
|
-
* Creates a Trust List
|
|
775
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
782
|
+
* Creates a new Trust List owned by the authenticated user. A Trust List groups organizations (Trust List Records) of a specific role type (e.g. Wallet Provider, PID Provider). It requires a governance wallet for VC interactions and a verifier to validate onboarding credentials presented by joining organizations.
|
|
783
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
776
784
|
* @param {*} [options] Override http request option.
|
|
777
785
|
* @throws {RequiredError}
|
|
778
786
|
*/
|
|
779
787
|
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
780
788
|
/**
|
|
781
|
-
*
|
|
789
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
782
790
|
* @param {string} tlId
|
|
783
791
|
* @param {*} [options] Override http request option.
|
|
784
792
|
* @throws {RequiredError}
|
|
785
793
|
*/
|
|
786
794
|
tlDelete(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
787
795
|
/**
|
|
788
|
-
*
|
|
796
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
789
797
|
* @param {string} tlId
|
|
790
798
|
* @param {*} [options] Override http request option.
|
|
791
799
|
* @throws {RequiredError}
|
|
792
800
|
*/
|
|
793
801
|
tlGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
794
802
|
/**
|
|
795
|
-
*
|
|
803
|
+
* Returns publicly accessible metadata for a specific Trust List. No authentication is required. Returns the same fields as the directory listing but for a single Trust List, excluding sensitive fields such as the verifier ID.
|
|
796
804
|
* @param {string} tlId
|
|
797
805
|
* @param {*} [options] Override http request option.
|
|
798
806
|
* @throws {RequiredError}
|
|
799
807
|
*/
|
|
800
808
|
tlGetPublicInfo(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<TlPublicInfo>;
|
|
801
809
|
/**
|
|
802
|
-
*
|
|
810
|
+
* Returns a publicly accessible directory of all Trust Lists. No authentication is required. An optional `search` query parameter filters results by name or description. Used by clients to display a browseable catalog of available trust ecosystems.
|
|
803
811
|
* @param {string} [search]
|
|
804
812
|
* @param {*} [options] Override http request option.
|
|
805
813
|
* @throws {RequiredError}
|
|
806
814
|
*/
|
|
807
815
|
tlList(search?: string, options?: RawAxiosRequestConfig): AxiosPromise<TlPublicInfoList>;
|
|
808
816
|
/**
|
|
809
|
-
*
|
|
817
|
+
* Returns all Trust Lists owned by the authenticated user. Unlike the public directory, this response includes the full Trust List representation with the verifier ID. Used to populate the authenticated user\'s management dashboard.
|
|
810
818
|
* @param {*} [options] Override http request option.
|
|
811
819
|
* @throws {RequiredError}
|
|
812
820
|
*/
|
|
813
821
|
tlListByOwner(options?: RawAxiosRequestConfig): AxiosPromise<TlList>;
|
|
814
822
|
/**
|
|
815
|
-
* Updates
|
|
823
|
+
* Updates the metadata of an existing Trust List. Only the Trust List owner can perform this operation. Fields provided in the payload will overwrite current values.
|
|
816
824
|
* @param {string} tlId
|
|
817
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
825
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
818
826
|
* @param {*} [options] Override http request option.
|
|
819
827
|
* @throws {RequiredError}
|
|
820
828
|
*/
|
|
821
829
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
822
830
|
/**
|
|
823
|
-
* Directly creates a new
|
|
831
|
+
* Directly creates a new Trust List Record in the specified Trust List, bypassing the credential-based onboarding flow. The public key material must be provided either as a `did:key` or a Certificate Signing Request (CSR) in PEM format. When a CSR is provided, the API issues an x509 certificate and registers it in the ETSI TS 119-612 trust list XML. Returns the generated DID and, if a CSR was provided, the issued certificate.
|
|
824
832
|
* @param {string} tlId
|
|
825
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
833
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
826
834
|
* @param {*} [options] Override http request option.
|
|
827
835
|
* @throws {RequiredError}
|
|
828
836
|
*/
|
|
829
837
|
tlrCreate(tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<TlrCreatedResult>;
|
|
830
838
|
/**
|
|
831
|
-
*
|
|
839
|
+
* Permanently removes a specific Trust List Record from the Trust List. Only the Trust List owner can perform this operation. The associated DID Document and all related data will be deleted.
|
|
832
840
|
* @param {string} tlId Trust List Identifier
|
|
833
841
|
* @param {string} tlrId Trust List Record Identifier
|
|
834
842
|
* @param {*} [options] Override http request option.
|
|
@@ -836,7 +844,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
836
844
|
*/
|
|
837
845
|
tlrDelete(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
838
846
|
/**
|
|
839
|
-
*
|
|
847
|
+
* Returns a specific Trust List Record including organization details, DID, current status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. No authentication is required; used to display public entity detail pages.
|
|
840
848
|
* @param {string} tlId Trust List Identifier
|
|
841
849
|
* @param {string} tlrId Trust List Record Identifier
|
|
842
850
|
* @param {*} [options] Override http request option.
|
|
@@ -844,14 +852,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
844
852
|
*/
|
|
845
853
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
|
|
846
854
|
/**
|
|
847
|
-
*
|
|
855
|
+
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
848
856
|
* @param {string} orgName
|
|
849
857
|
* @param {*} [options] Override http request option.
|
|
850
858
|
* @throws {RequiredError}
|
|
851
859
|
*/
|
|
852
860
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
853
861
|
/**
|
|
854
|
-
*
|
|
862
|
+
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
855
863
|
* @param {string} tlId Trust List Identifier
|
|
856
864
|
* @param {string} tlrId Trust List Record Identifier
|
|
857
865
|
* @param {*} [options] Override http request option.
|
|
@@ -859,14 +867,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
859
867
|
*/
|
|
860
868
|
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Tlr>>;
|
|
861
869
|
/**
|
|
862
|
-
*
|
|
870
|
+
* Returns all Trust List Records belonging to a specific Trust List. Each record represents an organization with its DID, status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. Used to display the list of entities participating in a trust ecosystem.
|
|
863
871
|
* @param {string} tlId
|
|
864
872
|
* @param {*} [options] Override http request option.
|
|
865
873
|
* @throws {RequiredError}
|
|
866
874
|
*/
|
|
867
875
|
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
868
876
|
/**
|
|
869
|
-
*
|
|
877
|
+
* Retrieves the Verifiable Presentation (VP) stored for a specific Trust List Record. The VP is encoded as a JWT and represents the credential presented during the onboarding process, proving the entity\'s eligibility to join the Trust List. Used to audit or display the onboarding evidence for a given record.
|
|
870
878
|
* @param {string} tlId
|
|
871
879
|
* @param {string} did
|
|
872
880
|
* @param {string} id
|
|
@@ -880,7 +888,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
880
888
|
*/
|
|
881
889
|
export declare class DefaultApi extends BaseAPI {
|
|
882
890
|
/**
|
|
883
|
-
*
|
|
891
|
+
* Returns the W3C DID Document for the specified Trust List Record. The document contains the entity\'s DID, cryptographic verification methods, and service endpoints. This endpoint follows the `did:web` resolution convention and is used by DID resolvers to look up the entity\'s public key material and service information.
|
|
884
892
|
* @param {string} tlId Trust List Identifier
|
|
885
893
|
* @param {string} tlrId Trust List Record Identifier
|
|
886
894
|
* @param {*} [options] Override http request option.
|
|
@@ -888,124 +896,124 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
888
896
|
*/
|
|
889
897
|
didGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidDocument, any>>;
|
|
890
898
|
/**
|
|
891
|
-
*
|
|
899
|
+
* Returns a suggested DID for a new Trust List Record within the specified Trust List. The suggested DID is derived from the Trust List\'s DID base and can be used to pre-fill the DID field when creating a new record.
|
|
892
900
|
* @param {string} tlId
|
|
893
901
|
* @param {*} [options] Override http request option.
|
|
894
902
|
* @throws {RequiredError}
|
|
895
903
|
*/
|
|
896
904
|
didSuggest(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
897
905
|
/**
|
|
898
|
-
* Adds DID
|
|
906
|
+
* Adds a new verification method to the DID Document of the specified Trust List Record. The verification method includes cryptographic key material (e.g. Ed25519, RSA, or ES256K) and is registered under the assertionMethod, authentication, and capabilityInvocation relationships in the DID Document.
|
|
899
907
|
* @param {string} tlId Trust List Identifier
|
|
900
908
|
* @param {string} tlrId Trust List Record Identifier
|
|
901
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
909
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
902
910
|
* @param {*} [options] Override http request option.
|
|
903
911
|
* @throws {RequiredError}
|
|
904
912
|
*/
|
|
905
913
|
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
906
914
|
/**
|
|
907
|
-
*
|
|
915
|
+
* Updates an existing verification method on the DID Document of a Trust List Record. Primarily used to revoke a verification method by setting the `revoked` timestamp, which marks the key as no longer valid and transitions the Trust List Record status to `revoked`. The Trust List Record\'s status in the ETSI trust list XML is updated accordingly.
|
|
908
916
|
* @param {string} tlId Trust List Identifier
|
|
909
917
|
* @param {string} tlrId Trust List Record Identifier
|
|
910
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
918
|
+
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload] Partial verification method update payload. Provide the key ID and the fields to update, such as the `revoked` timestamp to revoke the key.
|
|
911
919
|
* @param {*} [options] Override http request option.
|
|
912
920
|
* @throws {RequiredError}
|
|
913
921
|
*/
|
|
914
922
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
915
923
|
/**
|
|
916
|
-
* Returns
|
|
924
|
+
* Returns the Trust List in ETSI TS 119-602 XML format, which defines the standard for trust frameworks of identity wallet ecosystems (e.g. EUDI Wallet). The XML document includes Trust List Records with their DID-based cryptographic material and accreditation information, suitable for consumption by wallet verifiers and trust framework participants.
|
|
917
925
|
* @param {string} tlId
|
|
918
926
|
* @param {*} [options] Override http request option.
|
|
919
927
|
* @throws {RequiredError}
|
|
920
928
|
*/
|
|
921
929
|
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
922
930
|
/**
|
|
923
|
-
* Returns
|
|
931
|
+
* Returns the Trust List in ETSI TS 119-612 XML format, which defines the standard for Trusted Lists of Trust Service Providers (TSPs) in the context of electronic signatures and qualified trust services. The XML document includes all active, onboarded, and revoked Trust List Records with their x509 certificates and service status information, suitable for consumption by conformant trust service validators.
|
|
924
932
|
* @param {string} tlId
|
|
925
933
|
* @param {*} [options] Override http request option.
|
|
926
934
|
* @throws {RequiredError}
|
|
927
935
|
*/
|
|
928
936
|
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
929
937
|
/**
|
|
930
|
-
*
|
|
938
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
931
939
|
* @param {*} [options] Override http request option.
|
|
932
940
|
* @throws {RequiredError}
|
|
933
941
|
*/
|
|
934
942
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
|
|
935
943
|
/**
|
|
936
|
-
* Initiates the onboarding process to the
|
|
944
|
+
* Initiates the credential-based onboarding process for an organization joining the specified Trust List. Returns a verifier URL to redirect the holder to, where they must present an onboarding Verifiable Credential (VC) proving their eligibility. After presenting the credential, the status can be polled via `GET /onboarding/{verifier_state}`. On successful verification, a Trust List Record is automatically created for the organization.
|
|
937
945
|
* @param {string} tlId Trust List identifier
|
|
938
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
946
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
939
947
|
* @param {*} [options] Override http request option.
|
|
940
948
|
* @throws {RequiredError}
|
|
941
949
|
*/
|
|
942
950
|
onboardingInit(tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardingResponse, any>>;
|
|
943
951
|
/**
|
|
944
|
-
*
|
|
952
|
+
* Polls the status of an ongoing onboarding process using the verifier state token returned by `POST /{tl_id}/onboarding`. Returns the current status (`in_progress`, `completed`, or `error`) along with the assigned DID once onboarding is complete. Clients should poll this endpoint periodically until a terminal status is reached.
|
|
945
953
|
* @param {string} verifierState Verifier state
|
|
946
954
|
* @param {*} [options] Override http request option.
|
|
947
955
|
* @throws {RequiredError}
|
|
948
956
|
*/
|
|
949
957
|
onboardingStatus(verifierState: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardingStatus, any>>;
|
|
950
958
|
/**
|
|
951
|
-
* Creates a Trust List
|
|
952
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
959
|
+
* Creates a new Trust List owned by the authenticated user. A Trust List groups organizations (Trust List Records) of a specific role type (e.g. Wallet Provider, PID Provider). It requires a governance wallet for VC interactions and a verifier to validate onboarding credentials presented by joining organizations.
|
|
960
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
953
961
|
* @param {*} [options] Override http request option.
|
|
954
962
|
* @throws {RequiredError}
|
|
955
963
|
*/
|
|
956
964
|
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
957
965
|
/**
|
|
958
|
-
*
|
|
966
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
959
967
|
* @param {string} tlId
|
|
960
968
|
* @param {*} [options] Override http request option.
|
|
961
969
|
* @throws {RequiredError}
|
|
962
970
|
*/
|
|
963
971
|
tlDelete(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
964
972
|
/**
|
|
965
|
-
*
|
|
973
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
966
974
|
* @param {string} tlId
|
|
967
975
|
* @param {*} [options] Override http request option.
|
|
968
976
|
* @throws {RequiredError}
|
|
969
977
|
*/
|
|
970
978
|
tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
971
979
|
/**
|
|
972
|
-
*
|
|
980
|
+
* Returns publicly accessible metadata for a specific Trust List. No authentication is required. Returns the same fields as the directory listing but for a single Trust List, excluding sensitive fields such as the verifier ID.
|
|
973
981
|
* @param {string} tlId
|
|
974
982
|
* @param {*} [options] Override http request option.
|
|
975
983
|
* @throws {RequiredError}
|
|
976
984
|
*/
|
|
977
985
|
tlGetPublicInfo(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlPublicInfo, any>>;
|
|
978
986
|
/**
|
|
979
|
-
*
|
|
987
|
+
* Returns a publicly accessible directory of all Trust Lists. No authentication is required. An optional `search` query parameter filters results by name or description. Used by clients to display a browseable catalog of available trust ecosystems.
|
|
980
988
|
* @param {string} [search]
|
|
981
989
|
* @param {*} [options] Override http request option.
|
|
982
990
|
* @throws {RequiredError}
|
|
983
991
|
*/
|
|
984
992
|
tlList(search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlPublicInfoList, any>>;
|
|
985
993
|
/**
|
|
986
|
-
*
|
|
994
|
+
* Returns all Trust Lists owned by the authenticated user. Unlike the public directory, this response includes the full Trust List representation with the verifier ID. Used to populate the authenticated user\'s management dashboard.
|
|
987
995
|
* @param {*} [options] Override http request option.
|
|
988
996
|
* @throws {RequiredError}
|
|
989
997
|
*/
|
|
990
998
|
tlListByOwner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlList, any>>;
|
|
991
999
|
/**
|
|
992
|
-
* Updates
|
|
1000
|
+
* Updates the metadata of an existing Trust List. Only the Trust List owner can perform this operation. Fields provided in the payload will overwrite current values.
|
|
993
1001
|
* @param {string} tlId
|
|
994
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
1002
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
995
1003
|
* @param {*} [options] Override http request option.
|
|
996
1004
|
* @throws {RequiredError}
|
|
997
1005
|
*/
|
|
998
1006
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
999
1007
|
/**
|
|
1000
|
-
* Directly creates a new
|
|
1008
|
+
* Directly creates a new Trust List Record in the specified Trust List, bypassing the credential-based onboarding flow. The public key material must be provided either as a `did:key` or a Certificate Signing Request (CSR) in PEM format. When a CSR is provided, the API issues an x509 certificate and registers it in the ETSI TS 119-612 trust list XML. Returns the generated DID and, if a CSR was provided, the issued certificate.
|
|
1001
1009
|
* @param {string} tlId
|
|
1002
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
1010
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
1003
1011
|
* @param {*} [options] Override http request option.
|
|
1004
1012
|
* @throws {RequiredError}
|
|
1005
1013
|
*/
|
|
1006
1014
|
tlrCreate(tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrCreatedResult, any>>;
|
|
1007
1015
|
/**
|
|
1008
|
-
*
|
|
1016
|
+
* Permanently removes a specific Trust List Record from the Trust List. Only the Trust List owner can perform this operation. The associated DID Document and all related data will be deleted.
|
|
1009
1017
|
* @param {string} tlId Trust List Identifier
|
|
1010
1018
|
* @param {string} tlrId Trust List Record Identifier
|
|
1011
1019
|
* @param {*} [options] Override http request option.
|
|
@@ -1013,7 +1021,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1013
1021
|
*/
|
|
1014
1022
|
tlrDelete(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1015
1023
|
/**
|
|
1016
|
-
*
|
|
1024
|
+
* Returns a specific Trust List Record including organization details, DID, current status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. No authentication is required; used to display public entity detail pages.
|
|
1017
1025
|
* @param {string} tlId Trust List Identifier
|
|
1018
1026
|
* @param {string} tlrId Trust List Record Identifier
|
|
1019
1027
|
* @param {*} [options] Override http request option.
|
|
@@ -1021,14 +1029,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1021
1029
|
*/
|
|
1022
1030
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
|
|
1023
1031
|
/**
|
|
1024
|
-
*
|
|
1032
|
+
* Searches for Trust List Records across all Trust Lists by organization name. No authentication is required. Used by public-facing directory or search features to find entities registered under a given organization name.
|
|
1025
1033
|
* @param {string} orgName
|
|
1026
1034
|
* @param {*} [options] Override http request option.
|
|
1027
1035
|
* @throws {RequiredError}
|
|
1028
1036
|
*/
|
|
1029
1037
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1030
1038
|
/**
|
|
1031
|
-
*
|
|
1039
|
+
* Returns the full chain of Trust List Records from the root trust anchor down to the specified record. Each element in the array represents one step in the chain of trust, showing which entities issued or accredited the next. Used to visualize and verify the complete trust path for a given organization.
|
|
1032
1040
|
* @param {string} tlId Trust List Identifier
|
|
1033
1041
|
* @param {string} tlrId Trust List Record Identifier
|
|
1034
1042
|
* @param {*} [options] Override http request option.
|
|
@@ -1036,14 +1044,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1036
1044
|
*/
|
|
1037
1045
|
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr[], any>>;
|
|
1038
1046
|
/**
|
|
1039
|
-
*
|
|
1047
|
+
* Returns all Trust List Records belonging to a specific Trust List. Each record represents an organization with its DID, status (onboarded, trusted, revoked, or expired), accreditations, and onboarding credentials. Used to display the list of entities participating in a trust ecosystem.
|
|
1040
1048
|
* @param {string} tlId
|
|
1041
1049
|
* @param {*} [options] Override http request option.
|
|
1042
1050
|
* @throws {RequiredError}
|
|
1043
1051
|
*/
|
|
1044
1052
|
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1045
1053
|
/**
|
|
1046
|
-
*
|
|
1054
|
+
* Retrieves the Verifiable Presentation (VP) stored for a specific Trust List Record. The VP is encoded as a JWT and represents the credential presented during the onboarding process, proving the entity\'s eligibility to join the Trust List. Used to audit or display the onboarding evidence for a given record.
|
|
1047
1055
|
* @param {string} tlId
|
|
1048
1056
|
* @param {string} did
|
|
1049
1057
|
* @param {string} id
|