@idunion/tl-sdk 0.0.59 → 0.0.61
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api.d.ts +126 -118
- package/api.js +118 -118
- package/base.d.ts +1 -1
- package/base.js +1 -1
- package/common.d.ts +1 -1
- package/common.js +1 -1
- package/configuration.d.ts +1 -1
- package/configuration.js +1 -1
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
package/api.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* IDUnion Trust List API
|
|
6
|
-
* IDUnion Trust List API
|
|
6
|
+
* 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.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 0.0.1
|
|
9
9
|
*
|
|
@@ -43,7 +43,7 @@ exports.OnboardingStatusStatusEnum = {
|
|
|
43
43
|
Error: 'error'
|
|
44
44
|
};
|
|
45
45
|
/**
|
|
46
|
-
* Trust List
|
|
46
|
+
* 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)
|
|
47
47
|
*/
|
|
48
48
|
exports.TlType = {
|
|
49
49
|
QeaaProvider: 'QEAA_Provider',
|
|
@@ -66,7 +66,7 @@ exports.TlrStatusEnum = {
|
|
|
66
66
|
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
67
67
|
return {
|
|
68
68
|
/**
|
|
69
|
-
*
|
|
69
|
+
* 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.
|
|
70
70
|
* @param {string} tlId Trust List Identifier
|
|
71
71
|
* @param {string} tlrId Trust List Record Identifier
|
|
72
72
|
* @param {*} [options] Override http request option.
|
|
@@ -99,7 +99,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
};
|
|
100
100
|
}),
|
|
101
101
|
/**
|
|
102
|
-
*
|
|
102
|
+
* 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.
|
|
103
103
|
* @param {string} tlId
|
|
104
104
|
* @param {*} [options] Override http request option.
|
|
105
105
|
* @throws {RequiredError}
|
|
@@ -131,10 +131,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
131
131
|
};
|
|
132
132
|
}),
|
|
133
133
|
/**
|
|
134
|
-
* Adds DID
|
|
134
|
+
* 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.
|
|
135
135
|
* @param {string} tlId Trust List Identifier
|
|
136
136
|
* @param {string} tlrId Trust List Record Identifier
|
|
137
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
137
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
138
138
|
* @param {*} [options] Override http request option.
|
|
139
139
|
* @throws {RequiredError}
|
|
140
140
|
*/
|
|
@@ -170,10 +170,10 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
170
170
|
};
|
|
171
171
|
}),
|
|
172
172
|
/**
|
|
173
|
-
*
|
|
173
|
+
* 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.
|
|
174
174
|
* @param {string} tlId Trust List Identifier
|
|
175
175
|
* @param {string} tlrId Trust List Record Identifier
|
|
176
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
176
|
+
* @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.
|
|
177
177
|
* @param {*} [options] Override http request option.
|
|
178
178
|
* @throws {RequiredError}
|
|
179
179
|
*/
|
|
@@ -209,7 +209,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
209
209
|
};
|
|
210
210
|
}),
|
|
211
211
|
/**
|
|
212
|
-
* Returns
|
|
212
|
+
* 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.
|
|
213
213
|
* @param {string} tlId
|
|
214
214
|
* @param {*} [options] Override http request option.
|
|
215
215
|
* @throws {RequiredError}
|
|
@@ -241,7 +241,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
241
241
|
};
|
|
242
242
|
}),
|
|
243
243
|
/**
|
|
244
|
-
* Returns
|
|
244
|
+
* 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.
|
|
245
245
|
* @param {string} tlId
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
247
247
|
* @throws {RequiredError}
|
|
@@ -273,7 +273,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
273
273
|
};
|
|
274
274
|
}),
|
|
275
275
|
/**
|
|
276
|
-
*
|
|
276
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
277
277
|
* @param {*} [options] Override http request option.
|
|
278
278
|
* @throws {RequiredError}
|
|
279
279
|
*/
|
|
@@ -298,9 +298,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
298
298
|
};
|
|
299
299
|
}),
|
|
300
300
|
/**
|
|
301
|
-
* Initiates the onboarding process to the
|
|
301
|
+
* 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.
|
|
302
302
|
* @param {string} tlId Trust List identifier
|
|
303
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
303
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
305
305
|
* @throws {RequiredError}
|
|
306
306
|
*/
|
|
@@ -330,7 +330,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
330
330
|
};
|
|
331
331
|
}),
|
|
332
332
|
/**
|
|
333
|
-
*
|
|
333
|
+
* 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.
|
|
334
334
|
* @param {string} verifierState Verifier state
|
|
335
335
|
* @param {*} [options] Override http request option.
|
|
336
336
|
* @throws {RequiredError}
|
|
@@ -359,8 +359,8 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
359
359
|
};
|
|
360
360
|
}),
|
|
361
361
|
/**
|
|
362
|
-
* Creates a Trust List
|
|
363
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
362
|
+
* 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.
|
|
363
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
364
364
|
* @param {*} [options] Override http request option.
|
|
365
365
|
* @throws {RequiredError}
|
|
366
366
|
*/
|
|
@@ -390,7 +390,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
390
390
|
};
|
|
391
391
|
}),
|
|
392
392
|
/**
|
|
393
|
-
*
|
|
393
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
394
394
|
* @param {string} tlId
|
|
395
395
|
* @param {*} [options] Override http request option.
|
|
396
396
|
* @throws {RequiredError}
|
|
@@ -422,7 +422,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
422
422
|
};
|
|
423
423
|
}),
|
|
424
424
|
/**
|
|
425
|
-
*
|
|
425
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
426
426
|
* @param {string} tlId
|
|
427
427
|
* @param {*} [options] Override http request option.
|
|
428
428
|
* @throws {RequiredError}
|
|
@@ -454,7 +454,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
454
454
|
};
|
|
455
455
|
}),
|
|
456
456
|
/**
|
|
457
|
-
*
|
|
457
|
+
* 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.
|
|
458
458
|
* @param {string} tlId
|
|
459
459
|
* @param {*} [options] Override http request option.
|
|
460
460
|
* @throws {RequiredError}
|
|
@@ -483,7 +483,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
483
483
|
};
|
|
484
484
|
}),
|
|
485
485
|
/**
|
|
486
|
-
*
|
|
486
|
+
* 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.
|
|
487
487
|
* @param {string} [search]
|
|
488
488
|
* @param {*} [options] Override http request option.
|
|
489
489
|
* @throws {RequiredError}
|
|
@@ -512,7 +512,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
512
512
|
};
|
|
513
513
|
}),
|
|
514
514
|
/**
|
|
515
|
-
*
|
|
515
|
+
* 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.
|
|
516
516
|
* @param {*} [options] Override http request option.
|
|
517
517
|
* @throws {RequiredError}
|
|
518
518
|
*/
|
|
@@ -540,9 +540,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
540
540
|
};
|
|
541
541
|
}),
|
|
542
542
|
/**
|
|
543
|
-
* Updates
|
|
543
|
+
* 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.
|
|
544
544
|
* @param {string} tlId
|
|
545
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
545
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
546
546
|
* @param {*} [options] Override http request option.
|
|
547
547
|
* @throws {RequiredError}
|
|
548
548
|
*/
|
|
@@ -575,9 +575,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
575
575
|
};
|
|
576
576
|
}),
|
|
577
577
|
/**
|
|
578
|
-
* Directly creates a new
|
|
578
|
+
* 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.
|
|
579
579
|
* @param {string} tlId
|
|
580
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
580
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
581
581
|
* @param {*} [options] Override http request option.
|
|
582
582
|
* @throws {RequiredError}
|
|
583
583
|
*/
|
|
@@ -610,7 +610,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
610
610
|
};
|
|
611
611
|
}),
|
|
612
612
|
/**
|
|
613
|
-
*
|
|
613
|
+
* 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.
|
|
614
614
|
* @param {string} tlId Trust List Identifier
|
|
615
615
|
* @param {string} tlrId Trust List Record Identifier
|
|
616
616
|
* @param {*} [options] Override http request option.
|
|
@@ -646,7 +646,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
646
646
|
};
|
|
647
647
|
}),
|
|
648
648
|
/**
|
|
649
|
-
*
|
|
649
|
+
* 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.
|
|
650
650
|
* @param {string} tlId Trust List Identifier
|
|
651
651
|
* @param {string} tlrId Trust List Record Identifier
|
|
652
652
|
* @param {*} [options] Override http request option.
|
|
@@ -679,7 +679,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
679
679
|
};
|
|
680
680
|
}),
|
|
681
681
|
/**
|
|
682
|
-
*
|
|
682
|
+
* 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.
|
|
683
683
|
* @param {string} orgName
|
|
684
684
|
* @param {*} [options] Override http request option.
|
|
685
685
|
* @throws {RequiredError}
|
|
@@ -708,7 +708,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
708
708
|
};
|
|
709
709
|
}),
|
|
710
710
|
/**
|
|
711
|
-
*
|
|
711
|
+
* 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.
|
|
712
712
|
* @param {string} tlId Trust List Identifier
|
|
713
713
|
* @param {string} tlrId Trust List Record Identifier
|
|
714
714
|
* @param {*} [options] Override http request option.
|
|
@@ -741,7 +741,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
741
741
|
};
|
|
742
742
|
}),
|
|
743
743
|
/**
|
|
744
|
-
*
|
|
744
|
+
* 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.
|
|
745
745
|
* @param {string} tlId
|
|
746
746
|
* @param {*} [options] Override http request option.
|
|
747
747
|
* @throws {RequiredError}
|
|
@@ -773,7 +773,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
773
773
|
};
|
|
774
774
|
}),
|
|
775
775
|
/**
|
|
776
|
-
*
|
|
776
|
+
* 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.
|
|
777
777
|
* @param {string} tlId
|
|
778
778
|
* @param {string} did
|
|
779
779
|
* @param {string} id
|
|
@@ -822,7 +822,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
822
822
|
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
823
823
|
return {
|
|
824
824
|
/**
|
|
825
|
-
*
|
|
825
|
+
* 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.
|
|
826
826
|
* @param {string} tlId Trust List Identifier
|
|
827
827
|
* @param {string} tlrId Trust List Record Identifier
|
|
828
828
|
* @param {*} [options] Override http request option.
|
|
@@ -838,7 +838,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
838
838
|
});
|
|
839
839
|
},
|
|
840
840
|
/**
|
|
841
|
-
*
|
|
841
|
+
* 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.
|
|
842
842
|
* @param {string} tlId
|
|
843
843
|
* @param {*} [options] Override http request option.
|
|
844
844
|
* @throws {RequiredError}
|
|
@@ -853,10 +853,10 @@ const DefaultApiFp = function (configuration) {
|
|
|
853
853
|
});
|
|
854
854
|
},
|
|
855
855
|
/**
|
|
856
|
-
* Adds DID
|
|
856
|
+
* 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.
|
|
857
857
|
* @param {string} tlId Trust List Identifier
|
|
858
858
|
* @param {string} tlrId Trust List Record Identifier
|
|
859
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
859
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
860
860
|
* @param {*} [options] Override http request option.
|
|
861
861
|
* @throws {RequiredError}
|
|
862
862
|
*/
|
|
@@ -870,10 +870,10 @@ const DefaultApiFp = function (configuration) {
|
|
|
870
870
|
});
|
|
871
871
|
},
|
|
872
872
|
/**
|
|
873
|
-
*
|
|
873
|
+
* 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.
|
|
874
874
|
* @param {string} tlId Trust List Identifier
|
|
875
875
|
* @param {string} tlrId Trust List Record Identifier
|
|
876
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
876
|
+
* @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.
|
|
877
877
|
* @param {*} [options] Override http request option.
|
|
878
878
|
* @throws {RequiredError}
|
|
879
879
|
*/
|
|
@@ -887,7 +887,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
887
887
|
});
|
|
888
888
|
},
|
|
889
889
|
/**
|
|
890
|
-
* Returns
|
|
890
|
+
* 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.
|
|
891
891
|
* @param {string} tlId
|
|
892
892
|
* @param {*} [options] Override http request option.
|
|
893
893
|
* @throws {RequiredError}
|
|
@@ -902,7 +902,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
902
902
|
});
|
|
903
903
|
},
|
|
904
904
|
/**
|
|
905
|
-
* Returns
|
|
905
|
+
* 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.
|
|
906
906
|
* @param {string} tlId
|
|
907
907
|
* @param {*} [options] Override http request option.
|
|
908
908
|
* @throws {RequiredError}
|
|
@@ -917,7 +917,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
917
917
|
});
|
|
918
918
|
},
|
|
919
919
|
/**
|
|
920
|
-
*
|
|
920
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
921
921
|
* @param {*} [options] Override http request option.
|
|
922
922
|
* @throws {RequiredError}
|
|
923
923
|
*/
|
|
@@ -931,9 +931,9 @@ const DefaultApiFp = function (configuration) {
|
|
|
931
931
|
});
|
|
932
932
|
},
|
|
933
933
|
/**
|
|
934
|
-
* Initiates the onboarding process to the
|
|
934
|
+
* 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.
|
|
935
935
|
* @param {string} tlId Trust List identifier
|
|
936
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
936
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
937
937
|
* @param {*} [options] Override http request option.
|
|
938
938
|
* @throws {RequiredError}
|
|
939
939
|
*/
|
|
@@ -947,7 +947,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
947
947
|
});
|
|
948
948
|
},
|
|
949
949
|
/**
|
|
950
|
-
*
|
|
950
|
+
* 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.
|
|
951
951
|
* @param {string} verifierState Verifier state
|
|
952
952
|
* @param {*} [options] Override http request option.
|
|
953
953
|
* @throws {RequiredError}
|
|
@@ -962,8 +962,8 @@ const DefaultApiFp = function (configuration) {
|
|
|
962
962
|
});
|
|
963
963
|
},
|
|
964
964
|
/**
|
|
965
|
-
* Creates a Trust List
|
|
966
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
965
|
+
* 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.
|
|
966
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
967
967
|
* @param {*} [options] Override http request option.
|
|
968
968
|
* @throws {RequiredError}
|
|
969
969
|
*/
|
|
@@ -977,7 +977,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
977
977
|
});
|
|
978
978
|
},
|
|
979
979
|
/**
|
|
980
|
-
*
|
|
980
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
981
981
|
* @param {string} tlId
|
|
982
982
|
* @param {*} [options] Override http request option.
|
|
983
983
|
* @throws {RequiredError}
|
|
@@ -992,7 +992,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
992
992
|
});
|
|
993
993
|
},
|
|
994
994
|
/**
|
|
995
|
-
*
|
|
995
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
996
996
|
* @param {string} tlId
|
|
997
997
|
* @param {*} [options] Override http request option.
|
|
998
998
|
* @throws {RequiredError}
|
|
@@ -1007,7 +1007,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1007
1007
|
});
|
|
1008
1008
|
},
|
|
1009
1009
|
/**
|
|
1010
|
-
*
|
|
1010
|
+
* 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.
|
|
1011
1011
|
* @param {string} tlId
|
|
1012
1012
|
* @param {*} [options] Override http request option.
|
|
1013
1013
|
* @throws {RequiredError}
|
|
@@ -1022,7 +1022,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1022
1022
|
});
|
|
1023
1023
|
},
|
|
1024
1024
|
/**
|
|
1025
|
-
*
|
|
1025
|
+
* 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.
|
|
1026
1026
|
* @param {string} [search]
|
|
1027
1027
|
* @param {*} [options] Override http request option.
|
|
1028
1028
|
* @throws {RequiredError}
|
|
@@ -1037,7 +1037,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1037
1037
|
});
|
|
1038
1038
|
},
|
|
1039
1039
|
/**
|
|
1040
|
-
*
|
|
1040
|
+
* 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.
|
|
1041
1041
|
* @param {*} [options] Override http request option.
|
|
1042
1042
|
* @throws {RequiredError}
|
|
1043
1043
|
*/
|
|
@@ -1051,9 +1051,9 @@ const DefaultApiFp = function (configuration) {
|
|
|
1051
1051
|
});
|
|
1052
1052
|
},
|
|
1053
1053
|
/**
|
|
1054
|
-
* Updates
|
|
1054
|
+
* 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.
|
|
1055
1055
|
* @param {string} tlId
|
|
1056
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
1056
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
1057
1057
|
* @param {*} [options] Override http request option.
|
|
1058
1058
|
* @throws {RequiredError}
|
|
1059
1059
|
*/
|
|
@@ -1067,9 +1067,9 @@ const DefaultApiFp = function (configuration) {
|
|
|
1067
1067
|
});
|
|
1068
1068
|
},
|
|
1069
1069
|
/**
|
|
1070
|
-
* Directly creates a new
|
|
1070
|
+
* 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.
|
|
1071
1071
|
* @param {string} tlId
|
|
1072
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
1072
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
1073
1073
|
* @param {*} [options] Override http request option.
|
|
1074
1074
|
* @throws {RequiredError}
|
|
1075
1075
|
*/
|
|
@@ -1083,7 +1083,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1083
1083
|
});
|
|
1084
1084
|
},
|
|
1085
1085
|
/**
|
|
1086
|
-
*
|
|
1086
|
+
* 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.
|
|
1087
1087
|
* @param {string} tlId Trust List Identifier
|
|
1088
1088
|
* @param {string} tlrId Trust List Record Identifier
|
|
1089
1089
|
* @param {*} [options] Override http request option.
|
|
@@ -1099,7 +1099,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1099
1099
|
});
|
|
1100
1100
|
},
|
|
1101
1101
|
/**
|
|
1102
|
-
*
|
|
1102
|
+
* 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.
|
|
1103
1103
|
* @param {string} tlId Trust List Identifier
|
|
1104
1104
|
* @param {string} tlrId Trust List Record Identifier
|
|
1105
1105
|
* @param {*} [options] Override http request option.
|
|
@@ -1115,7 +1115,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1115
1115
|
});
|
|
1116
1116
|
},
|
|
1117
1117
|
/**
|
|
1118
|
-
*
|
|
1118
|
+
* 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.
|
|
1119
1119
|
* @param {string} orgName
|
|
1120
1120
|
* @param {*} [options] Override http request option.
|
|
1121
1121
|
* @throws {RequiredError}
|
|
@@ -1130,7 +1130,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1130
1130
|
});
|
|
1131
1131
|
},
|
|
1132
1132
|
/**
|
|
1133
|
-
*
|
|
1133
|
+
* 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.
|
|
1134
1134
|
* @param {string} tlId Trust List Identifier
|
|
1135
1135
|
* @param {string} tlrId Trust List Record Identifier
|
|
1136
1136
|
* @param {*} [options] Override http request option.
|
|
@@ -1146,7 +1146,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1146
1146
|
});
|
|
1147
1147
|
},
|
|
1148
1148
|
/**
|
|
1149
|
-
*
|
|
1149
|
+
* 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.
|
|
1150
1150
|
* @param {string} tlId
|
|
1151
1151
|
* @param {*} [options] Override http request option.
|
|
1152
1152
|
* @throws {RequiredError}
|
|
@@ -1161,7 +1161,7 @@ const DefaultApiFp = function (configuration) {
|
|
|
1161
1161
|
});
|
|
1162
1162
|
},
|
|
1163
1163
|
/**
|
|
1164
|
-
*
|
|
1164
|
+
* 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.
|
|
1165
1165
|
* @param {string} tlId
|
|
1166
1166
|
* @param {string} did
|
|
1167
1167
|
* @param {string} id
|
|
@@ -1187,7 +1187,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1187
1187
|
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
1188
1188
|
return {
|
|
1189
1189
|
/**
|
|
1190
|
-
*
|
|
1190
|
+
* 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.
|
|
1191
1191
|
* @param {string} tlId Trust List Identifier
|
|
1192
1192
|
* @param {string} tlrId Trust List Record Identifier
|
|
1193
1193
|
* @param {*} [options] Override http request option.
|
|
@@ -1197,7 +1197,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1197
1197
|
return localVarFp.didGet(tlId, tlrId, options).then((request) => request(axios, basePath));
|
|
1198
1198
|
},
|
|
1199
1199
|
/**
|
|
1200
|
-
*
|
|
1200
|
+
* 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.
|
|
1201
1201
|
* @param {string} tlId
|
|
1202
1202
|
* @param {*} [options] Override http request option.
|
|
1203
1203
|
* @throws {RequiredError}
|
|
@@ -1206,10 +1206,10 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1206
1206
|
return localVarFp.didSuggest(tlId, options).then((request) => request(axios, basePath));
|
|
1207
1207
|
},
|
|
1208
1208
|
/**
|
|
1209
|
-
* Adds DID
|
|
1209
|
+
* 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.
|
|
1210
1210
|
* @param {string} tlId Trust List Identifier
|
|
1211
1211
|
* @param {string} tlrId Trust List Record Identifier
|
|
1212
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
1212
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
1213
1213
|
* @param {*} [options] Override http request option.
|
|
1214
1214
|
* @throws {RequiredError}
|
|
1215
1215
|
*/
|
|
@@ -1217,10 +1217,10 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1217
1217
|
return localVarFp.didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options).then((request) => request(axios, basePath));
|
|
1218
1218
|
},
|
|
1219
1219
|
/**
|
|
1220
|
-
*
|
|
1220
|
+
* 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.
|
|
1221
1221
|
* @param {string} tlId Trust List Identifier
|
|
1222
1222
|
* @param {string} tlrId Trust List Record Identifier
|
|
1223
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
1223
|
+
* @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.
|
|
1224
1224
|
* @param {*} [options] Override http request option.
|
|
1225
1225
|
* @throws {RequiredError}
|
|
1226
1226
|
*/
|
|
@@ -1228,7 +1228,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1228
1228
|
return localVarFp.didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options).then((request) => request(axios, basePath));
|
|
1229
1229
|
},
|
|
1230
1230
|
/**
|
|
1231
|
-
* Returns
|
|
1231
|
+
* 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.
|
|
1232
1232
|
* @param {string} tlId
|
|
1233
1233
|
* @param {*} [options] Override http request option.
|
|
1234
1234
|
* @throws {RequiredError}
|
|
@@ -1237,7 +1237,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1237
1237
|
return localVarFp.etsiTl602Get(tlId, options).then((request) => request(axios, basePath));
|
|
1238
1238
|
},
|
|
1239
1239
|
/**
|
|
1240
|
-
* Returns
|
|
1240
|
+
* 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.
|
|
1241
1241
|
* @param {string} tlId
|
|
1242
1242
|
* @param {*} [options] Override http request option.
|
|
1243
1243
|
* @throws {RequiredError}
|
|
@@ -1246,7 +1246,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1246
1246
|
return localVarFp.etsiTl612Get(tlId, options).then((request) => request(axios, basePath));
|
|
1247
1247
|
},
|
|
1248
1248
|
/**
|
|
1249
|
-
*
|
|
1249
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
1250
1250
|
* @param {*} [options] Override http request option.
|
|
1251
1251
|
* @throws {RequiredError}
|
|
1252
1252
|
*/
|
|
@@ -1254,9 +1254,9 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1254
1254
|
return localVarFp.healthCheck(options).then((request) => request(axios, basePath));
|
|
1255
1255
|
},
|
|
1256
1256
|
/**
|
|
1257
|
-
* Initiates the onboarding process to the
|
|
1257
|
+
* 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.
|
|
1258
1258
|
* @param {string} tlId Trust List identifier
|
|
1259
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
1259
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
1260
1260
|
* @param {*} [options] Override http request option.
|
|
1261
1261
|
* @throws {RequiredError}
|
|
1262
1262
|
*/
|
|
@@ -1264,7 +1264,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1264
1264
|
return localVarFp.onboardingInit(tlId, onboardingPayload, options).then((request) => request(axios, basePath));
|
|
1265
1265
|
},
|
|
1266
1266
|
/**
|
|
1267
|
-
*
|
|
1267
|
+
* 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.
|
|
1268
1268
|
* @param {string} verifierState Verifier state
|
|
1269
1269
|
* @param {*} [options] Override http request option.
|
|
1270
1270
|
* @throws {RequiredError}
|
|
@@ -1273,8 +1273,8 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1273
1273
|
return localVarFp.onboardingStatus(verifierState, options).then((request) => request(axios, basePath));
|
|
1274
1274
|
},
|
|
1275
1275
|
/**
|
|
1276
|
-
* Creates a Trust List
|
|
1277
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1276
|
+
* 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.
|
|
1277
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
1278
1278
|
* @param {*} [options] Override http request option.
|
|
1279
1279
|
* @throws {RequiredError}
|
|
1280
1280
|
*/
|
|
@@ -1282,7 +1282,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1282
1282
|
return localVarFp.tlCreate(tlPayload, options).then((request) => request(axios, basePath));
|
|
1283
1283
|
},
|
|
1284
1284
|
/**
|
|
1285
|
-
*
|
|
1285
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
1286
1286
|
* @param {string} tlId
|
|
1287
1287
|
* @param {*} [options] Override http request option.
|
|
1288
1288
|
* @throws {RequiredError}
|
|
@@ -1291,7 +1291,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1291
1291
|
return localVarFp.tlDelete(tlId, options).then((request) => request(axios, basePath));
|
|
1292
1292
|
},
|
|
1293
1293
|
/**
|
|
1294
|
-
*
|
|
1294
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
1295
1295
|
* @param {string} tlId
|
|
1296
1296
|
* @param {*} [options] Override http request option.
|
|
1297
1297
|
* @throws {RequiredError}
|
|
@@ -1300,7 +1300,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1300
1300
|
return localVarFp.tlGet(tlId, options).then((request) => request(axios, basePath));
|
|
1301
1301
|
},
|
|
1302
1302
|
/**
|
|
1303
|
-
*
|
|
1303
|
+
* 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.
|
|
1304
1304
|
* @param {string} tlId
|
|
1305
1305
|
* @param {*} [options] Override http request option.
|
|
1306
1306
|
* @throws {RequiredError}
|
|
@@ -1309,7 +1309,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1309
1309
|
return localVarFp.tlGetPublicInfo(tlId, options).then((request) => request(axios, basePath));
|
|
1310
1310
|
},
|
|
1311
1311
|
/**
|
|
1312
|
-
*
|
|
1312
|
+
* 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.
|
|
1313
1313
|
* @param {string} [search]
|
|
1314
1314
|
* @param {*} [options] Override http request option.
|
|
1315
1315
|
* @throws {RequiredError}
|
|
@@ -1318,7 +1318,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1318
1318
|
return localVarFp.tlList(search, options).then((request) => request(axios, basePath));
|
|
1319
1319
|
},
|
|
1320
1320
|
/**
|
|
1321
|
-
*
|
|
1321
|
+
* 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.
|
|
1322
1322
|
* @param {*} [options] Override http request option.
|
|
1323
1323
|
* @throws {RequiredError}
|
|
1324
1324
|
*/
|
|
@@ -1326,9 +1326,9 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1326
1326
|
return localVarFp.tlListByOwner(options).then((request) => request(axios, basePath));
|
|
1327
1327
|
},
|
|
1328
1328
|
/**
|
|
1329
|
-
* Updates
|
|
1329
|
+
* 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.
|
|
1330
1330
|
* @param {string} tlId
|
|
1331
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
1331
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
1332
1332
|
* @param {*} [options] Override http request option.
|
|
1333
1333
|
* @throws {RequiredError}
|
|
1334
1334
|
*/
|
|
@@ -1336,9 +1336,9 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1336
1336
|
return localVarFp.tlPatch(tlId, tlPayload, options).then((request) => request(axios, basePath));
|
|
1337
1337
|
},
|
|
1338
1338
|
/**
|
|
1339
|
-
* Directly creates a new
|
|
1339
|
+
* 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.
|
|
1340
1340
|
* @param {string} tlId
|
|
1341
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
1341
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
1342
1342
|
* @param {*} [options] Override http request option.
|
|
1343
1343
|
* @throws {RequiredError}
|
|
1344
1344
|
*/
|
|
@@ -1346,7 +1346,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1346
1346
|
return localVarFp.tlrCreate(tlId, tlrCreatePayload, options).then((request) => request(axios, basePath));
|
|
1347
1347
|
},
|
|
1348
1348
|
/**
|
|
1349
|
-
*
|
|
1349
|
+
* 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.
|
|
1350
1350
|
* @param {string} tlId Trust List Identifier
|
|
1351
1351
|
* @param {string} tlrId Trust List Record Identifier
|
|
1352
1352
|
* @param {*} [options] Override http request option.
|
|
@@ -1356,7 +1356,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1356
1356
|
return localVarFp.tlrDelete(tlId, tlrId, options).then((request) => request(axios, basePath));
|
|
1357
1357
|
},
|
|
1358
1358
|
/**
|
|
1359
|
-
*
|
|
1359
|
+
* 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.
|
|
1360
1360
|
* @param {string} tlId Trust List Identifier
|
|
1361
1361
|
* @param {string} tlrId Trust List Record Identifier
|
|
1362
1362
|
* @param {*} [options] Override http request option.
|
|
@@ -1366,7 +1366,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1366
1366
|
return localVarFp.tlrGet(tlId, tlrId, options).then((request) => request(axios, basePath));
|
|
1367
1367
|
},
|
|
1368
1368
|
/**
|
|
1369
|
-
*
|
|
1369
|
+
* 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.
|
|
1370
1370
|
* @param {string} orgName
|
|
1371
1371
|
* @param {*} [options] Override http request option.
|
|
1372
1372
|
* @throws {RequiredError}
|
|
@@ -1375,7 +1375,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1375
1375
|
return localVarFp.tlrSearch(orgName, options).then((request) => request(axios, basePath));
|
|
1376
1376
|
},
|
|
1377
1377
|
/**
|
|
1378
|
-
*
|
|
1378
|
+
* 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.
|
|
1379
1379
|
* @param {string} tlId Trust List Identifier
|
|
1380
1380
|
* @param {string} tlrId Trust List Record Identifier
|
|
1381
1381
|
* @param {*} [options] Override http request option.
|
|
@@ -1385,7 +1385,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1385
1385
|
return localVarFp.tlrTrustChainGet(tlId, tlrId, options).then((request) => request(axios, basePath));
|
|
1386
1386
|
},
|
|
1387
1387
|
/**
|
|
1388
|
-
*
|
|
1388
|
+
* 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.
|
|
1389
1389
|
* @param {string} tlId
|
|
1390
1390
|
* @param {*} [options] Override http request option.
|
|
1391
1391
|
* @throws {RequiredError}
|
|
@@ -1394,7 +1394,7 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1394
1394
|
return localVarFp.tlrsGet(tlId, options).then((request) => request(axios, basePath));
|
|
1395
1395
|
},
|
|
1396
1396
|
/**
|
|
1397
|
-
*
|
|
1397
|
+
* 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.
|
|
1398
1398
|
* @param {string} tlId
|
|
1399
1399
|
* @param {string} did
|
|
1400
1400
|
* @param {string} id
|
|
@@ -1412,7 +1412,7 @@ exports.DefaultApiFactory = DefaultApiFactory;
|
|
|
1412
1412
|
*/
|
|
1413
1413
|
class DefaultApi extends base_1.BaseAPI {
|
|
1414
1414
|
/**
|
|
1415
|
-
*
|
|
1415
|
+
* 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.
|
|
1416
1416
|
* @param {string} tlId Trust List Identifier
|
|
1417
1417
|
* @param {string} tlrId Trust List Record Identifier
|
|
1418
1418
|
* @param {*} [options] Override http request option.
|
|
@@ -1422,7 +1422,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1422
1422
|
return (0, exports.DefaultApiFp)(this.configuration).didGet(tlId, tlrId, options).then((request) => request(this.axios, this.basePath));
|
|
1423
1423
|
}
|
|
1424
1424
|
/**
|
|
1425
|
-
*
|
|
1425
|
+
* 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.
|
|
1426
1426
|
* @param {string} tlId
|
|
1427
1427
|
* @param {*} [options] Override http request option.
|
|
1428
1428
|
* @throws {RequiredError}
|
|
@@ -1431,10 +1431,10 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1431
1431
|
return (0, exports.DefaultApiFp)(this.configuration).didSuggest(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1432
1432
|
}
|
|
1433
1433
|
/**
|
|
1434
|
-
* Adds DID
|
|
1434
|
+
* 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.
|
|
1435
1435
|
* @param {string} tlId Trust List Identifier
|
|
1436
1436
|
* @param {string} tlrId Trust List Record Identifier
|
|
1437
|
-
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method.
|
|
1437
|
+
* @param {VerificationMethodCreatePayload} [verificationMethodCreatePayload] Verification method to add, including its type, controller DID, key ID, and key material.
|
|
1438
1438
|
* @param {*} [options] Override http request option.
|
|
1439
1439
|
* @throws {RequiredError}
|
|
1440
1440
|
*/
|
|
@@ -1442,10 +1442,10 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1442
1442
|
return (0, exports.DefaultApiFp)(this.configuration).didVerificationMethodAdd(tlId, tlrId, verificationMethodCreatePayload, options).then((request) => request(this.axios, this.basePath));
|
|
1443
1443
|
}
|
|
1444
1444
|
/**
|
|
1445
|
-
*
|
|
1445
|
+
* 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.
|
|
1446
1446
|
* @param {string} tlId Trust List Identifier
|
|
1447
1447
|
* @param {string} tlrId Trust List Record Identifier
|
|
1448
|
-
* @param {VerificationMethodPatchPayload} [verificationMethodPatchPayload]
|
|
1448
|
+
* @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.
|
|
1449
1449
|
* @param {*} [options] Override http request option.
|
|
1450
1450
|
* @throws {RequiredError}
|
|
1451
1451
|
*/
|
|
@@ -1453,7 +1453,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1453
1453
|
return (0, exports.DefaultApiFp)(this.configuration).didVerificationMethodPatch(tlId, tlrId, verificationMethodPatchPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1454
1454
|
}
|
|
1455
1455
|
/**
|
|
1456
|
-
* Returns
|
|
1456
|
+
* 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.
|
|
1457
1457
|
* @param {string} tlId
|
|
1458
1458
|
* @param {*} [options] Override http request option.
|
|
1459
1459
|
* @throws {RequiredError}
|
|
@@ -1462,7 +1462,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1462
1462
|
return (0, exports.DefaultApiFp)(this.configuration).etsiTl602Get(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1463
1463
|
}
|
|
1464
1464
|
/**
|
|
1465
|
-
* Returns
|
|
1465
|
+
* 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.
|
|
1466
1466
|
* @param {string} tlId
|
|
1467
1467
|
* @param {*} [options] Override http request option.
|
|
1468
1468
|
* @throws {RequiredError}
|
|
@@ -1471,7 +1471,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1471
1471
|
return (0, exports.DefaultApiFp)(this.configuration).etsiTl612Get(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1472
1472
|
}
|
|
1473
1473
|
/**
|
|
1474
|
-
*
|
|
1474
|
+
* Returns the operational health status of the Trust List API service. Useful for monitoring, load balancer checks, and readiness probes.
|
|
1475
1475
|
* @param {*} [options] Override http request option.
|
|
1476
1476
|
* @throws {RequiredError}
|
|
1477
1477
|
*/
|
|
@@ -1479,9 +1479,9 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1479
1479
|
return (0, exports.DefaultApiFp)(this.configuration).healthCheck(options).then((request) => request(this.axios, this.basePath));
|
|
1480
1480
|
}
|
|
1481
1481
|
/**
|
|
1482
|
-
* Initiates the onboarding process to the
|
|
1482
|
+
* 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.
|
|
1483
1483
|
* @param {string} tlId Trust List identifier
|
|
1484
|
-
* @param {OnboardingPayload} [onboardingPayload]
|
|
1484
|
+
* @param {OnboardingPayload} [onboardingPayload] Onboarding initiation payload specifying the verifier to use and optionally the holder\'s entity identifier (did:key).
|
|
1485
1485
|
* @param {*} [options] Override http request option.
|
|
1486
1486
|
* @throws {RequiredError}
|
|
1487
1487
|
*/
|
|
@@ -1489,7 +1489,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1489
1489
|
return (0, exports.DefaultApiFp)(this.configuration).onboardingInit(tlId, onboardingPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1490
1490
|
}
|
|
1491
1491
|
/**
|
|
1492
|
-
*
|
|
1492
|
+
* 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.
|
|
1493
1493
|
* @param {string} verifierState Verifier state
|
|
1494
1494
|
* @param {*} [options] Override http request option.
|
|
1495
1495
|
* @throws {RequiredError}
|
|
@@ -1498,8 +1498,8 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1498
1498
|
return (0, exports.DefaultApiFp)(this.configuration).onboardingStatus(verifierState, options).then((request) => request(this.axios, this.basePath));
|
|
1499
1499
|
}
|
|
1500
1500
|
/**
|
|
1501
|
-
* Creates a Trust List
|
|
1502
|
-
* @param {TlPayload} [tlPayload] Trust List create payload.
|
|
1501
|
+
* 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.
|
|
1502
|
+
* @param {TlPayload} [tlPayload] Trust List create payload including name, type, description, and references to the governance wallet and verifier services.
|
|
1503
1503
|
* @param {*} [options] Override http request option.
|
|
1504
1504
|
* @throws {RequiredError}
|
|
1505
1505
|
*/
|
|
@@ -1507,7 +1507,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1507
1507
|
return (0, exports.DefaultApiFp)(this.configuration).tlCreate(tlPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1508
1508
|
}
|
|
1509
1509
|
/**
|
|
1510
|
-
*
|
|
1510
|
+
* Permanently deletes the specified Trust List and all its associated records. Only the Trust List owner can perform this operation.
|
|
1511
1511
|
* @param {string} tlId
|
|
1512
1512
|
* @param {*} [options] Override http request option.
|
|
1513
1513
|
* @throws {RequiredError}
|
|
@@ -1516,7 +1516,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1516
1516
|
return (0, exports.DefaultApiFp)(this.configuration).tlDelete(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1517
1517
|
}
|
|
1518
1518
|
/**
|
|
1519
|
-
*
|
|
1519
|
+
* Returns the full representation of a specific Trust List for the authenticated owner, including the verifier ID not exposed in the public directory endpoints.
|
|
1520
1520
|
* @param {string} tlId
|
|
1521
1521
|
* @param {*} [options] Override http request option.
|
|
1522
1522
|
* @throws {RequiredError}
|
|
@@ -1525,7 +1525,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1525
1525
|
return (0, exports.DefaultApiFp)(this.configuration).tlGet(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1526
1526
|
}
|
|
1527
1527
|
/**
|
|
1528
|
-
*
|
|
1528
|
+
* 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.
|
|
1529
1529
|
* @param {string} tlId
|
|
1530
1530
|
* @param {*} [options] Override http request option.
|
|
1531
1531
|
* @throws {RequiredError}
|
|
@@ -1534,7 +1534,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1534
1534
|
return (0, exports.DefaultApiFp)(this.configuration).tlGetPublicInfo(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1535
1535
|
}
|
|
1536
1536
|
/**
|
|
1537
|
-
*
|
|
1537
|
+
* 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.
|
|
1538
1538
|
* @param {string} [search]
|
|
1539
1539
|
* @param {*} [options] Override http request option.
|
|
1540
1540
|
* @throws {RequiredError}
|
|
@@ -1543,7 +1543,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1543
1543
|
return (0, exports.DefaultApiFp)(this.configuration).tlList(search, options).then((request) => request(this.axios, this.basePath));
|
|
1544
1544
|
}
|
|
1545
1545
|
/**
|
|
1546
|
-
*
|
|
1546
|
+
* 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.
|
|
1547
1547
|
* @param {*} [options] Override http request option.
|
|
1548
1548
|
* @throws {RequiredError}
|
|
1549
1549
|
*/
|
|
@@ -1551,9 +1551,9 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1551
1551
|
return (0, exports.DefaultApiFp)(this.configuration).tlListByOwner(options).then((request) => request(this.axios, this.basePath));
|
|
1552
1552
|
}
|
|
1553
1553
|
/**
|
|
1554
|
-
* Updates
|
|
1554
|
+
* 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.
|
|
1555
1555
|
* @param {string} tlId
|
|
1556
|
-
* @param {TlPayload} [tlPayload] Trust List
|
|
1556
|
+
* @param {TlPayload} [tlPayload] Trust List update payload. Provide only the fields to update.
|
|
1557
1557
|
* @param {*} [options] Override http request option.
|
|
1558
1558
|
* @throws {RequiredError}
|
|
1559
1559
|
*/
|
|
@@ -1561,9 +1561,9 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1561
1561
|
return (0, exports.DefaultApiFp)(this.configuration).tlPatch(tlId, tlPayload, options).then((request) => request(this.axios, this.basePath));
|
|
1562
1562
|
}
|
|
1563
1563
|
/**
|
|
1564
|
-
* Directly creates a new
|
|
1564
|
+
* 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.
|
|
1565
1565
|
* @param {string} tlId
|
|
1566
|
-
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record
|
|
1566
|
+
* @param {TlrCreatePayload} [tlrCreatePayload] Trust List Record create payload. Includes organization details and either a did:key or a CSR for key material provisioning.
|
|
1567
1567
|
* @param {*} [options] Override http request option.
|
|
1568
1568
|
* @throws {RequiredError}
|
|
1569
1569
|
*/
|
|
@@ -1571,7 +1571,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1571
1571
|
return (0, exports.DefaultApiFp)(this.configuration).tlrCreate(tlId, tlrCreatePayload, options).then((request) => request(this.axios, this.basePath));
|
|
1572
1572
|
}
|
|
1573
1573
|
/**
|
|
1574
|
-
*
|
|
1574
|
+
* 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.
|
|
1575
1575
|
* @param {string} tlId Trust List Identifier
|
|
1576
1576
|
* @param {string} tlrId Trust List Record Identifier
|
|
1577
1577
|
* @param {*} [options] Override http request option.
|
|
@@ -1581,7 +1581,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1581
1581
|
return (0, exports.DefaultApiFp)(this.configuration).tlrDelete(tlId, tlrId, options).then((request) => request(this.axios, this.basePath));
|
|
1582
1582
|
}
|
|
1583
1583
|
/**
|
|
1584
|
-
*
|
|
1584
|
+
* 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.
|
|
1585
1585
|
* @param {string} tlId Trust List Identifier
|
|
1586
1586
|
* @param {string} tlrId Trust List Record Identifier
|
|
1587
1587
|
* @param {*} [options] Override http request option.
|
|
@@ -1591,7 +1591,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1591
1591
|
return (0, exports.DefaultApiFp)(this.configuration).tlrGet(tlId, tlrId, options).then((request) => request(this.axios, this.basePath));
|
|
1592
1592
|
}
|
|
1593
1593
|
/**
|
|
1594
|
-
*
|
|
1594
|
+
* 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.
|
|
1595
1595
|
* @param {string} orgName
|
|
1596
1596
|
* @param {*} [options] Override http request option.
|
|
1597
1597
|
* @throws {RequiredError}
|
|
@@ -1600,7 +1600,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1600
1600
|
return (0, exports.DefaultApiFp)(this.configuration).tlrSearch(orgName, options).then((request) => request(this.axios, this.basePath));
|
|
1601
1601
|
}
|
|
1602
1602
|
/**
|
|
1603
|
-
*
|
|
1603
|
+
* 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.
|
|
1604
1604
|
* @param {string} tlId Trust List Identifier
|
|
1605
1605
|
* @param {string} tlrId Trust List Record Identifier
|
|
1606
1606
|
* @param {*} [options] Override http request option.
|
|
@@ -1610,7 +1610,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1610
1610
|
return (0, exports.DefaultApiFp)(this.configuration).tlrTrustChainGet(tlId, tlrId, options).then((request) => request(this.axios, this.basePath));
|
|
1611
1611
|
}
|
|
1612
1612
|
/**
|
|
1613
|
-
*
|
|
1613
|
+
* 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.
|
|
1614
1614
|
* @param {string} tlId
|
|
1615
1615
|
* @param {*} [options] Override http request option.
|
|
1616
1616
|
* @throws {RequiredError}
|
|
@@ -1619,7 +1619,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1619
1619
|
return (0, exports.DefaultApiFp)(this.configuration).tlrsGet(tlId, options).then((request) => request(this.axios, this.basePath));
|
|
1620
1620
|
}
|
|
1621
1621
|
/**
|
|
1622
|
-
*
|
|
1622
|
+
* 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.
|
|
1623
1623
|
* @param {string} tlId
|
|
1624
1624
|
* @param {string} did
|
|
1625
1625
|
* @param {string} id
|