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