@finverse/sdk-typescript 0.0.126 → 0.0.128
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 +58 -2
- package/dist/api.js +67 -0
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -3542,11 +3542,11 @@ export interface MandateSenderAccount {
|
|
|
3542
3542
|
*/
|
|
3543
3543
|
institution_id?: string;
|
|
3544
3544
|
/**
|
|
3545
|
-
* A unique identifier generated after creating sender
|
|
3545
|
+
* A unique identifier generated after creating sender (Finverse Payment User ID)
|
|
3546
3546
|
* @type {string}
|
|
3547
3547
|
* @memberof MandateSenderAccount
|
|
3548
3548
|
*/
|
|
3549
|
-
|
|
3549
|
+
user_id?: string;
|
|
3550
3550
|
/**
|
|
3551
3551
|
* Additional attributes of the sender account in key:value format (e.g. sender_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
|
|
3552
3552
|
* @type {{ [key: string]: string; }}
|
|
@@ -3560,6 +3560,25 @@ export declare const MandateSenderAccountAccountTypeEnum: {
|
|
|
3560
3560
|
readonly ExternalAccount: "EXTERNAL_ACCOUNT";
|
|
3561
3561
|
};
|
|
3562
3562
|
export declare type MandateSenderAccountAccountTypeEnum = (typeof MandateSenderAccountAccountTypeEnum)[keyof typeof MandateSenderAccountAccountTypeEnum];
|
|
3563
|
+
/**
|
|
3564
|
+
*
|
|
3565
|
+
* @export
|
|
3566
|
+
* @interface ManualPaymentConfirmationRequest
|
|
3567
|
+
*/
|
|
3568
|
+
export interface ManualPaymentConfirmationRequest {
|
|
3569
|
+
/**
|
|
3570
|
+
*
|
|
3571
|
+
* @type {string}
|
|
3572
|
+
* @memberof ManualPaymentConfirmationRequest
|
|
3573
|
+
*/
|
|
3574
|
+
accountholder_name: string;
|
|
3575
|
+
/**
|
|
3576
|
+
*
|
|
3577
|
+
* @type {string}
|
|
3578
|
+
* @memberof ManualPaymentConfirmationRequest
|
|
3579
|
+
*/
|
|
3580
|
+
account_number_last4: string;
|
|
3581
|
+
}
|
|
3563
3582
|
/**
|
|
3564
3583
|
*
|
|
3565
3584
|
* @export
|
|
@@ -5786,6 +5805,13 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
5786
5805
|
* @export
|
|
5787
5806
|
*/
|
|
5788
5807
|
export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
5808
|
+
/**
|
|
5809
|
+
* Submit manual payment confirmation
|
|
5810
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
5811
|
+
* @param {*} [options] Override http request option.
|
|
5812
|
+
* @throws {RequiredError}
|
|
5813
|
+
*/
|
|
5814
|
+
confirmManualPayment: (manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
5789
5815
|
/**
|
|
5790
5816
|
* Confirm a payment against a payment Link
|
|
5791
5817
|
* @param {*} [options] Override http request option.
|
|
@@ -5849,6 +5875,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
5849
5875
|
* @export
|
|
5850
5876
|
*/
|
|
5851
5877
|
export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
5878
|
+
/**
|
|
5879
|
+
* Submit manual payment confirmation
|
|
5880
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
5881
|
+
* @param {*} [options] Override http request option.
|
|
5882
|
+
* @throws {RequiredError}
|
|
5883
|
+
*/
|
|
5884
|
+
confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
5852
5885
|
/**
|
|
5853
5886
|
* Confirm a payment against a payment Link
|
|
5854
5887
|
* @param {*} [options] Override http request option.
|
|
@@ -5912,6 +5945,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
5912
5945
|
* @export
|
|
5913
5946
|
*/
|
|
5914
5947
|
export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
5948
|
+
/**
|
|
5949
|
+
* Submit manual payment confirmation
|
|
5950
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
5951
|
+
* @param {*} [options] Override http request option.
|
|
5952
|
+
* @throws {RequiredError}
|
|
5953
|
+
*/
|
|
5954
|
+
confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: any): AxiosPromise<void>;
|
|
5915
5955
|
/**
|
|
5916
5956
|
* Confirm a payment against a payment Link
|
|
5917
5957
|
* @param {*} [options] Override http request option.
|
|
@@ -5976,6 +6016,14 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
5976
6016
|
* @interface DefaultApi
|
|
5977
6017
|
*/
|
|
5978
6018
|
export interface DefaultApiInterface {
|
|
6019
|
+
/**
|
|
6020
|
+
* Submit manual payment confirmation
|
|
6021
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
6022
|
+
* @param {*} [options] Override http request option.
|
|
6023
|
+
* @throws {RequiredError}
|
|
6024
|
+
* @memberof DefaultApiInterface
|
|
6025
|
+
*/
|
|
6026
|
+
confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
5979
6027
|
/**
|
|
5980
6028
|
* Confirm a payment against a payment Link
|
|
5981
6029
|
* @param {*} [options] Override http request option.
|
|
@@ -6047,6 +6095,14 @@ export interface DefaultApiInterface {
|
|
|
6047
6095
|
* @extends {BaseAPI}
|
|
6048
6096
|
*/
|
|
6049
6097
|
export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
6098
|
+
/**
|
|
6099
|
+
* Submit manual payment confirmation
|
|
6100
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
6101
|
+
* @param {*} [options] Override http request option.
|
|
6102
|
+
* @throws {RequiredError}
|
|
6103
|
+
* @memberof DefaultApi
|
|
6104
|
+
*/
|
|
6105
|
+
confirmManualPayment(manualPaymentIdentifiers: ManualPaymentConfirmationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
6050
6106
|
/**
|
|
6051
6107
|
* Confirm a payment against a payment Link
|
|
6052
6108
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -1574,6 +1574,38 @@ exports.CustomerApi = CustomerApi;
|
|
|
1574
1574
|
*/
|
|
1575
1575
|
exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
1576
1576
|
return {
|
|
1577
|
+
/**
|
|
1578
|
+
* Submit manual payment confirmation
|
|
1579
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
1580
|
+
* @param {*} [options] Override http request option.
|
|
1581
|
+
* @throws {RequiredError}
|
|
1582
|
+
*/
|
|
1583
|
+
confirmManualPayment: (manualPaymentIdentifiers, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1584
|
+
// verify required parameter 'manualPaymentIdentifiers' is not null or undefined
|
|
1585
|
+
common_1.assertParamExists('confirmManualPayment', 'manualPaymentIdentifiers', manualPaymentIdentifiers);
|
|
1586
|
+
const localVarPath = `/payments/manual_payment`;
|
|
1587
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1588
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1589
|
+
let baseOptions;
|
|
1590
|
+
if (configuration) {
|
|
1591
|
+
baseOptions = configuration.baseOptions;
|
|
1592
|
+
}
|
|
1593
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1594
|
+
const localVarHeaderParameter = {};
|
|
1595
|
+
const localVarQueryParameter = {};
|
|
1596
|
+
// authentication Oauth2 required
|
|
1597
|
+
// oauth required
|
|
1598
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1599
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1600
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1601
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1602
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1603
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(manualPaymentIdentifiers, localVarRequestOptions, configuration);
|
|
1604
|
+
return {
|
|
1605
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1606
|
+
options: localVarRequestOptions,
|
|
1607
|
+
};
|
|
1608
|
+
}),
|
|
1577
1609
|
/**
|
|
1578
1610
|
* Confirm a payment against a payment Link
|
|
1579
1611
|
* @param {*} [options] Override http request option.
|
|
@@ -1835,6 +1867,18 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1835
1867
|
exports.DefaultApiFp = function (configuration) {
|
|
1836
1868
|
const localVarAxiosParamCreator = exports.DefaultApiAxiosParamCreator(configuration);
|
|
1837
1869
|
return {
|
|
1870
|
+
/**
|
|
1871
|
+
* Submit manual payment confirmation
|
|
1872
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
1873
|
+
* @param {*} [options] Override http request option.
|
|
1874
|
+
* @throws {RequiredError}
|
|
1875
|
+
*/
|
|
1876
|
+
confirmManualPayment(manualPaymentIdentifiers, options) {
|
|
1877
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
1878
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.confirmManualPayment(manualPaymentIdentifiers, options);
|
|
1879
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1880
|
+
});
|
|
1881
|
+
},
|
|
1838
1882
|
/**
|
|
1839
1883
|
* Confirm a payment against a payment Link
|
|
1840
1884
|
* @param {*} [options] Override http request option.
|
|
@@ -1931,6 +1975,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
1931
1975
|
exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1932
1976
|
const localVarFp = exports.DefaultApiFp(configuration);
|
|
1933
1977
|
return {
|
|
1978
|
+
/**
|
|
1979
|
+
* Submit manual payment confirmation
|
|
1980
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
1981
|
+
* @param {*} [options] Override http request option.
|
|
1982
|
+
* @throws {RequiredError}
|
|
1983
|
+
*/
|
|
1984
|
+
confirmManualPayment(manualPaymentIdentifiers, options) {
|
|
1985
|
+
return localVarFp
|
|
1986
|
+
.confirmManualPayment(manualPaymentIdentifiers, options)
|
|
1987
|
+
.then((request) => request(axios, basePath));
|
|
1988
|
+
},
|
|
1934
1989
|
/**
|
|
1935
1990
|
* Confirm a payment against a payment Link
|
|
1936
1991
|
* @param {*} [options] Override http request option.
|
|
@@ -2017,6 +2072,18 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2017
2072
|
* @extends {BaseAPI}
|
|
2018
2073
|
*/
|
|
2019
2074
|
class DefaultApi extends base_1.BaseAPI {
|
|
2075
|
+
/**
|
|
2076
|
+
* Submit manual payment confirmation
|
|
2077
|
+
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
2078
|
+
* @param {*} [options] Override http request option.
|
|
2079
|
+
* @throws {RequiredError}
|
|
2080
|
+
* @memberof DefaultApi
|
|
2081
|
+
*/
|
|
2082
|
+
confirmManualPayment(manualPaymentIdentifiers, options) {
|
|
2083
|
+
return exports.DefaultApiFp(this.configuration)
|
|
2084
|
+
.confirmManualPayment(manualPaymentIdentifiers, options)
|
|
2085
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2086
|
+
}
|
|
2020
2087
|
/**
|
|
2021
2088
|
* Confirm a payment against a payment Link
|
|
2022
2089
|
* @param {*} [options] Override http request option.
|