@triveria/wallet 0.0.241 → 0.0.243
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 +249 -97
- package/api.js +304 -146
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -69,6 +69,69 @@ export interface AuthOffer {
|
|
|
69
69
|
*/
|
|
70
70
|
'offerId': string;
|
|
71
71
|
}
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @export
|
|
75
|
+
* @interface CSRCreateRequest
|
|
76
|
+
*/
|
|
77
|
+
export interface CSRCreateRequest {
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof CSRCreateRequest
|
|
82
|
+
*/
|
|
83
|
+
'organizationName': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof CSRCreateRequest
|
|
88
|
+
*/
|
|
89
|
+
'locality': string;
|
|
90
|
+
/**
|
|
91
|
+
*
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof CSRCreateRequest
|
|
94
|
+
*/
|
|
95
|
+
'province'?: string;
|
|
96
|
+
/**
|
|
97
|
+
*
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof CSRCreateRequest
|
|
100
|
+
*/
|
|
101
|
+
'country': string;
|
|
102
|
+
/**
|
|
103
|
+
*
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof CSRCreateRequest
|
|
106
|
+
*/
|
|
107
|
+
'email'?: string;
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
*
|
|
111
|
+
* @export
|
|
112
|
+
* @interface CSRCreateResponse
|
|
113
|
+
*/
|
|
114
|
+
export interface CSRCreateResponse {
|
|
115
|
+
/**
|
|
116
|
+
*
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof CSRCreateResponse
|
|
119
|
+
*/
|
|
120
|
+
'csr': string;
|
|
121
|
+
}
|
|
122
|
+
/**
|
|
123
|
+
*
|
|
124
|
+
* @export
|
|
125
|
+
* @interface CertificateImportRequest
|
|
126
|
+
*/
|
|
127
|
+
export interface CertificateImportRequest {
|
|
128
|
+
/**
|
|
129
|
+
*
|
|
130
|
+
* @type {string}
|
|
131
|
+
* @memberof CertificateImportRequest
|
|
132
|
+
*/
|
|
133
|
+
'certificate': string;
|
|
134
|
+
}
|
|
72
135
|
/**
|
|
73
136
|
* Accompanying information about the verifiable credential draft - schema, type, format etc.
|
|
74
137
|
* @export
|
|
@@ -210,12 +273,6 @@ export interface CredentialIssuedNotification {
|
|
|
210
273
|
* @memberof CredentialIssuedNotification
|
|
211
274
|
*/
|
|
212
275
|
'credentialType': string;
|
|
213
|
-
/**
|
|
214
|
-
*
|
|
215
|
-
* @type {string}
|
|
216
|
-
* @memberof CredentialIssuedNotification
|
|
217
|
-
*/
|
|
218
|
-
'holderDid': string;
|
|
219
276
|
/**
|
|
220
277
|
*
|
|
221
278
|
* @type {string}
|
|
@@ -426,6 +483,12 @@ export interface CredentialMetadata {
|
|
|
426
483
|
* @memberof CredentialMetadata
|
|
427
484
|
*/
|
|
428
485
|
'disclosableFields'?: Array<string>;
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {string}
|
|
489
|
+
* @memberof CredentialMetadata
|
|
490
|
+
*/
|
|
491
|
+
'issuerIdentifier': string;
|
|
429
492
|
/**
|
|
430
493
|
* Array of objects, where each object contains display properties of a Credential Issuer for a certain language.
|
|
431
494
|
* @type {Array<IssuerDisplayItem>}
|
|
@@ -849,19 +912,6 @@ export declare const DeferredStatusEnum: {
|
|
|
849
912
|
readonly Error: "error";
|
|
850
913
|
};
|
|
851
914
|
export type DeferredStatusEnum = typeof DeferredStatusEnum[keyof typeof DeferredStatusEnum];
|
|
852
|
-
/**
|
|
853
|
-
* Decentralized ID of the wallet owner
|
|
854
|
-
* @export
|
|
855
|
-
* @interface Did
|
|
856
|
-
*/
|
|
857
|
-
export interface Did {
|
|
858
|
-
/**
|
|
859
|
-
*
|
|
860
|
-
* @type {string}
|
|
861
|
-
* @memberof Did
|
|
862
|
-
*/
|
|
863
|
-
'Did': string;
|
|
864
|
-
}
|
|
865
915
|
/**
|
|
866
916
|
* URLs of EBSI services
|
|
867
917
|
* @export
|
|
@@ -955,7 +1005,7 @@ export interface EbsiSpecificWalletData {
|
|
|
955
1005
|
'configuration': EbsiConfiguration;
|
|
956
1006
|
}
|
|
957
1007
|
/**
|
|
958
|
-
*
|
|
1008
|
+
* Configuration for EUDI trust framework. Field didTrustFramework is used when the wallet uses did as its identifier.
|
|
959
1009
|
* @export
|
|
960
1010
|
* @interface EudiConfiguration
|
|
961
1011
|
*/
|
|
@@ -966,6 +1016,12 @@ export interface EudiConfiguration {
|
|
|
966
1016
|
* @memberof EudiConfiguration
|
|
967
1017
|
*/
|
|
968
1018
|
'tslUrl': string;
|
|
1019
|
+
/**
|
|
1020
|
+
*
|
|
1021
|
+
* @type {TrustFrameworkType}
|
|
1022
|
+
* @memberof EudiConfiguration
|
|
1023
|
+
*/
|
|
1024
|
+
'didTrustFramework'?: TrustFrameworkType;
|
|
969
1025
|
}
|
|
970
1026
|
/**
|
|
971
1027
|
* Presented credential field that will be matched
|
|
@@ -1510,12 +1566,6 @@ export interface OfferReceivedNotification {
|
|
|
1510
1566
|
* @memberof OfferReceivedNotification
|
|
1511
1567
|
*/
|
|
1512
1568
|
'credentialType': string;
|
|
1513
|
-
/**
|
|
1514
|
-
*
|
|
1515
|
-
* @type {string}
|
|
1516
|
-
* @memberof OfferReceivedNotification
|
|
1517
|
-
*/
|
|
1518
|
-
'holderDid': string;
|
|
1519
1569
|
/**
|
|
1520
1570
|
*
|
|
1521
1571
|
* @type {string}
|
|
@@ -1971,6 +2021,17 @@ export declare const RevokeAccreditationRequestTypeEnum: {
|
|
|
1971
2021
|
readonly TrustedAccreditationOrganisation: "TrustedAccreditationOrganisation";
|
|
1972
2022
|
};
|
|
1973
2023
|
export type RevokeAccreditationRequestTypeEnum = typeof RevokeAccreditationRequestTypeEnum[keyof typeof RevokeAccreditationRequestTypeEnum];
|
|
2024
|
+
/**
|
|
2025
|
+
*
|
|
2026
|
+
* @export
|
|
2027
|
+
* @enum {string}
|
|
2028
|
+
*/
|
|
2029
|
+
export declare const SigningKeyIdentifier: {
|
|
2030
|
+
readonly Did: "did";
|
|
2031
|
+
readonly Jwk: "jwk";
|
|
2032
|
+
readonly X509: "x509";
|
|
2033
|
+
};
|
|
2034
|
+
export type SigningKeyIdentifier = typeof SigningKeyIdentifier[keyof typeof SigningKeyIdentifier];
|
|
1974
2035
|
/**
|
|
1975
2036
|
* The subsystem status impact on the overall system
|
|
1976
2037
|
* @export
|
|
@@ -2002,6 +2063,18 @@ export declare const SystemImpactStatusEnum: {
|
|
|
2002
2063
|
readonly Critical: "critical";
|
|
2003
2064
|
};
|
|
2004
2065
|
export type SystemImpactStatusEnum = typeof SystemImpactStatusEnum[keyof typeof SystemImpactStatusEnum];
|
|
2066
|
+
/**
|
|
2067
|
+
* What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, IDTL - IDUnion Trust List, EUDI - European Digital Identity wallet, Noop - personal key based no-op trust framework (mainly for the personal use)
|
|
2068
|
+
* @export
|
|
2069
|
+
* @enum {string}
|
|
2070
|
+
*/
|
|
2071
|
+
export declare const TrustFrameworkType: {
|
|
2072
|
+
readonly Ebsi: "EBSI";
|
|
2073
|
+
readonly Idtl: "IDTL";
|
|
2074
|
+
readonly Noop: "NOOP";
|
|
2075
|
+
readonly Eudi: "EUDI";
|
|
2076
|
+
};
|
|
2077
|
+
export type TrustFrameworkType = typeof TrustFrameworkType[keyof typeof TrustFrameworkType];
|
|
2005
2078
|
/**
|
|
2006
2079
|
*
|
|
2007
2080
|
* @export
|
|
@@ -2192,11 +2265,11 @@ export interface WalletConfig {
|
|
|
2192
2265
|
*/
|
|
2193
2266
|
'oidcRevision'?: OidcRevision;
|
|
2194
2267
|
/**
|
|
2195
|
-
*
|
|
2196
|
-
* @type {
|
|
2268
|
+
*
|
|
2269
|
+
* @type {TrustFrameworkType}
|
|
2197
2270
|
* @memberof WalletConfig
|
|
2198
2271
|
*/
|
|
2199
|
-
'trustFramework':
|
|
2272
|
+
'trustFramework': TrustFrameworkType;
|
|
2200
2273
|
/**
|
|
2201
2274
|
*
|
|
2202
2275
|
* @type {EbsiSpecificWalletData}
|
|
@@ -2209,6 +2282,12 @@ export interface WalletConfig {
|
|
|
2209
2282
|
* @memberof WalletConfig
|
|
2210
2283
|
*/
|
|
2211
2284
|
'EUDI'?: EudiConfiguration;
|
|
2285
|
+
/**
|
|
2286
|
+
*
|
|
2287
|
+
* @type {SigningKeyIdentifier}
|
|
2288
|
+
* @memberof WalletConfig
|
|
2289
|
+
*/
|
|
2290
|
+
'walletKeyIdentifier': SigningKeyIdentifier;
|
|
2212
2291
|
/**
|
|
2213
2292
|
* Expiration time in seconds for credential status lists. Used only if the wallet is a credential issuer
|
|
2214
2293
|
* @type {number}
|
|
@@ -2216,12 +2295,6 @@ export interface WalletConfig {
|
|
|
2216
2295
|
*/
|
|
2217
2296
|
'statusListExpiration'?: number;
|
|
2218
2297
|
}
|
|
2219
|
-
export declare const WalletConfigTrustFrameworkEnum: {
|
|
2220
|
-
readonly Ebsi: "EBSI";
|
|
2221
|
-
readonly Idtl: "IDTL";
|
|
2222
|
-
readonly Noop: "NOOP";
|
|
2223
|
-
};
|
|
2224
|
-
export type WalletConfigTrustFrameworkEnum = typeof WalletConfigTrustFrameworkEnum[keyof typeof WalletConfigTrustFrameworkEnum];
|
|
2225
2298
|
/**
|
|
2226
2299
|
* Payload to create a wallet
|
|
2227
2300
|
* @export
|
|
@@ -2262,6 +2335,19 @@ export interface WalletIdObject {
|
|
|
2262
2335
|
*/
|
|
2263
2336
|
'id': string;
|
|
2264
2337
|
}
|
|
2338
|
+
/**
|
|
2339
|
+
* DID or Wallet URL depending on the configured wallet key identifier
|
|
2340
|
+
* @export
|
|
2341
|
+
* @interface WalletIdentifier
|
|
2342
|
+
*/
|
|
2343
|
+
export interface WalletIdentifier {
|
|
2344
|
+
/**
|
|
2345
|
+
*
|
|
2346
|
+
* @type {string}
|
|
2347
|
+
* @memberof WalletIdentifier
|
|
2348
|
+
*/
|
|
2349
|
+
'identifier': string;
|
|
2350
|
+
}
|
|
2265
2351
|
/**
|
|
2266
2352
|
*
|
|
2267
2353
|
* @export
|
|
@@ -2487,21 +2573,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2487
2573
|
* @throws {RequiredError}
|
|
2488
2574
|
*/
|
|
2489
2575
|
didDocumentGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2490
|
-
/**
|
|
2491
|
-
*
|
|
2492
|
-
* @param {string} walletId
|
|
2493
|
-
* @param {*} [options] Override http request option.
|
|
2494
|
-
* @throws {RequiredError}
|
|
2495
|
-
*/
|
|
2496
|
-
didGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2497
|
-
/**
|
|
2498
|
-
*
|
|
2499
|
-
* @param {string} walletId
|
|
2500
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
2501
|
-
* @param {*} [options] Override http request option.
|
|
2502
|
-
* @throws {RequiredError}
|
|
2503
|
-
*/
|
|
2504
|
-
didUpdate: (walletId: string, did?: Did, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2505
2576
|
/**
|
|
2506
2577
|
*
|
|
2507
2578
|
* @param {*} [options] Override http request option.
|
|
@@ -2695,6 +2766,21 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2695
2766
|
* @throws {RequiredError}
|
|
2696
2767
|
*/
|
|
2697
2768
|
walletGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2769
|
+
/**
|
|
2770
|
+
*
|
|
2771
|
+
* @param {string} walletId
|
|
2772
|
+
* @param {*} [options] Override http request option.
|
|
2773
|
+
* @throws {RequiredError}
|
|
2774
|
+
*/
|
|
2775
|
+
walletIdentifierGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2776
|
+
/**
|
|
2777
|
+
*
|
|
2778
|
+
* @param {string} walletId
|
|
2779
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
2780
|
+
* @param {*} [options] Override http request option.
|
|
2781
|
+
* @throws {RequiredError}
|
|
2782
|
+
*/
|
|
2783
|
+
walletIdentifierUpdate: (walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2698
2784
|
/**
|
|
2699
2785
|
* Provides wallet keys used for signing.
|
|
2700
2786
|
* @param {string} walletId Wallet ID
|
|
@@ -2761,6 +2847,22 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
2761
2847
|
* @throws {RequiredError}
|
|
2762
2848
|
*/
|
|
2763
2849
|
walletVerifiedCredentialsDeleteByState: (walletId: string, state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2850
|
+
/**
|
|
2851
|
+
* Creates a X509 certificate signing request for signing key.
|
|
2852
|
+
* @param {string} walletId Wallet ID
|
|
2853
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
2854
|
+
* @param {*} [options] Override http request option.
|
|
2855
|
+
* @throws {RequiredError}
|
|
2856
|
+
*/
|
|
2857
|
+
walletX509CSRCreate: (walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2858
|
+
/**
|
|
2859
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
2860
|
+
* @param {string} walletId Wallet ID
|
|
2861
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
2862
|
+
* @param {*} [options] Override http request option.
|
|
2863
|
+
* @throws {RequiredError}
|
|
2864
|
+
*/
|
|
2865
|
+
walletX509CertificateImport: (walletId: string, certificateImportRequest?: CertificateImportRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2764
2866
|
};
|
|
2765
2867
|
/**
|
|
2766
2868
|
* DefaultApi - functional programming interface
|
|
@@ -2864,21 +2966,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2864
2966
|
* @throws {RequiredError}
|
|
2865
2967
|
*/
|
|
2866
2968
|
didDocumentGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
|
|
2867
|
-
/**
|
|
2868
|
-
*
|
|
2869
|
-
* @param {string} walletId
|
|
2870
|
-
* @param {*} [options] Override http request option.
|
|
2871
|
-
* @throws {RequiredError}
|
|
2872
|
-
*/
|
|
2873
|
-
didGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did>>;
|
|
2874
|
-
/**
|
|
2875
|
-
*
|
|
2876
|
-
* @param {string} walletId
|
|
2877
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
2878
|
-
* @param {*} [options] Override http request option.
|
|
2879
|
-
* @throws {RequiredError}
|
|
2880
|
-
*/
|
|
2881
|
-
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Did>>;
|
|
2882
2969
|
/**
|
|
2883
2970
|
*
|
|
2884
2971
|
* @param {*} [options] Override http request option.
|
|
@@ -3072,6 +3159,21 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3072
3159
|
* @throws {RequiredError}
|
|
3073
3160
|
*/
|
|
3074
3161
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Wallet>>;
|
|
3162
|
+
/**
|
|
3163
|
+
*
|
|
3164
|
+
* @param {string} walletId
|
|
3165
|
+
* @param {*} [options] Override http request option.
|
|
3166
|
+
* @throws {RequiredError}
|
|
3167
|
+
*/
|
|
3168
|
+
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdentifier>>;
|
|
3169
|
+
/**
|
|
3170
|
+
*
|
|
3171
|
+
* @param {string} walletId
|
|
3172
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3173
|
+
* @param {*} [options] Override http request option.
|
|
3174
|
+
* @throws {RequiredError}
|
|
3175
|
+
*/
|
|
3176
|
+
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdentifier>>;
|
|
3075
3177
|
/**
|
|
3076
3178
|
* Provides wallet keys used for signing.
|
|
3077
3179
|
* @param {string} walletId Wallet ID
|
|
@@ -3140,6 +3242,22 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
3140
3242
|
* @throws {RequiredError}
|
|
3141
3243
|
*/
|
|
3142
3244
|
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3245
|
+
/**
|
|
3246
|
+
* Creates a X509 certificate signing request for signing key.
|
|
3247
|
+
* @param {string} walletId Wallet ID
|
|
3248
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
3249
|
+
* @param {*} [options] Override http request option.
|
|
3250
|
+
* @throws {RequiredError}
|
|
3251
|
+
*/
|
|
3252
|
+
walletX509CSRCreate(walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CSRCreateResponse>>;
|
|
3253
|
+
/**
|
|
3254
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
3255
|
+
* @param {string} walletId Wallet ID
|
|
3256
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
3257
|
+
* @param {*} [options] Override http request option.
|
|
3258
|
+
* @throws {RequiredError}
|
|
3259
|
+
*/
|
|
3260
|
+
walletX509CertificateImport(walletId: string, certificateImportRequest?: CertificateImportRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3143
3261
|
};
|
|
3144
3262
|
/**
|
|
3145
3263
|
* DefaultApi - factory interface
|
|
@@ -3243,21 +3361,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3243
3361
|
* @throws {RequiredError}
|
|
3244
3362
|
*/
|
|
3245
3363
|
didDocumentGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<object>;
|
|
3246
|
-
/**
|
|
3247
|
-
*
|
|
3248
|
-
* @param {string} walletId
|
|
3249
|
-
* @param {*} [options] Override http request option.
|
|
3250
|
-
* @throws {RequiredError}
|
|
3251
|
-
*/
|
|
3252
|
-
didGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Did>;
|
|
3253
|
-
/**
|
|
3254
|
-
*
|
|
3255
|
-
* @param {string} walletId
|
|
3256
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
3257
|
-
* @param {*} [options] Override http request option.
|
|
3258
|
-
* @throws {RequiredError}
|
|
3259
|
-
*/
|
|
3260
|
-
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): AxiosPromise<Did>;
|
|
3261
3364
|
/**
|
|
3262
3365
|
*
|
|
3263
3366
|
* @param {*} [options] Override http request option.
|
|
@@ -3451,6 +3554,21 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3451
3554
|
* @throws {RequiredError}
|
|
3452
3555
|
*/
|
|
3453
3556
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<Wallet>;
|
|
3557
|
+
/**
|
|
3558
|
+
*
|
|
3559
|
+
* @param {string} walletId
|
|
3560
|
+
* @param {*} [options] Override http request option.
|
|
3561
|
+
* @throws {RequiredError}
|
|
3562
|
+
*/
|
|
3563
|
+
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdentifier>;
|
|
3564
|
+
/**
|
|
3565
|
+
*
|
|
3566
|
+
* @param {string} walletId
|
|
3567
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3568
|
+
* @param {*} [options] Override http request option.
|
|
3569
|
+
* @throws {RequiredError}
|
|
3570
|
+
*/
|
|
3571
|
+
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdentifier>;
|
|
3454
3572
|
/**
|
|
3455
3573
|
* Provides wallet keys used for signing.
|
|
3456
3574
|
* @param {string} walletId Wallet ID
|
|
@@ -3519,6 +3637,22 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
3519
3637
|
* @throws {RequiredError}
|
|
3520
3638
|
*/
|
|
3521
3639
|
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3640
|
+
/**
|
|
3641
|
+
* Creates a X509 certificate signing request for signing key.
|
|
3642
|
+
* @param {string} walletId Wallet ID
|
|
3643
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
3644
|
+
* @param {*} [options] Override http request option.
|
|
3645
|
+
* @throws {RequiredError}
|
|
3646
|
+
*/
|
|
3647
|
+
walletX509CSRCreate(walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<CSRCreateResponse>;
|
|
3648
|
+
/**
|
|
3649
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
3650
|
+
* @param {string} walletId Wallet ID
|
|
3651
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
3652
|
+
* @param {*} [options] Override http request option.
|
|
3653
|
+
* @throws {RequiredError}
|
|
3654
|
+
*/
|
|
3655
|
+
walletX509CertificateImport(walletId: string, certificateImportRequest?: CertificateImportRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3522
3656
|
};
|
|
3523
3657
|
/**
|
|
3524
3658
|
* DefaultApi - object-oriented interface
|
|
@@ -3635,23 +3769,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3635
3769
|
* @memberof DefaultApi
|
|
3636
3770
|
*/
|
|
3637
3771
|
didDocumentGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
|
|
3638
|
-
/**
|
|
3639
|
-
*
|
|
3640
|
-
* @param {string} walletId
|
|
3641
|
-
* @param {*} [options] Override http request option.
|
|
3642
|
-
* @throws {RequiredError}
|
|
3643
|
-
* @memberof DefaultApi
|
|
3644
|
-
*/
|
|
3645
|
-
didGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Did, any>>;
|
|
3646
|
-
/**
|
|
3647
|
-
*
|
|
3648
|
-
* @param {string} walletId
|
|
3649
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
3650
|
-
* @param {*} [options] Override http request option.
|
|
3651
|
-
* @throws {RequiredError}
|
|
3652
|
-
* @memberof DefaultApi
|
|
3653
|
-
*/
|
|
3654
|
-
didUpdate(walletId: string, did?: Did, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Did, any>>;
|
|
3655
3772
|
/**
|
|
3656
3773
|
*
|
|
3657
3774
|
* @param {*} [options] Override http request option.
|
|
@@ -3870,6 +3987,23 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3870
3987
|
* @memberof DefaultApi
|
|
3871
3988
|
*/
|
|
3872
3989
|
walletGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Wallet, any>>;
|
|
3990
|
+
/**
|
|
3991
|
+
*
|
|
3992
|
+
* @param {string} walletId
|
|
3993
|
+
* @param {*} [options] Override http request option.
|
|
3994
|
+
* @throws {RequiredError}
|
|
3995
|
+
* @memberof DefaultApi
|
|
3996
|
+
*/
|
|
3997
|
+
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
3998
|
+
/**
|
|
3999
|
+
*
|
|
4000
|
+
* @param {string} walletId
|
|
4001
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
4002
|
+
* @param {*} [options] Override http request option.
|
|
4003
|
+
* @throws {RequiredError}
|
|
4004
|
+
* @memberof DefaultApi
|
|
4005
|
+
*/
|
|
4006
|
+
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
3873
4007
|
/**
|
|
3874
4008
|
* Provides wallet keys used for signing.
|
|
3875
4009
|
* @param {string} walletId Wallet ID
|
|
@@ -3946,6 +4080,24 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3946
4080
|
* @memberof DefaultApi
|
|
3947
4081
|
*/
|
|
3948
4082
|
walletVerifiedCredentialsDeleteByState(walletId: string, state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4083
|
+
/**
|
|
4084
|
+
* Creates a X509 certificate signing request for signing key.
|
|
4085
|
+
* @param {string} walletId Wallet ID
|
|
4086
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
4087
|
+
* @param {*} [options] Override http request option.
|
|
4088
|
+
* @throws {RequiredError}
|
|
4089
|
+
* @memberof DefaultApi
|
|
4090
|
+
*/
|
|
4091
|
+
walletX509CSRCreate(walletId: string, cSRCreateRequest?: CSRCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CSRCreateResponse, any>>;
|
|
4092
|
+
/**
|
|
4093
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
4094
|
+
* @param {string} walletId Wallet ID
|
|
4095
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
4096
|
+
* @param {*} [options] Override http request option.
|
|
4097
|
+
* @throws {RequiredError}
|
|
4098
|
+
* @memberof DefaultApi
|
|
4099
|
+
*/
|
|
4100
|
+
walletX509CertificateImport(walletId: string, certificateImportRequest?: CertificateImportRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
3949
4101
|
}
|
|
3950
4102
|
/**
|
|
3951
4103
|
* @export
|
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.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.
|
|
28
|
+
exports.CredentialListInteractionEnum = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.WalletNotificationEventType = exports.WalletCapability = exports.TrustFrameworkType = exports.SystemImpactStatusEnum = exports.SigningKeyIdentifier = exports.RevokeAccreditationRequestTypeEnum = exports.PresentationDefinitionSubmissionRequirementsRuleEnum = exports.PrepareToAccreditRequestTypeEnum = exports.OidcRevisionOidc4vpEnum = exports.OidcRevisionOidc4vciEnum = exports.ListSort = exports.InteractionAuthorizationRequirementsRequirementTypeEnum = exports.HealthStatusStatusEnum = exports.DeferredStatusEnum = exports.CredentialMetadataStatusEnum = exports.CredentialMetadataInteractionEnum = exports.CredentialIssuerDefinitionCredentialIssuerEnum = exports.CredentialFormat = 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
|
|
@@ -109,11 +109,32 @@ exports.RevokeAccreditationRequestTypeEnum = {
|
|
|
109
109
|
TrustedIssuer: 'TrustedIssuer',
|
|
110
110
|
TrustedAccreditationOrganisation: 'TrustedAccreditationOrganisation'
|
|
111
111
|
};
|
|
112
|
+
/**
|
|
113
|
+
*
|
|
114
|
+
* @export
|
|
115
|
+
* @enum {string}
|
|
116
|
+
*/
|
|
117
|
+
exports.SigningKeyIdentifier = {
|
|
118
|
+
Did: 'did',
|
|
119
|
+
Jwk: 'jwk',
|
|
120
|
+
X509: 'x509'
|
|
121
|
+
};
|
|
112
122
|
exports.SystemImpactStatusEnum = {
|
|
113
123
|
Ok: 'ok',
|
|
114
124
|
Limited: 'limited',
|
|
115
125
|
Critical: 'critical'
|
|
116
126
|
};
|
|
127
|
+
/**
|
|
128
|
+
* What trust framework should we use with this wallet. This property COULD NOT change later. Supported frameworks: EBSI - the European Blockchain Services Infrastructure, IDTL - IDUnion Trust List, EUDI - European Digital Identity wallet, Noop - personal key based no-op trust framework (mainly for the personal use)
|
|
129
|
+
* @export
|
|
130
|
+
* @enum {string}
|
|
131
|
+
*/
|
|
132
|
+
exports.TrustFrameworkType = {
|
|
133
|
+
Ebsi: 'EBSI',
|
|
134
|
+
Idtl: 'IDTL',
|
|
135
|
+
Noop: 'NOOP',
|
|
136
|
+
Eudi: 'EUDI'
|
|
137
|
+
};
|
|
117
138
|
/**
|
|
118
139
|
* Defines the capabilities which the wallet has. It may be any of \"holder\", \"issuer\" and \"verifier\".
|
|
119
140
|
* @export
|
|
@@ -124,11 +145,6 @@ exports.WalletCapability = {
|
|
|
124
145
|
Issuer: 'issuer',
|
|
125
146
|
Verifier: 'verifier'
|
|
126
147
|
};
|
|
127
|
-
exports.WalletConfigTrustFrameworkEnum = {
|
|
128
|
-
Ebsi: 'EBSI',
|
|
129
|
-
Idtl: 'IDTL',
|
|
130
|
-
Noop: 'NOOP'
|
|
131
|
-
};
|
|
132
148
|
/**
|
|
133
149
|
*
|
|
134
150
|
* @export
|
|
@@ -582,75 +598,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
582
598
|
options: localVarRequestOptions,
|
|
583
599
|
};
|
|
584
600
|
}),
|
|
585
|
-
/**
|
|
586
|
-
*
|
|
587
|
-
* @param {string} walletId
|
|
588
|
-
* @param {*} [options] Override http request option.
|
|
589
|
-
* @throws {RequiredError}
|
|
590
|
-
*/
|
|
591
|
-
didGet: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
592
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
593
|
-
(0, common_1.assertParamExists)('didGet', 'walletId', walletId);
|
|
594
|
-
const localVarPath = `/did`;
|
|
595
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
596
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
597
|
-
let baseOptions;
|
|
598
|
-
if (configuration) {
|
|
599
|
-
baseOptions = configuration.baseOptions;
|
|
600
|
-
}
|
|
601
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
602
|
-
const localVarHeaderParameter = {};
|
|
603
|
-
const localVarQueryParameter = {};
|
|
604
|
-
// authentication accessToken required
|
|
605
|
-
// http bearer authentication required
|
|
606
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
607
|
-
if (walletId != null) {
|
|
608
|
-
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
609
|
-
}
|
|
610
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
611
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
612
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
613
|
-
return {
|
|
614
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
615
|
-
options: localVarRequestOptions,
|
|
616
|
-
};
|
|
617
|
-
}),
|
|
618
|
-
/**
|
|
619
|
-
*
|
|
620
|
-
* @param {string} walletId
|
|
621
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
622
|
-
* @param {*} [options] Override http request option.
|
|
623
|
-
* @throws {RequiredError}
|
|
624
|
-
*/
|
|
625
|
-
didUpdate: (walletId, did, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
626
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
627
|
-
(0, common_1.assertParamExists)('didUpdate', 'walletId', walletId);
|
|
628
|
-
const localVarPath = `/did`;
|
|
629
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
630
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
631
|
-
let baseOptions;
|
|
632
|
-
if (configuration) {
|
|
633
|
-
baseOptions = configuration.baseOptions;
|
|
634
|
-
}
|
|
635
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
636
|
-
const localVarHeaderParameter = {};
|
|
637
|
-
const localVarQueryParameter = {};
|
|
638
|
-
// authentication accessToken required
|
|
639
|
-
// http bearer authentication required
|
|
640
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
641
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
642
|
-
if (walletId != null) {
|
|
643
|
-
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
644
|
-
}
|
|
645
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
646
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
647
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
648
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(did, localVarRequestOptions, configuration);
|
|
649
|
-
return {
|
|
650
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
651
|
-
options: localVarRequestOptions,
|
|
652
|
-
};
|
|
653
|
-
}),
|
|
654
601
|
/**
|
|
655
602
|
*
|
|
656
603
|
* @param {*} [options] Override http request option.
|
|
@@ -1514,6 +1461,75 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1514
1461
|
options: localVarRequestOptions,
|
|
1515
1462
|
};
|
|
1516
1463
|
}),
|
|
1464
|
+
/**
|
|
1465
|
+
*
|
|
1466
|
+
* @param {string} walletId
|
|
1467
|
+
* @param {*} [options] Override http request option.
|
|
1468
|
+
* @throws {RequiredError}
|
|
1469
|
+
*/
|
|
1470
|
+
walletIdentifierGet: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1471
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1472
|
+
(0, common_1.assertParamExists)('walletIdentifierGet', 'walletId', walletId);
|
|
1473
|
+
const localVarPath = `/identifier`;
|
|
1474
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1475
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1476
|
+
let baseOptions;
|
|
1477
|
+
if (configuration) {
|
|
1478
|
+
baseOptions = configuration.baseOptions;
|
|
1479
|
+
}
|
|
1480
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1481
|
+
const localVarHeaderParameter = {};
|
|
1482
|
+
const localVarQueryParameter = {};
|
|
1483
|
+
// authentication accessToken required
|
|
1484
|
+
// http bearer authentication required
|
|
1485
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1486
|
+
if (walletId != null) {
|
|
1487
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1488
|
+
}
|
|
1489
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1490
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1491
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1492
|
+
return {
|
|
1493
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1494
|
+
options: localVarRequestOptions,
|
|
1495
|
+
};
|
|
1496
|
+
}),
|
|
1497
|
+
/**
|
|
1498
|
+
*
|
|
1499
|
+
* @param {string} walletId
|
|
1500
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
1501
|
+
* @param {*} [options] Override http request option.
|
|
1502
|
+
* @throws {RequiredError}
|
|
1503
|
+
*/
|
|
1504
|
+
walletIdentifierUpdate: (walletId, walletIdentifier, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1505
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1506
|
+
(0, common_1.assertParamExists)('walletIdentifierUpdate', 'walletId', walletId);
|
|
1507
|
+
const localVarPath = `/identifier`;
|
|
1508
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1509
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1510
|
+
let baseOptions;
|
|
1511
|
+
if (configuration) {
|
|
1512
|
+
baseOptions = configuration.baseOptions;
|
|
1513
|
+
}
|
|
1514
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1515
|
+
const localVarHeaderParameter = {};
|
|
1516
|
+
const localVarQueryParameter = {};
|
|
1517
|
+
// authentication accessToken required
|
|
1518
|
+
// http bearer authentication required
|
|
1519
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1520
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1521
|
+
if (walletId != null) {
|
|
1522
|
+
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1523
|
+
}
|
|
1524
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1525
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1526
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1527
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(walletIdentifier, localVarRequestOptions, configuration);
|
|
1528
|
+
return {
|
|
1529
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1530
|
+
options: localVarRequestOptions,
|
|
1531
|
+
};
|
|
1532
|
+
}),
|
|
1517
1533
|
/**
|
|
1518
1534
|
* Provides wallet keys used for signing.
|
|
1519
1535
|
* @param {string} walletId Wallet ID
|
|
@@ -1801,6 +1817,74 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1801
1817
|
options: localVarRequestOptions,
|
|
1802
1818
|
};
|
|
1803
1819
|
}),
|
|
1820
|
+
/**
|
|
1821
|
+
* Creates a X509 certificate signing request for signing key.
|
|
1822
|
+
* @param {string} walletId Wallet ID
|
|
1823
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
1824
|
+
* @param {*} [options] Override http request option.
|
|
1825
|
+
* @throws {RequiredError}
|
|
1826
|
+
*/
|
|
1827
|
+
walletX509CSRCreate: (walletId, cSRCreateRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1828
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1829
|
+
(0, common_1.assertParamExists)('walletX509CSRCreate', 'walletId', walletId);
|
|
1830
|
+
const localVarPath = `/wallets/{wallet_id}/csr`
|
|
1831
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1832
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1833
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1834
|
+
let baseOptions;
|
|
1835
|
+
if (configuration) {
|
|
1836
|
+
baseOptions = configuration.baseOptions;
|
|
1837
|
+
}
|
|
1838
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1839
|
+
const localVarHeaderParameter = {};
|
|
1840
|
+
const localVarQueryParameter = {};
|
|
1841
|
+
// authentication accessToken required
|
|
1842
|
+
// http bearer authentication required
|
|
1843
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1844
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1845
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1846
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1847
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1848
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(cSRCreateRequest, localVarRequestOptions, configuration);
|
|
1849
|
+
return {
|
|
1850
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1851
|
+
options: localVarRequestOptions,
|
|
1852
|
+
};
|
|
1853
|
+
}),
|
|
1854
|
+
/**
|
|
1855
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
1856
|
+
* @param {string} walletId Wallet ID
|
|
1857
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
1858
|
+
* @param {*} [options] Override http request option.
|
|
1859
|
+
* @throws {RequiredError}
|
|
1860
|
+
*/
|
|
1861
|
+
walletX509CertificateImport: (walletId, certificateImportRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1862
|
+
// verify required parameter 'walletId' is not null or undefined
|
|
1863
|
+
(0, common_1.assertParamExists)('walletX509CertificateImport', 'walletId', walletId);
|
|
1864
|
+
const localVarPath = `/wallets/{wallet_id}/certificate`
|
|
1865
|
+
.replace(`{${"wallet_id"}}`, encodeURIComponent(String(walletId)));
|
|
1866
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1867
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1868
|
+
let baseOptions;
|
|
1869
|
+
if (configuration) {
|
|
1870
|
+
baseOptions = configuration.baseOptions;
|
|
1871
|
+
}
|
|
1872
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1873
|
+
const localVarHeaderParameter = {};
|
|
1874
|
+
const localVarQueryParameter = {};
|
|
1875
|
+
// authentication accessToken required
|
|
1876
|
+
// http bearer authentication required
|
|
1877
|
+
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1878
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1879
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1880
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1881
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1882
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(certificateImportRequest, localVarRequestOptions, configuration);
|
|
1883
|
+
return {
|
|
1884
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1885
|
+
options: localVarRequestOptions,
|
|
1886
|
+
};
|
|
1887
|
+
}),
|
|
1804
1888
|
};
|
|
1805
1889
|
};
|
|
1806
1890
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
@@ -1996,37 +2080,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
1996
2080
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1997
2081
|
});
|
|
1998
2082
|
},
|
|
1999
|
-
/**
|
|
2000
|
-
*
|
|
2001
|
-
* @param {string} walletId
|
|
2002
|
-
* @param {*} [options] Override http request option.
|
|
2003
|
-
* @throws {RequiredError}
|
|
2004
|
-
*/
|
|
2005
|
-
didGet(walletId, options) {
|
|
2006
|
-
var _a, _b, _c;
|
|
2007
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2008
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.didGet(walletId, options);
|
|
2009
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2010
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.didGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2011
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2012
|
-
});
|
|
2013
|
-
},
|
|
2014
|
-
/**
|
|
2015
|
-
*
|
|
2016
|
-
* @param {string} walletId
|
|
2017
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
2018
|
-
* @param {*} [options] Override http request option.
|
|
2019
|
-
* @throws {RequiredError}
|
|
2020
|
-
*/
|
|
2021
|
-
didUpdate(walletId, did, options) {
|
|
2022
|
-
var _a, _b, _c;
|
|
2023
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
2024
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.didUpdate(walletId, did, options);
|
|
2025
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2026
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.didUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2027
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2028
|
-
});
|
|
2029
|
-
},
|
|
2030
2083
|
/**
|
|
2031
2084
|
*
|
|
2032
2085
|
* @param {*} [options] Override http request option.
|
|
@@ -2420,6 +2473,37 @@ const DefaultApiFp = function (configuration) {
|
|
|
2420
2473
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2421
2474
|
});
|
|
2422
2475
|
},
|
|
2476
|
+
/**
|
|
2477
|
+
*
|
|
2478
|
+
* @param {string} walletId
|
|
2479
|
+
* @param {*} [options] Override http request option.
|
|
2480
|
+
* @throws {RequiredError}
|
|
2481
|
+
*/
|
|
2482
|
+
walletIdentifierGet(walletId, options) {
|
|
2483
|
+
var _a, _b, _c;
|
|
2484
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2485
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletIdentifierGet(walletId, options);
|
|
2486
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2487
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletIdentifierGet']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2488
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2489
|
+
});
|
|
2490
|
+
},
|
|
2491
|
+
/**
|
|
2492
|
+
*
|
|
2493
|
+
* @param {string} walletId
|
|
2494
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
2495
|
+
* @param {*} [options] Override http request option.
|
|
2496
|
+
* @throws {RequiredError}
|
|
2497
|
+
*/
|
|
2498
|
+
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
2499
|
+
var _a, _b, _c;
|
|
2500
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2501
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletIdentifierUpdate(walletId, walletIdentifier, options);
|
|
2502
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2503
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletIdentifierUpdate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2504
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2505
|
+
});
|
|
2506
|
+
},
|
|
2423
2507
|
/**
|
|
2424
2508
|
* Provides wallet keys used for signing.
|
|
2425
2509
|
* @param {string} walletId Wallet ID
|
|
@@ -2550,6 +2634,38 @@ const DefaultApiFp = function (configuration) {
|
|
|
2550
2634
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2551
2635
|
});
|
|
2552
2636
|
},
|
|
2637
|
+
/**
|
|
2638
|
+
* Creates a X509 certificate signing request for signing key.
|
|
2639
|
+
* @param {string} walletId Wallet ID
|
|
2640
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
2641
|
+
* @param {*} [options] Override http request option.
|
|
2642
|
+
* @throws {RequiredError}
|
|
2643
|
+
*/
|
|
2644
|
+
walletX509CSRCreate(walletId, cSRCreateRequest, options) {
|
|
2645
|
+
var _a, _b, _c;
|
|
2646
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2647
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletX509CSRCreate(walletId, cSRCreateRequest, options);
|
|
2648
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2649
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletX509CSRCreate']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2650
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2651
|
+
});
|
|
2652
|
+
},
|
|
2653
|
+
/**
|
|
2654
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
2655
|
+
* @param {string} walletId Wallet ID
|
|
2656
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
2657
|
+
* @param {*} [options] Override http request option.
|
|
2658
|
+
* @throws {RequiredError}
|
|
2659
|
+
*/
|
|
2660
|
+
walletX509CertificateImport(walletId, certificateImportRequest, options) {
|
|
2661
|
+
var _a, _b, _c;
|
|
2662
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2663
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletX509CertificateImport(walletId, certificateImportRequest, options);
|
|
2664
|
+
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
2665
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletX509CertificateImport']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
2666
|
+
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
2667
|
+
});
|
|
2668
|
+
},
|
|
2553
2669
|
};
|
|
2554
2670
|
};
|
|
2555
2671
|
exports.DefaultApiFp = DefaultApiFp;
|
|
@@ -2679,25 +2795,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2679
2795
|
didDocumentGet(walletId, options) {
|
|
2680
2796
|
return localVarFp.didDocumentGet(walletId, options).then((request) => request(axios, basePath));
|
|
2681
2797
|
},
|
|
2682
|
-
/**
|
|
2683
|
-
*
|
|
2684
|
-
* @param {string} walletId
|
|
2685
|
-
* @param {*} [options] Override http request option.
|
|
2686
|
-
* @throws {RequiredError}
|
|
2687
|
-
*/
|
|
2688
|
-
didGet(walletId, options) {
|
|
2689
|
-
return localVarFp.didGet(walletId, options).then((request) => request(axios, basePath));
|
|
2690
|
-
},
|
|
2691
|
-
/**
|
|
2692
|
-
*
|
|
2693
|
-
* @param {string} walletId
|
|
2694
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
2695
|
-
* @param {*} [options] Override http request option.
|
|
2696
|
-
* @throws {RequiredError}
|
|
2697
|
-
*/
|
|
2698
|
-
didUpdate(walletId, did, options) {
|
|
2699
|
-
return localVarFp.didUpdate(walletId, did, options).then((request) => request(axios, basePath));
|
|
2700
|
-
},
|
|
2701
2798
|
/**
|
|
2702
2799
|
*
|
|
2703
2800
|
* @param {*} [options] Override http request option.
|
|
@@ -2941,6 +3038,25 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2941
3038
|
walletGet(walletId, options) {
|
|
2942
3039
|
return localVarFp.walletGet(walletId, options).then((request) => request(axios, basePath));
|
|
2943
3040
|
},
|
|
3041
|
+
/**
|
|
3042
|
+
*
|
|
3043
|
+
* @param {string} walletId
|
|
3044
|
+
* @param {*} [options] Override http request option.
|
|
3045
|
+
* @throws {RequiredError}
|
|
3046
|
+
*/
|
|
3047
|
+
walletIdentifierGet(walletId, options) {
|
|
3048
|
+
return localVarFp.walletIdentifierGet(walletId, options).then((request) => request(axios, basePath));
|
|
3049
|
+
},
|
|
3050
|
+
/**
|
|
3051
|
+
*
|
|
3052
|
+
* @param {string} walletId
|
|
3053
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3054
|
+
* @param {*} [options] Override http request option.
|
|
3055
|
+
* @throws {RequiredError}
|
|
3056
|
+
*/
|
|
3057
|
+
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
3058
|
+
return localVarFp.walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(axios, basePath));
|
|
3059
|
+
},
|
|
2944
3060
|
/**
|
|
2945
3061
|
* Provides wallet keys used for signing.
|
|
2946
3062
|
* @param {string} walletId Wallet ID
|
|
@@ -3023,6 +3139,26 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3023
3139
|
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
3024
3140
|
return localVarFp.walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(axios, basePath));
|
|
3025
3141
|
},
|
|
3142
|
+
/**
|
|
3143
|
+
* Creates a X509 certificate signing request for signing key.
|
|
3144
|
+
* @param {string} walletId Wallet ID
|
|
3145
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
3146
|
+
* @param {*} [options] Override http request option.
|
|
3147
|
+
* @throws {RequiredError}
|
|
3148
|
+
*/
|
|
3149
|
+
walletX509CSRCreate(walletId, cSRCreateRequest, options) {
|
|
3150
|
+
return localVarFp.walletX509CSRCreate(walletId, cSRCreateRequest, options).then((request) => request(axios, basePath));
|
|
3151
|
+
},
|
|
3152
|
+
/**
|
|
3153
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
3154
|
+
* @param {string} walletId Wallet ID
|
|
3155
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
3156
|
+
* @param {*} [options] Override http request option.
|
|
3157
|
+
* @throws {RequiredError}
|
|
3158
|
+
*/
|
|
3159
|
+
walletX509CertificateImport(walletId, certificateImportRequest, options) {
|
|
3160
|
+
return localVarFp.walletX509CertificateImport(walletId, certificateImportRequest, options).then((request) => request(axios, basePath));
|
|
3161
|
+
},
|
|
3026
3162
|
};
|
|
3027
3163
|
};
|
|
3028
3164
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
@@ -3163,27 +3299,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3163
3299
|
didDocumentGet(walletId, options) {
|
|
3164
3300
|
return (0, exports.DefaultApiFp)(this.configuration).didDocumentGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3165
3301
|
}
|
|
3166
|
-
/**
|
|
3167
|
-
*
|
|
3168
|
-
* @param {string} walletId
|
|
3169
|
-
* @param {*} [options] Override http request option.
|
|
3170
|
-
* @throws {RequiredError}
|
|
3171
|
-
* @memberof DefaultApi
|
|
3172
|
-
*/
|
|
3173
|
-
didGet(walletId, options) {
|
|
3174
|
-
return (0, exports.DefaultApiFp)(this.configuration).didGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3175
|
-
}
|
|
3176
|
-
/**
|
|
3177
|
-
*
|
|
3178
|
-
* @param {string} walletId
|
|
3179
|
-
* @param {Did} [did] The new DID for the Wallet
|
|
3180
|
-
* @param {*} [options] Override http request option.
|
|
3181
|
-
* @throws {RequiredError}
|
|
3182
|
-
* @memberof DefaultApi
|
|
3183
|
-
*/
|
|
3184
|
-
didUpdate(walletId, did, options) {
|
|
3185
|
-
return (0, exports.DefaultApiFp)(this.configuration).didUpdate(walletId, did, options).then((request) => request(this.axios, this.basePath));
|
|
3186
|
-
}
|
|
3187
3302
|
/**
|
|
3188
3303
|
*
|
|
3189
3304
|
* @param {*} [options] Override http request option.
|
|
@@ -3452,6 +3567,27 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3452
3567
|
walletGet(walletId, options) {
|
|
3453
3568
|
return (0, exports.DefaultApiFp)(this.configuration).walletGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3454
3569
|
}
|
|
3570
|
+
/**
|
|
3571
|
+
*
|
|
3572
|
+
* @param {string} walletId
|
|
3573
|
+
* @param {*} [options] Override http request option.
|
|
3574
|
+
* @throws {RequiredError}
|
|
3575
|
+
* @memberof DefaultApi
|
|
3576
|
+
*/
|
|
3577
|
+
walletIdentifierGet(walletId, options) {
|
|
3578
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
3579
|
+
}
|
|
3580
|
+
/**
|
|
3581
|
+
*
|
|
3582
|
+
* @param {string} walletId
|
|
3583
|
+
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3584
|
+
* @param {*} [options] Override http request option.
|
|
3585
|
+
* @throws {RequiredError}
|
|
3586
|
+
* @memberof DefaultApi
|
|
3587
|
+
*/
|
|
3588
|
+
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
3589
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(this.axios, this.basePath));
|
|
3590
|
+
}
|
|
3455
3591
|
/**
|
|
3456
3592
|
* Provides wallet keys used for signing.
|
|
3457
3593
|
* @param {string} walletId Wallet ID
|
|
@@ -3542,6 +3678,28 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3542
3678
|
walletVerifiedCredentialsDeleteByState(walletId, state, options) {
|
|
3543
3679
|
return (0, exports.DefaultApiFp)(this.configuration).walletVerifiedCredentialsDeleteByState(walletId, state, options).then((request) => request(this.axios, this.basePath));
|
|
3544
3680
|
}
|
|
3681
|
+
/**
|
|
3682
|
+
* Creates a X509 certificate signing request for signing key.
|
|
3683
|
+
* @param {string} walletId Wallet ID
|
|
3684
|
+
* @param {CSRCreateRequest} [cSRCreateRequest]
|
|
3685
|
+
* @param {*} [options] Override http request option.
|
|
3686
|
+
* @throws {RequiredError}
|
|
3687
|
+
* @memberof DefaultApi
|
|
3688
|
+
*/
|
|
3689
|
+
walletX509CSRCreate(walletId, cSRCreateRequest, options) {
|
|
3690
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletX509CSRCreate(walletId, cSRCreateRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3691
|
+
}
|
|
3692
|
+
/**
|
|
3693
|
+
* Imports an X509 certificate to be used when signing credentials
|
|
3694
|
+
* @param {string} walletId Wallet ID
|
|
3695
|
+
* @param {CertificateImportRequest} [certificateImportRequest]
|
|
3696
|
+
* @param {*} [options] Override http request option.
|
|
3697
|
+
* @throws {RequiredError}
|
|
3698
|
+
* @memberof DefaultApi
|
|
3699
|
+
*/
|
|
3700
|
+
walletX509CertificateImport(walletId, certificateImportRequest, options) {
|
|
3701
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletX509CertificateImport(walletId, certificateImportRequest, options).then((request) => request(this.axios, this.basePath));
|
|
3702
|
+
}
|
|
3545
3703
|
}
|
|
3546
3704
|
exports.DefaultApi = DefaultApi;
|
|
3547
3705
|
/**
|