@finverse/sdk-typescript 0.0.181 → 0.0.183
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 +74 -214
- package/dist/api.js +127 -136
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -5051,146 +5051,6 @@ export interface PayoutDetails {
|
|
|
5051
5051
|
*/
|
|
5052
5052
|
scheduled_date: string;
|
|
5053
5053
|
}
|
|
5054
|
-
/**
|
|
5055
|
-
*
|
|
5056
|
-
* @export
|
|
5057
|
-
* @interface PayoutDetailsResponse
|
|
5058
|
-
*/
|
|
5059
|
-
export interface PayoutDetailsResponse {
|
|
5060
|
-
/**
|
|
5061
|
-
* The mandate used to execute payments for this payout instruction. Currency for the mandate must be supported by the recipient account
|
|
5062
|
-
* @type {string}
|
|
5063
|
-
* @memberof PayoutDetailsResponse
|
|
5064
|
-
*/
|
|
5065
|
-
mandate_id?: string;
|
|
5066
|
-
/**
|
|
5067
|
-
* A description for the payment (that will appear as the transaction description on bank statements)
|
|
5068
|
-
* @type {string}
|
|
5069
|
-
* @memberof PayoutDetailsResponse
|
|
5070
|
-
*/
|
|
5071
|
-
description?: string;
|
|
5072
|
-
/**
|
|
5073
|
-
* YYYY-MM-DD, date (in UTC) to execute the payment, must be 1 day later than current date
|
|
5074
|
-
* @type {string}
|
|
5075
|
-
* @memberof PayoutDetailsResponse
|
|
5076
|
-
*/
|
|
5077
|
-
scheduled_date?: string;
|
|
5078
|
-
}
|
|
5079
|
-
/**
|
|
5080
|
-
*
|
|
5081
|
-
* @export
|
|
5082
|
-
* @interface PayoutInstructionResponse
|
|
5083
|
-
*/
|
|
5084
|
-
export interface PayoutInstructionResponse {
|
|
5085
|
-
/**
|
|
5086
|
-
* Amount to be paid, in currency\'s smallest unit or “minor unit”, as defined in ISO 4217. For example, HKD 100.01 is represented as amount = 10001 (minor unit = cents). For currencies without minor units (e.g. VND, JPY), the amount is represented as is, without modification. For example, VND 15101 is represented as amount = 15101.
|
|
5087
|
-
* @type {number}
|
|
5088
|
-
* @memberof PayoutInstructionResponse
|
|
5089
|
-
*/
|
|
5090
|
-
amount?: number;
|
|
5091
|
-
/**
|
|
5092
|
-
* The currency code as defined in ISO 4217.
|
|
5093
|
-
* @type {string}
|
|
5094
|
-
* @memberof PayoutInstructionResponse
|
|
5095
|
-
*/
|
|
5096
|
-
currency?: string;
|
|
5097
|
-
/**
|
|
5098
|
-
*
|
|
5099
|
-
* @type {PayoutDetailsResponse}
|
|
5100
|
-
* @memberof PayoutInstructionResponse
|
|
5101
|
-
*/
|
|
5102
|
-
payment_details?: PayoutDetailsResponse;
|
|
5103
|
-
/**
|
|
5104
|
-
*
|
|
5105
|
-
* @type {PayoutRecipient}
|
|
5106
|
-
* @memberof PayoutInstructionResponse
|
|
5107
|
-
*/
|
|
5108
|
-
recipient?: PayoutRecipient;
|
|
5109
|
-
/**
|
|
5110
|
-
*
|
|
5111
|
-
* @type {PayoutSender}
|
|
5112
|
-
* @memberof PayoutInstructionResponse
|
|
5113
|
-
*/
|
|
5114
|
-
sender?: PayoutSender;
|
|
5115
|
-
/**
|
|
5116
|
-
* Finverse Payout Instruction ID
|
|
5117
|
-
* @type {string}
|
|
5118
|
-
* @memberof PayoutInstructionResponse
|
|
5119
|
-
*/
|
|
5120
|
-
payout_instruction_id?: string;
|
|
5121
|
-
/**
|
|
5122
|
-
* Possible values - CREATED, PROCESSING, EXECUTED, CANCELLED, FAILED.
|
|
5123
|
-
* @type {string}
|
|
5124
|
-
* @memberof PayoutInstructionResponse
|
|
5125
|
-
*/
|
|
5126
|
-
status?: PayoutInstructionResponseStatusEnum;
|
|
5127
|
-
/**
|
|
5128
|
-
* Additional attributes of the payout instruction in key:value format (e.g. payout_instruction_internal_id: 1234). It supports up to 10 key:value pairs, whereas the key and value supports up to 50 and 500 characters respectively.
|
|
5129
|
-
* @type {{ [key: string]: string; }}
|
|
5130
|
-
* @memberof PayoutInstructionResponse
|
|
5131
|
-
*/
|
|
5132
|
-
metadata?: {
|
|
5133
|
-
[key: string]: string;
|
|
5134
|
-
};
|
|
5135
|
-
/**
|
|
5136
|
-
* Timestamp of when the recipient was created in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
5137
|
-
* @type {string}
|
|
5138
|
-
* @memberof PayoutInstructionResponse
|
|
5139
|
-
*/
|
|
5140
|
-
created_at?: string;
|
|
5141
|
-
/**
|
|
5142
|
-
* Timestamp of when the recipient was last updated in ISO format (YYYY-MM-DDTHH:MM:SS.SSSZ)
|
|
5143
|
-
* @type {string}
|
|
5144
|
-
* @memberof PayoutInstructionResponse
|
|
5145
|
-
*/
|
|
5146
|
-
updated_at?: string;
|
|
5147
|
-
/**
|
|
5148
|
-
*
|
|
5149
|
-
* @type {FvErrorModelV2}
|
|
5150
|
-
* @memberof PayoutInstructionResponse
|
|
5151
|
-
*/
|
|
5152
|
-
error?: FvErrorModelV2;
|
|
5153
|
-
}
|
|
5154
|
-
export declare const PayoutInstructionResponseStatusEnum: {
|
|
5155
|
-
readonly Created: "CREATED";
|
|
5156
|
-
readonly Processing: "PROCESSING";
|
|
5157
|
-
readonly Executed: "EXECUTED";
|
|
5158
|
-
readonly Cancelled: "CANCELLED";
|
|
5159
|
-
readonly Failed: "FAILED";
|
|
5160
|
-
};
|
|
5161
|
-
export declare type PayoutInstructionResponseStatusEnum = (typeof PayoutInstructionResponseStatusEnum)[keyof typeof PayoutInstructionResponseStatusEnum];
|
|
5162
|
-
/**
|
|
5163
|
-
*
|
|
5164
|
-
* @export
|
|
5165
|
-
* @interface PayoutRecipient
|
|
5166
|
-
*/
|
|
5167
|
-
export interface PayoutRecipient {
|
|
5168
|
-
/**
|
|
5169
|
-
* Merchant account name
|
|
5170
|
-
* @type {string}
|
|
5171
|
-
* @memberof PayoutRecipient
|
|
5172
|
-
*/
|
|
5173
|
-
name?: string;
|
|
5174
|
-
/**
|
|
5175
|
-
* Merchant account ID assigned by Finverse
|
|
5176
|
-
* @type {string}
|
|
5177
|
-
* @memberof PayoutRecipient
|
|
5178
|
-
*/
|
|
5179
|
-
account_id?: string;
|
|
5180
|
-
}
|
|
5181
|
-
/**
|
|
5182
|
-
*
|
|
5183
|
-
* @export
|
|
5184
|
-
* @interface PayoutSender
|
|
5185
|
-
*/
|
|
5186
|
-
export interface PayoutSender {
|
|
5187
|
-
/**
|
|
5188
|
-
*
|
|
5189
|
-
* @type {string}
|
|
5190
|
-
* @memberof PayoutSender
|
|
5191
|
-
*/
|
|
5192
|
-
name?: string;
|
|
5193
|
-
}
|
|
5194
5054
|
/**
|
|
5195
5055
|
*
|
|
5196
5056
|
* @export
|
|
@@ -6195,13 +6055,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6195
6055
|
* @throws {RequiredError}
|
|
6196
6056
|
*/
|
|
6197
6057
|
authorizeMandate: (mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6198
|
-
/**
|
|
6199
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
6200
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6201
|
-
* @param {*} [options] Override http request option.
|
|
6202
|
-
* @throws {RequiredError}
|
|
6203
|
-
*/
|
|
6204
|
-
cancelPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6205
6058
|
/**
|
|
6206
6059
|
* CREATE Mandate
|
|
6207
6060
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -6322,13 +6175,6 @@ export declare const CustomerApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
6322
6175
|
* @throws {RequiredError}
|
|
6323
6176
|
*/
|
|
6324
6177
|
getPaymentUser: (paymentUserId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6325
|
-
/**
|
|
6326
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
6327
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6328
|
-
* @param {*} [options] Override http request option.
|
|
6329
|
-
* @throws {RequiredError}
|
|
6330
|
-
*/
|
|
6331
|
-
getPayoutInstruction: (payoutInstructionId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6332
6178
|
/**
|
|
6333
6179
|
* Get a list of institutions
|
|
6334
6180
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -6381,13 +6227,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
6381
6227
|
* @throws {RequiredError}
|
|
6382
6228
|
*/
|
|
6383
6229
|
authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetMandateResponse>>;
|
|
6384
|
-
/**
|
|
6385
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
6386
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6387
|
-
* @param {*} [options] Override http request option.
|
|
6388
|
-
* @throws {RequiredError}
|
|
6389
|
-
*/
|
|
6390
|
-
cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
|
|
6391
6230
|
/**
|
|
6392
6231
|
* CREATE Mandate
|
|
6393
6232
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -6508,13 +6347,6 @@ export declare const CustomerApiFp: (configuration?: Configuration) => {
|
|
|
6508
6347
|
* @throws {RequiredError}
|
|
6509
6348
|
*/
|
|
6510
6349
|
getPaymentUser(paymentUserId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentUser>>;
|
|
6511
|
-
/**
|
|
6512
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
6513
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6514
|
-
* @param {*} [options] Override http request option.
|
|
6515
|
-
* @throws {RequiredError}
|
|
6516
|
-
*/
|
|
6517
|
-
getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutInstructionResponse>>;
|
|
6518
6350
|
/**
|
|
6519
6351
|
* Get a list of institutions
|
|
6520
6352
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -6567,13 +6399,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
6567
6399
|
* @throws {RequiredError}
|
|
6568
6400
|
*/
|
|
6569
6401
|
authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: any): AxiosPromise<GetMandateResponse>;
|
|
6570
|
-
/**
|
|
6571
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
6572
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6573
|
-
* @param {*} [options] Override http request option.
|
|
6574
|
-
* @throws {RequiredError}
|
|
6575
|
-
*/
|
|
6576
|
-
cancelPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
|
|
6577
6402
|
/**
|
|
6578
6403
|
* CREATE Mandate
|
|
6579
6404
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -6694,13 +6519,6 @@ export declare const CustomerApiFactory: (configuration?: Configuration, basePat
|
|
|
6694
6519
|
* @throws {RequiredError}
|
|
6695
6520
|
*/
|
|
6696
6521
|
getPaymentUser(paymentUserId: string, options?: any): AxiosPromise<PaymentUser>;
|
|
6697
|
-
/**
|
|
6698
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
6699
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6700
|
-
* @param {*} [options] Override http request option.
|
|
6701
|
-
* @throws {RequiredError}
|
|
6702
|
-
*/
|
|
6703
|
-
getPayoutInstruction(payoutInstructionId: string, options?: any): AxiosPromise<PayoutInstructionResponse>;
|
|
6704
6522
|
/**
|
|
6705
6523
|
* Get a list of institutions
|
|
6706
6524
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -6755,14 +6573,6 @@ export interface CustomerApiInterface {
|
|
|
6755
6573
|
* @memberof CustomerApiInterface
|
|
6756
6574
|
*/
|
|
6757
6575
|
authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig): AxiosPromise<GetMandateResponse>;
|
|
6758
|
-
/**
|
|
6759
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
6760
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6761
|
-
* @param {*} [options] Override http request option.
|
|
6762
|
-
* @throws {RequiredError}
|
|
6763
|
-
* @memberof CustomerApiInterface
|
|
6764
|
-
*/
|
|
6765
|
-
cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
|
|
6766
6576
|
/**
|
|
6767
6577
|
* CREATE Mandate
|
|
6768
6578
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -6900,14 +6710,6 @@ export interface CustomerApiInterface {
|
|
|
6900
6710
|
* @memberof CustomerApiInterface
|
|
6901
6711
|
*/
|
|
6902
6712
|
getPaymentUser(paymentUserId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentUser>;
|
|
6903
|
-
/**
|
|
6904
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
6905
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6906
|
-
* @param {*} [options] Override http request option.
|
|
6907
|
-
* @throws {RequiredError}
|
|
6908
|
-
* @memberof CustomerApiInterface
|
|
6909
|
-
*/
|
|
6910
|
-
getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutInstructionResponse>;
|
|
6911
6713
|
/**
|
|
6912
6714
|
* Get a list of institutions
|
|
6913
6715
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -6968,14 +6770,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
6968
6770
|
* @memberof CustomerApi
|
|
6969
6771
|
*/
|
|
6970
6772
|
authorizeMandate(mandateId: string, authorizeMandateRequest: AuthorizeMandateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetMandateResponse>>;
|
|
6971
|
-
/**
|
|
6972
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
6973
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
6974
|
-
* @param {*} [options] Override http request option.
|
|
6975
|
-
* @throws {RequiredError}
|
|
6976
|
-
* @memberof CustomerApi
|
|
6977
|
-
*/
|
|
6978
|
-
cancelPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
|
|
6979
6773
|
/**
|
|
6980
6774
|
* CREATE Mandate
|
|
6981
6775
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -7113,14 +6907,6 @@ export declare class CustomerApi extends BaseAPI implements CustomerApiInterface
|
|
|
7113
6907
|
* @memberof CustomerApi
|
|
7114
6908
|
*/
|
|
7115
6909
|
getPaymentUser(paymentUserId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentUser>>;
|
|
7116
|
-
/**
|
|
7117
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
7118
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
7119
|
-
* @param {*} [options] Override http request option.
|
|
7120
|
-
* @throws {RequiredError}
|
|
7121
|
-
* @memberof CustomerApi
|
|
7122
|
-
*/
|
|
7123
|
-
getPayoutInstruction(payoutInstructionId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutInstructionResponse>>;
|
|
7124
6910
|
/**
|
|
7125
6911
|
* Get a list of institutions
|
|
7126
6912
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -7177,6 +6963,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7177
6963
|
* @throws {RequiredError}
|
|
7178
6964
|
*/
|
|
7179
6965
|
cancelPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
6966
|
+
/**
|
|
6967
|
+
* Cancel Payout by payout_id
|
|
6968
|
+
* @param {string} payoutId payout id
|
|
6969
|
+
* @param {*} [options] Override http request option.
|
|
6970
|
+
* @throws {RequiredError}
|
|
6971
|
+
*/
|
|
6972
|
+
cancelPayout: (payoutId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7180
6973
|
/**
|
|
7181
6974
|
* Submit manual payment confirmation
|
|
7182
6975
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -7245,6 +7038,13 @@ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration
|
|
|
7245
7038
|
* @throws {RequiredError}
|
|
7246
7039
|
*/
|
|
7247
7040
|
getPaymentLink: (paymentLinkId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7041
|
+
/**
|
|
7042
|
+
* Get payout by payout_id
|
|
7043
|
+
* @param {string} payoutId payout id
|
|
7044
|
+
* @param {*} [options] Override http request option.
|
|
7045
|
+
* @throws {RequiredError}
|
|
7046
|
+
*/
|
|
7047
|
+
getPayoutById: (payoutId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7248
7048
|
/**
|
|
7249
7049
|
* Get sender payment user for mandate
|
|
7250
7050
|
* @param {*} [options] Override http request option.
|
|
@@ -7302,6 +7102,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7302
7102
|
* @throws {RequiredError}
|
|
7303
7103
|
*/
|
|
7304
7104
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
|
|
7105
|
+
/**
|
|
7106
|
+
* Cancel Payout by payout_id
|
|
7107
|
+
* @param {string} payoutId payout id
|
|
7108
|
+
* @param {*} [options] Override http request option.
|
|
7109
|
+
* @throws {RequiredError}
|
|
7110
|
+
*/
|
|
7111
|
+
cancelPayout(payoutId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
|
|
7305
7112
|
/**
|
|
7306
7113
|
* Submit manual payment confirmation
|
|
7307
7114
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -7370,6 +7177,13 @@ export declare const DefaultApiFp: (configuration?: Configuration) => {
|
|
|
7370
7177
|
* @throws {RequiredError}
|
|
7371
7178
|
*/
|
|
7372
7179
|
getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PaymentLinkResponse>>;
|
|
7180
|
+
/**
|
|
7181
|
+
* Get payout by payout_id
|
|
7182
|
+
* @param {string} payoutId payout id
|
|
7183
|
+
* @param {*} [options] Override http request option.
|
|
7184
|
+
* @throws {RequiredError}
|
|
7185
|
+
*/
|
|
7186
|
+
getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PayoutSnapshotResponse>>;
|
|
7373
7187
|
/**
|
|
7374
7188
|
* Get sender payment user for mandate
|
|
7375
7189
|
* @param {*} [options] Override http request option.
|
|
@@ -7427,6 +7241,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7427
7241
|
* @throws {RequiredError}
|
|
7428
7242
|
*/
|
|
7429
7243
|
cancelPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
|
|
7244
|
+
/**
|
|
7245
|
+
* Cancel Payout by payout_id
|
|
7246
|
+
* @param {string} payoutId payout id
|
|
7247
|
+
* @param {*} [options] Override http request option.
|
|
7248
|
+
* @throws {RequiredError}
|
|
7249
|
+
*/
|
|
7250
|
+
cancelPayout(payoutId: string, options?: any): AxiosPromise<PayoutSnapshotResponse>;
|
|
7430
7251
|
/**
|
|
7431
7252
|
* Submit manual payment confirmation
|
|
7432
7253
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -7495,6 +7316,13 @@ export declare const DefaultApiFactory: (configuration?: Configuration, basePath
|
|
|
7495
7316
|
* @throws {RequiredError}
|
|
7496
7317
|
*/
|
|
7497
7318
|
getPaymentLink(paymentLinkId: string, options?: any): AxiosPromise<PaymentLinkResponse>;
|
|
7319
|
+
/**
|
|
7320
|
+
* Get payout by payout_id
|
|
7321
|
+
* @param {string} payoutId payout id
|
|
7322
|
+
* @param {*} [options] Override http request option.
|
|
7323
|
+
* @throws {RequiredError}
|
|
7324
|
+
*/
|
|
7325
|
+
getPayoutById(payoutId: string, options?: any): AxiosPromise<PayoutSnapshotResponse>;
|
|
7498
7326
|
/**
|
|
7499
7327
|
* Get sender payment user for mandate
|
|
7500
7328
|
* @param {*} [options] Override http request option.
|
|
@@ -7554,6 +7382,14 @@ export interface DefaultApiInterface {
|
|
|
7554
7382
|
* @memberof DefaultApiInterface
|
|
7555
7383
|
*/
|
|
7556
7384
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
|
|
7385
|
+
/**
|
|
7386
|
+
* Cancel Payout by payout_id
|
|
7387
|
+
* @param {string} payoutId payout id
|
|
7388
|
+
* @param {*} [options] Override http request option.
|
|
7389
|
+
* @throws {RequiredError}
|
|
7390
|
+
* @memberof DefaultApiInterface
|
|
7391
|
+
*/
|
|
7392
|
+
cancelPayout(payoutId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
|
|
7557
7393
|
/**
|
|
7558
7394
|
* Submit manual payment confirmation
|
|
7559
7395
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -7632,6 +7468,14 @@ export interface DefaultApiInterface {
|
|
|
7632
7468
|
* @memberof DefaultApiInterface
|
|
7633
7469
|
*/
|
|
7634
7470
|
getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): AxiosPromise<PaymentLinkResponse>;
|
|
7471
|
+
/**
|
|
7472
|
+
* Get payout by payout_id
|
|
7473
|
+
* @param {string} payoutId payout id
|
|
7474
|
+
* @param {*} [options] Override http request option.
|
|
7475
|
+
* @throws {RequiredError}
|
|
7476
|
+
* @memberof DefaultApiInterface
|
|
7477
|
+
*/
|
|
7478
|
+
getPayoutById(payoutId: string, options?: AxiosRequestConfig): AxiosPromise<PayoutSnapshotResponse>;
|
|
7635
7479
|
/**
|
|
7636
7480
|
* Get sender payment user for mandate
|
|
7637
7481
|
* @param {*} [options] Override http request option.
|
|
@@ -7696,6 +7540,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7696
7540
|
* @memberof DefaultApi
|
|
7697
7541
|
*/
|
|
7698
7542
|
cancelPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
|
|
7543
|
+
/**
|
|
7544
|
+
* Cancel Payout by payout_id
|
|
7545
|
+
* @param {string} payoutId payout id
|
|
7546
|
+
* @param {*} [options] Override http request option.
|
|
7547
|
+
* @throws {RequiredError}
|
|
7548
|
+
* @memberof DefaultApi
|
|
7549
|
+
*/
|
|
7550
|
+
cancelPayout(payoutId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
|
|
7699
7551
|
/**
|
|
7700
7552
|
* Submit manual payment confirmation
|
|
7701
7553
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -7774,6 +7626,14 @@ export declare class DefaultApi extends BaseAPI implements DefaultApiInterface {
|
|
|
7774
7626
|
* @memberof DefaultApi
|
|
7775
7627
|
*/
|
|
7776
7628
|
getPaymentLink(paymentLinkId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PaymentLinkResponse>>;
|
|
7629
|
+
/**
|
|
7630
|
+
* Get payout by payout_id
|
|
7631
|
+
* @param {string} payoutId payout id
|
|
7632
|
+
* @param {*} [options] Override http request option.
|
|
7633
|
+
* @throws {RequiredError}
|
|
7634
|
+
* @memberof DefaultApi
|
|
7635
|
+
*/
|
|
7636
|
+
getPayoutById(payoutId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PayoutSnapshotResponse>>;
|
|
7777
7637
|
/**
|
|
7778
7638
|
* Get sender payment user for mandate
|
|
7779
7639
|
* @param {*} [options] Override http request option.
|
package/dist/api.js
CHANGED
|
@@ -22,7 +22,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.
|
|
25
|
+
exports.PublicApi = exports.PublicApiFactory = exports.PublicApiFp = exports.PublicApiAxiosParamCreator = exports.LoginIdentityApi = exports.LoginIdentityApiFactory = exports.LoginIdentityApiFp = exports.LoginIdentityApiAxiosParamCreator = exports.LinkApi = exports.LinkApiFactory = exports.LinkApiFp = exports.LinkApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CustomerApi = exports.CustomerApiFactory = exports.CustomerApiFp = exports.CustomerApiAxiosParamCreator = exports.TransactionLimitsPeriodEnum = exports.SubmitAuthChecklistResponseMandateStatusEnum = exports.SenderDetailDetailsTypeEnum = exports.RecipientAccountResponseAccountTypeEnum = exports.RecipientAccountNumberTypeEnum = exports.PaymentUserUserTypeEnum = exports.PaymentScheduleFrequencyEnum = exports.PaymentResponseStatusEnum = exports.PaymentResponseTypeEnum = exports.PaymentLinkTokenResponseTokenTypeEnum = exports.PaymentLinkResponseStatusEnum = exports.PaymentLinkResponseModeEnum = exports.PaymentLinkCustomizationsUiModeEnum = exports.PaymentInstructionTypeEnum = exports.PaymentInfoPaymentsSupportedEnum = exports.PaymentAccountDetailsAccountTypeEnum = exports.MandateSenderAccountAccountTypeEnum = exports.MandateRecipientAccountAccountTypeEnum = exports.MandateAuthLinkCustomizationsUiModeEnum = exports.LoginMethodStatusEnum = exports.LinkTokenRequestAutomaticDataRefreshEnum = exports.LinkTokenRequestUiModeEnum = exports.LineItemItemTypeEnum = exports.InstitutionStatusEnum = exports.InstitutionUserTypeEnum = exports.InstitutionProductsSupportedEnum = exports.InstitutionInstitutionTypeEnum = exports.InstitutionTagsEnum = exports.GetMandateSenderUserTypeEnum = exports.GetMandateResponseStatusEnum = exports.GetMandateAuthResponseSenderTypeEnum = exports.GetMandateAuthResponseMandateStatusEnum = exports.GetMandateAuthLinkResponseTokenTypeEnum = exports.GetBalanceHistoryResponseSourceEnum = exports.FvErrorModelV2TypeEnum = exports.FvErrorModelTypeEnum = exports.FeePaidByEnum = exports.CustomerPaymentInstructionTypeEnum = exports.CreateRecipientAccountAccountTypeEnum = exports.CreatePaymentUserRequestUserTypeEnum = exports.CreatePaymentRequestTypeEnum = exports.CreatePaymentLinkRequestModeEnum = exports.CreatePaymentLinkMandateRequestSenderTypeEnum = exports.CreatePaymentAccountRequestAccountTypeEnum = exports.CreateMandateSenderUserTypeEnum = exports.CreateMandateResponseStatusEnum = exports.BadRequestModelV2ErrorTypeEnum = exports.AuthChecklistOptionsSubmittedByEnum = exports.AuthChecklistOptionsNameEnum = exports.AuthChecklistFactorRequiredEnum = exports.AuthChecklistFactorTypeEnum = exports.AccountTypeSubtypeEnum = exports.AccountTypeTypeEnum = void 0;
|
|
26
26
|
const axios_1 = require("axios");
|
|
27
27
|
// Some imports not used depending on template conditions
|
|
28
28
|
// @ts-ignore
|
|
@@ -266,13 +266,6 @@ exports.PaymentUserUserTypeEnum = {
|
|
|
266
266
|
Individual: 'INDIVIDUAL',
|
|
267
267
|
Business: 'BUSINESS',
|
|
268
268
|
};
|
|
269
|
-
exports.PayoutInstructionResponseStatusEnum = {
|
|
270
|
-
Created: 'CREATED',
|
|
271
|
-
Processing: 'PROCESSING',
|
|
272
|
-
Executed: 'EXECUTED',
|
|
273
|
-
Cancelled: 'CANCELLED',
|
|
274
|
-
Failed: 'FAILED',
|
|
275
|
-
};
|
|
276
269
|
exports.RecipientAccountNumberTypeEnum = {
|
|
277
270
|
Local: 'LOCAL',
|
|
278
271
|
Iban: 'IBAN',
|
|
@@ -341,36 +334,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
341
334
|
options: localVarRequestOptions,
|
|
342
335
|
};
|
|
343
336
|
}),
|
|
344
|
-
/**
|
|
345
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
346
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
347
|
-
* @param {*} [options] Override http request option.
|
|
348
|
-
* @throws {RequiredError}
|
|
349
|
-
*/
|
|
350
|
-
cancelPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
351
|
-
// verify required parameter 'payoutInstructionId' is not null or undefined
|
|
352
|
-
common_1.assertParamExists('cancelPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
|
|
353
|
-
const localVarPath = `/payout_instructions/{payoutInstructionId}/cancel`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
|
|
354
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
355
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
356
|
-
let baseOptions;
|
|
357
|
-
if (configuration) {
|
|
358
|
-
baseOptions = configuration.baseOptions;
|
|
359
|
-
}
|
|
360
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
361
|
-
const localVarHeaderParameter = {};
|
|
362
|
-
const localVarQueryParameter = {};
|
|
363
|
-
// authentication Oauth2 required
|
|
364
|
-
// oauth required
|
|
365
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
366
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
367
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
368
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
369
|
-
return {
|
|
370
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
371
|
-
options: localVarRequestOptions,
|
|
372
|
-
};
|
|
373
|
-
}),
|
|
374
337
|
/**
|
|
375
338
|
* CREATE Mandate
|
|
376
339
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -900,36 +863,6 @@ exports.CustomerApiAxiosParamCreator = function (configuration) {
|
|
|
900
863
|
options: localVarRequestOptions,
|
|
901
864
|
};
|
|
902
865
|
}),
|
|
903
|
-
/**
|
|
904
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
905
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
906
|
-
* @param {*} [options] Override http request option.
|
|
907
|
-
* @throws {RequiredError}
|
|
908
|
-
*/
|
|
909
|
-
getPayoutInstruction: (payoutInstructionId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
910
|
-
// verify required parameter 'payoutInstructionId' is not null or undefined
|
|
911
|
-
common_1.assertParamExists('getPayoutInstruction', 'payoutInstructionId', payoutInstructionId);
|
|
912
|
-
const localVarPath = `/payout_instructions/{payoutInstructionId}`.replace(`{${'payoutInstructionId'}}`, encodeURIComponent(String(payoutInstructionId)));
|
|
913
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
914
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
915
|
-
let baseOptions;
|
|
916
|
-
if (configuration) {
|
|
917
|
-
baseOptions = configuration.baseOptions;
|
|
918
|
-
}
|
|
919
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
920
|
-
const localVarHeaderParameter = {};
|
|
921
|
-
const localVarQueryParameter = {};
|
|
922
|
-
// authentication Oauth2 required
|
|
923
|
-
// oauth required
|
|
924
|
-
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
925
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
926
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
927
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
928
|
-
return {
|
|
929
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
930
|
-
options: localVarRequestOptions,
|
|
931
|
-
};
|
|
932
|
-
}),
|
|
933
866
|
/**
|
|
934
867
|
* Get a list of institutions
|
|
935
868
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -1121,18 +1054,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
1121
1054
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1122
1055
|
});
|
|
1123
1056
|
},
|
|
1124
|
-
/**
|
|
1125
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
1126
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
1127
|
-
* @param {*} [options] Override http request option.
|
|
1128
|
-
* @throws {RequiredError}
|
|
1129
|
-
*/
|
|
1130
|
-
cancelPayoutInstruction(payoutInstructionId, options) {
|
|
1131
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1132
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPayoutInstruction(payoutInstructionId, options);
|
|
1133
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1134
|
-
});
|
|
1135
|
-
},
|
|
1136
1057
|
/**
|
|
1137
1058
|
* CREATE Mandate
|
|
1138
1059
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -1338,18 +1259,6 @@ exports.CustomerApiFp = function (configuration) {
|
|
|
1338
1259
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1339
1260
|
});
|
|
1340
1261
|
},
|
|
1341
|
-
/**
|
|
1342
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
1343
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
1344
|
-
* @param {*} [options] Override http request option.
|
|
1345
|
-
* @throws {RequiredError}
|
|
1346
|
-
*/
|
|
1347
|
-
getPayoutInstruction(payoutInstructionId, options) {
|
|
1348
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1349
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayoutInstruction(payoutInstructionId, options);
|
|
1350
|
-
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
1351
|
-
});
|
|
1352
|
-
},
|
|
1353
1262
|
/**
|
|
1354
1263
|
* Get a list of institutions
|
|
1355
1264
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -1434,17 +1343,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1434
1343
|
.authorizeMandate(mandateId, authorizeMandateRequest, options)
|
|
1435
1344
|
.then((request) => request(axios, basePath));
|
|
1436
1345
|
},
|
|
1437
|
-
/**
|
|
1438
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
1439
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
1440
|
-
* @param {*} [options] Override http request option.
|
|
1441
|
-
* @throws {RequiredError}
|
|
1442
|
-
*/
|
|
1443
|
-
cancelPayoutInstruction(payoutInstructionId, options) {
|
|
1444
|
-
return localVarFp
|
|
1445
|
-
.cancelPayoutInstruction(payoutInstructionId, options)
|
|
1446
|
-
.then((request) => request(axios, basePath));
|
|
1447
|
-
},
|
|
1448
1346
|
/**
|
|
1449
1347
|
* CREATE Mandate
|
|
1450
1348
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -1613,15 +1511,6 @@ exports.CustomerApiFactory = function (configuration, basePath, axios) {
|
|
|
1613
1511
|
getPaymentUser(paymentUserId, options) {
|
|
1614
1512
|
return localVarFp.getPaymentUser(paymentUserId, options).then((request) => request(axios, basePath));
|
|
1615
1513
|
},
|
|
1616
|
-
/**
|
|
1617
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
1618
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
1619
|
-
* @param {*} [options] Override http request option.
|
|
1620
|
-
* @throws {RequiredError}
|
|
1621
|
-
*/
|
|
1622
|
-
getPayoutInstruction(payoutInstructionId, options) {
|
|
1623
|
-
return localVarFp.getPayoutInstruction(payoutInstructionId, options).then((request) => request(axios, basePath));
|
|
1624
|
-
},
|
|
1625
1514
|
/**
|
|
1626
1515
|
* Get a list of institutions
|
|
1627
1516
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -1696,18 +1585,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1696
1585
|
.authorizeMandate(mandateId, authorizeMandateRequest, options)
|
|
1697
1586
|
.then((request) => request(this.axios, this.basePath));
|
|
1698
1587
|
}
|
|
1699
|
-
/**
|
|
1700
|
-
* Cancel Payout Instruction by payout_instruction_id
|
|
1701
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
1702
|
-
* @param {*} [options] Override http request option.
|
|
1703
|
-
* @throws {RequiredError}
|
|
1704
|
-
* @memberof CustomerApi
|
|
1705
|
-
*/
|
|
1706
|
-
cancelPayoutInstruction(payoutInstructionId, options) {
|
|
1707
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1708
|
-
.cancelPayoutInstruction(payoutInstructionId, options)
|
|
1709
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1710
|
-
}
|
|
1711
1588
|
/**
|
|
1712
1589
|
* CREATE Mandate
|
|
1713
1590
|
* @param {CreateMandateRequest} createMandateRequest request body for creating mandate
|
|
@@ -1913,18 +1790,6 @@ class CustomerApi extends base_1.BaseAPI {
|
|
|
1913
1790
|
.getPaymentUser(paymentUserId, options)
|
|
1914
1791
|
.then((request) => request(this.axios, this.basePath));
|
|
1915
1792
|
}
|
|
1916
|
-
/**
|
|
1917
|
-
* Get Payout Instruction details by payout_instruction_id
|
|
1918
|
-
* @param {string} payoutInstructionId payout instruction id
|
|
1919
|
-
* @param {*} [options] Override http request option.
|
|
1920
|
-
* @throws {RequiredError}
|
|
1921
|
-
* @memberof CustomerApi
|
|
1922
|
-
*/
|
|
1923
|
-
getPayoutInstruction(payoutInstructionId, options) {
|
|
1924
|
-
return exports.CustomerApiFp(this.configuration)
|
|
1925
|
-
.getPayoutInstruction(payoutInstructionId, options)
|
|
1926
|
-
.then((request) => request(this.axios, this.basePath));
|
|
1927
|
-
}
|
|
1928
1793
|
/**
|
|
1929
1794
|
* Get a list of institutions
|
|
1930
1795
|
* @param {string} [country] (Deprecated) The country the institution belongs to
|
|
@@ -2026,6 +1891,36 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2026
1891
|
options: localVarRequestOptions,
|
|
2027
1892
|
};
|
|
2028
1893
|
}),
|
|
1894
|
+
/**
|
|
1895
|
+
* Cancel Payout by payout_id
|
|
1896
|
+
* @param {string} payoutId payout id
|
|
1897
|
+
* @param {*} [options] Override http request option.
|
|
1898
|
+
* @throws {RequiredError}
|
|
1899
|
+
*/
|
|
1900
|
+
cancelPayout: (payoutId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
1901
|
+
// verify required parameter 'payoutId' is not null or undefined
|
|
1902
|
+
common_1.assertParamExists('cancelPayout', 'payoutId', payoutId);
|
|
1903
|
+
const localVarPath = `/payouts/{payoutId}/cancel`.replace(`{${'payoutId'}}`, encodeURIComponent(String(payoutId)));
|
|
1904
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1905
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
1906
|
+
let baseOptions;
|
|
1907
|
+
if (configuration) {
|
|
1908
|
+
baseOptions = configuration.baseOptions;
|
|
1909
|
+
}
|
|
1910
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
1911
|
+
const localVarHeaderParameter = {};
|
|
1912
|
+
const localVarQueryParameter = {};
|
|
1913
|
+
// authentication Oauth2 required
|
|
1914
|
+
// oauth required
|
|
1915
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
1916
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1917
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1918
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
1919
|
+
return {
|
|
1920
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
1921
|
+
options: localVarRequestOptions,
|
|
1922
|
+
};
|
|
1923
|
+
}),
|
|
2029
1924
|
/**
|
|
2030
1925
|
* Submit manual payment confirmation
|
|
2031
1926
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -2336,6 +2231,36 @@ exports.DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
2336
2231
|
options: localVarRequestOptions,
|
|
2337
2232
|
};
|
|
2338
2233
|
}),
|
|
2234
|
+
/**
|
|
2235
|
+
* Get payout by payout_id
|
|
2236
|
+
* @param {string} payoutId payout id
|
|
2237
|
+
* @param {*} [options] Override http request option.
|
|
2238
|
+
* @throws {RequiredError}
|
|
2239
|
+
*/
|
|
2240
|
+
getPayoutById: (payoutId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
2241
|
+
// verify required parameter 'payoutId' is not null or undefined
|
|
2242
|
+
common_1.assertParamExists('getPayoutById', 'payoutId', payoutId);
|
|
2243
|
+
const localVarPath = `/payouts/{payoutId}`.replace(`{${'payoutId'}}`, encodeURIComponent(String(payoutId)));
|
|
2244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2245
|
+
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
2246
|
+
let baseOptions;
|
|
2247
|
+
if (configuration) {
|
|
2248
|
+
baseOptions = configuration.baseOptions;
|
|
2249
|
+
}
|
|
2250
|
+
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
2251
|
+
const localVarHeaderParameter = {};
|
|
2252
|
+
const localVarQueryParameter = {};
|
|
2253
|
+
// authentication Oauth2 required
|
|
2254
|
+
// oauth required
|
|
2255
|
+
yield common_1.setOAuthToObject(localVarHeaderParameter, 'Oauth2', [], configuration);
|
|
2256
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2257
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2258
|
+
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
2259
|
+
return {
|
|
2260
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
2261
|
+
options: localVarRequestOptions,
|
|
2262
|
+
};
|
|
2263
|
+
}),
|
|
2339
2264
|
/**
|
|
2340
2265
|
* Get sender payment user for mandate
|
|
2341
2266
|
* @param {*} [options] Override http request option.
|
|
@@ -2550,6 +2475,18 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2550
2475
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2551
2476
|
});
|
|
2552
2477
|
},
|
|
2478
|
+
/**
|
|
2479
|
+
* Cancel Payout by payout_id
|
|
2480
|
+
* @param {string} payoutId payout id
|
|
2481
|
+
* @param {*} [options] Override http request option.
|
|
2482
|
+
* @throws {RequiredError}
|
|
2483
|
+
*/
|
|
2484
|
+
cancelPayout(payoutId, options) {
|
|
2485
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2486
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.cancelPayout(payoutId, options);
|
|
2487
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2488
|
+
});
|
|
2489
|
+
},
|
|
2553
2490
|
/**
|
|
2554
2491
|
* Submit manual payment confirmation
|
|
2555
2492
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -2668,6 +2605,18 @@ exports.DefaultApiFp = function (configuration) {
|
|
|
2668
2605
|
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2669
2606
|
});
|
|
2670
2607
|
},
|
|
2608
|
+
/**
|
|
2609
|
+
* Get payout by payout_id
|
|
2610
|
+
* @param {string} payoutId payout id
|
|
2611
|
+
* @param {*} [options] Override http request option.
|
|
2612
|
+
* @throws {RequiredError}
|
|
2613
|
+
*/
|
|
2614
|
+
getPayoutById(payoutId, options) {
|
|
2615
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
2616
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.getPayoutById(payoutId, options);
|
|
2617
|
+
return common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
2618
|
+
});
|
|
2619
|
+
},
|
|
2671
2620
|
/**
|
|
2672
2621
|
* Get sender payment user for mandate
|
|
2673
2622
|
* @param {*} [options] Override http request option.
|
|
@@ -2750,6 +2699,15 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2750
2699
|
cancelPaymentLink(paymentLinkId, options) {
|
|
2751
2700
|
return localVarFp.cancelPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
|
|
2752
2701
|
},
|
|
2702
|
+
/**
|
|
2703
|
+
* Cancel Payout by payout_id
|
|
2704
|
+
* @param {string} payoutId payout id
|
|
2705
|
+
* @param {*} [options] Override http request option.
|
|
2706
|
+
* @throws {RequiredError}
|
|
2707
|
+
*/
|
|
2708
|
+
cancelPayout(payoutId, options) {
|
|
2709
|
+
return localVarFp.cancelPayout(payoutId, options).then((request) => request(axios, basePath));
|
|
2710
|
+
},
|
|
2753
2711
|
/**
|
|
2754
2712
|
* Submit manual payment confirmation
|
|
2755
2713
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -2848,6 +2806,15 @@ exports.DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
2848
2806
|
getPaymentLink(paymentLinkId, options) {
|
|
2849
2807
|
return localVarFp.getPaymentLink(paymentLinkId, options).then((request) => request(axios, basePath));
|
|
2850
2808
|
},
|
|
2809
|
+
/**
|
|
2810
|
+
* Get payout by payout_id
|
|
2811
|
+
* @param {string} payoutId payout id
|
|
2812
|
+
* @param {*} [options] Override http request option.
|
|
2813
|
+
* @throws {RequiredError}
|
|
2814
|
+
*/
|
|
2815
|
+
getPayoutById(payoutId, options) {
|
|
2816
|
+
return localVarFp.getPayoutById(payoutId, options).then((request) => request(axios, basePath));
|
|
2817
|
+
},
|
|
2851
2818
|
/**
|
|
2852
2819
|
* Get sender payment user for mandate
|
|
2853
2820
|
* @param {*} [options] Override http request option.
|
|
@@ -2927,6 +2894,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
2927
2894
|
.cancelPaymentLink(paymentLinkId, options)
|
|
2928
2895
|
.then((request) => request(this.axios, this.basePath));
|
|
2929
2896
|
}
|
|
2897
|
+
/**
|
|
2898
|
+
* Cancel Payout by payout_id
|
|
2899
|
+
* @param {string} payoutId payout id
|
|
2900
|
+
* @param {*} [options] Override http request option.
|
|
2901
|
+
* @throws {RequiredError}
|
|
2902
|
+
* @memberof DefaultApi
|
|
2903
|
+
*/
|
|
2904
|
+
cancelPayout(payoutId, options) {
|
|
2905
|
+
return exports.DefaultApiFp(this.configuration)
|
|
2906
|
+
.cancelPayout(payoutId, options)
|
|
2907
|
+
.then((request) => request(this.axios, this.basePath));
|
|
2908
|
+
}
|
|
2930
2909
|
/**
|
|
2931
2910
|
* Submit manual payment confirmation
|
|
2932
2911
|
* @param {ManualPaymentConfirmationRequest} manualPaymentIdentifiers Request body containing information to identify manual payment
|
|
@@ -3045,6 +3024,18 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
3045
3024
|
.getPaymentLink(paymentLinkId, options)
|
|
3046
3025
|
.then((request) => request(this.axios, this.basePath));
|
|
3047
3026
|
}
|
|
3027
|
+
/**
|
|
3028
|
+
* Get payout by payout_id
|
|
3029
|
+
* @param {string} payoutId payout id
|
|
3030
|
+
* @param {*} [options] Override http request option.
|
|
3031
|
+
* @throws {RequiredError}
|
|
3032
|
+
* @memberof DefaultApi
|
|
3033
|
+
*/
|
|
3034
|
+
getPayoutById(payoutId, options) {
|
|
3035
|
+
return exports.DefaultApiFp(this.configuration)
|
|
3036
|
+
.getPayoutById(payoutId, options)
|
|
3037
|
+
.then((request) => request(this.axios, this.basePath));
|
|
3038
|
+
}
|
|
3048
3039
|
/**
|
|
3049
3040
|
* Get sender payment user for mandate
|
|
3050
3041
|
* @param {*} [options] Override http request option.
|