@idunion/tl-sdk 0.0.59 → 0.0.60
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 +118 -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
|
*
|
|
@@ -244,7 +244,7 @@ export interface TlPublicInfoList {
|
|
|
244
244
|
'items'?: Array<TlPublicInfo>;
|
|
245
245
|
}
|
|
246
246
|
/**
|
|
247
|
-
* Trust List
|
|
247
|
+
* 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
248
|
*/
|
|
249
249
|
export declare const TlType: {
|
|
250
250
|
readonly QeaaProvider: "QEAA_Provider";
|
|
@@ -349,7 +349,7 @@ export interface VpResponse {
|
|
|
349
349
|
*/
|
|
350
350
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
351
351
|
/**
|
|
352
|
-
*
|
|
352
|
+
* 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
353
|
* @param {string} tlId Trust List Identifier
|
|
354
354
|
* @param {string} tlrId Trust List Record Identifier
|
|
355
355
|
* @param {*} [options] Override http request option.
|
|
@@ -357,124 +357,124 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
357
357
|
*/
|
|
358
358
|
didGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
359
359
|
/**
|
|
360
|
-
*
|
|
360
|
+
* 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
361
|
* @param {string} tlId
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
*/
|
|
365
365
|
didSuggest: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
366
366
|
/**
|
|
367
|
-
* Adds DID
|
|
367
|
+
* 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
368
|
* @param {string} tlId Trust List Identifier
|
|
369
369
|
* @param {string} tlrId Trust List Record Identifier
|
|
370
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
370
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
371
371
|
* @param {*} [options] Override http request option.
|
|
372
372
|
* @throws {RequiredError}
|
|
373
373
|
*/
|
|
374
374
|
didVerificationMethodAdd: (tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
375
375
|
/**
|
|
376
|
-
*
|
|
376
|
+
* 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
377
|
* @param {string} tlId Trust List Identifier
|
|
378
378
|
* @param {string} tlrId Trust List Record Identifier
|
|
379
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
379
|
+
* @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
380
|
* @param {*} [options] Override http request option.
|
|
381
381
|
* @throws {RequiredError}
|
|
382
382
|
*/
|
|
383
383
|
didVerificationMethodPatch: (tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
384
384
|
/**
|
|
385
|
-
* Returns
|
|
385
|
+
* 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
386
|
* @param {string} tlId
|
|
387
387
|
* @param {*} [options] Override http request option.
|
|
388
388
|
* @throws {RequiredError}
|
|
389
389
|
*/
|
|
390
390
|
etsiTl602Get: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
391
391
|
/**
|
|
392
|
-
* Returns
|
|
392
|
+
* 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
393
|
* @param {string} tlId
|
|
394
394
|
* @param {*} [options] Override http request option.
|
|
395
395
|
* @throws {RequiredError}
|
|
396
396
|
*/
|
|
397
397
|
etsiTl612Get: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
398
398
|
/**
|
|
399
|
-
*
|
|
399
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
400
400
|
* @param {*} [options] Override http request option.
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
*/
|
|
403
403
|
healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
404
404
|
/**
|
|
405
|
-
* Initiates the onboarding process to the
|
|
405
|
+
* 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
406
|
* @param {string} tlId Trust List identifier
|
|
407
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
407
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
408
408
|
* @param {*} [options] Override http request option.
|
|
409
409
|
* @throws {RequiredError}
|
|
410
410
|
*/
|
|
411
411
|
onboardingInit: (tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
412
412
|
/**
|
|
413
|
-
*
|
|
413
|
+
* 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
414
|
* @param {string} verifierState Verifier state
|
|
415
415
|
* @param {*} [options] Override http request option.
|
|
416
416
|
* @throws {RequiredError}
|
|
417
417
|
*/
|
|
418
418
|
onboardingStatus: (verifierState: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
419
419
|
/**
|
|
420
|
-
* Creates a Trust List
|
|
421
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
420
|
+
* 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.
|
|
421
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
422
422
|
* @param {*} [options] Override http request option.
|
|
423
423
|
* @throws {RequiredError}
|
|
424
424
|
*/
|
|
425
425
|
tlCreate: (tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
426
426
|
/**
|
|
427
|
-
*
|
|
427
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
428
428
|
* @param {string} tlId
|
|
429
429
|
* @param {*} [options] Override http request option.
|
|
430
430
|
* @throws {RequiredError}
|
|
431
431
|
*/
|
|
432
432
|
tlDelete: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
433
433
|
/**
|
|
434
|
-
*
|
|
434
|
+
* 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
435
|
* @param {string} tlId
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
*/
|
|
439
439
|
tlGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
440
440
|
/**
|
|
441
|
-
*
|
|
441
|
+
* 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
442
|
* @param {string} tlId
|
|
443
443
|
* @param {*} [options] Override http request option.
|
|
444
444
|
* @throws {RequiredError}
|
|
445
445
|
*/
|
|
446
446
|
tlGetPublicInfo: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
447
447
|
/**
|
|
448
|
-
*
|
|
448
|
+
* 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
449
|
* @param {string} [search]
|
|
450
450
|
* @param {*} [options] Override http request option.
|
|
451
451
|
* @throws {RequiredError}
|
|
452
452
|
*/
|
|
453
453
|
tlList: (search?: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
454
454
|
/**
|
|
455
|
-
*
|
|
455
|
+
* 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
456
|
* @param {*} [options] Override http request option.
|
|
457
457
|
* @throws {RequiredError}
|
|
458
458
|
*/
|
|
459
459
|
tlListByOwner: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
460
460
|
/**
|
|
461
|
-
* Updates
|
|
461
|
+
* 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
462
|
* @param {string} tlId
|
|
463
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
463
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
464
464
|
* @param {*} [options] Override http request option.
|
|
465
465
|
* @throws {RequiredError}
|
|
466
466
|
*/
|
|
467
467
|
tlPatch: (tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
468
468
|
/**
|
|
469
|
-
* Directly creates a new
|
|
469
|
+
* 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
470
|
* @param {string} tlId
|
|
471
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
471
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
472
472
|
* @param {*} [options] Override http request option.
|
|
473
473
|
* @throws {RequiredError}
|
|
474
474
|
*/
|
|
475
475
|
tlrCreate: (tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
476
476
|
/**
|
|
477
|
-
*
|
|
477
|
+
* 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
478
|
* @param {string} tlId Trust List Identifier
|
|
479
479
|
* @param {string} tlrId Trust List Record Identifier
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
@@ -482,7 +482,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
482
482
|
*/
|
|
483
483
|
tlrDelete: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
484
484
|
/**
|
|
485
|
-
*
|
|
485
|
+
* 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
486
|
* @param {string} tlId Trust List Identifier
|
|
487
487
|
* @param {string} tlrId Trust List Record Identifier
|
|
488
488
|
* @param {*} [options] Override http request option.
|
|
@@ -490,14 +490,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
490
490
|
*/
|
|
491
491
|
tlrGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
492
492
|
/**
|
|
493
|
-
*
|
|
493
|
+
* 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
494
|
* @param {string} orgName
|
|
495
495
|
* @param {*} [options] Override http request option.
|
|
496
496
|
* @throws {RequiredError}
|
|
497
497
|
*/
|
|
498
498
|
tlrSearch: (orgName: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
499
499
|
/**
|
|
500
|
-
*
|
|
500
|
+
* 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
501
|
* @param {string} tlId Trust List Identifier
|
|
502
502
|
* @param {string} tlrId Trust List Record Identifier
|
|
503
503
|
* @param {*} [options] Override http request option.
|
|
@@ -505,14 +505,14 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
505
505
|
*/
|
|
506
506
|
tlrTrustChainGet: (tlId: string, tlrId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
507
507
|
/**
|
|
508
|
-
*
|
|
508
|
+
* 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
509
|
* @param {string} tlId
|
|
510
510
|
* @param {*} [options] Override http request option.
|
|
511
511
|
* @throws {RequiredError}
|
|
512
512
|
*/
|
|
513
513
|
tlrsGet: (tlId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* 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
516
|
* @param {string} tlId
|
|
517
517
|
* @param {string} did
|
|
518
518
|
* @param {string} id
|
|
@@ -526,7 +526,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
526
526
|
*/
|
|
527
527
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
528
528
|
/**
|
|
529
|
-
*
|
|
529
|
+
* 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
530
|
* @param {string} tlId Trust List Identifier
|
|
531
531
|
* @param {string} tlrId Trust List Record Identifier
|
|
532
532
|
* @param {*} [options] Override http request option.
|
|
@@ -534,124 +534,124 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
534
534
|
*/
|
|
535
535
|
didGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DidDocument>>;
|
|
536
536
|
/**
|
|
537
|
-
*
|
|
537
|
+
* 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
538
|
* @param {string} tlId
|
|
539
539
|
* @param {*} [options] Override http request option.
|
|
540
540
|
* @throws {RequiredError}
|
|
541
541
|
*/
|
|
542
542
|
didSuggest(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
543
543
|
/**
|
|
544
|
-
* Adds DID
|
|
544
|
+
* 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
545
|
* @param {string} tlId Trust List Identifier
|
|
546
546
|
* @param {string} tlrId Trust List Record Identifier
|
|
547
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
547
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
548
548
|
* @param {*} [options] Override http request option.
|
|
549
549
|
* @throws {RequiredError}
|
|
550
550
|
*/
|
|
551
551
|
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
552
552
|
/**
|
|
553
|
-
*
|
|
553
|
+
* 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
554
|
* @param {string} tlId Trust List Identifier
|
|
555
555
|
* @param {string} tlrId Trust List Record Identifier
|
|
556
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
556
|
+
* @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
557
|
* @param {*} [options] Override http request option.
|
|
558
558
|
* @throws {RequiredError}
|
|
559
559
|
*/
|
|
560
560
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
561
561
|
/**
|
|
562
|
-
* Returns
|
|
562
|
+
* 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
563
|
* @param {string} tlId
|
|
564
564
|
* @param {*} [options] Override http request option.
|
|
565
565
|
* @throws {RequiredError}
|
|
566
566
|
*/
|
|
567
567
|
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
568
568
|
/**
|
|
569
|
-
* Returns
|
|
569
|
+
* 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
570
|
* @param {string} tlId
|
|
571
571
|
* @param {*} [options] Override http request option.
|
|
572
572
|
* @throws {RequiredError}
|
|
573
573
|
*/
|
|
574
574
|
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
575
575
|
/**
|
|
576
|
-
*
|
|
576
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
577
577
|
* @param {*} [options] Override http request option.
|
|
578
578
|
* @throws {RequiredError}
|
|
579
579
|
*/
|
|
580
580
|
healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HealthStatus>>;
|
|
581
581
|
/**
|
|
582
|
-
* Initiates the onboarding process to the
|
|
582
|
+
* 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
583
|
* @param {string} tlId Trust List identifier
|
|
584
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
584
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
585
585
|
* @param {*} [options] Override http request option.
|
|
586
586
|
* @throws {RequiredError}
|
|
587
587
|
*/
|
|
588
588
|
onboardingInit(tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardingResponse>>;
|
|
589
589
|
/**
|
|
590
|
-
*
|
|
590
|
+
* 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
591
|
* @param {string} verifierState Verifier state
|
|
592
592
|
* @param {*} [options] Override http request option.
|
|
593
593
|
* @throws {RequiredError}
|
|
594
594
|
*/
|
|
595
595
|
onboardingStatus(verifierState: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardingStatus>>;
|
|
596
596
|
/**
|
|
597
|
-
* Creates a Trust List
|
|
598
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
597
|
+
* 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.
|
|
598
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
600
600
|
* @throws {RequiredError}
|
|
601
601
|
*/
|
|
602
602
|
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
603
603
|
/**
|
|
604
|
-
*
|
|
604
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
605
605
|
* @param {string} tlId
|
|
606
606
|
* @param {*} [options] Override http request option.
|
|
607
607
|
* @throws {RequiredError}
|
|
608
608
|
*/
|
|
609
609
|
tlDelete(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
610
610
|
/**
|
|
611
|
-
*
|
|
611
|
+
* 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
612
|
* @param {string} tlId
|
|
613
613
|
* @param {*} [options] Override http request option.
|
|
614
614
|
* @throws {RequiredError}
|
|
615
615
|
*/
|
|
616
616
|
tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
617
617
|
/**
|
|
618
|
-
*
|
|
618
|
+
* 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
619
|
* @param {string} tlId
|
|
620
620
|
* @param {*} [options] Override http request option.
|
|
621
621
|
* @throws {RequiredError}
|
|
622
622
|
*/
|
|
623
623
|
tlGetPublicInfo(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlPublicInfo>>;
|
|
624
624
|
/**
|
|
625
|
-
*
|
|
625
|
+
* 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
626
|
* @param {string} [search]
|
|
627
627
|
* @param {*} [options] Override http request option.
|
|
628
628
|
* @throws {RequiredError}
|
|
629
629
|
*/
|
|
630
630
|
tlList(search?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlPublicInfoList>>;
|
|
631
631
|
/**
|
|
632
|
-
*
|
|
632
|
+
* 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
633
|
* @param {*} [options] Override http request option.
|
|
634
634
|
* @throws {RequiredError}
|
|
635
635
|
*/
|
|
636
636
|
tlListByOwner(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlList>>;
|
|
637
637
|
/**
|
|
638
|
-
* Updates
|
|
638
|
+
* 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
639
|
* @param {string} tlId
|
|
640
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
640
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
641
641
|
* @param {*} [options] Override http request option.
|
|
642
642
|
* @throws {RequiredError}
|
|
643
643
|
*/
|
|
644
644
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tl>>;
|
|
645
645
|
/**
|
|
646
|
-
* Directly creates a new
|
|
646
|
+
* 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
647
|
* @param {string} tlId
|
|
648
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
648
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
649
649
|
* @param {*} [options] Override http request option.
|
|
650
650
|
* @throws {RequiredError}
|
|
651
651
|
*/
|
|
652
652
|
tlrCreate(tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrCreatedResult>>;
|
|
653
653
|
/**
|
|
654
|
-
*
|
|
654
|
+
* 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
655
|
* @param {string} tlId Trust List Identifier
|
|
656
656
|
* @param {string} tlrId Trust List Record Identifier
|
|
657
657
|
* @param {*} [options] Override http request option.
|
|
@@ -659,7 +659,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
659
659
|
*/
|
|
660
660
|
tlrDelete(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
661
661
|
/**
|
|
662
|
-
*
|
|
662
|
+
* 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
663
|
* @param {string} tlId Trust List Identifier
|
|
664
664
|
* @param {string} tlrId Trust List Record Identifier
|
|
665
665
|
* @param {*} [options] Override http request option.
|
|
@@ -667,14 +667,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
667
667
|
*/
|
|
668
668
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Tlr>>;
|
|
669
669
|
/**
|
|
670
|
-
*
|
|
670
|
+
* 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
671
|
* @param {string} orgName
|
|
672
672
|
* @param {*} [options] Override http request option.
|
|
673
673
|
* @throws {RequiredError}
|
|
674
674
|
*/
|
|
675
675
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
676
676
|
/**
|
|
677
|
-
*
|
|
677
|
+
* 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
678
|
* @param {string} tlId Trust List Identifier
|
|
679
679
|
* @param {string} tlrId Trust List Record Identifier
|
|
680
680
|
* @param {*} [options] Override http request option.
|
|
@@ -682,14 +682,14 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
682
682
|
*/
|
|
683
683
|
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Tlr>>>;
|
|
684
684
|
/**
|
|
685
|
-
*
|
|
685
|
+
* 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
686
|
* @param {string} tlId
|
|
687
687
|
* @param {*} [options] Override http request option.
|
|
688
688
|
* @throws {RequiredError}
|
|
689
689
|
*/
|
|
690
690
|
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TlrList>>;
|
|
691
691
|
/**
|
|
692
|
-
*
|
|
692
|
+
* 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
693
|
* @param {string} tlId
|
|
694
694
|
* @param {string} did
|
|
695
695
|
* @param {string} id
|
|
@@ -703,7 +703,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
703
703
|
*/
|
|
704
704
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
705
705
|
/**
|
|
706
|
-
*
|
|
706
|
+
* 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
707
|
* @param {string} tlId Trust List Identifier
|
|
708
708
|
* @param {string} tlrId Trust List Record Identifier
|
|
709
709
|
* @param {*} [options] Override http request option.
|
|
@@ -711,124 +711,124 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
711
711
|
*/
|
|
712
712
|
didGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<DidDocument>;
|
|
713
713
|
/**
|
|
714
|
-
*
|
|
714
|
+
* 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
715
|
* @param {string} tlId
|
|
716
716
|
* @param {*} [options] Override http request option.
|
|
717
717
|
* @throws {RequiredError}
|
|
718
718
|
*/
|
|
719
719
|
didSuggest(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
720
720
|
/**
|
|
721
|
-
* Adds DID
|
|
721
|
+
* 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
722
|
* @param {string} tlId Trust List Identifier
|
|
723
723
|
* @param {string} tlrId Trust List Record Identifier
|
|
724
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
724
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
725
725
|
* @param {*} [options] Override http request option.
|
|
726
726
|
* @throws {RequiredError}
|
|
727
727
|
*/
|
|
728
728
|
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
729
729
|
/**
|
|
730
|
-
*
|
|
730
|
+
* 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
731
|
* @param {string} tlId Trust List Identifier
|
|
732
732
|
* @param {string} tlrId Trust List Record Identifier
|
|
733
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
733
|
+
* @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
734
|
* @param {*} [options] Override http request option.
|
|
735
735
|
* @throws {RequiredError}
|
|
736
736
|
*/
|
|
737
737
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
738
738
|
/**
|
|
739
|
-
* Returns
|
|
739
|
+
* 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
740
|
* @param {string} tlId
|
|
741
741
|
* @param {*} [options] Override http request option.
|
|
742
742
|
* @throws {RequiredError}
|
|
743
743
|
*/
|
|
744
744
|
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
745
745
|
/**
|
|
746
|
-
* Returns
|
|
746
|
+
* 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
747
|
* @param {string} tlId
|
|
748
748
|
* @param {*} [options] Override http request option.
|
|
749
749
|
* @throws {RequiredError}
|
|
750
750
|
*/
|
|
751
751
|
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
752
752
|
/**
|
|
753
|
-
*
|
|
753
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
754
754
|
* @param {*} [options] Override http request option.
|
|
755
755
|
* @throws {RequiredError}
|
|
756
756
|
*/
|
|
757
757
|
healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<HealthStatus>;
|
|
758
758
|
/**
|
|
759
|
-
* Initiates the onboarding process to the
|
|
759
|
+
* 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
760
|
* @param {string} tlId Trust List identifier
|
|
761
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
761
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
762
762
|
* @param {*} [options] Override http request option.
|
|
763
763
|
* @throws {RequiredError}
|
|
764
764
|
*/
|
|
765
765
|
onboardingInit(tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig): AxiosPromise<OnboardingResponse>;
|
|
766
766
|
/**
|
|
767
|
-
*
|
|
767
|
+
* 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
768
|
* @param {string} verifierState Verifier state
|
|
769
769
|
* @param {*} [options] Override http request option.
|
|
770
770
|
* @throws {RequiredError}
|
|
771
771
|
*/
|
|
772
772
|
onboardingStatus(verifierState: string, options?: RawAxiosRequestConfig): AxiosPromise<OnboardingStatus>;
|
|
773
773
|
/**
|
|
774
|
-
* Creates a Trust List
|
|
775
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
774
|
+
* 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.
|
|
775
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
776
776
|
* @param {*} [options] Override http request option.
|
|
777
777
|
* @throws {RequiredError}
|
|
778
778
|
*/
|
|
779
779
|
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
780
780
|
/**
|
|
781
|
-
*
|
|
781
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
782
782
|
* @param {string} tlId
|
|
783
783
|
* @param {*} [options] Override http request option.
|
|
784
784
|
* @throws {RequiredError}
|
|
785
785
|
*/
|
|
786
786
|
tlDelete(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
787
787
|
/**
|
|
788
|
-
*
|
|
788
|
+
* 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
789
|
* @param {string} tlId
|
|
790
790
|
* @param {*} [options] Override http request option.
|
|
791
791
|
* @throws {RequiredError}
|
|
792
792
|
*/
|
|
793
793
|
tlGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
794
794
|
/**
|
|
795
|
-
*
|
|
795
|
+
* 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
796
|
* @param {string} tlId
|
|
797
797
|
* @param {*} [options] Override http request option.
|
|
798
798
|
* @throws {RequiredError}
|
|
799
799
|
*/
|
|
800
800
|
tlGetPublicInfo(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<TlPublicInfo>;
|
|
801
801
|
/**
|
|
802
|
-
*
|
|
802
|
+
* 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
803
|
* @param {string} [search]
|
|
804
804
|
* @param {*} [options] Override http request option.
|
|
805
805
|
* @throws {RequiredError}
|
|
806
806
|
*/
|
|
807
807
|
tlList(search?: string, options?: RawAxiosRequestConfig): AxiosPromise<TlPublicInfoList>;
|
|
808
808
|
/**
|
|
809
|
-
*
|
|
809
|
+
* 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
810
|
* @param {*} [options] Override http request option.
|
|
811
811
|
* @throws {RequiredError}
|
|
812
812
|
*/
|
|
813
813
|
tlListByOwner(options?: RawAxiosRequestConfig): AxiosPromise<TlList>;
|
|
814
814
|
/**
|
|
815
|
-
* Updates
|
|
815
|
+
* 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
816
|
* @param {string} tlId
|
|
817
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
817
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
818
818
|
* @param {*} [options] Override http request option.
|
|
819
819
|
* @throws {RequiredError}
|
|
820
820
|
*/
|
|
821
821
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): AxiosPromise<Tl>;
|
|
822
822
|
/**
|
|
823
|
-
* Directly creates a new
|
|
823
|
+
* 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
824
|
* @param {string} tlId
|
|
825
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
825
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
826
826
|
* @param {*} [options] Override http request option.
|
|
827
827
|
* @throws {RequiredError}
|
|
828
828
|
*/
|
|
829
829
|
tlrCreate(tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig): AxiosPromise<TlrCreatedResult>;
|
|
830
830
|
/**
|
|
831
|
-
*
|
|
831
|
+
* 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
832
|
* @param {string} tlId Trust List Identifier
|
|
833
833
|
* @param {string} tlrId Trust List Record Identifier
|
|
834
834
|
* @param {*} [options] Override http request option.
|
|
@@ -836,7 +836,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
836
836
|
*/
|
|
837
837
|
tlrDelete(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
838
838
|
/**
|
|
839
|
-
*
|
|
839
|
+
* 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
840
|
* @param {string} tlId Trust List Identifier
|
|
841
841
|
* @param {string} tlrId Trust List Record Identifier
|
|
842
842
|
* @param {*} [options] Override http request option.
|
|
@@ -844,14 +844,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
844
844
|
*/
|
|
845
845
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Tlr>;
|
|
846
846
|
/**
|
|
847
|
-
*
|
|
847
|
+
* 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
848
|
* @param {string} orgName
|
|
849
849
|
* @param {*} [options] Override http request option.
|
|
850
850
|
* @throws {RequiredError}
|
|
851
851
|
*/
|
|
852
852
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
853
853
|
/**
|
|
854
|
-
*
|
|
854
|
+
* 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
855
|
* @param {string} tlId Trust List Identifier
|
|
856
856
|
* @param {string} tlrId Trust List Record Identifier
|
|
857
857
|
* @param {*} [options] Override http request option.
|
|
@@ -859,14 +859,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
859
859
|
*/
|
|
860
860
|
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<Tlr>>;
|
|
861
861
|
/**
|
|
862
|
-
*
|
|
862
|
+
* 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
863
|
* @param {string} tlId
|
|
864
864
|
* @param {*} [options] Override http request option.
|
|
865
865
|
* @throws {RequiredError}
|
|
866
866
|
*/
|
|
867
867
|
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): AxiosPromise<TlrList>;
|
|
868
868
|
/**
|
|
869
|
-
*
|
|
869
|
+
* 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
870
|
* @param {string} tlId
|
|
871
871
|
* @param {string} did
|
|
872
872
|
* @param {string} id
|
|
@@ -880,7 +880,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
880
880
|
*/
|
|
881
881
|
export declare class DefaultApi extends BaseAPI {
|
|
882
882
|
/**
|
|
883
|
-
*
|
|
883
|
+
* 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
884
|
* @param {string} tlId Trust List Identifier
|
|
885
885
|
* @param {string} tlrId Trust List Record Identifier
|
|
886
886
|
* @param {*} [options] Override http request option.
|
|
@@ -888,124 +888,124 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
888
888
|
*/
|
|
889
889
|
didGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<DidDocument, any>>;
|
|
890
890
|
/**
|
|
891
|
-
*
|
|
891
|
+
* 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
892
|
* @param {string} tlId
|
|
893
893
|
* @param {*} [options] Override http request option.
|
|
894
894
|
* @throws {RequiredError}
|
|
895
895
|
*/
|
|
896
896
|
didSuggest(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
897
897
|
/**
|
|
898
|
-
* Adds DID
|
|
898
|
+
* 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
899
|
* @param {string} tlId Trust List Identifier
|
|
900
900
|
* @param {string} tlrId Trust List Record Identifier
|
|
901
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
901
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
902
902
|
* @param {*} [options] Override http request option.
|
|
903
903
|
* @throws {RequiredError}
|
|
904
904
|
*/
|
|
905
905
|
didVerificationMethodAdd(tlId: string, tlrId: string, verificationMethodCreatePayload?: VerificationMethodCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
906
906
|
/**
|
|
907
|
-
*
|
|
907
|
+
* 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
908
|
* @param {string} tlId Trust List Identifier
|
|
909
909
|
* @param {string} tlrId Trust List Record Identifier
|
|
910
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
910
|
+
* @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
911
|
* @param {*} [options] Override http request option.
|
|
912
912
|
* @throws {RequiredError}
|
|
913
913
|
*/
|
|
914
914
|
didVerificationMethodPatch(tlId: string, tlrId: string, verificationMethodPatchPayload?: VerificationMethodPatchPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
915
915
|
/**
|
|
916
|
-
* Returns
|
|
916
|
+
* 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
917
|
* @param {string} tlId
|
|
918
918
|
* @param {*} [options] Override http request option.
|
|
919
919
|
* @throws {RequiredError}
|
|
920
920
|
*/
|
|
921
921
|
etsiTl602Get(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
922
922
|
/**
|
|
923
|
-
* Returns
|
|
923
|
+
* 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
924
|
* @param {string} tlId
|
|
925
925
|
* @param {*} [options] Override http request option.
|
|
926
926
|
* @throws {RequiredError}
|
|
927
927
|
*/
|
|
928
928
|
etsiTl612Get(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
929
929
|
/**
|
|
930
|
-
*
|
|
930
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
931
931
|
* @param {*} [options] Override http request option.
|
|
932
932
|
* @throws {RequiredError}
|
|
933
933
|
*/
|
|
934
934
|
healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<HealthStatus, any>>;
|
|
935
935
|
/**
|
|
936
|
-
* Initiates the onboarding process to the
|
|
936
|
+
* 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
937
|
* @param {string} tlId Trust List identifier
|
|
938
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
938
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
939
939
|
* @param {*} [options] Override http request option.
|
|
940
940
|
* @throws {RequiredError}
|
|
941
941
|
*/
|
|
942
942
|
onboardingInit(tlId: string, onboardingPayload?: OnboardingPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardingResponse, any>>;
|
|
943
943
|
/**
|
|
944
|
-
*
|
|
944
|
+
* 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
945
|
* @param {string} verifierState Verifier state
|
|
946
946
|
* @param {*} [options] Override http request option.
|
|
947
947
|
* @throws {RequiredError}
|
|
948
948
|
*/
|
|
949
949
|
onboardingStatus(verifierState: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardingStatus, any>>;
|
|
950
950
|
/**
|
|
951
|
-
* Creates a Trust List
|
|
952
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
951
|
+
* 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.
|
|
952
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
953
953
|
* @param {*} [options] Override http request option.
|
|
954
954
|
* @throws {RequiredError}
|
|
955
955
|
*/
|
|
956
956
|
tlCreate(tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
957
957
|
/**
|
|
958
|
-
*
|
|
958
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
959
959
|
* @param {string} tlId
|
|
960
960
|
* @param {*} [options] Override http request option.
|
|
961
961
|
* @throws {RequiredError}
|
|
962
962
|
*/
|
|
963
963
|
tlDelete(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
964
964
|
/**
|
|
965
|
-
*
|
|
965
|
+
* 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
966
|
* @param {string} tlId
|
|
967
967
|
* @param {*} [options] Override http request option.
|
|
968
968
|
* @throws {RequiredError}
|
|
969
969
|
*/
|
|
970
970
|
tlGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
971
971
|
/**
|
|
972
|
-
*
|
|
972
|
+
* 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
973
|
* @param {string} tlId
|
|
974
974
|
* @param {*} [options] Override http request option.
|
|
975
975
|
* @throws {RequiredError}
|
|
976
976
|
*/
|
|
977
977
|
tlGetPublicInfo(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlPublicInfo, any>>;
|
|
978
978
|
/**
|
|
979
|
-
*
|
|
979
|
+
* 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
980
|
* @param {string} [search]
|
|
981
981
|
* @param {*} [options] Override http request option.
|
|
982
982
|
* @throws {RequiredError}
|
|
983
983
|
*/
|
|
984
984
|
tlList(search?: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlPublicInfoList, any>>;
|
|
985
985
|
/**
|
|
986
|
-
*
|
|
986
|
+
* 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
987
|
* @param {*} [options] Override http request option.
|
|
988
988
|
* @throws {RequiredError}
|
|
989
989
|
*/
|
|
990
990
|
tlListByOwner(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlList, any>>;
|
|
991
991
|
/**
|
|
992
|
-
* Updates
|
|
992
|
+
* 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
993
|
* @param {string} tlId
|
|
994
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
994
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
995
995
|
* @param {*} [options] Override http request option.
|
|
996
996
|
* @throws {RequiredError}
|
|
997
997
|
*/
|
|
998
998
|
tlPatch(tlId: string, tlPayload?: TlPayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tl, any>>;
|
|
999
999
|
/**
|
|
1000
|
-
* Directly creates a new
|
|
1000
|
+
* 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
1001
|
* @param {string} tlId
|
|
1002
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
1002
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
1003
1003
|
* @param {*} [options] Override http request option.
|
|
1004
1004
|
* @throws {RequiredError}
|
|
1005
1005
|
*/
|
|
1006
1006
|
tlrCreate(tlId: string, tlrCreatePayload?: TlrCreatePayload, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrCreatedResult, any>>;
|
|
1007
1007
|
/**
|
|
1008
|
-
*
|
|
1008
|
+
* 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
1009
|
* @param {string} tlId Trust List Identifier
|
|
1010
1010
|
* @param {string} tlrId Trust List Record Identifier
|
|
1011
1011
|
* @param {*} [options] Override http request option.
|
|
@@ -1013,7 +1013,7 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1013
1013
|
*/
|
|
1014
1014
|
tlrDelete(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1015
1015
|
/**
|
|
1016
|
-
*
|
|
1016
|
+
* 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
1017
|
* @param {string} tlId Trust List Identifier
|
|
1018
1018
|
* @param {string} tlrId Trust List Record Identifier
|
|
1019
1019
|
* @param {*} [options] Override http request option.
|
|
@@ -1021,14 +1021,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1021
1021
|
*/
|
|
1022
1022
|
tlrGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr, any>>;
|
|
1023
1023
|
/**
|
|
1024
|
-
*
|
|
1024
|
+
* 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
1025
|
* @param {string} orgName
|
|
1026
1026
|
* @param {*} [options] Override http request option.
|
|
1027
1027
|
* @throws {RequiredError}
|
|
1028
1028
|
*/
|
|
1029
1029
|
tlrSearch(orgName: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1030
1030
|
/**
|
|
1031
|
-
*
|
|
1031
|
+
* 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
1032
|
* @param {string} tlId Trust List Identifier
|
|
1033
1033
|
* @param {string} tlrId Trust List Record Identifier
|
|
1034
1034
|
* @param {*} [options] Override http request option.
|
|
@@ -1036,14 +1036,14 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
1036
1036
|
*/
|
|
1037
1037
|
tlrTrustChainGet(tlId: string, tlrId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Tlr[], any>>;
|
|
1038
1038
|
/**
|
|
1039
|
-
*
|
|
1039
|
+
* 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
1040
|
* @param {string} tlId
|
|
1041
1041
|
* @param {*} [options] Override http request option.
|
|
1042
1042
|
* @throws {RequiredError}
|
|
1043
1043
|
*/
|
|
1044
1044
|
tlrsGet(tlId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TlrList, any>>;
|
|
1045
1045
|
/**
|
|
1046
|
-
*
|
|
1046
|
+
* 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
1047
|
* @param {string} tlId
|
|
1048
1048
|
* @param {string} did
|
|
1049
1049
|
* @param {string} id
|