@emilgroup/payment-sdk-node 1.23.1-beta.27 → 1.23.1-beta.30
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/README.md +2 -2
- package/api/bank-accounts-api.ts +16 -16
- package/api/bank-orders-api.ts +12 -12
- package/api/bank-transaction-api.ts +12 -12
- package/api/billing-addresses-api.ts +12 -12
- package/api/credit-allocation-api.ts +12 -12
- package/api/exceeding-credits-api.ts +12 -12
- package/api/payment-methods-api.ts +12 -12
- package/api/payment-reminders-api.ts +12 -12
- package/api/payment-requests-api.ts +8 -8
- package/api/payments-api.ts +12 -12
- package/api/payout-methods-api.ts +35 -18
- package/api/refunds-api.ts +12 -12
- package/api/tenant-bank-account-api.ts +12 -12
- package/dist/api/bank-accounts-api.d.ts +16 -16
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-orders-api.d.ts +12 -12
- package/dist/api/bank-orders-api.js +10 -10
- package/dist/api/bank-transaction-api.d.ts +12 -12
- package/dist/api/bank-transaction-api.js +10 -10
- package/dist/api/billing-addresses-api.d.ts +12 -12
- package/dist/api/billing-addresses-api.js +10 -10
- package/dist/api/credit-allocation-api.d.ts +12 -12
- package/dist/api/credit-allocation-api.js +10 -10
- package/dist/api/exceeding-credits-api.d.ts +12 -12
- package/dist/api/exceeding-credits-api.js +10 -10
- package/dist/api/payment-methods-api.d.ts +12 -12
- package/dist/api/payment-methods-api.js +10 -10
- package/dist/api/payment-reminders-api.d.ts +12 -12
- package/dist/api/payment-reminders-api.js +10 -10
- package/dist/api/payment-requests-api.d.ts +8 -8
- package/dist/api/payment-requests-api.js +6 -6
- package/dist/api/payments-api.d.ts +12 -12
- package/dist/api/payments-api.js +10 -10
- package/dist/api/payout-methods-api.d.ts +25 -15
- package/dist/api/payout-methods-api.js +23 -16
- package/dist/api/refunds-api.d.ts +12 -12
- package/dist/api/refunds-api.js +10 -10
- package/dist/api/tenant-bank-account-api.d.ts +12 -12
- package/dist/api/tenant-bank-account-api.js +10 -10
- package/package.json +1 -1
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CreatePayoutMethodByBankAccountRequestDto } from '../models';
|
|
15
16
|
import { CreatePayoutMethodRequestDto } from '../models';
|
|
16
17
|
import { CreatePayoutMethodResponseClass } from '../models';
|
|
17
18
|
import { GetPayoutMethodResponseClass } from '../models';
|
|
@@ -43,11 +44,12 @@ export declare const PayoutMethodsApiAxiosParamCreator: (configuration?: Configu
|
|
|
43
44
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
44
45
|
* @summary Create the Payout Method
|
|
45
46
|
* @param {string} code
|
|
47
|
+
* @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
|
|
46
48
|
* @param {string} [authorization] Bearer Token
|
|
47
49
|
* @param {*} [options] Override http request option.
|
|
48
50
|
* @throws {RequiredError}
|
|
49
51
|
*/
|
|
50
|
-
createPayoutMethodByBankAccount: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
createPayoutMethodByBankAccount: (code: string, createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
53
|
/**
|
|
52
54
|
* Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
|
|
53
55
|
* @summary Delete the Payout Method
|
|
@@ -68,16 +70,16 @@ export declare const PayoutMethodsApiAxiosParamCreator: (configuration?: Configu
|
|
|
68
70
|
*/
|
|
69
71
|
getPayoutMethod: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
72
|
/**
|
|
71
|
-
* Returns a list of Payout Methods you have previously created.
|
|
73
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
72
74
|
* @summary List Payout Methods
|
|
73
75
|
* @param {string} [authorization] Bearer Token
|
|
74
76
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
75
77
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
76
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
78
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
77
79
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
|
|
78
80
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder</i>
|
|
79
81
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
80
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
82
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
81
83
|
* @param {*} [options] Override http request option.
|
|
82
84
|
* @throws {RequiredError}
|
|
83
85
|
*/
|
|
@@ -110,11 +112,12 @@ export declare const PayoutMethodsApiFp: (configuration?: Configuration) => {
|
|
|
110
112
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
111
113
|
* @summary Create the Payout Method
|
|
112
114
|
* @param {string} code
|
|
115
|
+
* @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
|
|
113
116
|
* @param {string} [authorization] Bearer Token
|
|
114
117
|
* @param {*} [options] Override http request option.
|
|
115
118
|
* @throws {RequiredError}
|
|
116
119
|
*/
|
|
117
|
-
createPayoutMethodByBankAccount(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePayoutMethodResponseClass>>;
|
|
120
|
+
createPayoutMethodByBankAccount(code: string, createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePayoutMethodResponseClass>>;
|
|
118
121
|
/**
|
|
119
122
|
* Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
|
|
120
123
|
* @summary Delete the Payout Method
|
|
@@ -135,16 +138,16 @@ export declare const PayoutMethodsApiFp: (configuration?: Configuration) => {
|
|
|
135
138
|
*/
|
|
136
139
|
getPayoutMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPayoutMethodResponseClass>>;
|
|
137
140
|
/**
|
|
138
|
-
* Returns a list of Payout Methods you have previously created.
|
|
141
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
139
142
|
* @summary List Payout Methods
|
|
140
143
|
* @param {string} [authorization] Bearer Token
|
|
141
144
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
142
145
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
143
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
146
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
144
147
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
|
|
145
148
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder</i>
|
|
146
149
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
147
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
150
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
148
151
|
* @param {*} [options] Override http request option.
|
|
149
152
|
* @throws {RequiredError}
|
|
150
153
|
*/
|
|
@@ -177,11 +180,12 @@ export declare const PayoutMethodsApiFactory: (configuration?: Configuration, ba
|
|
|
177
180
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
178
181
|
* @summary Create the Payout Method
|
|
179
182
|
* @param {string} code
|
|
183
|
+
* @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
|
|
180
184
|
* @param {string} [authorization] Bearer Token
|
|
181
185
|
* @param {*} [options] Override http request option.
|
|
182
186
|
* @throws {RequiredError}
|
|
183
187
|
*/
|
|
184
|
-
createPayoutMethodByBankAccount(code: string, authorization?: string, options?: any): AxiosPromise<CreatePayoutMethodResponseClass>;
|
|
188
|
+
createPayoutMethodByBankAccount(code: string, createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePayoutMethodResponseClass>;
|
|
185
189
|
/**
|
|
186
190
|
* Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
|
|
187
191
|
* @summary Delete the Payout Method
|
|
@@ -202,16 +206,16 @@ export declare const PayoutMethodsApiFactory: (configuration?: Configuration, ba
|
|
|
202
206
|
*/
|
|
203
207
|
getPayoutMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPayoutMethodResponseClass>;
|
|
204
208
|
/**
|
|
205
|
-
* Returns a list of Payout Methods you have previously created.
|
|
209
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
206
210
|
* @summary List Payout Methods
|
|
207
211
|
* @param {string} [authorization] Bearer Token
|
|
208
212
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
209
213
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
210
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
214
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
211
215
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
|
|
212
216
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder</i>
|
|
213
217
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
214
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
218
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
215
219
|
* @param {*} [options] Override http request option.
|
|
216
220
|
* @throws {RequiredError}
|
|
217
221
|
*/
|
|
@@ -267,6 +271,12 @@ export interface PayoutMethodsApiCreatePayoutMethodByBankAccountRequest {
|
|
|
267
271
|
* @memberof PayoutMethodsApiCreatePayoutMethodByBankAccount
|
|
268
272
|
*/
|
|
269
273
|
readonly code: string;
|
|
274
|
+
/**
|
|
275
|
+
*
|
|
276
|
+
* @type {CreatePayoutMethodByBankAccountRequestDto}
|
|
277
|
+
* @memberof PayoutMethodsApiCreatePayoutMethodByBankAccount
|
|
278
|
+
*/
|
|
279
|
+
readonly createPayoutMethodByBankAccountRequestDto: CreatePayoutMethodByBankAccountRequestDto;
|
|
270
280
|
/**
|
|
271
281
|
* Bearer Token
|
|
272
282
|
* @type {string}
|
|
@@ -343,7 +353,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
|
|
|
343
353
|
*/
|
|
344
354
|
readonly pageToken?: string;
|
|
345
355
|
/**
|
|
346
|
-
* Filter the response by one or multiple fields.
|
|
356
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
347
357
|
* @type {string}
|
|
348
358
|
* @memberof PayoutMethodsApiListPayoutMethods
|
|
349
359
|
*/
|
|
@@ -367,7 +377,7 @@ export interface PayoutMethodsApiListPayoutMethodsRequest {
|
|
|
367
377
|
*/
|
|
368
378
|
readonly expand?: string;
|
|
369
379
|
/**
|
|
370
|
-
* Filters the response by one or multiple fields.
|
|
380
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
371
381
|
* @type {string}
|
|
372
382
|
* @memberof PayoutMethodsApiListPayoutMethods
|
|
373
383
|
*/
|
|
@@ -426,7 +436,7 @@ export declare class PayoutMethodsApi extends BaseAPI {
|
|
|
426
436
|
*/
|
|
427
437
|
getPayoutMethod(requestParameters: PayoutMethodsApiGetPayoutMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPayoutMethodResponseClass, any, {}>>;
|
|
428
438
|
/**
|
|
429
|
-
* Returns a list of Payout Methods you have previously created.
|
|
439
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
430
440
|
* @summary List Payout Methods
|
|
431
441
|
* @param {PayoutMethodsApiListPayoutMethodsRequest} requestParameters Request parameters.
|
|
432
442
|
* @param {*} [options] Override http request option.
|
|
@@ -197,11 +197,12 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
197
197
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
198
198
|
* @summary Create the Payout Method
|
|
199
199
|
* @param {string} code
|
|
200
|
+
* @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
|
|
200
201
|
* @param {string} [authorization] Bearer Token
|
|
201
202
|
* @param {*} [options] Override http request option.
|
|
202
203
|
* @throws {RequiredError}
|
|
203
204
|
*/
|
|
204
|
-
createPayoutMethodByBankAccount: function (code, authorization, options) {
|
|
205
|
+
createPayoutMethodByBankAccount: function (code, createPayoutMethodByBankAccountRequestDto, authorization, options) {
|
|
205
206
|
if (options === void 0) { options = {}; }
|
|
206
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -210,6 +211,8 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
210
211
|
case 0:
|
|
211
212
|
// verify required parameter 'code' is not null or undefined
|
|
212
213
|
(0, common_1.assertParamExists)('createPayoutMethodByBankAccount', 'code', code);
|
|
214
|
+
// verify required parameter 'createPayoutMethodByBankAccountRequestDto' is not null or undefined
|
|
215
|
+
(0, common_1.assertParamExists)('createPayoutMethodByBankAccount', 'createPayoutMethodByBankAccountRequestDto', createPayoutMethodByBankAccountRequestDto);
|
|
213
216
|
localVarPath = "/paymentservice/v1/payout-methods/bank-account/{code}"
|
|
214
217
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
215
218
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -230,9 +233,11 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
230
233
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
234
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
235
|
}
|
|
236
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
233
237
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
234
238
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
239
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
240
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPayoutMethodByBankAccountRequestDto, localVarRequestOptions, configuration);
|
|
236
241
|
return [2 /*return*/, {
|
|
237
242
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
238
243
|
options: localVarRequestOptions,
|
|
@@ -342,16 +347,16 @@ var PayoutMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
342
347
|
});
|
|
343
348
|
},
|
|
344
349
|
/**
|
|
345
|
-
* Returns a list of Payout Methods you have previously created.
|
|
350
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
346
351
|
* @summary List Payout Methods
|
|
347
352
|
* @param {string} [authorization] Bearer Token
|
|
348
353
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
349
354
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
350
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
355
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
351
356
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
|
|
352
357
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder</i>
|
|
353
358
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
354
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
359
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
355
360
|
* @param {*} [options] Override http request option.
|
|
356
361
|
* @throws {RequiredError}
|
|
357
362
|
*/
|
|
@@ -469,16 +474,17 @@ var PayoutMethodsApiFp = function (configuration) {
|
|
|
469
474
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
470
475
|
* @summary Create the Payout Method
|
|
471
476
|
* @param {string} code
|
|
477
|
+
* @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
|
|
472
478
|
* @param {string} [authorization] Bearer Token
|
|
473
479
|
* @param {*} [options] Override http request option.
|
|
474
480
|
* @throws {RequiredError}
|
|
475
481
|
*/
|
|
476
|
-
createPayoutMethodByBankAccount: function (code, authorization, options) {
|
|
482
|
+
createPayoutMethodByBankAccount: function (code, createPayoutMethodByBankAccountRequestDto, authorization, options) {
|
|
477
483
|
return __awaiter(this, void 0, void 0, function () {
|
|
478
484
|
var localVarAxiosArgs;
|
|
479
485
|
return __generator(this, function (_a) {
|
|
480
486
|
switch (_a.label) {
|
|
481
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPayoutMethodByBankAccount(code, authorization, options)];
|
|
487
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPayoutMethodByBankAccount(code, createPayoutMethodByBankAccountRequestDto, authorization, options)];
|
|
482
488
|
case 1:
|
|
483
489
|
localVarAxiosArgs = _a.sent();
|
|
484
490
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -530,16 +536,16 @@ var PayoutMethodsApiFp = function (configuration) {
|
|
|
530
536
|
});
|
|
531
537
|
},
|
|
532
538
|
/**
|
|
533
|
-
* Returns a list of Payout Methods you have previously created.
|
|
539
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
534
540
|
* @summary List Payout Methods
|
|
535
541
|
* @param {string} [authorization] Bearer Token
|
|
536
542
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
537
543
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
538
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
544
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
539
545
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
|
|
540
546
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder</i>
|
|
541
547
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
542
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
548
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
543
549
|
* @param {*} [options] Override http request option.
|
|
544
550
|
* @throws {RequiredError}
|
|
545
551
|
*/
|
|
@@ -592,12 +598,13 @@ var PayoutMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
592
598
|
* Creates a new payout method fromm existing bank account **Required Permissions** \"payment-management.payments.create\"
|
|
593
599
|
* @summary Create the Payout Method
|
|
594
600
|
* @param {string} code
|
|
601
|
+
* @param {CreatePayoutMethodByBankAccountRequestDto} createPayoutMethodByBankAccountRequestDto
|
|
595
602
|
* @param {string} [authorization] Bearer Token
|
|
596
603
|
* @param {*} [options] Override http request option.
|
|
597
604
|
* @throws {RequiredError}
|
|
598
605
|
*/
|
|
599
|
-
createPayoutMethodByBankAccount: function (code, authorization, options) {
|
|
600
|
-
return localVarFp.createPayoutMethodByBankAccount(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
606
|
+
createPayoutMethodByBankAccount: function (code, createPayoutMethodByBankAccountRequestDto, authorization, options) {
|
|
607
|
+
return localVarFp.createPayoutMethodByBankAccount(code, createPayoutMethodByBankAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
601
608
|
},
|
|
602
609
|
/**
|
|
603
610
|
* Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
|
|
@@ -623,16 +630,16 @@ var PayoutMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
623
630
|
return localVarFp.getPayoutMethod(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
624
631
|
},
|
|
625
632
|
/**
|
|
626
|
-
* Returns a list of Payout Methods you have previously created.
|
|
633
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
627
634
|
* @summary List Payout Methods
|
|
628
635
|
* @param {string} [authorization] Bearer Token
|
|
629
636
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
630
637
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
631
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
638
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
632
639
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, billingAddressCode</i>
|
|
633
640
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, isActive, createdAt, updatedAt, accountHolder</i>
|
|
634
641
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: billingAddress<i>
|
|
635
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
642
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, firstName, lastName, accountHolder, iban, bankName, accountCode, partnerCode, isActive, billingAddressCode</i>
|
|
636
643
|
* @param {*} [options] Override http request option.
|
|
637
644
|
* @throws {RequiredError}
|
|
638
645
|
*/
|
|
@@ -687,7 +694,7 @@ var PayoutMethodsApi = /** @class */ (function (_super) {
|
|
|
687
694
|
*/
|
|
688
695
|
PayoutMethodsApi.prototype.createPayoutMethodByBankAccount = function (requestParameters, options) {
|
|
689
696
|
var _this = this;
|
|
690
|
-
return (0, exports.PayoutMethodsApiFp)(this.configuration).createPayoutMethodByBankAccount(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
697
|
+
return (0, exports.PayoutMethodsApiFp)(this.configuration).createPayoutMethodByBankAccount(requestParameters.code, requestParameters.createPayoutMethodByBankAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
691
698
|
};
|
|
692
699
|
/**
|
|
693
700
|
* Deletes a payout method by its code **Required Permissions** \"payment-management.payments.delete\"
|
|
@@ -714,7 +721,7 @@ var PayoutMethodsApi = /** @class */ (function (_super) {
|
|
|
714
721
|
return (0, exports.PayoutMethodsApiFp)(this.configuration).getPayoutMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
715
722
|
};
|
|
716
723
|
/**
|
|
717
|
-
* Returns a list of Payout Methods you have previously created.
|
|
724
|
+
* Returns a list of Payout Methods you have previously created. The Payout Methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
718
725
|
* @summary List Payout Methods
|
|
719
726
|
* @param {PayoutMethodsApiListPayoutMethodsRequest} requestParameters Request parameters.
|
|
720
727
|
* @param {*} [options] Override http request option.
|
|
@@ -41,16 +41,16 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
41
41
|
*/
|
|
42
42
|
getRefund: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
43
|
/**
|
|
44
|
-
* Returns a list of refunds you have previously created.
|
|
44
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
45
45
|
* @summary List refunds
|
|
46
46
|
* @param {string} [authorization] Bearer Token
|
|
47
47
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
48
48
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
49
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
49
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
50
50
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
51
51
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, amount</i>
|
|
52
52
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: refundItems<i>
|
|
53
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
53
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
54
54
|
* @param {*} [options] Override http request option.
|
|
55
55
|
* @throws {RequiredError}
|
|
56
56
|
*/
|
|
@@ -81,16 +81,16 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
81
81
|
*/
|
|
82
82
|
getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
|
|
83
83
|
/**
|
|
84
|
-
* Returns a list of refunds you have previously created.
|
|
84
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
85
85
|
* @summary List refunds
|
|
86
86
|
* @param {string} [authorization] Bearer Token
|
|
87
87
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
88
88
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
89
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
89
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
90
90
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
91
91
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, amount</i>
|
|
92
92
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: refundItems<i>
|
|
93
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
93
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
94
94
|
* @param {*} [options] Override http request option.
|
|
95
95
|
* @throws {RequiredError}
|
|
96
96
|
*/
|
|
@@ -121,16 +121,16 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
121
121
|
*/
|
|
122
122
|
getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
|
|
123
123
|
/**
|
|
124
|
-
* Returns a list of refunds you have previously created.
|
|
124
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
125
125
|
* @summary List refunds
|
|
126
126
|
* @param {string} [authorization] Bearer Token
|
|
127
127
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
128
128
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
129
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
129
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
130
130
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
131
131
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, amount</i>
|
|
132
132
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: refundItems<i>
|
|
133
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
133
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
*/
|
|
@@ -205,7 +205,7 @@ export interface RefundsApiListRefundsRequest {
|
|
|
205
205
|
*/
|
|
206
206
|
readonly pageToken?: string;
|
|
207
207
|
/**
|
|
208
|
-
* Filter the response by one or multiple fields.
|
|
208
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
209
209
|
* @type {string}
|
|
210
210
|
* @memberof RefundsApiListRefunds
|
|
211
211
|
*/
|
|
@@ -229,7 +229,7 @@ export interface RefundsApiListRefundsRequest {
|
|
|
229
229
|
*/
|
|
230
230
|
readonly expand?: string;
|
|
231
231
|
/**
|
|
232
|
-
* Filters the response by one or multiple fields.
|
|
232
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
233
233
|
* @type {string}
|
|
234
234
|
* @memberof RefundsApiListRefunds
|
|
235
235
|
*/
|
|
@@ -261,7 +261,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
261
261
|
*/
|
|
262
262
|
getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any, {}>>;
|
|
263
263
|
/**
|
|
264
|
-
* Returns a list of refunds you have previously created.
|
|
264
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
265
265
|
* @summary List refunds
|
|
266
266
|
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
267
267
|
* @param {*} [options] Override http request option.
|
package/dist/api/refunds-api.js
CHANGED
|
@@ -198,16 +198,16 @@ var RefundsApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
});
|
|
199
199
|
},
|
|
200
200
|
/**
|
|
201
|
-
* Returns a list of refunds you have previously created.
|
|
201
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
202
202
|
* @summary List refunds
|
|
203
203
|
* @param {string} [authorization] Bearer Token
|
|
204
204
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
205
205
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
206
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
206
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
207
207
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
208
208
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, amount</i>
|
|
209
209
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: refundItems<i>
|
|
210
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
210
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
211
211
|
* @param {*} [options] Override http request option.
|
|
212
212
|
* @throws {RequiredError}
|
|
213
213
|
*/
|
|
@@ -323,16 +323,16 @@ var RefundsApiFp = function (configuration) {
|
|
|
323
323
|
});
|
|
324
324
|
},
|
|
325
325
|
/**
|
|
326
|
-
* Returns a list of refunds you have previously created.
|
|
326
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
327
327
|
* @summary List refunds
|
|
328
328
|
* @param {string} [authorization] Bearer Token
|
|
329
329
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
330
330
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
331
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
331
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
332
332
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
333
333
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, amount</i>
|
|
334
334
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: refundItems<i>
|
|
335
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
335
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
336
336
|
* @param {*} [options] Override http request option.
|
|
337
337
|
* @throws {RequiredError}
|
|
338
338
|
*/
|
|
@@ -383,16 +383,16 @@ var RefundsApiFactory = function (configuration, basePath, axios) {
|
|
|
383
383
|
return localVarFp.getRefund(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
384
384
|
},
|
|
385
385
|
/**
|
|
386
|
-
* Returns a list of refunds you have previously created.
|
|
386
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
387
387
|
* @summary List refunds
|
|
388
388
|
* @param {string} [authorization] Bearer Token
|
|
389
389
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
390
390
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
391
|
-
* @param {string} [filter] Filter the response by one or multiple fields.
|
|
391
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
392
392
|
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: id, createdAt, updatedAt, amount, psp, accountCode, invoiceCode, reason, status</i>
|
|
393
393
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt, amount</i>
|
|
394
394
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: refundItems<i>
|
|
395
|
-
* @param {string} [filters] Filters the response by one or multiple fields.
|
|
395
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, status, reason, psp, accountCode, invoiceCode</i>
|
|
396
396
|
* @param {*} [options] Override http request option.
|
|
397
397
|
* @throws {RequiredError}
|
|
398
398
|
*/
|
|
@@ -438,7 +438,7 @@ var RefundsApi = /** @class */ (function (_super) {
|
|
|
438
438
|
return (0, exports.RefundsApiFp)(this.configuration).getRefund(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
439
439
|
};
|
|
440
440
|
/**
|
|
441
|
-
* Returns a list of refunds you have previously created.
|
|
441
|
+
* Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
442
442
|
* @summary List refunds
|
|
443
443
|
* @param {RefundsApiListRefundsRequest} requestParameters Request parameters.
|
|
444
444
|
* @param {*} [options] Override http request option.
|