@triveria/wallet 0.0.269 → 0.0.271
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 +25 -40
- package/api.js +27 -87
- package/package.json +1 -1
package/api.d.ts
CHANGED
|
@@ -729,6 +729,15 @@ export type OidcRevisionOidc4vpEnum = typeof OidcRevisionOidc4vpEnum[keyof typeo
|
|
|
729
729
|
export interface OnboardResult {
|
|
730
730
|
'did': string;
|
|
731
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
|
+
}
|
|
732
741
|
export interface PdfVerificationResponse {
|
|
733
742
|
'vpValid'?: boolean;
|
|
734
743
|
'verifiedCredentials'?: VerifiedWrapper;
|
|
@@ -1383,10 +1392,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1383
1392
|
/**
|
|
1384
1393
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1385
1394
|
* @param {string} walletId
|
|
1395
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
1386
1396
|
* @param {*} [options] Override http request option.
|
|
1387
1397
|
* @throws {RequiredError}
|
|
1388
1398
|
*/
|
|
1389
|
-
tfOnboard: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1399
|
+
tfOnboard: (walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1390
1400
|
/**
|
|
1391
1401
|
* Processes a request to onboard another legal entity.
|
|
1392
1402
|
* @param {string} walletId
|
|
@@ -1467,14 +1477,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1467
1477
|
* @throws {RequiredError}
|
|
1468
1478
|
*/
|
|
1469
1479
|
walletIdentifierGet: (walletId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1470
|
-
/**
|
|
1471
|
-
*
|
|
1472
|
-
* @param {string} walletId
|
|
1473
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
1474
|
-
* @param {*} [options] Override http request option.
|
|
1475
|
-
* @throws {RequiredError}
|
|
1476
|
-
*/
|
|
1477
|
-
walletIdentifierUpdate: (walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1478
1480
|
/**
|
|
1479
1481
|
* Provides wallet keys used for signing.
|
|
1480
1482
|
* @param {string} walletId Wallet ID
|
|
@@ -1506,10 +1508,11 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
1506
1508
|
* @param {string} [nextMarker] Marking the next set of items
|
|
1507
1509
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
1508
1510
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
1511
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
1509
1512
|
* @param {*} [options] Override http request option.
|
|
1510
1513
|
* @throws {RequiredError}
|
|
1511
1514
|
*/
|
|
1512
|
-
walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1515
|
+
walletNotificationHistory: (walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1513
1516
|
/**
|
|
1514
1517
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|
|
1515
1518
|
* @param {string} walletId Wallet ID
|
|
@@ -1915,10 +1918,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1915
1918
|
/**
|
|
1916
1919
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1917
1920
|
* @param {string} walletId
|
|
1921
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
1918
1922
|
* @param {*} [options] Override http request option.
|
|
1919
1923
|
* @throws {RequiredError}
|
|
1920
1924
|
*/
|
|
1921
|
-
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardResult>>;
|
|
1925
|
+
tfOnboard(walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OnboardResult>>;
|
|
1922
1926
|
/**
|
|
1923
1927
|
* Processes a request to onboard another legal entity.
|
|
1924
1928
|
* @param {string} walletId
|
|
@@ -1999,14 +2003,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
1999
2003
|
* @throws {RequiredError}
|
|
2000
2004
|
*/
|
|
2001
2005
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdentifier>>;
|
|
2002
|
-
/**
|
|
2003
|
-
*
|
|
2004
|
-
* @param {string} walletId
|
|
2005
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
2006
|
-
* @param {*} [options] Override http request option.
|
|
2007
|
-
* @throws {RequiredError}
|
|
2008
|
-
*/
|
|
2009
|
-
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletIdentifier>>;
|
|
2010
2006
|
/**
|
|
2011
2007
|
* Provides wallet keys used for signing.
|
|
2012
2008
|
* @param {string} walletId Wallet ID
|
|
@@ -2040,10 +2036,11 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
2040
2036
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2041
2037
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
2042
2038
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
2039
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
2043
2040
|
* @param {*} [options] Override http request option.
|
|
2044
2041
|
* @throws {RequiredError}
|
|
2045
2042
|
*/
|
|
2046
|
-
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
|
|
2043
|
+
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WalletNotificationHistory>>;
|
|
2047
2044
|
/**
|
|
2048
2045
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|
|
2049
2046
|
* @param {string} walletId Wallet ID
|
|
@@ -2449,10 +2446,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2449
2446
|
/**
|
|
2450
2447
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2451
2448
|
* @param {string} walletId
|
|
2449
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
2452
2450
|
* @param {*} [options] Override http request option.
|
|
2453
2451
|
* @throws {RequiredError}
|
|
2454
2452
|
*/
|
|
2455
|
-
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<OnboardResult>;
|
|
2453
|
+
tfOnboard(walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig): AxiosPromise<OnboardResult>;
|
|
2456
2454
|
/**
|
|
2457
2455
|
* Processes a request to onboard another legal entity.
|
|
2458
2456
|
* @param {string} walletId
|
|
@@ -2533,14 +2531,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2533
2531
|
* @throws {RequiredError}
|
|
2534
2532
|
*/
|
|
2535
2533
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdentifier>;
|
|
2536
|
-
/**
|
|
2537
|
-
*
|
|
2538
|
-
* @param {string} walletId
|
|
2539
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
2540
|
-
* @param {*} [options] Override http request option.
|
|
2541
|
-
* @throws {RequiredError}
|
|
2542
|
-
*/
|
|
2543
|
-
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): AxiosPromise<WalletIdentifier>;
|
|
2544
2534
|
/**
|
|
2545
2535
|
* Provides wallet keys used for signing.
|
|
2546
2536
|
* @param {string} walletId Wallet ID
|
|
@@ -2574,10 +2564,11 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
2574
2564
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2575
2565
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
2576
2566
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
2567
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
2577
2568
|
* @param {*} [options] Override http request option.
|
|
2578
2569
|
* @throws {RequiredError}
|
|
2579
2570
|
*/
|
|
2580
|
-
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotificationHistory>;
|
|
2571
|
+
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig): AxiosPromise<WalletNotificationHistory>;
|
|
2581
2572
|
/**
|
|
2582
2573
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|
|
2583
2574
|
* @param {string} walletId Wallet ID
|
|
@@ -2983,10 +2974,11 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
2983
2974
|
/**
|
|
2984
2975
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
2985
2976
|
* @param {string} walletId
|
|
2977
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
2986
2978
|
* @param {*} [options] Override http request option.
|
|
2987
2979
|
* @throws {RequiredError}
|
|
2988
2980
|
*/
|
|
2989
|
-
tfOnboard(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
|
|
2981
|
+
tfOnboard(walletId: string, onboardingRequest?: OnboardingRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OnboardResult, any>>;
|
|
2990
2982
|
/**
|
|
2991
2983
|
* Processes a request to onboard another legal entity.
|
|
2992
2984
|
* @param {string} walletId
|
|
@@ -3067,14 +3059,6 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3067
3059
|
* @throws {RequiredError}
|
|
3068
3060
|
*/
|
|
3069
3061
|
walletIdentifierGet(walletId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
3070
|
-
/**
|
|
3071
|
-
*
|
|
3072
|
-
* @param {string} walletId
|
|
3073
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3074
|
-
* @param {*} [options] Override http request option.
|
|
3075
|
-
* @throws {RequiredError}
|
|
3076
|
-
*/
|
|
3077
|
-
walletIdentifierUpdate(walletId: string, walletIdentifier?: WalletIdentifier, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletIdentifier, any>>;
|
|
3078
3062
|
/**
|
|
3079
3063
|
* Provides wallet keys used for signing.
|
|
3080
3064
|
* @param {string} walletId Wallet ID
|
|
@@ -3108,10 +3092,11 @@ export declare class DefaultApi extends BaseAPI {
|
|
|
3108
3092
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3109
3093
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
3110
3094
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
3095
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
3111
3096
|
* @param {*} [options] Override http request option.
|
|
3112
3097
|
* @throws {RequiredError}
|
|
3113
3098
|
*/
|
|
3114
|
-
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
|
|
3099
|
+
walletNotificationHistory(walletId: string, limit?: number, nextMarker?: string, type?: Array<WalletNotificationEventType>, sort?: ListSort, newerThan?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<WalletNotificationHistory, any>>;
|
|
3115
3100
|
/**
|
|
3116
3101
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|
|
3117
3102
|
* @param {string} walletId Wallet ID
|
package/api.js
CHANGED
|
@@ -1454,10 +1454,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1454
1454
|
/**
|
|
1455
1455
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
1456
1456
|
* @param {string} walletId
|
|
1457
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
1457
1458
|
* @param {*} [options] Override http request option.
|
|
1458
1459
|
* @throws {RequiredError}
|
|
1459
1460
|
*/
|
|
1460
|
-
tfOnboard: (walletId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1461
|
+
tfOnboard: (walletId, onboardingRequest, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1461
1462
|
// verify required parameter 'walletId' is not null or undefined
|
|
1462
1463
|
(0, common_1.assertParamExists)('tfOnboard', 'walletId', walletId);
|
|
1463
1464
|
const localVarPath = `/tf/{wallet_id}/onboard`
|
|
@@ -1474,10 +1475,12 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1474
1475
|
// authentication accessToken required
|
|
1475
1476
|
// http bearer authentication required
|
|
1476
1477
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1478
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1477
1479
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1478
1480
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1479
1481
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1480
1482
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1483
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(onboardingRequest, localVarRequestOptions, configuration);
|
|
1481
1484
|
return {
|
|
1482
1485
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1483
1486
|
options: localVarRequestOptions,
|
|
@@ -1853,43 +1856,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1853
1856
|
options: localVarRequestOptions,
|
|
1854
1857
|
};
|
|
1855
1858
|
}),
|
|
1856
|
-
/**
|
|
1857
|
-
*
|
|
1858
|
-
* @param {string} walletId
|
|
1859
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
1860
|
-
* @param {*} [options] Override http request option.
|
|
1861
|
-
* @throws {RequiredError}
|
|
1862
|
-
*/
|
|
1863
|
-
walletIdentifierUpdate: (walletId, walletIdentifier, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1864
|
-
// verify required parameter 'walletId' is not null or undefined
|
|
1865
|
-
(0, common_1.assertParamExists)('walletIdentifierUpdate', 'walletId', walletId);
|
|
1866
|
-
const localVarPath = `/identifier`;
|
|
1867
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1868
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1869
|
-
let baseOptions;
|
|
1870
|
-
if (configuration) {
|
|
1871
|
-
baseOptions = configuration.baseOptions;
|
|
1872
|
-
}
|
|
1873
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
1874
|
-
const localVarHeaderParameter = {};
|
|
1875
|
-
const localVarQueryParameter = {};
|
|
1876
|
-
// authentication accessToken required
|
|
1877
|
-
// http bearer authentication required
|
|
1878
|
-
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
1879
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1880
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1881
|
-
if (walletId != null) {
|
|
1882
|
-
localVarHeaderParameter['wallet-id'] = String(walletId);
|
|
1883
|
-
}
|
|
1884
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
1885
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1886
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1887
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(walletIdentifier, localVarRequestOptions, configuration);
|
|
1888
|
-
return {
|
|
1889
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
1890
|
-
options: localVarRequestOptions,
|
|
1891
|
-
};
|
|
1892
|
-
}),
|
|
1893
1859
|
/**
|
|
1894
1860
|
* Provides wallet keys used for signing.
|
|
1895
1861
|
* @param {string} walletId Wallet ID
|
|
@@ -2005,10 +1971,11 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2005
1971
|
* @param {string} [nextMarker] Marking the next set of items
|
|
2006
1972
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
2007
1973
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
1974
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
2008
1975
|
* @param {*} [options] Override http request option.
|
|
2009
1976
|
* @throws {RequiredError}
|
|
2010
1977
|
*/
|
|
2011
|
-
walletNotificationHistory: (walletId, limit, nextMarker, type, sort, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1978
|
+
walletNotificationHistory: (walletId, limit, nextMarker, type, sort, newerThan, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2012
1979
|
// verify required parameter 'walletId' is not null or undefined
|
|
2013
1980
|
(0, common_1.assertParamExists)('walletNotificationHistory', 'walletId', walletId);
|
|
2014
1981
|
const localVarPath = `/wallets/{wallet_id}/notification_history`
|
|
@@ -2037,6 +2004,9 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2037
2004
|
if (sort !== undefined) {
|
|
2038
2005
|
localVarQueryParameter['sort'] = sort;
|
|
2039
2006
|
}
|
|
2007
|
+
if (newerThan !== undefined) {
|
|
2008
|
+
localVarQueryParameter['newerThan'] = newerThan;
|
|
2009
|
+
}
|
|
2040
2010
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2041
2011
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
2042
2012
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3168,13 +3138,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
3168
3138
|
/**
|
|
3169
3139
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
3170
3140
|
* @param {string} walletId
|
|
3141
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
3171
3142
|
* @param {*} [options] Override http request option.
|
|
3172
3143
|
* @throws {RequiredError}
|
|
3173
3144
|
*/
|
|
3174
|
-
tfOnboard(walletId, options) {
|
|
3145
|
+
tfOnboard(walletId, onboardingRequest, options) {
|
|
3175
3146
|
var _a, _b, _c;
|
|
3176
3147
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3177
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfOnboard(walletId, options);
|
|
3148
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.tfOnboard(walletId, onboardingRequest, options);
|
|
3178
3149
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3179
3150
|
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;
|
|
3180
3151
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -3340,22 +3311,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
3340
3311
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3341
3312
|
});
|
|
3342
3313
|
},
|
|
3343
|
-
/**
|
|
3344
|
-
*
|
|
3345
|
-
* @param {string} walletId
|
|
3346
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
3347
|
-
* @param {*} [options] Override http request option.
|
|
3348
|
-
* @throws {RequiredError}
|
|
3349
|
-
*/
|
|
3350
|
-
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
3351
|
-
var _a, _b, _c;
|
|
3352
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3353
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletIdentifierUpdate(walletId, walletIdentifier, options);
|
|
3354
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3355
|
-
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;
|
|
3356
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3357
|
-
});
|
|
3358
|
-
},
|
|
3359
3314
|
/**
|
|
3360
3315
|
* Provides wallet keys used for signing.
|
|
3361
3316
|
* @param {string} walletId Wallet ID
|
|
@@ -3411,13 +3366,14 @@ const DefaultApiFp = function (configuration) {
|
|
|
3411
3366
|
* @param {string} [nextMarker] Marking the next set of items
|
|
3412
3367
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
3413
3368
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
3369
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
3414
3370
|
* @param {*} [options] Override http request option.
|
|
3415
3371
|
* @throws {RequiredError}
|
|
3416
3372
|
*/
|
|
3417
|
-
walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
|
|
3373
|
+
walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options) {
|
|
3418
3374
|
var _a, _b, _c;
|
|
3419
3375
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3420
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationHistory(walletId, limit, nextMarker, type, sort, options);
|
|
3376
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options);
|
|
3421
3377
|
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3422
3378
|
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.walletNotificationHistory']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3423
3379
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -4026,11 +3982,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4026
3982
|
/**
|
|
4027
3983
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
4028
3984
|
* @param {string} walletId
|
|
3985
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
4029
3986
|
* @param {*} [options] Override http request option.
|
|
4030
3987
|
* @throws {RequiredError}
|
|
4031
3988
|
*/
|
|
4032
|
-
tfOnboard(walletId, options) {
|
|
4033
|
-
return localVarFp.tfOnboard(walletId, options).then((request) => request(axios, basePath));
|
|
3989
|
+
tfOnboard(walletId, onboardingRequest, options) {
|
|
3990
|
+
return localVarFp.tfOnboard(walletId, onboardingRequest, options).then((request) => request(axios, basePath));
|
|
4034
3991
|
},
|
|
4035
3992
|
/**
|
|
4036
3993
|
* Processes a request to onboard another legal entity.
|
|
@@ -4132,16 +4089,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4132
4089
|
walletIdentifierGet(walletId, options) {
|
|
4133
4090
|
return localVarFp.walletIdentifierGet(walletId, options).then((request) => request(axios, basePath));
|
|
4134
4091
|
},
|
|
4135
|
-
/**
|
|
4136
|
-
*
|
|
4137
|
-
* @param {string} walletId
|
|
4138
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
4139
|
-
* @param {*} [options] Override http request option.
|
|
4140
|
-
* @throws {RequiredError}
|
|
4141
|
-
*/
|
|
4142
|
-
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
4143
|
-
return localVarFp.walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(axios, basePath));
|
|
4144
|
-
},
|
|
4145
4092
|
/**
|
|
4146
4093
|
* Provides wallet keys used for signing.
|
|
4147
4094
|
* @param {string} walletId Wallet ID
|
|
@@ -4179,11 +4126,12 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4179
4126
|
* @param {string} [nextMarker] Marking the next set of items
|
|
4180
4127
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
4181
4128
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
4129
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
4182
4130
|
* @param {*} [options] Override http request option.
|
|
4183
4131
|
* @throws {RequiredError}
|
|
4184
4132
|
*/
|
|
4185
|
-
walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
|
|
4186
|
-
return localVarFp.walletNotificationHistory(walletId, limit, nextMarker, type, sort, options).then((request) => request(axios, basePath));
|
|
4133
|
+
walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options) {
|
|
4134
|
+
return localVarFp.walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options).then((request) => request(axios, basePath));
|
|
4187
4135
|
},
|
|
4188
4136
|
/**
|
|
4189
4137
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|
|
@@ -4690,11 +4638,12 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4690
4638
|
/**
|
|
4691
4639
|
* Onboards legal entity to the trust framework based on the wallet configuration.
|
|
4692
4640
|
* @param {string} walletId
|
|
4641
|
+
* @param {OnboardingRequest} [onboardingRequest]
|
|
4693
4642
|
* @param {*} [options] Override http request option.
|
|
4694
4643
|
* @throws {RequiredError}
|
|
4695
4644
|
*/
|
|
4696
|
-
tfOnboard(walletId, options) {
|
|
4697
|
-
return (0, exports.DefaultApiFp)(this.configuration).tfOnboard(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
4645
|
+
tfOnboard(walletId, onboardingRequest, options) {
|
|
4646
|
+
return (0, exports.DefaultApiFp)(this.configuration).tfOnboard(walletId, onboardingRequest, options).then((request) => request(this.axios, this.basePath));
|
|
4698
4647
|
}
|
|
4699
4648
|
/**
|
|
4700
4649
|
* Processes a request to onboard another legal entity.
|
|
@@ -4796,16 +4745,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4796
4745
|
walletIdentifierGet(walletId, options) {
|
|
4797
4746
|
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierGet(walletId, options).then((request) => request(this.axios, this.basePath));
|
|
4798
4747
|
}
|
|
4799
|
-
/**
|
|
4800
|
-
*
|
|
4801
|
-
* @param {string} walletId
|
|
4802
|
-
* @param {WalletIdentifier} [walletIdentifier] The new wallet identifier
|
|
4803
|
-
* @param {*} [options] Override http request option.
|
|
4804
|
-
* @throws {RequiredError}
|
|
4805
|
-
*/
|
|
4806
|
-
walletIdentifierUpdate(walletId, walletIdentifier, options) {
|
|
4807
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletIdentifierUpdate(walletId, walletIdentifier, options).then((request) => request(this.axios, this.basePath));
|
|
4808
|
-
}
|
|
4809
4748
|
/**
|
|
4810
4749
|
* Provides wallet keys used for signing.
|
|
4811
4750
|
* @param {string} walletId Wallet ID
|
|
@@ -4843,11 +4782,12 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4843
4782
|
* @param {string} [nextMarker] Marking the next set of items
|
|
4844
4783
|
* @param {Array<WalletNotificationEventType>} [type] Notification types
|
|
4845
4784
|
* @param {ListSort} [sort] Sort flag controls the sort direction by the time created
|
|
4785
|
+
* @param {number} [newerThan] List notifications that are newer than the provided timestamp
|
|
4846
4786
|
* @param {*} [options] Override http request option.
|
|
4847
4787
|
* @throws {RequiredError}
|
|
4848
4788
|
*/
|
|
4849
|
-
walletNotificationHistory(walletId, limit, nextMarker, type, sort, options) {
|
|
4850
|
-
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationHistory(walletId, limit, nextMarker, type, sort, options).then((request) => request(this.axios, this.basePath));
|
|
4789
|
+
walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options) {
|
|
4790
|
+
return (0, exports.DefaultApiFp)(this.configuration).walletNotificationHistory(walletId, limit, nextMarker, type, sort, newerThan, options).then((request) => request(this.axios, this.basePath));
|
|
4851
4791
|
}
|
|
4852
4792
|
/**
|
|
4853
4793
|
* Provides first-in-first-out queue of notifications for a specific wallet.
|