@finverse/sdk-typescript 0.0.281 → 0.0.283
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 +62 -20
- package/dist/api.js +90 -19
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -8682,7 +8682,7 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8682
8682
|
*/
|
|
8683
8683
|
cancelPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8684
8684
|
/**
|
|
8685
|
-
* cancel payment on payment link
|
|
8685
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
8686
8686
|
* @param {*} [options] Override http request option.
|
|
8687
8687
|
* @throws {RequiredError}
|
|
8688
8688
|
*/
|
|
@@ -8866,15 +8866,17 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8866
8866
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
8867
8867
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
8868
8868
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
8869
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
8869
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
8870
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
8870
8871
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
8871
|
-
* @param {string} [currency] The currency the payment is made in
|
|
8872
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
8873
|
+
* @param {Array<string>} [currencies]
|
|
8872
8874
|
* @param {number} [offset] default is 0
|
|
8873
8875
|
* @param {number} [limit] default is 500, max is 1000
|
|
8874
8876
|
* @param {*} [options] Override http request option.
|
|
8875
8877
|
* @throws {RequiredError}
|
|
8876
8878
|
*/
|
|
8877
|
-
listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8879
|
+
listPayments: (dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8878
8880
|
/**
|
|
8879
8881
|
* Refresh payment attempt from payment link front-end
|
|
8880
8882
|
* @param {*} [options] Override http request option.
|
|
@@ -8888,6 +8890,12 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
8888
8890
|
* @throws {RequiredError}
|
|
8889
8891
|
*/
|
|
8890
8892
|
setAutopayConsent: (setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8893
|
+
/**
|
|
8894
|
+
* Unlink payment on payment link
|
|
8895
|
+
* @param {*} [options] Override http request option.
|
|
8896
|
+
* @throws {RequiredError}
|
|
8897
|
+
*/
|
|
8898
|
+
unlinkPaymentPaymentLink: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8891
8899
|
/**
|
|
8892
8900
|
* Update a payment user
|
|
8893
8901
|
* @param {string} paymentUserId
|
|
@@ -8910,7 +8918,7 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
8910
8918
|
*/
|
|
8911
8919
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
|
|
8912
8920
|
/**
|
|
8913
|
-
* cancel payment on payment link
|
|
8921
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
8914
8922
|
* @param {*} [options] Override http request option.
|
|
8915
8923
|
* @throws {RequiredError}
|
|
8916
8924
|
*/
|
|
@@ -9094,15 +9102,17 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9094
9102
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
9095
9103
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
9096
9104
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
9097
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
9105
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
9106
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
9098
9107
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
9099
|
-
* @param {string} [currency] The currency the payment is made in
|
|
9108
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
9109
|
+
* @param {Array<string>} [currencies]
|
|
9100
9110
|
* @param {number} [offset] default is 0
|
|
9101
9111
|
* @param {number} [limit] default is 500, max is 1000
|
|
9102
9112
|
* @param {*} [options] Override http request option.
|
|
9103
9113
|
* @throws {RequiredError}
|
|
9104
9114
|
*/
|
|
9105
|
-
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
|
|
9115
|
+
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponse>>;
|
|
9106
9116
|
/**
|
|
9107
9117
|
* Refresh payment attempt from payment link front-end
|
|
9108
9118
|
* @param {*} [options] Override http request option.
|
|
@@ -9116,6 +9126,12 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
9116
9126
|
* @throws {RequiredError}
|
|
9117
9127
|
*/
|
|
9118
9128
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9129
|
+
/**
|
|
9130
|
+
* Unlink payment on payment link
|
|
9131
|
+
* @param {*} [options] Override http request option.
|
|
9132
|
+
* @throws {RequiredError}
|
|
9133
|
+
*/
|
|
9134
|
+
unlinkPaymentPaymentLink(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
9119
9135
|
/**
|
|
9120
9136
|
* Update a payment user
|
|
9121
9137
|
* @param {string} paymentUserId
|
|
@@ -9138,7 +9154,7 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9138
9154
|
*/
|
|
9139
9155
|
cancelPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
|
|
9140
9156
|
/**
|
|
9141
|
-
* cancel payment on payment link
|
|
9157
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
9142
9158
|
* @param {*} [options] Override http request option.
|
|
9143
9159
|
* @throws {RequiredError}
|
|
9144
9160
|
*/
|
|
@@ -9322,15 +9338,17 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9322
9338
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
9323
9339
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
9324
9340
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
9325
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
9341
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
9342
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
9326
9343
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
9327
|
-
* @param {string} [currency] The currency the payment is made in
|
|
9344
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
9345
|
+
* @param {Array<string>} [currencies]
|
|
9328
9346
|
* @param {number} [offset] default is 0
|
|
9329
9347
|
* @param {number} [limit] default is 500, max is 1000
|
|
9330
9348
|
* @param {*} [options] Override http request option.
|
|
9331
9349
|
* @throws {RequiredError}
|
|
9332
9350
|
*/
|
|
9333
|
-
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
|
|
9351
|
+
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: any): AxiosPromise<ListPaymentsResponse>;
|
|
9334
9352
|
/**
|
|
9335
9353
|
* Refresh payment attempt from payment link front-end
|
|
9336
9354
|
* @param {*} [options] Override http request option.
|
|
@@ -9344,6 +9362,12 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
9344
9362
|
* @throws {RequiredError}
|
|
9345
9363
|
*/
|
|
9346
9364
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: any): AxiosPromise<void>;
|
|
9365
|
+
/**
|
|
9366
|
+
* Unlink payment on payment link
|
|
9367
|
+
* @param {*} [options] Override http request option.
|
|
9368
|
+
* @throws {RequiredError}
|
|
9369
|
+
*/
|
|
9370
|
+
unlinkPaymentPaymentLink(options?: any): AxiosPromise<void>;
|
|
9347
9371
|
/**
|
|
9348
9372
|
* Update a payment user
|
|
9349
9373
|
* @param {string} paymentUserId
|
|
@@ -9368,7 +9392,7 @@ export interface DefaultApiInterface {
|
|
|
9368
9392
|
*/
|
|
9369
9393
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
|
|
9370
9394
|
/**
|
|
9371
|
-
* cancel payment on payment link
|
|
9395
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
9372
9396
|
* @param {*} [options] Override http request option.
|
|
9373
9397
|
* @throws {RequiredError}
|
|
9374
9398
|
* @memberof DefaultApiInterface
|
|
@@ -9576,16 +9600,18 @@ export interface DefaultApiInterface {
|
|
|
9576
9600
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
9577
9601
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
9578
9602
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
9579
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
9603
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
9604
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
9580
9605
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
9581
|
-
* @param {string} [currency] The currency the payment is made in
|
|
9606
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
9607
|
+
* @param {Array<string>} [currencies]
|
|
9582
9608
|
* @param {number} [offset] default is 0
|
|
9583
9609
|
* @param {number} [limit] default is 500, max is 1000
|
|
9584
9610
|
* @param {*} [options] Override http request option.
|
|
9585
9611
|
* @throws {RequiredError}
|
|
9586
9612
|
* @memberof DefaultApiInterface
|
|
9587
9613
|
*/
|
|
9588
|
-
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
9614
|
+
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig): AxiosPromise<ListPaymentsResponse>;
|
|
9589
9615
|
/**
|
|
9590
9616
|
* Refresh payment attempt from payment link front-end
|
|
9591
9617
|
* @param {*} [options] Override http request option.
|
|
@@ -9601,6 +9627,13 @@ export interface DefaultApiInterface {
|
|
|
9601
9627
|
* @memberof DefaultApiInterface
|
|
9602
9628
|
*/
|
|
9603
9629
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
9630
|
+
/**
|
|
9631
|
+
* Unlink payment on payment link
|
|
9632
|
+
* @param {*} [options] Override http request option.
|
|
9633
|
+
* @throws {RequiredError}
|
|
9634
|
+
* @memberof DefaultApiInterface
|
|
9635
|
+
*/
|
|
9636
|
+
unlinkPaymentPaymentLink(options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
9604
9637
|
/**
|
|
9605
9638
|
* Update a payment user
|
|
9606
9639
|
* @param {string} paymentUserId
|
|
@@ -9627,7 +9660,7 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9627
9660
|
*/
|
|
9628
9661
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
|
|
9629
9662
|
/**
|
|
9630
|
-
* cancel payment on payment link
|
|
9663
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
9631
9664
|
* @param {*} [options] Override http request option.
|
|
9632
9665
|
* @throws {RequiredError}
|
|
9633
9666
|
* @memberof DefaultApi
|
|
@@ -9835,16 +9868,18 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9835
9868
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
9836
9869
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
9837
9870
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
9838
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
9871
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
9872
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
9839
9873
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
9840
|
-
* @param {string} [currency] The currency the payment is made in
|
|
9874
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
9875
|
+
* @param {Array<string>} [currencies]
|
|
9841
9876
|
* @param {number} [offset] default is 0
|
|
9842
9877
|
* @param {number} [limit] default is 500, max is 1000
|
|
9843
9878
|
* @param {*} [options] Override http request option.
|
|
9844
9879
|
* @throws {RequiredError}
|
|
9845
9880
|
* @memberof DefaultApi
|
|
9846
9881
|
*/
|
|
9847
|
-
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', mandateId?: string, currency?: string, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
|
|
9882
|
+
listPayments(dateFrom?: string, dateTo?: string, statuses?: Array<'AUTHORIZATION_REQUIRED' | 'AUTHORIZING' | 'PROCESSING' | 'SUBMITTED' | 'EXECUTED' | 'FAILED' | 'REVOKED'>, senderType?: 'INDIVIDUAL' | 'BUSINESS', userId?: string, institutionId?: string, paymentType?: 'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL', paymentTypes?: Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>, mandateId?: string, currency?: string, currencies?: Array<string>, offset?: number, limit?: number, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponse>>;
|
|
9848
9883
|
/**
|
|
9849
9884
|
* Refresh payment attempt from payment link front-end
|
|
9850
9885
|
* @param {*} [options] Override http request option.
|
|
@@ -9860,6 +9895,13 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
9860
9895
|
* @memberof DefaultApi
|
|
9861
9896
|
*/
|
|
9862
9897
|
setAutopayConsent(setAutopayConsentRequest: SetAutopayConsentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
9898
|
+
/**
|
|
9899
|
+
* Unlink payment on payment link
|
|
9900
|
+
* @param {*} [options] Override http request option.
|
|
9901
|
+
* @throws {RequiredError}
|
|
9902
|
+
* @memberof DefaultApi
|
|
9903
|
+
*/
|
|
9904
|
+
unlinkPaymentPaymentLink(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
9863
9905
|
/**
|
|
9864
9906
|
* Update a payment user
|
|
9865
9907
|
* @param {string} paymentUserId
|
package/dist/api.js
CHANGED
|
@@ -2146,7 +2146,7 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2146
2146
|
};
|
|
2147
2147
|
}),
|
|
2148
2148
|
/**
|
|
2149
|
-
* cancel payment on payment link
|
|
2149
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
2150
2150
|
* @param {*} [options] Override http request option.
|
|
2151
2151
|
* @throws {RequiredError}
|
|
2152
2152
|
*/
|
|
@@ -2943,15 +2943,17 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2943
2943
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
2944
2944
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
2945
2945
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
2946
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
2946
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
2947
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
2947
2948
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
2948
|
-
* @param {string} [currency] The currency the payment is made in
|
|
2949
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
2950
|
+
* @param {Array<string>} [currencies]
|
|
2949
2951
|
* @param {number} [offset] default is 0
|
|
2950
2952
|
* @param {number} [limit] default is 500, max is 1000
|
|
2951
2953
|
* @param {*} [options] Override http request option.
|
|
2952
2954
|
* @throws {RequiredError}
|
|
2953
2955
|
*/
|
|
2954
|
-
listPayments: (dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2956
|
+
listPayments: (dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2955
2957
|
const localVarPath = `/payments`;
|
|
2956
2958
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2957
2959
|
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -2988,12 +2990,18 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2988
2990
|
if (paymentType !== undefined) {
|
|
2989
2991
|
localVarQueryParameter['payment_type'] = paymentType;
|
|
2990
2992
|
}
|
|
2993
|
+
if (paymentTypes) {
|
|
2994
|
+
localVarQueryParameter['payment_types'] = paymentTypes.join(base_1.COLLECTION_FORMATS.csv);
|
|
2995
|
+
}
|
|
2991
2996
|
if (mandateId !== undefined) {
|
|
2992
2997
|
localVarQueryParameter['mandate_id'] = mandateId;
|
|
2993
2998
|
}
|
|
2994
2999
|
if (currency !== undefined) {
|
|
2995
3000
|
localVarQueryParameter['currency'] = currency;
|
|
2996
3001
|
}
|
|
3002
|
+
if (currencies) {
|
|
3003
|
+
localVarQueryParameter['currencies'] = currencies.join(base_1.COLLECTION_FORMATS.csv);
|
|
3004
|
+
}
|
|
2997
3005
|
if (offset !== undefined) {
|
|
2998
3006
|
localVarQueryParameter['offset'] = offset;
|
|
2999
3007
|
}
|
|
@@ -3067,6 +3075,33 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
3067
3075
|
options: localVarRequestOptions,
|
|
3068
3076
|
};
|
|
3069
3077
|
}),
|
|
3078
|
+
/**
|
|
3079
|
+
* Unlink payment on payment link
|
|
3080
|
+
* @param {*} [options] Override http request option.
|
|
3081
|
+
* @throws {RequiredError}
|
|
3082
|
+
*/
|
|
3083
|
+
unlinkPaymentPaymentLink: (options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
3084
|
+
const localVarPath = `/payment_link/fvlink/payment/unlink`;
|
|
3085
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
3086
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
3087
|
+
let baseOptions;
|
|
3088
|
+
if (configuration) {
|
|
3089
|
+
baseOptions = configuration.baseOptions;
|
|
3090
|
+
}
|
|
3091
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
3092
|
+
const localVarHeaderParameter = {};
|
|
3093
|
+
const localVarQueryParameter = {};
|
|
3094
|
+
// authentication Oauth2 required
|
|
3095
|
+
// oauth required
|
|
3096
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
3097
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3098
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3099
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
3100
|
+
return {
|
|
3101
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
3102
|
+
options: localVarRequestOptions,
|
|
3103
|
+
};
|
|
3104
|
+
}),
|
|
3070
3105
|
/**
|
|
3071
3106
|
* Update a payment user
|
|
3072
3107
|
* @param {string} paymentUserId
|
|
@@ -3124,7 +3159,7 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
3124
3159
|
});
|
|
3125
3160
|
},
|
|
3126
3161
|
/**
|
|
3127
|
-
* cancel payment on payment link
|
|
3162
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
3128
3163
|
* @param {*} [options] Override http request option.
|
|
3129
3164
|
* @throws {RequiredError}
|
|
3130
3165
|
*/
|
|
@@ -3428,17 +3463,19 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
3428
3463
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
3429
3464
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
3430
3465
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
3431
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
3466
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
3467
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
3432
3468
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
3433
|
-
* @param {string} [currency] The currency the payment is made in
|
|
3469
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
3470
|
+
* @param {Array<string>} [currencies]
|
|
3434
3471
|
* @param {number} [offset] default is 0
|
|
3435
3472
|
* @param {number} [limit] default is 500, max is 1000
|
|
3436
3473
|
* @param {*} [options] Override http request option.
|
|
3437
3474
|
* @throws {RequiredError}
|
|
3438
3475
|
*/
|
|
3439
|
-
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
3476
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
|
|
3440
3477
|
return __awaiter(this, void 0, void 0, function* () {
|
|
3441
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options);
|
|
3478
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options);
|
|
3442
3479
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3443
3480
|
});
|
|
3444
3481
|
},
|
|
@@ -3465,6 +3502,17 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
3465
3502
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3466
3503
|
});
|
|
3467
3504
|
},
|
|
3505
|
+
/**
|
|
3506
|
+
* Unlink payment on payment link
|
|
3507
|
+
* @param {*} [options] Override http request option.
|
|
3508
|
+
* @throws {RequiredError}
|
|
3509
|
+
*/
|
|
3510
|
+
unlinkPaymentPaymentLink(options) {
|
|
3511
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
3512
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.unlinkPaymentPaymentLink(options);
|
|
3513
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
3514
|
+
});
|
|
3515
|
+
},
|
|
3468
3516
|
/**
|
|
3469
3517
|
* Update a payment user
|
|
3470
3518
|
* @param {string} paymentUserId
|
|
@@ -3497,7 +3545,7 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3497
3545
|
return localVarFp.cancelPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
|
|
3498
3546
|
},
|
|
3499
3547
|
/**
|
|
3500
|
-
* cancel payment on payment link
|
|
3548
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
3501
3549
|
* @param {*} [options] Override http request option.
|
|
3502
3550
|
* @throws {RequiredError}
|
|
3503
3551
|
*/
|
|
@@ -3747,17 +3795,19 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3747
3795
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
3748
3796
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
3749
3797
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
3750
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
3798
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
3799
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
3751
3800
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
3752
|
-
* @param {string} [currency] The currency the payment is made in
|
|
3801
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
3802
|
+
* @param {Array<string>} [currencies]
|
|
3753
3803
|
* @param {number} [offset] default is 0
|
|
3754
3804
|
* @param {number} [limit] default is 500, max is 1000
|
|
3755
3805
|
* @param {*} [options] Override http request option.
|
|
3756
3806
|
* @throws {RequiredError}
|
|
3757
3807
|
*/
|
|
3758
|
-
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
3808
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
|
|
3759
3809
|
return localVarFp
|
|
3760
|
-
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
3810
|
+
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
|
|
3761
3811
|
.then((request) => request(axios, basePath));
|
|
3762
3812
|
},
|
|
3763
3813
|
/**
|
|
@@ -3779,6 +3829,14 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
3779
3829
|
.setAutopayConsent(setAutopayConsentRequest, options)
|
|
3780
3830
|
.then((request) => request(axios, basePath));
|
|
3781
3831
|
},
|
|
3832
|
+
/**
|
|
3833
|
+
* Unlink payment on payment link
|
|
3834
|
+
* @param {*} [options] Override http request option.
|
|
3835
|
+
* @throws {RequiredError}
|
|
3836
|
+
*/
|
|
3837
|
+
unlinkPaymentPaymentLink(options) {
|
|
3838
|
+
return localVarFp.unlinkPaymentPaymentLink(options).then((request) => request(axios, basePath));
|
|
3839
|
+
},
|
|
3782
3840
|
/**
|
|
3783
3841
|
* Update a payment user
|
|
3784
3842
|
* @param {string} paymentUserId
|
|
@@ -3813,7 +3871,7 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3813
3871
|
.then((request) => request(this.axios, this.basePath));
|
|
3814
3872
|
}
|
|
3815
3873
|
/**
|
|
3816
|
-
* cancel payment on payment link
|
|
3874
|
+
* cancel payment on payment link (Deprecated, should use unlink instead)
|
|
3817
3875
|
* @param {*} [options] Override http request option.
|
|
3818
3876
|
* @throws {RequiredError}
|
|
3819
3877
|
* @memberof DefaultApi
|
|
@@ -4117,18 +4175,20 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4117
4175
|
* @param {'INDIVIDUAL' | 'BUSINESS'} [senderType] The sender type of the mandate
|
|
4118
4176
|
* @param {string} [userId] The user_id the mandate was setup for
|
|
4119
4177
|
* @param {string} [institutionId] The institution the mandate was executed against
|
|
4120
|
-
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] The type of payment
|
|
4178
|
+
* @param {'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'} [paymentType] Deprecated - The type of payment
|
|
4179
|
+
* @param {Array<'MANDATE' | 'SINGLE' | 'CARD' | 'MANUAL'>} [paymentTypes]
|
|
4121
4180
|
* @param {string} [mandateId] The mandate the payment belongs to
|
|
4122
|
-
* @param {string} [currency] The currency the payment is made in
|
|
4181
|
+
* @param {string} [currency] Deprecated - The currency the payment is made in
|
|
4182
|
+
* @param {Array<string>} [currencies]
|
|
4123
4183
|
* @param {number} [offset] default is 0
|
|
4124
4184
|
* @param {number} [limit] default is 500, max is 1000
|
|
4125
4185
|
* @param {*} [options] Override http request option.
|
|
4126
4186
|
* @throws {RequiredError}
|
|
4127
4187
|
* @memberof DefaultApi
|
|
4128
4188
|
*/
|
|
4129
|
-
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options) {
|
|
4189
|
+
listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options) {
|
|
4130
4190
|
return exports.DefaultApiFp(this.configuration)
|
|
4131
|
-
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, mandateId, currency, offset, limit, options)
|
|
4191
|
+
.listPayments(dateFrom, dateTo, statuses, senderType, userId, institutionId, paymentType, paymentTypes, mandateId, currency, currencies, offset, limit, options)
|
|
4132
4192
|
.then((request) => request(this.axios, this.basePath));
|
|
4133
4193
|
}
|
|
4134
4194
|
/**
|
|
@@ -4154,6 +4214,17 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
4154
4214
|
.setAutopayConsent(setAutopayConsentRequest, options)
|
|
4155
4215
|
.then((request) => request(this.axios, this.basePath));
|
|
4156
4216
|
}
|
|
4217
|
+
/**
|
|
4218
|
+
* Unlink payment on payment link
|
|
4219
|
+
* @param {*} [options] Override http request option.
|
|
4220
|
+
* @throws {RequiredError}
|
|
4221
|
+
* @memberof DefaultApi
|
|
4222
|
+
*/
|
|
4223
|
+
unlinkPaymentPaymentLink(options) {
|
|
4224
|
+
return exports.DefaultApiFp(this.configuration)
|
|
4225
|
+
.unlinkPaymentPaymentLink(options)
|
|
4226
|
+
.then((request) => request(this.axios, this.basePath));
|
|
4227
|
+
}
|
|
4157
4228
|
/**
|
|
4158
4229
|
* Update a payment user
|
|
4159
4230
|
* @param {string} paymentUserId
|