@triveria/wallet 0.0.303 → 0.0.304
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 +148 -0
- package/api.js +264 -1
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -946,6 +946,46 @@ export declare const TrustFrameworkType: {
|
|
|
946
946
|
readonly Eudi: "EUDI";
|
|
947
947
|
};
|
|
948
948
|
export type TrustFrameworkType = typeof TrustFrameworkType[keyof typeof TrustFrameworkType];
|
|
949
|
+
export interface TrustListAddRequest {
|
|
950
|
+
/**
|
|
951
|
+
* The URL the trusted list is published at.
|
|
952
|
+
*/
|
|
953
|
+
'url': string;
|
|
954
|
+
'kind': TrustListKind;
|
|
955
|
+
}
|
|
956
|
+
/**
|
|
957
|
+
* What a trusted list URL names. A `lotl` is a List of Trusted Lists, whose pointers are followed to the lists it names; a `trustList` is a leaf list, holding trust services directly.
|
|
958
|
+
*/
|
|
959
|
+
export declare const TrustListKind: {
|
|
960
|
+
readonly TrustList: "trustList";
|
|
961
|
+
readonly Lotl: "lotl";
|
|
962
|
+
};
|
|
963
|
+
export type TrustListKind = typeof TrustListKind[keyof typeof TrustListKind];
|
|
964
|
+
/**
|
|
965
|
+
* One tracked trusted list, and how current the stored copy of it is.
|
|
966
|
+
*/
|
|
967
|
+
export interface TrustListSource {
|
|
968
|
+
/**
|
|
969
|
+
* The URL the trusted list is published at.
|
|
970
|
+
*/
|
|
971
|
+
'url': string;
|
|
972
|
+
'kind': TrustListKind;
|
|
973
|
+
/**
|
|
974
|
+
* The publisher\'s sequence number for the stored copy.
|
|
975
|
+
*/
|
|
976
|
+
'sequence_number'?: number;
|
|
977
|
+
/**
|
|
978
|
+
* When the publisher issued the stored copy.
|
|
979
|
+
*/
|
|
980
|
+
'issue_date'?: string;
|
|
981
|
+
/**
|
|
982
|
+
* Subject of the certificate the stored copy is pinned to. A refresh of this list is only accepted if it is signed by the same certificate.
|
|
983
|
+
*/
|
|
984
|
+
'signer_subject'?: string;
|
|
985
|
+
}
|
|
986
|
+
export interface TrustListsResponse {
|
|
987
|
+
'trust_lists': Array<TrustListSource>;
|
|
988
|
+
}
|
|
949
989
|
export interface VPDrivenIssuerConfig {
|
|
950
990
|
/**
|
|
951
991
|
* ID of the verifier used for verification of presented credential.
|
|
@@ -1626,6 +1666,33 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1626
1666
|
* @throws {RequiredError}
|
|
1627
1667
|
*/
|
|
1628
1668
|
tfX509CertificateUpdateStatus: (walletId: string, serialNumber: string, certificateStatusUpdateRequest?: CertificateStatusUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1669
|
+
/**
|
|
1670
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
1671
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
1672
|
+
* @param {*} [options] Override http request option.
|
|
1673
|
+
* @throws {RequiredError}
|
|
1674
|
+
*/
|
|
1675
|
+
trustListAdd: (trustListAddRequest?: TrustListAddRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1676
|
+
/**
|
|
1677
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
1678
|
+
* @param {string} url The URL the trusted list is published at.
|
|
1679
|
+
* @param {*} [options] Override http request option.
|
|
1680
|
+
* @throws {RequiredError}
|
|
1681
|
+
*/
|
|
1682
|
+
trustListDelete: (url: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1683
|
+
/**
|
|
1684
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
1685
|
+
* @param {string} url The URL the trusted list is published at.
|
|
1686
|
+
* @param {*} [options] Override http request option.
|
|
1687
|
+
* @throws {RequiredError}
|
|
1688
|
+
*/
|
|
1689
|
+
trustListRefresh: (url: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1690
|
+
/**
|
|
1691
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
1692
|
+
* @param {*} [options] Override http request option.
|
|
1693
|
+
* @throws {RequiredError}
|
|
1694
|
+
*/
|
|
1695
|
+
trustListsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1629
1696
|
/**
|
|
1630
1697
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
1631
1698
|
* @param {string} walletId
|
|
@@ -2190,6 +2257,33 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2190
2257
|
* @throws {RequiredError}
|
|
2191
2258
|
*/
|
|
2192
2259
|
tfX509CertificateUpdateStatus(walletId: string, serialNumber: string, certificateStatusUpdateRequest?: CertificateStatusUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2260
|
+
/**
|
|
2261
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
2262
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
2263
|
+
* @param {*} [options] Override http request option.
|
|
2264
|
+
* @throws {RequiredError}
|
|
2265
|
+
*/
|
|
2266
|
+
trustListAdd(trustListAddRequest?: TrustListAddRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2267
|
+
/**
|
|
2268
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
2269
|
+
* @param {string} url The URL the trusted list is published at.
|
|
2270
|
+
* @param {*} [options] Override http request option.
|
|
2271
|
+
* @throws {RequiredError}
|
|
2272
|
+
*/
|
|
2273
|
+
trustListDelete(url: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2274
|
+
/**
|
|
2275
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
2276
|
+
* @param {string} url The URL the trusted list is published at.
|
|
2277
|
+
* @param {*} [options] Override http request option.
|
|
2278
|
+
* @throws {RequiredError}
|
|
2279
|
+
*/
|
|
2280
|
+
trustListRefresh(url: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2281
|
+
/**
|
|
2282
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
2283
|
+
* @param {*} [options] Override http request option.
|
|
2284
|
+
* @throws {RequiredError}
|
|
2285
|
+
*/
|
|
2286
|
+
trustListsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TrustListsResponse>>;
|
|
2193
2287
|
/**
|
|
2194
2288
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
2195
2289
|
* @param {string} walletId
|
|
@@ -2756,6 +2850,33 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2756
2850
|
* @throws {RequiredError}
|
|
2757
2851
|
*/
|
|
2758
2852
|
tfX509CertificateUpdateStatus(walletId: string, serialNumber: string, certificateStatusUpdateRequest?: CertificateStatusUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2853
|
+
/**
|
|
2854
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
2855
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
2856
|
+
* @param {*} [options] Override http request option.
|
|
2857
|
+
* @throws {RequiredError}
|
|
2858
|
+
*/
|
|
2859
|
+
trustListAdd(trustListAddRequest?: TrustListAddRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2860
|
+
/**
|
|
2861
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
2862
|
+
* @param {string} url The URL the trusted list is published at.
|
|
2863
|
+
* @param {*} [options] Override http request option.
|
|
2864
|
+
* @throws {RequiredError}
|
|
2865
|
+
*/
|
|
2866
|
+
trustListDelete(url: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2867
|
+
/**
|
|
2868
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
2869
|
+
* @param {string} url The URL the trusted list is published at.
|
|
2870
|
+
* @param {*} [options] Override http request option.
|
|
2871
|
+
* @throws {RequiredError}
|
|
2872
|
+
*/
|
|
2873
|
+
trustListRefresh(url: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2874
|
+
/**
|
|
2875
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
2876
|
+
* @param {*} [options] Override http request option.
|
|
2877
|
+
* @throws {RequiredError}
|
|
2878
|
+
*/
|
|
2879
|
+
trustListsGet(options?: RawAxiosRequestConfig): AxiosPromise<TrustListsResponse>;
|
|
2759
2880
|
/**
|
|
2760
2881
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
2761
2882
|
* @param {string} walletId
|
|
@@ -3322,6 +3443,33 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3322
3443
|
* @throws {RequiredError}
|
|
3323
3444
|
*/
|
|
3324
3445
|
tfX509CertificateUpdateStatus(walletId: string, serialNumber: string, certificateStatusUpdateRequest?: CertificateStatusUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3446
|
+
/**
|
|
3447
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
3448
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
3449
|
+
* @param {*} [options] Override http request option.
|
|
3450
|
+
* @throws {RequiredError}
|
|
3451
|
+
*/
|
|
3452
|
+
trustListAdd(trustListAddRequest?: TrustListAddRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3453
|
+
/**
|
|
3454
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
3455
|
+
* @param {string} url The URL the trusted list is published at.
|
|
3456
|
+
* @param {*} [options] Override http request option.
|
|
3457
|
+
* @throws {RequiredError}
|
|
3458
|
+
*/
|
|
3459
|
+
trustListDelete(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3460
|
+
/**
|
|
3461
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
3462
|
+
* @param {string} url The URL the trusted list is published at.
|
|
3463
|
+
* @param {*} [options] Override http request option.
|
|
3464
|
+
* @throws {RequiredError}
|
|
3465
|
+
*/
|
|
3466
|
+
trustListRefresh(url: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
|
|
3467
|
+
/**
|
|
3468
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
3469
|
+
* @param {*} [options] Override http request option.
|
|
3470
|
+
* @throws {RequiredError}
|
|
3471
|
+
*/
|
|
3472
|
+
trustListsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TrustListsResponse, any, {}>>;
|
|
3325
3473
|
/**
|
|
3326
3474
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
3327
3475
|
* @param {string} walletId
|
package/api.js
CHANGED
|
@@ -25,7 +25,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
25
25
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
26
26
|
};
|
|
27
27
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
-
exports.WmpEntityListEntityTypeEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.XadesSignatureType = exports.WmpRequestType = exports.WmpProvideIdentityAssertionTypeEnum = exports.WmpProcessClientRequestTypeEnum = exports.WmpAuthenticateSessionTypeEnum = exports.WalletNotificationEventType = exports.WalletCapability = exports.TrustFrameworkType = exports.SystemImpactStatusEnum = exports.SigningKeyIdentifier = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.OidcRevisionOidc4vpEnum = exports.OidcRevisionOidc4vciEnum = exports.ObjectVerticalAlignment = exports.ObjectHorizontalAlignment = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.EntityAccreditationRequestTypeEnum = exports.DocumentSignatureValidityVerificationResultEnum = exports.DeferredStatusEnum = exports.CredentialPropertyToVerify = exports.CredentialNotificationEventTypeEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = exports.CredentialIssuerDefinitionAuthorizationEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.CertificateStatus = exports.AccreditationRequestTypeEnum = void 0;
|
|
28
|
+
exports.WmpEntityListEntityTypeEnum = exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.XadesSignatureType = exports.WmpRequestType = exports.WmpProvideIdentityAssertionTypeEnum = exports.WmpProcessClientRequestTypeEnum = exports.WmpAuthenticateSessionTypeEnum = exports.WalletNotificationEventType = exports.WalletCapability = exports.TrustListKind = exports.TrustFrameworkType = exports.SystemImpactStatusEnum = exports.SigningKeyIdentifier = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.OidcRevisionOidc4vpEnum = exports.OidcRevisionOidc4vciEnum = exports.ObjectVerticalAlignment = exports.ObjectHorizontalAlignment = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.EntityAccreditationRequestTypeEnum = exports.DocumentSignatureValidityVerificationResultEnum = exports.DeferredStatusEnum = exports.CredentialPropertyToVerify = exports.CredentialNotificationEventTypeEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = exports.CredentialIssuerDefinitionAuthorizationEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = exports.CertificateStatus = exports.AccreditationRequestTypeEnum = void 0;
|
|
29
29
|
const axios_1 = __importDefault(require("axios"));
|
|
30
30
|
// Some imports not used depending on template conditions
|
|
31
31
|
// @ts-ignore
|
|
@@ -174,6 +174,13 @@ exports.TrustFrameworkType = {
|
|
|
174
174
|
Noop: 'NOOP',
|
|
175
175
|
Eudi: 'EUDI',
|
|
176
176
|
};
|
|
177
|
+
/**
|
|
178
|
+
* What a trusted list URL names. A `lotl` is a List of Trusted Lists, whose pointers are followed to the lists it names; a `trustList` is a leaf list, holding trust services directly.
|
|
179
|
+
*/
|
|
180
|
+
exports.TrustListKind = {
|
|
181
|
+
TrustList: 'trustList',
|
|
182
|
+
Lotl: 'lotl',
|
|
183
|
+
};
|
|
177
184
|
/**
|
|
178
185
|
* Defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
|
|
179
186
|
*/
|
|
@@ -1757,6 +1764,133 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1757
1764
|
options: localVarRequestOptions,
|
|
1758
1765
|
};
|
|
1759
1766
|
}),
|
|
1767
|
+
/**
|
|
1768
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
1769
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
1770
|
+
* @param {*} [options] Override http request option.
|
|
1771
|
+
* @throws {RequiredError}
|
|
1772
|
+
*/
|
|
1773
|
+
trustListAdd: (trustListAddRequest_1, ...args_1) => __awaiter(this, [trustListAddRequest_1, ...args_1], void 0, function* (trustListAddRequest, options = {}) {
|
|
1774
|
+
const localVarPath = `/admin/trust-lists`;
|
|
1775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1776
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1777
|
+
let baseOptions;
|
|
1778
|
+
if (configuration) {
|
|
1779
|
+
baseOptions = configuration.baseOptions;
|
|
1780
|
+
}
|
|
1781
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1782
|
+
const localVarHeaderParameter = {};
|
|
1783
|
+
const localVarQueryParameter = {};
|
|
1784
|
+
// authentication accessToken required
|
|
1785
|
+
// http bearer authentication required
|
|
1786
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1787
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1788
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1789
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1790
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1791
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1792
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(trustListAddRequest, localVarRequestOptions, configuration);
|
|
1793
|
+
return {
|
|
1794
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1795
|
+
options: localVarRequestOptions,
|
|
1796
|
+
};
|
|
1797
|
+
}),
|
|
1798
|
+
/**
|
|
1799
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
1800
|
+
* @param {string} url The URL the trusted list is published at.
|
|
1801
|
+
* @param {*} [options] Override http request option.
|
|
1802
|
+
* @throws {RequiredError}
|
|
1803
|
+
*/
|
|
1804
|
+
trustListDelete: (url_1, ...args_1) => __awaiter(this, [url_1, ...args_1], void 0, function* (url, options = {}) {
|
|
1805
|
+
// verify required parameter 'url' is not null or undefined
|
|
1806
|
+
(0, common_1.assertParamExists)('trustListDelete', 'url', url);
|
|
1807
|
+
const localVarPath = `/admin/trust-lists`;
|
|
1808
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1809
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1810
|
+
let baseOptions;
|
|
1811
|
+
if (configuration) {
|
|
1812
|
+
baseOptions = configuration.baseOptions;
|
|
1813
|
+
}
|
|
1814
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
1815
|
+
const localVarHeaderParameter = {};
|
|
1816
|
+
const localVarQueryParameter = {};
|
|
1817
|
+
// authentication accessToken required
|
|
1818
|
+
// http bearer authentication required
|
|
1819
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1820
|
+
if (url !== undefined) {
|
|
1821
|
+
localVarQueryParameter['url'] = url;
|
|
1822
|
+
}
|
|
1823
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1824
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1825
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1826
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1827
|
+
return {
|
|
1828
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1829
|
+
options: localVarRequestOptions,
|
|
1830
|
+
};
|
|
1831
|
+
}),
|
|
1832
|
+
/**
|
|
1833
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
1834
|
+
* @param {string} url The URL the trusted list is published at.
|
|
1835
|
+
* @param {*} [options] Override http request option.
|
|
1836
|
+
* @throws {RequiredError}
|
|
1837
|
+
*/
|
|
1838
|
+
trustListRefresh: (url_1, ...args_1) => __awaiter(this, [url_1, ...args_1], void 0, function* (url, options = {}) {
|
|
1839
|
+
// verify required parameter 'url' is not null or undefined
|
|
1840
|
+
(0, common_1.assertParamExists)('trustListRefresh', 'url', url);
|
|
1841
|
+
const localVarPath = `/admin/trust-lists/refresh`;
|
|
1842
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1843
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1844
|
+
let baseOptions;
|
|
1845
|
+
if (configuration) {
|
|
1846
|
+
baseOptions = configuration.baseOptions;
|
|
1847
|
+
}
|
|
1848
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1849
|
+
const localVarHeaderParameter = {};
|
|
1850
|
+
const localVarQueryParameter = {};
|
|
1851
|
+
// authentication accessToken required
|
|
1852
|
+
// http bearer authentication required
|
|
1853
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1854
|
+
if (url !== undefined) {
|
|
1855
|
+
localVarQueryParameter['url'] = url;
|
|
1856
|
+
}
|
|
1857
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1858
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1859
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1860
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1861
|
+
return {
|
|
1862
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1863
|
+
options: localVarRequestOptions,
|
|
1864
|
+
};
|
|
1865
|
+
}),
|
|
1866
|
+
/**
|
|
1867
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
1868
|
+
* @param {*} [options] Override http request option.
|
|
1869
|
+
* @throws {RequiredError}
|
|
1870
|
+
*/
|
|
1871
|
+
trustListsGet: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
1872
|
+
const localVarPath = `/admin/trust-lists`;
|
|
1873
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1874
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1875
|
+
let baseOptions;
|
|
1876
|
+
if (configuration) {
|
|
1877
|
+
baseOptions = configuration.baseOptions;
|
|
1878
|
+
}
|
|
1879
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1880
|
+
const localVarHeaderParameter = {};
|
|
1881
|
+
const localVarQueryParameter = {};
|
|
1882
|
+
// authentication accessToken required
|
|
1883
|
+
// http bearer authentication required
|
|
1884
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1885
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1886
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1887
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1888
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1889
|
+
return {
|
|
1890
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1891
|
+
options: localVarRequestOptions,
|
|
1892
|
+
};
|
|
1893
|
+
}),
|
|
1760
1894
|
/**
|
|
1761
1895
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
1762
1896
|
* @param {string} walletId
|
|
@@ -3477,6 +3611,65 @@ const DefaultApiFp = function (configuration) {
|
|
|
3477
3611
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3478
3612
|
});
|
|
3479
3613
|
},
|
|
3614
|
+
/**
|
|
3615
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
3616
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
3617
|
+
* @param {*} [options] Override http request option.
|
|
3618
|
+
* @throws {RequiredError}
|
|
3619
|
+
*/
|
|
3620
|
+
trustListAdd(trustListAddRequest, options) {
|
|
3621
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3622
|
+
var _a, _b, _c;
|
|
3623
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.trustListAdd(trustListAddRequest, options);
|
|
3624
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3625
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.trustListAdd']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3626
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3627
|
+
});
|
|
3628
|
+
},
|
|
3629
|
+
/**
|
|
3630
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
3631
|
+
* @param {string} url The URL the trusted list is published at.
|
|
3632
|
+
* @param {*} [options] Override http request option.
|
|
3633
|
+
* @throws {RequiredError}
|
|
3634
|
+
*/
|
|
3635
|
+
trustListDelete(url, options) {
|
|
3636
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3637
|
+
var _a, _b, _c;
|
|
3638
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.trustListDelete(url, options);
|
|
3639
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3640
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.trustListDelete']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3641
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3642
|
+
});
|
|
3643
|
+
},
|
|
3644
|
+
/**
|
|
3645
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
3646
|
+
* @param {string} url The URL the trusted list is published at.
|
|
3647
|
+
* @param {*} [options] Override http request option.
|
|
3648
|
+
* @throws {RequiredError}
|
|
3649
|
+
*/
|
|
3650
|
+
trustListRefresh(url, options) {
|
|
3651
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3652
|
+
var _a, _b, _c;
|
|
3653
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.trustListRefresh(url, options);
|
|
3654
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3655
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.trustListRefresh']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3656
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3657
|
+
});
|
|
3658
|
+
},
|
|
3659
|
+
/**
|
|
3660
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
3661
|
+
* @param {*} [options] Override http request option.
|
|
3662
|
+
* @throws {RequiredError}
|
|
3663
|
+
*/
|
|
3664
|
+
trustListsGet(options) {
|
|
3665
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3666
|
+
var _a, _b, _c;
|
|
3667
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.trustListsGet(options);
|
|
3668
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3669
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.trustListsGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3670
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3671
|
+
});
|
|
3672
|
+
},
|
|
3480
3673
|
/**
|
|
3481
3674
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
3482
3675
|
* @param {string} walletId
|
|
@@ -4357,6 +4550,41 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4357
4550
|
tfX509CertificateUpdateStatus(walletId, serialNumber, certificateStatusUpdateRequest, options) {
|
|
4358
4551
|
return localVarFp.tfX509CertificateUpdateStatus(walletId, serialNumber, certificateStatusUpdateRequest, options).then((request) => request(axios, basePath));
|
|
4359
4552
|
},
|
|
4553
|
+
/**
|
|
4554
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
4555
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
4556
|
+
* @param {*} [options] Override http request option.
|
|
4557
|
+
* @throws {RequiredError}
|
|
4558
|
+
*/
|
|
4559
|
+
trustListAdd(trustListAddRequest, options) {
|
|
4560
|
+
return localVarFp.trustListAdd(trustListAddRequest, options).then((request) => request(axios, basePath));
|
|
4561
|
+
},
|
|
4562
|
+
/**
|
|
4563
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
4564
|
+
* @param {string} url The URL the trusted list is published at.
|
|
4565
|
+
* @param {*} [options] Override http request option.
|
|
4566
|
+
* @throws {RequiredError}
|
|
4567
|
+
*/
|
|
4568
|
+
trustListDelete(url, options) {
|
|
4569
|
+
return localVarFp.trustListDelete(url, options).then((request) => request(axios, basePath));
|
|
4570
|
+
},
|
|
4571
|
+
/**
|
|
4572
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
4573
|
+
* @param {string} url The URL the trusted list is published at.
|
|
4574
|
+
* @param {*} [options] Override http request option.
|
|
4575
|
+
* @throws {RequiredError}
|
|
4576
|
+
*/
|
|
4577
|
+
trustListRefresh(url, options) {
|
|
4578
|
+
return localVarFp.trustListRefresh(url, options).then((request) => request(axios, basePath));
|
|
4579
|
+
},
|
|
4580
|
+
/**
|
|
4581
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
4582
|
+
* @param {*} [options] Override http request option.
|
|
4583
|
+
* @throws {RequiredError}
|
|
4584
|
+
*/
|
|
4585
|
+
trustListsGet(options) {
|
|
4586
|
+
return localVarFp.trustListsGet(options).then((request) => request(axios, basePath));
|
|
4587
|
+
},
|
|
4360
4588
|
/**
|
|
4361
4589
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
4362
4590
|
* @param {string} walletId
|
|
@@ -5061,6 +5289,41 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
5061
5289
|
tfX509CertificateUpdateStatus(walletId, serialNumber, certificateStatusUpdateRequest, options) {
|
|
5062
5290
|
return (0, exports.DefaultApiFp)(this.configuration).tfX509CertificateUpdateStatus(walletId, serialNumber, certificateStatusUpdateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5063
5291
|
}
|
|
5292
|
+
/**
|
|
5293
|
+
* Starts tracking the trusted list published at the given URL, storing its contents and pinning it to the certificate that signed it. Adding a list that is already tracked refreshes it. Requires the `admin` role and the `trustListProviderPostgres` provider. This fetches the list before it answers, and adding a List of Trusted Lists also walks every list it points at, so the call takes as long as those fetches do. A list that could not be reached through the walk is left out rather than failing the registration.
|
|
5294
|
+
* @param {TrustListAddRequest} [trustListAddRequest]
|
|
5295
|
+
* @param {*} [options] Override http request option.
|
|
5296
|
+
* @throws {RequiredError}
|
|
5297
|
+
*/
|
|
5298
|
+
trustListAdd(trustListAddRequest, options) {
|
|
5299
|
+
return (0, exports.DefaultApiFp)(this.configuration).trustListAdd(trustListAddRequest, options).then((request) => request(this.axios, this.basePath));
|
|
5300
|
+
}
|
|
5301
|
+
/**
|
|
5302
|
+
* Stops tracking the trusted list published at the given URL and removes its contents. Removing a List of Trusted Lists removes the lists reached through it as well. Requires the `admin` role and the `trustListProviderPostgres` provider. A wallet whose configuration still names this list will register it again the next time it verifies against it.
|
|
5303
|
+
* @param {string} url The URL the trusted list is published at.
|
|
5304
|
+
* @param {*} [options] Override http request option.
|
|
5305
|
+
* @throws {RequiredError}
|
|
5306
|
+
*/
|
|
5307
|
+
trustListDelete(url, options) {
|
|
5308
|
+
return (0, exports.DefaultApiFp)(this.configuration).trustListDelete(url, options).then((request) => request(this.axios, this.basePath));
|
|
5309
|
+
}
|
|
5310
|
+
/**
|
|
5311
|
+
* Refetches the tracked trusted list published at the given URL and stores what it fetched, whether or not the publisher has issued a new version of it. This is what separates a forced refresh from the sweep the wallet makes on its own interval, which leaves an unchanged list alone. Requires the `admin` role and the `trustListProviderPostgres` provider. The refetch is pinned to the certificate already recorded for the list, so a list cannot be moved onto a new signer by refreshing it: one signed by a different certificate is rejected with 409 and the stored copy is kept.
|
|
5312
|
+
* @param {string} url The URL the trusted list is published at.
|
|
5313
|
+
* @param {*} [options] Override http request option.
|
|
5314
|
+
* @throws {RequiredError}
|
|
5315
|
+
*/
|
|
5316
|
+
trustListRefresh(url, options) {
|
|
5317
|
+
return (0, exports.DefaultApiFp)(this.configuration).trustListRefresh(url, options).then((request) => request(this.axios, this.basePath));
|
|
5318
|
+
}
|
|
5319
|
+
/**
|
|
5320
|
+
* Lists the trusted lists the wallet tracks. Requires the `admin` role, and a wallet configured with the `trustListProviderPostgres` trust list provider: one that fetches its lists from their publisher as it needs them tracks nothing, and answers 501. A list reached through a List of Trusted Lists is not a source of its own and is not returned here. It is refreshed and removed along with the list that points at it.
|
|
5321
|
+
* @param {*} [options] Override http request option.
|
|
5322
|
+
* @throws {RequiredError}
|
|
5323
|
+
*/
|
|
5324
|
+
trustListsGet(options) {
|
|
5325
|
+
return (0, exports.DefaultApiFp)(this.configuration).trustListsGet(options).then((request) => request(this.axios, this.basePath));
|
|
5326
|
+
}
|
|
5064
5327
|
/**
|
|
5065
5328
|
* Creates a verification session and returns a URL where the verifier accepts credential presentations from a holder. The URL is typically shared as a QR code or deep link. After the holder presents credentials, use `WalletVerifiedCredentialsByState` with the returned `state` to retrieve the verification result.
|
|
5066
5329
|
* @param {string} walletId
|