@triveria/wallet 0.0.268 → 0.0.270
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 +17 -40
- package/api.js +77 -79
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -620,10 +620,6 @@ export declare const InteractionAuthorizationRequirementsRequirementTypeEnum: {
|
|
|
620
620
|
};
|
|
621
621
|
export type InteractionAuthorizationRequirementsRequirementTypeEnum = typeof InteractionAuthorizationRequirementsRequirementTypeEnum[keyof typeof InteractionAuthorizationRequirementsRequirementTypeEnum];
|
|
622
622
|
export interface IssuanceRequirementsToVerify {
|
|
623
|
-
/**
|
|
624
|
-
* ID of the verifier used for the verification of presented credential.
|
|
625
|
-
*/
|
|
626
|
-
'credentialVerifierId': string;
|
|
627
623
|
'verifiedFields': Array<FieldsToVerify>;
|
|
628
624
|
}
|
|
629
625
|
export interface IssuerDisplayItem {
|
|
@@ -733,6 +729,15 @@ export type OidcRevisionOidc4vpEnum = typeof OidcRevisionOidc4vpEnum[keyof typeo
|
|
|
733
729
|
export interface OnboardResult {
|
|
734
730
|
'did': string;
|
|
735
731
|
}
|
|
732
|
+
/**
|
|
733
|
+
* Onboarding request of own wallet.
|
|
734
|
+
*/
|
|
735
|
+
export interface OnboardingRequest {
|
|
736
|
+
/**
|
|
737
|
+
* Id of the onboarding credential that should be used for the onboarding process. Used when onboarding to IDTL
|
|
738
|
+
*/
|
|
739
|
+
'onboardingCredentialId'?: string;
|
|
740
|
+
}
|
|
736
741
|
export interface PdfVerificationResponse {
|
|
737
742
|
'vpValid'?: boolean;
|
|
738
743
|
'verifiedCredentials'?: VerifiedWrapper;
|
|
@@ -1387,10 +1392,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1387
1392
|
/**
|
|
1388
1393
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1389
1394
|
* @param {string} walletId
|
|
1395
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
1390
1396
|
* @param {*} [options] Override http request option.
|
|
1391
1397
|
* @throws {RequiredError}
|
|
1392
1398
|
*/
|
|
1393
|
-
tfOnboard: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1399
|
+
tfOnboard: (walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1394
1400
|
/**
|
|
1395
1401
|
* Processes a request to onboard another legal entity.
|
|
1396
1402
|
* @param {string} walletId
|
|
@@ -1471,14 +1477,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1471
1477
|
* @throws {RequiredError}
|
|
1472
1478
|
*/
|
|
1473
1479
|
walletIdentifierGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1474
|
-
/**
|
|
1475
|
-
*
|
|
1476
|
-
* @param {string} walletId
|
|
1477
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
1478
|
-
* @param {*} [options] Override http request option.
|
|
1479
|
-
* @throws {RequiredError}
|
|
1480
|
-
*/
|
|
1481
|
-
walletIdentifierUpdate: (walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1482
1480
|
/**
|
|
1483
1481
|
* Provides wallet keys used for signing.
|
|
1484
1482
|
* @param {string} walletId Wallet ID
|
|
@@ -1919,10 +1917,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1919
1917
|
/**
|
|
1920
1918
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1921
1919
|
* @param {string} walletId
|
|
1920
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
1922
1921
|
* @param {*} [options] Override http request option.
|
|
1923
1922
|
* @throws {RequiredError}
|
|
1924
1923
|
*/
|
|
1925
|
-
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardResult>>;
|
|
1924
|
+
tfOnboard(walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardResult>>;
|
|
1926
1925
|
/**
|
|
1927
1926
|
* Processes a request to onboard another legal entity.
|
|
1928
1927
|
* @param {string} walletId
|
|
@@ -2003,14 +2002,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2003
2002
|
* @throws {RequiredError}
|
|
2004
2003
|
*/
|
|
2005
2004
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdentifier>>;
|
|
2006
|
-
/**
|
|
2007
|
-
*
|
|
2008
|
-
* @param {string} walletId
|
|
2009
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
2010
|
-
* @param {*} [options] Override http request option.
|
|
2011
|
-
* @throws {RequiredError}
|
|
2012
|
-
*/
|
|
2013
|
-
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdentifier>>;
|
|
2014
2005
|
/**
|
|
2015
2006
|
* Provides wallet keys used for signing.
|
|
2016
2007
|
* @param {string} walletId Wallet ID
|
|
@@ -2453,10 +2444,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2453
2444
|
/**
|
|
2454
2445
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2455
2446
|
* @param {string} walletId
|
|
2447
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
2456
2448
|
* @param {*} [options] Override http request option.
|
|
2457
2449
|
* @throws {RequiredError}
|
|
2458
2450
|
*/
|
|
2459
|
-
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<OnboardResult>;
|
|
2451
|
+
tfOnboard(walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig): AxiosPromise<OnboardResult>;
|
|
2460
2452
|
/**
|
|
2461
2453
|
* Processes a request to onboard another legal entity.
|
|
2462
2454
|
* @param {string} walletId
|
|
@@ -2537,14 +2529,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2537
2529
|
* @throws {RequiredError}
|
|
2538
2530
|
*/
|
|
2539
2531
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdentifier>;
|
|
2540
|
-
/**
|
|
2541
|
-
*
|
|
2542
|
-
* @param {string} walletId
|
|
2543
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
2544
|
-
* @param {*} [options] Override http request option.
|
|
2545
|
-
* @throws {RequiredError}
|
|
2546
|
-
*/
|
|
2547
|
-
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdentifier>;
|
|
2548
2532
|
/**
|
|
2549
2533
|
* Provides wallet keys used for signing.
|
|
2550
2534
|
* @param {string} walletId Wallet ID
|
|
@@ -2987,10 +2971,11 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2987
2971
|
/**
|
|
2988
2972
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2989
2973
|
* @param {string} walletId
|
|
2974
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
2990
2975
|
* @param {*} [options] Override http request option.
|
|
2991
2976
|
* @throws {RequiredError}
|
|
2992
2977
|
*/
|
|
2993
|
-
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
|
|
2978
|
+
tfOnboard(walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
|
|
2994
2979
|
/**
|
|
2995
2980
|
* Processes a request to onboard another legal entity.
|
|
2996
2981
|
* @param {string} walletId
|
|
@@ -3071,14 +3056,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3071
3056
|
* @throws {RequiredError}
|
|
3072
3057
|
*/
|
|
3073
3058
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
3074
|
-
/**
|
|
3075
|
-
*
|
|
3076
|
-
* @param {string} walletId
|
|
3077
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3078
|
-
* @param {*} [options] Override http request option.
|
|
3079
|
-
* @throws {RequiredError}
|
|
3080
|
-
*/
|
|
3081
|
-
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
3082
3059
|
/**
|
|
3083
3060
|
* Provides wallet keys used for signing.
|
|
3084
3061
|
* @param {string} walletId Wallet ID
|
package/api.js
CHANGED
|
@@ -206,6 +206,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
206
206
|
// http bearer authentication required
|
|
207
207
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
208
208
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
209
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
209
210
|
if (walletId != null) {
|
|
210
211
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
211
212
|
}
|
|
@@ -244,6 +245,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
244
245
|
// authentication accessToken required
|
|
245
246
|
// http bearer authentication required
|
|
246
247
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
248
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
247
249
|
if (walletId != null) {
|
|
248
250
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
249
251
|
}
|
|
@@ -279,6 +281,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
279
281
|
// http bearer authentication required
|
|
280
282
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
281
283
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
284
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
282
285
|
if (walletId != null) {
|
|
283
286
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
284
287
|
}
|
|
@@ -319,6 +322,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
319
322
|
// http bearer authentication required
|
|
320
323
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
321
324
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
325
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
322
326
|
if (walletId != null) {
|
|
323
327
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
324
328
|
}
|
|
@@ -385,6 +389,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
385
389
|
if (filter !== undefined) {
|
|
386
390
|
localVarQueryParameter['filter'] = filter;
|
|
387
391
|
}
|
|
392
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
388
393
|
if (walletId != null) {
|
|
389
394
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
390
395
|
}
|
|
@@ -424,6 +429,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
424
429
|
// http bearer authentication required
|
|
425
430
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
426
431
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
432
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
427
433
|
if (walletId != null) {
|
|
428
434
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
429
435
|
}
|
|
@@ -464,6 +470,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
464
470
|
// http bearer authentication required
|
|
465
471
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
466
472
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
473
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
467
474
|
if (walletId != null) {
|
|
468
475
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
469
476
|
}
|
|
@@ -500,6 +507,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
500
507
|
// http bearer authentication required
|
|
501
508
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
502
509
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
510
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
503
511
|
if (walletId != null) {
|
|
504
512
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
505
513
|
}
|
|
@@ -538,6 +546,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
538
546
|
// authentication accessToken required
|
|
539
547
|
// http bearer authentication required
|
|
540
548
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
549
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
541
550
|
if (walletId != null) {
|
|
542
551
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
543
552
|
}
|
|
@@ -575,6 +584,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
575
584
|
// authentication accessToken required
|
|
576
585
|
// http bearer authentication required
|
|
577
586
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
587
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
578
588
|
if (walletId != null) {
|
|
579
589
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
580
590
|
}
|
|
@@ -606,6 +616,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
606
616
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
607
617
|
const localVarHeaderParameter = {};
|
|
608
618
|
const localVarQueryParameter = {};
|
|
619
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
609
620
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
610
621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
611
622
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -630,6 +641,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
630
641
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
631
642
|
const localVarHeaderParameter = {};
|
|
632
643
|
const localVarQueryParameter = {};
|
|
644
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
633
645
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
634
646
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
635
647
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -662,6 +674,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
662
674
|
// http bearer authentication required
|
|
663
675
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
664
676
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
677
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
665
678
|
if (walletId != null) {
|
|
666
679
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
667
680
|
}
|
|
@@ -702,6 +715,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
702
715
|
// http bearer authentication required
|
|
703
716
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
704
717
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
718
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
705
719
|
if (walletId != null) {
|
|
706
720
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
707
721
|
}
|
|
@@ -738,6 +752,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
738
752
|
// http bearer authentication required
|
|
739
753
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
740
754
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
755
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
741
756
|
if (walletId != null) {
|
|
742
757
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
743
758
|
}
|
|
@@ -774,6 +789,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
774
789
|
// http bearer authentication required
|
|
775
790
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
776
791
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
792
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
777
793
|
if (walletId != null) {
|
|
778
794
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
779
795
|
}
|
|
@@ -812,6 +828,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
812
828
|
// authentication accessToken required
|
|
813
829
|
// http bearer authentication required
|
|
814
830
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
831
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
815
832
|
if (walletId != null) {
|
|
816
833
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
817
834
|
}
|
|
@@ -849,6 +866,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
849
866
|
// authentication accessToken required
|
|
850
867
|
// http bearer authentication required
|
|
851
868
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
869
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
852
870
|
if (walletId != null) {
|
|
853
871
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
854
872
|
}
|
|
@@ -882,6 +900,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
882
900
|
// authentication accessToken required
|
|
883
901
|
// http bearer authentication required
|
|
884
902
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
903
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
885
904
|
if (walletId != null) {
|
|
886
905
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
887
906
|
}
|
|
@@ -917,6 +936,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
917
936
|
// http bearer authentication required
|
|
918
937
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
919
938
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
939
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
920
940
|
if (walletId != null) {
|
|
921
941
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
922
942
|
}
|
|
@@ -957,6 +977,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
957
977
|
// http bearer authentication required
|
|
958
978
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
959
979
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
980
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
960
981
|
if (walletId != null) {
|
|
961
982
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
962
983
|
}
|
|
@@ -993,6 +1014,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
993
1014
|
// http bearer authentication required
|
|
994
1015
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
995
1016
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1017
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
996
1018
|
if (walletId != null) {
|
|
997
1019
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
998
1020
|
}
|
|
@@ -1027,6 +1049,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1027
1049
|
// authentication accessToken required
|
|
1028
1050
|
// http bearer authentication required
|
|
1029
1051
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1052
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1030
1053
|
if (walletId != null) {
|
|
1031
1054
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1032
1055
|
}
|
|
@@ -1063,6 +1086,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1063
1086
|
if (url !== undefined) {
|
|
1064
1087
|
localVarQueryParameter['url'] = url;
|
|
1065
1088
|
}
|
|
1089
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1066
1090
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1067
1091
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1068
1092
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1095,6 +1119,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1095
1119
|
// http bearer authentication required
|
|
1096
1120
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1097
1121
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1122
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1098
1123
|
if (walletId != null) {
|
|
1099
1124
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1100
1125
|
}
|
|
@@ -1131,6 +1156,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1131
1156
|
// http bearer authentication required
|
|
1132
1157
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1133
1158
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1159
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1134
1160
|
if (walletId != null) {
|
|
1135
1161
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1136
1162
|
}
|
|
@@ -1177,6 +1203,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1177
1203
|
localVarFormParams.append('xadesSignatureType', xadesSignatureType);
|
|
1178
1204
|
}
|
|
1179
1205
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1206
|
+
localVarHeaderParameter['Accept'] = 'application/xml,application/json';
|
|
1180
1207
|
if (walletId != null) {
|
|
1181
1208
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1182
1209
|
}
|
|
@@ -1221,6 +1248,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1221
1248
|
if (signPdf !== undefined) {
|
|
1222
1249
|
localVarQueryParameter['sign_pdf'] = signPdf;
|
|
1223
1250
|
}
|
|
1251
|
+
localVarHeaderParameter['Accept'] = 'application/pdf,application/json';
|
|
1224
1252
|
if (walletId != null) {
|
|
1225
1253
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1226
1254
|
}
|
|
@@ -1258,6 +1286,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1258
1286
|
// authentication accessToken required
|
|
1259
1287
|
// http bearer authentication required
|
|
1260
1288
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1289
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1261
1290
|
if (walletId != null) {
|
|
1262
1291
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1263
1292
|
}
|
|
@@ -1295,6 +1324,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1295
1324
|
// authentication accessToken required
|
|
1296
1325
|
// http bearer authentication required
|
|
1297
1326
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1327
|
+
localVarHeaderParameter['Accept'] = 'application/pdf,application/json';
|
|
1298
1328
|
if (walletId != null) {
|
|
1299
1329
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1300
1330
|
}
|
|
@@ -1338,6 +1368,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1338
1368
|
localVarFormParams.append('pdf', pdf);
|
|
1339
1369
|
}
|
|
1340
1370
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1371
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1341
1372
|
if (walletId != null) {
|
|
1342
1373
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1343
1374
|
}
|
|
@@ -1375,6 +1406,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1375
1406
|
// http bearer authentication required
|
|
1376
1407
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1377
1408
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1409
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1378
1410
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1379
1411
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1380
1412
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1409,6 +1441,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1409
1441
|
// http bearer authentication required
|
|
1410
1442
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1411
1443
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1444
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1412
1445
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1413
1446
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1414
1447
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1421,10 +1454,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1421
1454
|
/**
|
|
1422
1455
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1423
1456
|
* @param {string} walletId
|
|
1457
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
1424
1458
|
* @param {*} [options] Override http request option.
|
|
1425
1459
|
* @throws {RequiredError}
|
|
1426
1460
|
*/
|
|
1427
|
-
tfOnboard: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1461
|
+
tfOnboard: (walletId, onboardingRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1428
1462
|
// verify required parameter 'walletId' is not null or undefined
|
|
1429
1463
|
(0, common_1.assertParamExists)('tfOnboard', 'walletId', walletId);
|
|
1430
1464
|
const localVarPath = `/tf/{wallet_id}/onboard`
|
|
@@ -1441,9 +1475,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1441
1475
|
// authentication accessToken required
|
|
1442
1476
|
// http bearer authentication required
|
|
1443
1477
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1478
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1479
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1444
1480
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1445
1481
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1446
1482
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1483
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(onboardingRequest, localVarRequestOptions, configuration);
|
|
1447
1484
|
return {
|
|
1448
1485
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1449
1486
|
options: localVarRequestOptions,
|
|
@@ -1474,6 +1511,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1474
1511
|
// http bearer authentication required
|
|
1475
1512
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1476
1513
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1514
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1477
1515
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1478
1516
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1479
1517
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1508,6 +1546,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1508
1546
|
// http bearer authentication required
|
|
1509
1547
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1510
1548
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1549
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1511
1550
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1512
1551
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1513
1552
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1542,6 +1581,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1542
1581
|
// http bearer authentication required
|
|
1543
1582
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1544
1583
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1584
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1545
1585
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1546
1586
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1547
1587
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1575,6 +1615,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1575
1615
|
// http bearer authentication required
|
|
1576
1616
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1577
1617
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1618
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1578
1619
|
if (walletId != null) {
|
|
1579
1620
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1580
1621
|
}
|
|
@@ -1615,6 +1656,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1615
1656
|
if (did !== undefined) {
|
|
1616
1657
|
localVarQueryParameter['did'] = did;
|
|
1617
1658
|
}
|
|
1659
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1618
1660
|
if (walletId != null) {
|
|
1619
1661
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1620
1662
|
}
|
|
@@ -1672,6 +1714,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1672
1714
|
localVarFormParams.append('trustedListSigningCertificates', trustedListSigningCertificates.join(base_1.COLLECTION_FORMATS.csv));
|
|
1673
1715
|
}
|
|
1674
1716
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
1717
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1675
1718
|
if (walletId != null) {
|
|
1676
1719
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1677
1720
|
}
|
|
@@ -1705,6 +1748,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1705
1748
|
// http bearer authentication required
|
|
1706
1749
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1707
1750
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1751
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1708
1752
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1709
1753
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1710
1754
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1737,6 +1781,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1737
1781
|
// authentication accessToken required
|
|
1738
1782
|
// http bearer authentication required
|
|
1739
1783
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1784
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1740
1785
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1741
1786
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1742
1787
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1768,6 +1813,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1768
1813
|
// authentication accessToken required
|
|
1769
1814
|
// http bearer authentication required
|
|
1770
1815
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1816
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1771
1817
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1772
1818
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1773
1819
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1798,6 +1844,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1798
1844
|
// authentication accessToken required
|
|
1799
1845
|
// http bearer authentication required
|
|
1800
1846
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1847
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1801
1848
|
if (walletId != null) {
|
|
1802
1849
|
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1803
1850
|
}
|
|
@@ -1809,42 +1856,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1809
1856
|
options: localVarRequestOptions,
|
|
1810
1857
|
};
|
|
1811
1858
|
}),
|
|
1812
|
-
/**
|
|
1813
|
-
*
|
|
1814
|
-
* @param {string} walletId
|
|
1815
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
1816
|
-
* @param {*} [options] Override http request option.
|
|
1817
|
-
* @throws {RequiredError}
|
|
1818
|
-
*/
|
|
1819
|
-
walletIdentifierUpdate: (walletId, walletIdentifier, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1820
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
1821
|
-
(0, common_1.assertParamExists)('walletIdentifierUpdate', 'walletId', walletId);
|
|
1822
|
-
const localVarPath = `/identifier`;
|
|
1823
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1824
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1825
|
-
let baseOptions;
|
|
1826
|
-
if (configuration) {
|
|
1827
|
-
baseOptions = configuration.baseOptions;
|
|
1828
|
-
}
|
|
1829
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1830
|
-
const localVarHeaderParameter = {};
|
|
1831
|
-
const localVarQueryParameter = {};
|
|
1832
|
-
// authentication accessToken required
|
|
1833
|
-
// http bearer authentication required
|
|
1834
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1835
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1836
|
-
if (walletId != null) {
|
|
1837
|
-
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1838
|
-
}
|
|
1839
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1840
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1841
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1842
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(walletIdentifier, localVarRequestOptions, configuration);
|
|
1843
|
-
return {
|
|
1844
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1845
|
-
options: localVarRequestOptions,
|
|
1846
|
-
};
|
|
1847
|
-
}),
|
|
1848
1859
|
/**
|
|
1849
1860
|
* Provides wallet keys used for signing.
|
|
1850
1861
|
* @param {string} walletId Wallet ID
|
|
@@ -1868,6 +1879,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1868
1879
|
// authentication accessToken required
|
|
1869
1880
|
// http bearer authentication required
|
|
1870
1881
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1882
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1871
1883
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1872
1884
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1873
1885
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1903,6 +1915,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1903
1915
|
if (searchName !== undefined) {
|
|
1904
1916
|
localVarQueryParameter['searchName'] = searchName;
|
|
1905
1917
|
}
|
|
1918
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1906
1919
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1907
1920
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1908
1921
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1942,6 +1955,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1942
1955
|
// authentication accessToken required
|
|
1943
1956
|
// http bearer authentication required
|
|
1944
1957
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1958
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1945
1959
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1946
1960
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1947
1961
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -1989,6 +2003,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1989
2003
|
if (sort !== undefined) {
|
|
1990
2004
|
localVarQueryParameter['sort'] = sort;
|
|
1991
2005
|
}
|
|
2006
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1992
2007
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1993
2008
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1994
2009
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2020,6 +2035,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2020
2035
|
// authentication accessToken required
|
|
2021
2036
|
// http bearer authentication required
|
|
2022
2037
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2038
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2023
2039
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2024
2040
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2025
2041
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2053,6 +2069,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2053
2069
|
// http bearer authentication required
|
|
2054
2070
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2055
2071
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2072
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2056
2073
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2057
2074
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2058
2075
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2089,6 +2106,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2089
2106
|
// authentication accessToken required
|
|
2090
2107
|
// http bearer authentication required
|
|
2091
2108
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2109
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2092
2110
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2093
2111
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2094
2112
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2124,6 +2142,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2124
2142
|
// authentication accessToken required
|
|
2125
2143
|
// http bearer authentication required
|
|
2126
2144
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2145
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2127
2146
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2128
2147
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2129
2148
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2157,6 +2176,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2157
2176
|
// http bearer authentication required
|
|
2158
2177
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2159
2178
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2179
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2160
2180
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2161
2181
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2162
2182
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2186,6 +2206,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2186
2206
|
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2187
2207
|
const localVarHeaderParameter = {};
|
|
2188
2208
|
const localVarQueryParameter = {};
|
|
2209
|
+
localVarHeaderParameter['Accept'] = 'application/x-pem-file';
|
|
2189
2210
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2190
2211
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2191
2212
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2219,6 +2240,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2219
2240
|
// http bearer authentication required
|
|
2220
2241
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2221
2242
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2243
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2222
2244
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2223
2245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2224
2246
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -2252,6 +2274,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2252
2274
|
// http bearer authentication required
|
|
2253
2275
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2254
2276
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2277
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2255
2278
|
if (walletId != null) {
|
|
2256
2279
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2257
2280
|
}
|
|
@@ -2286,6 +2309,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2286
2309
|
// authentication accessToken required
|
|
2287
2310
|
// http bearer authentication required
|
|
2288
2311
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2312
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2289
2313
|
if (walletId != null) {
|
|
2290
2314
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2291
2315
|
}
|
|
@@ -2323,6 +2347,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2323
2347
|
// authentication accessToken required
|
|
2324
2348
|
// http bearer authentication required
|
|
2325
2349
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2350
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2326
2351
|
if (walletId != null) {
|
|
2327
2352
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2328
2353
|
}
|
|
@@ -2356,6 +2381,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2356
2381
|
// authentication accessToken required
|
|
2357
2382
|
// http bearer authentication required
|
|
2358
2383
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2384
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2359
2385
|
if (walletId != null) {
|
|
2360
2386
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2361
2387
|
}
|
|
@@ -2393,6 +2419,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2393
2419
|
// authentication accessToken required
|
|
2394
2420
|
// http bearer authentication required
|
|
2395
2421
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2422
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2396
2423
|
if (walletId != null) {
|
|
2397
2424
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2398
2425
|
}
|
|
@@ -2430,6 +2457,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2430
2457
|
// authentication accessToken required
|
|
2431
2458
|
// http bearer authentication required
|
|
2432
2459
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2460
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2433
2461
|
if (walletId != null) {
|
|
2434
2462
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2435
2463
|
}
|
|
@@ -2467,6 +2495,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2467
2495
|
// authentication accessToken required
|
|
2468
2496
|
// http bearer authentication required
|
|
2469
2497
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2498
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2470
2499
|
if (walletId != null) {
|
|
2471
2500
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2472
2501
|
}
|
|
@@ -2506,6 +2535,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2506
2535
|
if (entityType !== undefined) {
|
|
2507
2536
|
localVarQueryParameter['entityType'] = entityType;
|
|
2508
2537
|
}
|
|
2538
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2509
2539
|
if (walletId != null) {
|
|
2510
2540
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2511
2541
|
}
|
|
@@ -2543,6 +2573,7 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2543
2573
|
// authentication accessToken required
|
|
2544
2574
|
// http bearer authentication required
|
|
2545
2575
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
2576
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2546
2577
|
if (walletId != null) {
|
|
2547
2578
|
localVarHeaderParameter['walletId'] = String(walletId);
|
|
2548
2579
|
}
|
|
@@ -3103,13 +3134,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
3103
3134
|
/**
|
|
3104
3135
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3105
3136
|
* @param {string} walletId
|
|
3137
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
3106
3138
|
* @param {*} [options] Override http request option.
|
|
3107
3139
|
* @throws {RequiredError}
|
|
3108
3140
|
*/
|
|
3109
|
-
tfOnboard(walletId, options) {
|
|
3141
|
+
tfOnboard(walletId, onboardingRequest, options) {
|
|
3110
3142
|
var _a, _b, _c;
|
|
3111
3143
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3112
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfOnboard(walletId, options);
|
|
3144
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfOnboard(walletId, onboardingRequest, options);
|
|
3113
3145
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3114
3146
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.tfOnboard']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3115
3147
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3275,22 +3307,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
3275
3307
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3276
3308
|
});
|
|
3277
3309
|
},
|
|
3278
|
-
/**
|
|
3279
|
-
*
|
|
3280
|
-
* @param {string} walletId
|
|
3281
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3282
|
-
* @param {*} [options] Override http request option.
|
|
3283
|
-
* @throws {RequiredError}
|
|
3284
|
-
*/
|
|
3285
|
-
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
3286
|
-
var _a, _b, _c;
|
|
3287
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3288
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletIdentifierUpdate(walletId, walletIdentifier, options);
|
|
3289
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3290
|
-
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;
|
|
3291
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3292
|
-
});
|
|
3293
|
-
},
|
|
3294
3310
|
/**
|
|
3295
3311
|
* Provides wallet keys used for signing.
|
|
3296
3312
|
* @param {string} walletId Wallet ID
|
|
@@ -3961,11 +3977,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3961
3977
|
/**
|
|
3962
3978
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3963
3979
|
* @param {string} walletId
|
|
3980
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
3964
3981
|
* @param {*} [options] Override http request option.
|
|
3965
3982
|
* @throws {RequiredError}
|
|
3966
3983
|
*/
|
|
3967
|
-
tfOnboard(walletId, options) {
|
|
3968
|
-
return localVarFp.tfOnboard(walletId, options).then((request) => request(axios, basePath));
|
|
3984
|
+
tfOnboard(walletId, onboardingRequest, options) {
|
|
3985
|
+
return localVarFp.tfOnboard(walletId, onboardingRequest, options).then((request) => request(axios, basePath));
|
|
3969
3986
|
},
|
|
3970
3987
|
/**
|
|
3971
3988
|
* Processes a request to onboard another legal entity.
|
|
@@ -4067,16 +4084,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4067
4084
|
walletIdentifierGet(walletId, options) {
|
|
4068
4085
|
return localVarFp.walletIdentifierGet(walletId, options).then((request) => request(axios, basePath));
|
|
4069
4086
|
},
|
|
4070
|
-
/**
|
|
4071
|
-
*
|
|
4072
|
-
* @param {string} walletId
|
|
4073
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
4074
|
-
* @param {*} [options] Override http request option.
|
|
4075
|
-
* @throws {RequiredError}
|
|
4076
|
-
*/
|
|
4077
|
-
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
4078
|
-
return localVarFp.walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(axios, basePath));
|
|
4079
|
-
},
|
|
4080
4087
|
/**
|
|
4081
4088
|
* Provides wallet keys used for signing.
|
|
4082
4089
|
* @param {string} walletId Wallet ID
|
|
@@ -4625,11 +4632,12 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4625
4632
|
/**
|
|
4626
4633
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
4627
4634
|
* @param {string} walletId
|
|
4635
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
4628
4636
|
* @param {*} [options] Override http request option.
|
|
4629
4637
|
* @throws {RequiredError}
|
|
4630
4638
|
*/
|
|
4631
|
-
tfOnboard(walletId, options) {
|
|
4632
|
-
return (0, exports.DefaultApiFp)(this.configuration).tfOnboard(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
4639
|
+
tfOnboard(walletId, onboardingRequest, options) {
|
|
4640
|
+
return (0, exports.DefaultApiFp)(this.configuration).tfOnboard(walletId, onboardingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4633
4641
|
}
|
|
4634
4642
|
/**
|
|
4635
4643
|
* Processes a request to onboard another legal entity.
|
|
@@ -4731,16 +4739,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4731
4739
|
walletIdentifierGet(walletId, options) {
|
|
4732
4740
|
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
4733
4741
|
}
|
|
4734
|
-
/**
|
|
4735
|
-
*
|
|
4736
|
-
* @param {string} walletId
|
|
4737
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
4738
|
-
* @param {*} [options] Override http request option.
|
|
4739
|
-
* @throws {RequiredError}
|
|
4740
|
-
*/
|
|
4741
|
-
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
4742
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(this.axios, this.basePath));
|
|
4743
|
-
}
|
|
4744
4742
|
/**
|
|
4745
4743
|
* Provides wallet keys used for signing.
|
|
4746
4744
|
* @param {string} walletId Wallet ID
|