@finverse/sdk-typescript 0.0.300 → 0.0.302
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 +21 -32
- package/dist/api.js +21 -60
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -860,6 +860,8 @@ export declare const CardFvLinkResponseStatusEnum: {
|
|
|
860
860
|
readonly Unknown: "UNKNOWN";
|
|
861
861
|
readonly Processing: "PROCESSING";
|
|
862
862
|
readonly Succeeded: "SUCCEEDED";
|
|
863
|
+
readonly Cancelled: "CANCELLED";
|
|
864
|
+
readonly Failed: "FAILED";
|
|
863
865
|
};
|
|
864
866
|
export type CardFvLinkResponseStatusEnum = (typeof CardFvLinkResponseStatusEnum)[keyof typeof CardFvLinkResponseStatusEnum];
|
|
865
867
|
/**
|
|
@@ -1250,6 +1252,9 @@ export declare const CreateMandateResponseStatusEnum: {
|
|
|
1250
1252
|
readonly Succeeded: "SUCCEEDED";
|
|
1251
1253
|
readonly Failed: "FAILED";
|
|
1252
1254
|
readonly Revoked: "REVOKED";
|
|
1255
|
+
readonly ReadyToSubmit: "READY_TO_SUBMIT";
|
|
1256
|
+
readonly Closed: "CLOSED";
|
|
1257
|
+
readonly Cancelled: "CANCELLED";
|
|
1253
1258
|
};
|
|
1254
1259
|
export type CreateMandateResponseStatusEnum = (typeof CreateMandateResponseStatusEnum)[keyof typeof CreateMandateResponseStatusEnum];
|
|
1255
1260
|
/**
|
|
@@ -2037,6 +2042,8 @@ export declare const FVCardStatusEnum: {
|
|
|
2037
2042
|
readonly Unknown: "UNKNOWN";
|
|
2038
2043
|
readonly Processing: "PROCESSING";
|
|
2039
2044
|
readonly Succeeded: "SUCCEEDED";
|
|
2045
|
+
readonly Cancelled: "CANCELLED";
|
|
2046
|
+
readonly Failed: "FAILED";
|
|
2040
2047
|
};
|
|
2041
2048
|
export type FVCardStatusEnum = (typeof FVCardStatusEnum)[keyof typeof FVCardStatusEnum];
|
|
2042
2049
|
/**
|
|
@@ -5042,6 +5049,8 @@ export declare const ManualPaymentConfirmationResponseStatusEnum: {
|
|
|
5042
5049
|
readonly Executed: "EXECUTED";
|
|
5043
5050
|
readonly Failed: "FAILED";
|
|
5044
5051
|
readonly Revoked: "REVOKED";
|
|
5052
|
+
readonly Cancelled: "CANCELLED";
|
|
5053
|
+
readonly Created: "CREATED";
|
|
5045
5054
|
};
|
|
5046
5055
|
export type ManualPaymentConfirmationResponseStatusEnum = (typeof ManualPaymentConfirmationResponseStatusEnum)[keyof typeof ManualPaymentConfirmationResponseStatusEnum];
|
|
5047
5056
|
/**
|
|
@@ -5570,6 +5579,8 @@ export declare const PaymentFvLinkResponseStatusEnum: {
|
|
|
5570
5579
|
readonly Executed: "EXECUTED";
|
|
5571
5580
|
readonly Failed: "FAILED";
|
|
5572
5581
|
readonly Revoked: "REVOKED";
|
|
5582
|
+
readonly Cancelled: "CANCELLED";
|
|
5583
|
+
readonly Created: "CREATED";
|
|
5573
5584
|
};
|
|
5574
5585
|
export type PaymentFvLinkResponseStatusEnum = (typeof PaymentFvLinkResponseStatusEnum)[keyof typeof PaymentFvLinkResponseStatusEnum];
|
|
5575
5586
|
/**
|
|
@@ -6359,6 +6370,8 @@ export declare const PaymentResponseStatusEnum: {
|
|
|
6359
6370
|
readonly Executed: "EXECUTED";
|
|
6360
6371
|
readonly Failed: "FAILED";
|
|
6361
6372
|
readonly Revoked: "REVOKED";
|
|
6373
|
+
readonly Cancelled: "CANCELLED";
|
|
6374
|
+
readonly Created: "CREATED";
|
|
6362
6375
|
};
|
|
6363
6376
|
export type PaymentResponseStatusEnum = (typeof PaymentResponseStatusEnum)[keyof typeof PaymentResponseStatusEnum];
|
|
6364
6377
|
/**
|
|
@@ -9364,12 +9377,6 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
9364
9377
|
* @throws {RequiredError}
|
|
9365
9378
|
*/
|
|
9366
9379
|
setAutopayConsent: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9367
|
-
/**
|
|
9368
|
-
* Unlink payment on payment link
|
|
9369
|
-
* @param {*} [options] Override http request option.
|
|
9370
|
-
* @throws {RequiredError}
|
|
9371
|
-
*/
|
|
9372
|
-
unlinkPaymentPaymentLink: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
9373
9380
|
/**
|
|
9374
9381
|
* Update a payment user
|
|
9375
9382
|
* @param {string} paymentUserId
|
|
@@ -9618,12 +9625,6 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9618
9625
|
* @throws {RequiredError}
|
|
9619
9626
|
*/
|
|
9620
9627
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9621
|
-
/**
|
|
9622
|
-
* Unlink payment on payment link
|
|
9623
|
-
* @param {*} [options] Override http request option.
|
|
9624
|
-
* @throws {RequiredError}
|
|
9625
|
-
*/
|
|
9626
|
-
unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9627
9628
|
/**
|
|
9628
9629
|
* Update a payment user
|
|
9629
9630
|
* @param {string} paymentUserId
|
|
@@ -9872,12 +9873,6 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9872
9873
|
* @throws {RequiredError}
|
|
9873
9874
|
*/
|
|
9874
9875
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9875
|
-
/**
|
|
9876
|
-
* Unlink payment on payment link
|
|
9877
|
-
* @param {*} [options] Override http request option.
|
|
9878
|
-
* @throws {RequiredError}
|
|
9879
|
-
*/
|
|
9880
|
-
unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
9881
9876
|
/**
|
|
9882
9877
|
* Update a payment user
|
|
9883
9878
|
* @param {string} paymentUserId
|
|
@@ -10156,13 +10151,6 @@ export interface DefaultApiInterface {
|
|
|
10156
10151
|
* @memberof DefaultApiInterface
|
|
10157
10152
|
*/
|
|
10158
10153
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
10159
|
-
/**
|
|
10160
|
-
* Unlink payment on payment link
|
|
10161
|
-
* @param {*} [options] Override http request option.
|
|
10162
|
-
* @throws {RequiredError}
|
|
10163
|
-
* @memberof DefaultApiInterface
|
|
10164
|
-
*/
|
|
10165
|
-
unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
10166
10154
|
/**
|
|
10167
10155
|
* Update a payment user
|
|
10168
10156
|
* @param {string} paymentUserId
|
|
@@ -10443,13 +10431,6 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
10443
10431
|
* @memberof DefaultApi
|
|
10444
10432
|
*/
|
|
10445
10433
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
10446
|
-
/**
|
|
10447
|
-
* Unlink payment on payment link
|
|
10448
|
-
* @param {*} [options] Override http request option.
|
|
10449
|
-
* @throws {RequiredError}
|
|
10450
|
-
* @memberof DefaultApi
|
|
10451
|
-
*/
|
|
10452
|
-
unlinkPaymentPaymentLink(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
10453
10434
|
/**
|
|
10454
10435
|
* Update a payment user
|
|
10455
10436
|
* @param {string} paymentUserId
|
|
@@ -10471,6 +10452,9 @@ export declare const ListDetokenizedMandatesStatusesEnum: {
|
|
|
10471
10452
|
readonly Succeeded: "SUCCEEDED";
|
|
10472
10453
|
readonly Failed: "FAILED";
|
|
10473
10454
|
readonly Revoked: "REVOKED";
|
|
10455
|
+
readonly ReadyToSubmit: "READY_TO_SUBMIT";
|
|
10456
|
+
readonly Closed: "CLOSED";
|
|
10457
|
+
readonly Cancelled: "CANCELLED";
|
|
10474
10458
|
};
|
|
10475
10459
|
export type ListDetokenizedMandatesStatusesEnum = (typeof ListDetokenizedMandatesStatusesEnum)[keyof typeof ListDetokenizedMandatesStatusesEnum];
|
|
10476
10460
|
/**
|
|
@@ -10492,6 +10476,9 @@ export declare const ListMandatesStatusesEnum: {
|
|
|
10492
10476
|
readonly Succeeded: "SUCCEEDED";
|
|
10493
10477
|
readonly Failed: "FAILED";
|
|
10494
10478
|
readonly Revoked: "REVOKED";
|
|
10479
|
+
readonly ReadyToSubmit: "READY_TO_SUBMIT";
|
|
10480
|
+
readonly Closed: "CLOSED";
|
|
10481
|
+
readonly Cancelled: "CANCELLED";
|
|
10495
10482
|
};
|
|
10496
10483
|
export type ListMandatesStatusesEnum = (typeof ListMandatesStatusesEnum)[keyof typeof ListMandatesStatusesEnum];
|
|
10497
10484
|
/**
|
|
@@ -10513,6 +10500,8 @@ export declare const ListPaymentsStatusesEnum: {
|
|
|
10513
10500
|
readonly Executed: "EXECUTED";
|
|
10514
10501
|
readonly Failed: "FAILED";
|
|
10515
10502
|
readonly Revoked: "REVOKED";
|
|
10503
|
+
readonly Cancelled: "CANCELLED";
|
|
10504
|
+
readonly Created: "CREATED";
|
|
10516
10505
|
};
|
|
10517
10506
|
export type ListPaymentsStatusesEnum = (typeof ListPaymentsStatusesEnum)[keyof typeof ListPaymentsStatusesEnum];
|
|
10518
10507
|
/**
|
package/dist/api.js
CHANGED
|
@@ -85,6 +85,8 @@ exports.CardFvLinkResponseStatusEnum = {
|
|
|
85
85
|
Unknown: 'UNKNOWN',
|
|
86
86
|
Processing: 'PROCESSING',
|
|
87
87
|
Succeeded: 'SUCCEEDED',
|
|
88
|
+
Cancelled: 'CANCELLED',
|
|
89
|
+
Failed: 'FAILED',
|
|
88
90
|
};
|
|
89
91
|
exports.CreateCardRequestStatusEnum = {
|
|
90
92
|
Succeeded: 'SUCCEEDED',
|
|
@@ -100,6 +102,9 @@ exports.CreateMandateResponseStatusEnum = {
|
|
|
100
102
|
Succeeded: 'SUCCEEDED',
|
|
101
103
|
Failed: 'FAILED',
|
|
102
104
|
Revoked: 'REVOKED',
|
|
105
|
+
ReadyToSubmit: 'READY_TO_SUBMIT',
|
|
106
|
+
Closed: 'CLOSED',
|
|
107
|
+
Cancelled: 'CANCELLED',
|
|
103
108
|
};
|
|
104
109
|
exports.CreateMandateSenderUserTypeEnum = {
|
|
105
110
|
Individual: 'INDIVIDUAL',
|
|
@@ -134,6 +139,8 @@ exports.FVCardStatusEnum = {
|
|
|
134
139
|
Unknown: 'UNKNOWN',
|
|
135
140
|
Processing: 'PROCESSING',
|
|
136
141
|
Succeeded: 'SUCCEEDED',
|
|
142
|
+
Cancelled: 'CANCELLED',
|
|
143
|
+
Failed: 'FAILED',
|
|
137
144
|
};
|
|
138
145
|
exports.FVCardDetailsFundingEnum = {
|
|
139
146
|
Unknown: 'UNKNOWN',
|
|
@@ -272,6 +279,8 @@ exports.ManualPaymentConfirmationResponseStatusEnum = {
|
|
|
272
279
|
Executed: 'EXECUTED',
|
|
273
280
|
Failed: 'FAILED',
|
|
274
281
|
Revoked: 'REVOKED',
|
|
282
|
+
Cancelled: 'CANCELLED',
|
|
283
|
+
Created: 'CREATED',
|
|
275
284
|
};
|
|
276
285
|
exports.PaymentAccountDetailsAccountTypeEnum = {
|
|
277
286
|
ExternalAccount: 'EXTERNAL_ACCOUNT',
|
|
@@ -289,6 +298,8 @@ exports.PaymentFvLinkResponseStatusEnum = {
|
|
|
289
298
|
Executed: 'EXECUTED',
|
|
290
299
|
Failed: 'FAILED',
|
|
291
300
|
Revoked: 'REVOKED',
|
|
301
|
+
Cancelled: 'CANCELLED',
|
|
302
|
+
Created: 'CREATED',
|
|
292
303
|
};
|
|
293
304
|
exports.PaymentInfoPaymentsSupportedEnum = {
|
|
294
305
|
Mandate: 'MANDATE',
|
|
@@ -343,6 +354,8 @@ exports.PaymentResponseStatusEnum = {
|
|
|
343
354
|
Executed: 'EXECUTED',
|
|
344
355
|
Failed: 'FAILED',
|
|
345
356
|
Revoked: 'REVOKED',
|
|
357
|
+
Cancelled: 'CANCELLED',
|
|
358
|
+
Created: 'CREATED',
|
|
346
359
|
};
|
|
347
360
|
exports.PaymentScheduleFrequencyEnum = {
|
|
348
361
|
Daily: 'DAILY',
|
|
@@ -3369,33 +3382,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
3369
3382
|
options: localVarRequestOptions,
|
|
3370
3383
|
};
|
|
3371
3384
|
}),
|
|
3372
|
-
/**
|
|
3373
|
-
* Unlink payment on payment link
|
|
3374
|
-
* @param {*} [options] Override http request option.
|
|
3375
|
-
* @throws {RequiredError}
|
|
3376
|
-
*/
|
|
3377
|
-
unlinkPaymentPaymentLink: (...args_1) => __awaiter(this, [...args_1], void 0, function* (options = {}) {
|
|
3378
|
-
const localVarPath = `/payment_link/fvlink/payment/unlink`;
|
|
3379
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3380
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3381
|
-
let baseOptions;
|
|
3382
|
-
if (configuration) {
|
|
3383
|
-
baseOptions = configuration.baseOptions;
|
|
3384
|
-
}
|
|
3385
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3386
|
-
const localVarHeaderParameter = {};
|
|
3387
|
-
const localVarQueryParameter = {};
|
|
3388
|
-
// authentication Oauth2 required
|
|
3389
|
-
// oauth required
|
|
3390
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3391
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
3392
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3393
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3394
|
-
return {
|
|
3395
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
3396
|
-
options: localVarRequestOptions,
|
|
3397
|
-
};
|
|
3398
|
-
}),
|
|
3399
3385
|
/**
|
|
3400
3386
|
* Update a payment user
|
|
3401
3387
|
* @param {string} paymentUserId
|
|
@@ -3907,20 +3893,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
3907
3893
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3908
3894
|
});
|
|
3909
3895
|
},
|
|
3910
|
-
/**
|
|
3911
|
-
* Unlink payment on payment link
|
|
3912
|
-
* @param {*} [options] Override http request option.
|
|
3913
|
-
* @throws {RequiredError}
|
|
3914
|
-
*/
|
|
3915
|
-
unlinkPaymentPaymentLink(options) {
|
|
3916
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
3917
|
-
var _a, _b, _c;
|
|
3918
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.unlinkPaymentPaymentLink(options);
|
|
3919
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
3920
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DefaultApi.unlinkPaymentPaymentLink']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
3921
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3922
|
-
});
|
|
3923
|
-
},
|
|
3924
3896
|
/**
|
|
3925
3897
|
* Update a payment user
|
|
3926
3898
|
* @param {string} paymentUserId
|
|
@@ -4263,14 +4235,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
4263
4235
|
.setAutopayConsent(setAutopayConsentRequest, options)
|
|
4264
4236
|
.then((request) => request(axios, basePath));
|
|
4265
4237
|
},
|
|
4266
|
-
/**
|
|
4267
|
-
* Unlink payment on payment link
|
|
4268
|
-
* @param {*} [options] Override http request option.
|
|
4269
|
-
* @throws {RequiredError}
|
|
4270
|
-
*/
|
|
4271
|
-
unlinkPaymentPaymentLink(options) {
|
|
4272
|
-
return localVarFp.unlinkPaymentPaymentLink(options).then((request) => request(axios, basePath));
|
|
4273
|
-
},
|
|
4274
4238
|
/**
|
|
4275
4239
|
* Update a payment user
|
|
4276
4240
|
* @param {string} paymentUserId
|
|
@@ -4672,17 +4636,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4672
4636
|
.setAutopayConsent(setAutopayConsentRequest, options)
|
|
4673
4637
|
.then((request) => request(this.axios, this.basePath));
|
|
4674
4638
|
}
|
|
4675
|
-
/**
|
|
4676
|
-
* Unlink payment on payment link
|
|
4677
|
-
* @param {*} [options] Override http request option.
|
|
4678
|
-
* @throws {RequiredError}
|
|
4679
|
-
* @memberof DefaultApi
|
|
4680
|
-
*/
|
|
4681
|
-
unlinkPaymentPaymentLink(options) {
|
|
4682
|
-
return (0, exports.DefaultApiFp)(this.configuration)
|
|
4683
|
-
.unlinkPaymentPaymentLink(options)
|
|
4684
|
-
.then((request) => request(this.axios, this.basePath));
|
|
4685
|
-
}
|
|
4686
4639
|
/**
|
|
4687
4640
|
* Update a payment user
|
|
4688
4641
|
* @param {string} paymentUserId
|
|
@@ -4709,6 +4662,9 @@ exports.ListDetokenizedMandatesStatusesEnum = {
|
|
|
4709
4662
|
Succeeded: 'SUCCEEDED',
|
|
4710
4663
|
Failed: 'FAILED',
|
|
4711
4664
|
Revoked: 'REVOKED',
|
|
4665
|
+
ReadyToSubmit: 'READY_TO_SUBMIT',
|
|
4666
|
+
Closed: 'CLOSED',
|
|
4667
|
+
Cancelled: 'CANCELLED',
|
|
4712
4668
|
};
|
|
4713
4669
|
/**
|
|
4714
4670
|
* @export
|
|
@@ -4728,6 +4684,9 @@ exports.ListMandatesStatusesEnum = {
|
|
|
4728
4684
|
Succeeded: 'SUCCEEDED',
|
|
4729
4685
|
Failed: 'FAILED',
|
|
4730
4686
|
Revoked: 'REVOKED',
|
|
4687
|
+
ReadyToSubmit: 'READY_TO_SUBMIT',
|
|
4688
|
+
Closed: 'CLOSED',
|
|
4689
|
+
Cancelled: 'CANCELLED',
|
|
4731
4690
|
};
|
|
4732
4691
|
/**
|
|
4733
4692
|
* @export
|
|
@@ -4747,6 +4706,8 @@ exports.ListPaymentsStatusesEnum = {
|
|
|
4747
4706
|
Executed: 'EXECUTED',
|
|
4748
4707
|
Failed: 'FAILED',
|
|
4749
4708
|
Revoked: 'REVOKED',
|
|
4709
|
+
Cancelled: 'CANCELLED',
|
|
4710
|
+
Created: 'CREATED',
|
|
4750
4711
|
};
|
|
4751
4712
|
/**
|
|
4752
4713
|
* @export
|