@finverse/sdk-typescript 0.0.143 → 0.0.145
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/dist/api.d.ts +38 -1
- package/dist/api.js +63 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -4038,7 +4038,7 @@ export interface PaymentLinkRecipientAccount {
|
|
|
4038
4038
|
* @type {string}
|
|
4039
4039
|
* @memberof PaymentLinkRecipientAccount
|
|
4040
4040
|
*/
|
|
4041
|
-
|
|
4041
|
+
account_id: string;
|
|
4042
4042
|
}
|
|
4043
4043
|
/**
|
|
4044
4044
|
*
|
|
@@ -6183,6 +6183,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
6183
6183
|
* @throws {RequiredError}
|
|
6184
6184
|
*/
|
|
6185
6185
|
createPaymentLinkMandate: (createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6186
|
+
/**
|
|
6187
|
+
* Get payment link
|
|
6188
|
+
* @param {string} paymentLinkId The payment link id
|
|
6189
|
+
* @param {*} [options] Override http request option.
|
|
6190
|
+
* @throws {RequiredError}
|
|
6191
|
+
*/
|
|
6192
|
+
getPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6186
6193
|
/**
|
|
6187
6194
|
* Get sender payment user for mandate
|
|
6188
6195
|
* @param {*} [options] Override http request option.
|
|
@@ -6272,6 +6279,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
6272
6279
|
* @throws {RequiredError}
|
|
6273
6280
|
*/
|
|
6274
6281
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentLinkMandateResponse>>;
|
|
6282
|
+
/**
|
|
6283
|
+
* Get payment link
|
|
6284
|
+
* @param {string} paymentLinkId The payment link id
|
|
6285
|
+
* @param {*} [options] Override http request option.
|
|
6286
|
+
* @throws {RequiredError}
|
|
6287
|
+
*/
|
|
6288
|
+
getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
|
|
6275
6289
|
/**
|
|
6276
6290
|
* Get sender payment user for mandate
|
|
6277
6291
|
* @param {*} [options] Override http request option.
|
|
@@ -6361,6 +6375,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
6361
6375
|
* @throws {RequiredError}
|
|
6362
6376
|
*/
|
|
6363
6377
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: any): AxiosPromise<CreatePaymentLinkMandateResponse>;
|
|
6378
|
+
/**
|
|
6379
|
+
* Get payment link
|
|
6380
|
+
* @param {string} paymentLinkId The payment link id
|
|
6381
|
+
* @param {*} [options] Override http request option.
|
|
6382
|
+
* @throws {RequiredError}
|
|
6383
|
+
*/
|
|
6384
|
+
getPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
|
|
6364
6385
|
/**
|
|
6365
6386
|
* Get sender payment user for mandate
|
|
6366
6387
|
* @param {*} [options] Override http request option.
|
|
@@ -6457,6 +6478,14 @@ export interface DefaultApiInterface {
|
|
|
6457
6478
|
* @memberof DefaultApiInterface
|
|
6458
6479
|
*/
|
|
6459
6480
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): AxiosPromise<CreatePaymentLinkMandateResponse>;
|
|
6481
|
+
/**
|
|
6482
|
+
* Get payment link
|
|
6483
|
+
* @param {string} paymentLinkId The payment link id
|
|
6484
|
+
* @param {*} [options] Override http request option.
|
|
6485
|
+
* @throws {RequiredError}
|
|
6486
|
+
* @memberof DefaultApiInterface
|
|
6487
|
+
*/
|
|
6488
|
+
getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
|
|
6460
6489
|
/**
|
|
6461
6490
|
* Get sender payment user for mandate
|
|
6462
6491
|
* @param {*} [options] Override http request option.
|
|
@@ -6558,6 +6587,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
6558
6587
|
* @memberof DefaultApi
|
|
6559
6588
|
*/
|
|
6560
6589
|
createPaymentLinkMandate(createPaymentLinkMandateRequest: CreatePaymentLinkMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentLinkMandateResponse>>;
|
|
6590
|
+
/**
|
|
6591
|
+
* Get payment link
|
|
6592
|
+
* @param {string} paymentLinkId The payment link id
|
|
6593
|
+
* @param {*} [options] Override http request option.
|
|
6594
|
+
* @throws {RequiredError}
|
|
6595
|
+
* @memberof DefaultApi
|
|
6596
|
+
*/
|
|
6597
|
+
getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
|
|
6561
6598
|
/**
|
|
6562
6599
|
* Get sender payment user for mandate
|
|
6563
6600
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -1762,6 +1762,36 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1762
1762
|
options: localVarRequestOptions,
|
|
1763
1763
|
};
|
|
1764
1764
|
}),
|
|
1765
|
+
/**
|
|
1766
|
+
* Get payment link
|
|
1767
|
+
* @param {string} paymentLinkId The payment link id
|
|
1768
|
+
* @param {*} [options] Override http request option.
|
|
1769
|
+
* @throws {RequiredError}
|
|
1770
|
+
*/
|
|
1771
|
+
getPaymentLink: (paymentLinkId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1772
|
+
// verify required parameter 'paymentLinkId' is not null or undefined
|
|
1773
|
+
common_1.assertParamExists('getPaymentLink', 'paymentLinkId', paymentLinkId);
|
|
1774
|
+
const localVarPath = `/payment_links/{paymentLinkId}`.replace(`{${'paymentLinkId'}}`, encodeURIComponent(String(paymentLinkId)));
|
|
1775
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1776
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1777
|
+
let baseOptions;
|
|
1778
|
+
if (configuration) {
|
|
1779
|
+
baseOptions = configuration.baseOptions;
|
|
1780
|
+
}
|
|
1781
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
1782
|
+
const localVarHeaderParameter = {};
|
|
1783
|
+
const localVarQueryParameter = {};
|
|
1784
|
+
// authentication Oauth2 required
|
|
1785
|
+
// oauth required
|
|
1786
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1787
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1788
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1789
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1790
|
+
return {
|
|
1791
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1792
|
+
options: localVarRequestOptions,
|
|
1793
|
+
};
|
|
1794
|
+
}),
|
|
1765
1795
|
/**
|
|
1766
1796
|
* Get sender payment user for mandate
|
|
1767
1797
|
* @param {*} [options] Override http request option.
|
|
@@ -2033,6 +2063,18 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2033
2063
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2034
2064
|
});
|
|
2035
2065
|
},
|
|
2066
|
+
/**
|
|
2067
|
+
* Get payment link
|
|
2068
|
+
* @param {string} paymentLinkId The payment link id
|
|
2069
|
+
* @param {*} [options] Override http request option.
|
|
2070
|
+
* @throws {RequiredError}
|
|
2071
|
+
*/
|
|
2072
|
+
getPaymentLink(paymentLinkId, options) {
|
|
2073
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2074
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPaymentLink(paymentLinkId, options);
|
|
2075
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2076
|
+
});
|
|
2077
|
+
},
|
|
2036
2078
|
/**
|
|
2037
2079
|
* Get sender payment user for mandate
|
|
2038
2080
|
* @param {*} [options] Override http request option.
|
|
@@ -2163,6 +2205,15 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2163
2205
|
.createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
|
|
2164
2206
|
.then((request) => request(axios, basePath));
|
|
2165
2207
|
},
|
|
2208
|
+
/**
|
|
2209
|
+
* Get payment link
|
|
2210
|
+
* @param {string} paymentLinkId The payment link id
|
|
2211
|
+
* @param {*} [options] Override http request option.
|
|
2212
|
+
* @throws {RequiredError}
|
|
2213
|
+
*/
|
|
2214
|
+
getPaymentLink(paymentLinkId, options) {
|
|
2215
|
+
return localVarFp.getPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
|
|
2216
|
+
},
|
|
2166
2217
|
/**
|
|
2167
2218
|
* Get sender payment user for mandate
|
|
2168
2219
|
* @param {*} [options] Override http request option.
|
|
@@ -2299,6 +2350,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2299
2350
|
.createPaymentLinkMandate(createPaymentLinkMandateRequest, options)
|
|
2300
2351
|
.then((request) => request(this.axios, this.basePath));
|
|
2301
2352
|
}
|
|
2353
|
+
/**
|
|
2354
|
+
* Get payment link
|
|
2355
|
+
* @param {string} paymentLinkId The payment link id
|
|
2356
|
+
* @param {*} [options] Override http request option.
|
|
2357
|
+
* @throws {RequiredError}
|
|
2358
|
+
* @memberof DefaultApi
|
|
2359
|
+
*/
|
|
2360
|
+
getPaymentLink(paymentLinkId, options) {
|
|
2361
|
+
return exports.DefaultApiFp(this.configuration)
|
|
2362
|
+
.getPaymentLink(paymentLinkId, options)
|
|
2363
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2364
|
+
}
|
|
2302
2365
|
/**
|
|
2303
2366
|
* Get sender payment user for mandate
|
|
2304
2367
|
* @param {*} [options] Override http request option.
|