@emilgroup/payment-sdk-node 1.21.1-beta.25 → 1.21.1-beta.26
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/.openapi-generator/FILES +0 -10
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +13 -55
- package/api/bank-transaction-api.ts +17 -45
- package/api/payment-methods-api.ts +17 -59
- package/api/payment-reminders-api.ts +13 -55
- package/api/payments-api.ts +17 -59
- package/api/refunds-api.ts +17 -45
- package/api/tenant-bank-account-api.ts +17 -45
- package/api.ts +0 -2
- package/dist/api/bank-accounts-api.d.ts +8 -35
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +10 -28
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +12 -39
- package/dist/api/payment-methods-api.js +14 -32
- package/dist/api/payment-reminders-api.d.ts +8 -35
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payments-api.d.ts +12 -39
- package/dist/api/payments-api.js +14 -32
- package/dist/api/refunds-api.d.ts +10 -28
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +10 -28
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-adyen-payment-setup-request-dto.js +1 -2
- package/dist/models/complete-payment-setup-request-dto.d.ts +0 -7
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -1
- package/dist/models/complete-stripe-payment-setup-request-dto.js +1 -2
- package/dist/models/create-payment-reminder-request-dto.d.ts +1 -7
- package/dist/models/create-payment-request-dto.d.ts +1 -7
- package/dist/models/create-psp-payment-method-request-dto.d.ts +1 -14
- package/dist/models/create-psp-payment-method-request-dto.js +1 -2
- package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -6
- package/dist/models/payment-class-without-expand-properties.d.ts +1 -7
- package/dist/models/payment-class.d.ts +1 -7
- package/dist/models/payment-reminder-class.d.ts +1 -7
- package/dist/models/refund-class.d.ts +1 -7
- package/models/complete-adyen-payment-setup-request-dto.ts +1 -2
- package/models/complete-payment-setup-request-dto.ts +0 -7
- package/models/complete-stripe-payment-setup-request-dto.ts +1 -2
- package/models/create-payment-reminder-request-dto.ts +1 -7
- package/models/create-payment-request-dto.ts +1 -7
- package/models/create-psp-payment-method-request-dto.ts +2 -15
- package/models/deactivated-payment-reminder-class.ts +1 -7
- package/models/index.ts +0 -9
- package/models/initiate-adyen-payment-setup-request-dto.ts +0 -6
- package/models/initiate-braintree-payment-setup-request-dto.ts +0 -6
- package/models/initiate-stripe-payment-setup-request-dto.ts +0 -6
- package/models/payment-class-without-expand-properties.ts +1 -7
- package/models/payment-class.ts +1 -7
- package/models/payment-reminder-class.ts +1 -7
- package/models/refund-class.ts +1 -7
- package/package.json +1 -1
- package/api/bank-orders-api.ts +0 -695
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -646
- package/dist/models/bank-order-class.d.ts +0 -115
- package/dist/models/bank-order-class.js +0 -15
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +0 -42
- package/dist/models/complete-eis-payment-setup-request-dto.js +0 -15
- package/dist/models/create-bank-order-request-dto.d.ts +0 -74
- package/dist/models/create-bank-order-request-dto.js +0 -28
- package/dist/models/create-bank-order-response-class.d.ts +0 -25
- package/dist/models/create-bank-order-response-class.js +0 -15
- package/dist/models/financial-account-class.d.ts +0 -111
- package/dist/models/financial-account-class.js +0 -24
- package/dist/models/get-bank-order-response-class.d.ts +0 -25
- package/dist/models/get-bank-order-response-class.js +0 -15
- package/dist/models/list-bank-orders-response-class.d.ts +0 -31
- package/dist/models/list-bank-orders-response-class.js +0 -15
- package/dist/models/update-bank-order-request-dto.d.ts +0 -56
- package/dist/models/update-bank-order-request-dto.js +0 -23
- package/dist/models/update-bank-order-response-class.d.ts +0 -25
- package/dist/models/update-bank-order-response-class.js +0 -15
- package/models/bank-order-class.ts +0 -121
- package/models/complete-eis-payment-setup-request-dto.ts +0 -48
- package/models/create-bank-order-request-dto.ts +0 -84
- package/models/create-bank-order-response-class.ts +0 -31
- package/models/financial-account-class.ts +0 -120
- package/models/get-bank-order-response-class.ts +0 -31
- package/models/list-bank-orders-response-class.ts +0 -37
- package/models/update-bank-order-request-dto.ts +0 -65
- package/models/update-bank-order-response-class.ts +0 -31
|
@@ -250,17 +250,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
250
250
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
|
|
251
251
|
* @summary List payment reminders
|
|
252
252
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
253
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
254
|
-
* @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.
|
|
255
253
|
* @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, policyCode, nextReminderDate</i>
|
|
256
|
-
* @param {string} [
|
|
254
|
+
* @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, policyCode, nextReminderDate</i>
|
|
257
255
|
* @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</i>
|
|
258
256
|
* @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/>
|
|
259
|
-
* @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, policyCode, nextReminderDate</i>
|
|
260
257
|
* @param {*} [options] Override http request option.
|
|
261
258
|
* @throws {RequiredError}
|
|
262
259
|
*/
|
|
263
|
-
listPaymentReminders: function (authorization,
|
|
260
|
+
listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
|
|
264
261
|
if (options === void 0) { options = {}; }
|
|
265
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
266
263
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -283,17 +280,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
283
280
|
// authentication bearer required
|
|
284
281
|
// http bearer authentication required
|
|
285
282
|
_a.sent();
|
|
286
|
-
if (pageSize !== undefined) {
|
|
287
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
288
|
-
}
|
|
289
|
-
if (pageToken !== undefined) {
|
|
290
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
291
|
-
}
|
|
292
283
|
if (filter !== undefined) {
|
|
293
284
|
localVarQueryParameter['filter'] = filter;
|
|
294
285
|
}
|
|
295
|
-
if (
|
|
296
|
-
localVarQueryParameter['
|
|
286
|
+
if (filters !== undefined) {
|
|
287
|
+
localVarQueryParameter['filters'] = filters;
|
|
297
288
|
}
|
|
298
289
|
if (order !== undefined) {
|
|
299
290
|
localVarQueryParameter['order'] = order;
|
|
@@ -301,9 +292,6 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
301
292
|
if (expand !== undefined) {
|
|
302
293
|
localVarQueryParameter['expand'] = expand;
|
|
303
294
|
}
|
|
304
|
-
if (filters !== undefined) {
|
|
305
|
-
localVarQueryParameter['filters'] = filters;
|
|
306
|
-
}
|
|
307
295
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
308
296
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
309
297
|
}
|
|
@@ -396,22 +384,19 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
396
384
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
|
|
397
385
|
* @summary List payment reminders
|
|
398
386
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
399
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
400
|
-
* @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.
|
|
401
387
|
* @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, policyCode, nextReminderDate</i>
|
|
402
|
-
* @param {string} [
|
|
388
|
+
* @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, policyCode, nextReminderDate</i>
|
|
403
389
|
* @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</i>
|
|
404
390
|
* @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/>
|
|
405
|
-
* @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, policyCode, nextReminderDate</i>
|
|
406
391
|
* @param {*} [options] Override http request option.
|
|
407
392
|
* @throws {RequiredError}
|
|
408
393
|
*/
|
|
409
|
-
listPaymentReminders: function (authorization,
|
|
394
|
+
listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
|
|
410
395
|
return __awaiter(this, void 0, void 0, function () {
|
|
411
396
|
var localVarAxiosArgs;
|
|
412
397
|
return __generator(this, function (_a) {
|
|
413
398
|
switch (_a.label) {
|
|
414
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization,
|
|
399
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options)];
|
|
415
400
|
case 1:
|
|
416
401
|
localVarAxiosArgs = _a.sent();
|
|
417
402
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -467,18 +452,15 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
467
452
|
* Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
|
|
468
453
|
* @summary List payment reminders
|
|
469
454
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
470
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
471
|
-
* @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.
|
|
472
455
|
* @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, policyCode, nextReminderDate</i>
|
|
473
|
-
* @param {string} [
|
|
456
|
+
* @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, policyCode, nextReminderDate</i>
|
|
474
457
|
* @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</i>
|
|
475
458
|
* @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/>
|
|
476
|
-
* @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, policyCode, nextReminderDate</i>
|
|
477
459
|
* @param {*} [options] Override http request option.
|
|
478
460
|
* @throws {RequiredError}
|
|
479
461
|
*/
|
|
480
|
-
listPaymentReminders: function (authorization,
|
|
481
|
-
return localVarFp.listPaymentReminders(authorization,
|
|
462
|
+
listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
|
|
463
|
+
return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
482
464
|
},
|
|
483
465
|
};
|
|
484
466
|
};
|
|
@@ -541,7 +523,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
541
523
|
PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
|
|
542
524
|
var _this = this;
|
|
543
525
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
544
|
-
return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.
|
|
526
|
+
return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
545
527
|
};
|
|
546
528
|
return PaymentRemindersApi;
|
|
547
529
|
}(base_1.BaseAPI));
|
|
@@ -45,17 +45,14 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
45
45
|
* Returns a list of payments you have previously created. The payments 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\"
|
|
46
46
|
* @summary List payments
|
|
47
47
|
* @param {string} [authorization] Bearer Token
|
|
48
|
-
* @param {
|
|
49
|
-
* @param {string} [
|
|
50
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
51
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
48
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
49
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
52
50
|
* @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, code, amount</i>
|
|
53
51
|
* @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: transactions<i>
|
|
54
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
55
52
|
* @param {*} [options] Override http request option.
|
|
56
53
|
* @throws {RequiredError}
|
|
57
54
|
*/
|
|
58
|
-
listPayments: (authorization?: string,
|
|
55
|
+
listPayments: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
59
56
|
};
|
|
60
57
|
/**
|
|
61
58
|
* PaymentsApi - functional programming interface
|
|
@@ -86,17 +83,14 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
86
83
|
* Returns a list of payments you have previously created. The payments 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\"
|
|
87
84
|
* @summary List payments
|
|
88
85
|
* @param {string} [authorization] Bearer Token
|
|
89
|
-
* @param {
|
|
90
|
-
* @param {string} [
|
|
91
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
92
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
86
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
87
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
93
88
|
* @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, code, amount</i>
|
|
94
89
|
* @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: transactions<i>
|
|
95
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
96
90
|
* @param {*} [options] Override http request option.
|
|
97
91
|
* @throws {RequiredError}
|
|
98
92
|
*/
|
|
99
|
-
listPayments(authorization?: string,
|
|
93
|
+
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>>;
|
|
100
94
|
};
|
|
101
95
|
/**
|
|
102
96
|
* PaymentsApi - factory interface
|
|
@@ -127,17 +121,14 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
127
121
|
* Returns a list of payments you have previously created. The payments 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\"
|
|
128
122
|
* @summary List payments
|
|
129
123
|
* @param {string} [authorization] Bearer Token
|
|
130
|
-
* @param {
|
|
131
|
-
* @param {string} [
|
|
132
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
133
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
124
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
125
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
134
126
|
* @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, code, amount</i>
|
|
135
127
|
* @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: transactions<i>
|
|
136
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
137
128
|
* @param {*} [options] Override http request option.
|
|
138
129
|
* @throws {RequiredError}
|
|
139
130
|
*/
|
|
140
|
-
listPayments(authorization?: string,
|
|
131
|
+
listPayments(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentsResponseClass>;
|
|
141
132
|
};
|
|
142
133
|
/**
|
|
143
134
|
* Request parameters for createPayment operation in PaymentsApi.
|
|
@@ -202,29 +193,17 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
202
193
|
*/
|
|
203
194
|
readonly authorization?: string;
|
|
204
195
|
/**
|
|
205
|
-
*
|
|
206
|
-
* @type {number}
|
|
207
|
-
* @memberof PaymentsApiListPayments
|
|
208
|
-
*/
|
|
209
|
-
readonly pageSize?: number;
|
|
210
|
-
/**
|
|
211
|
-
* 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.
|
|
212
|
-
* @type {string}
|
|
213
|
-
* @memberof PaymentsApiListPayments
|
|
214
|
-
*/
|
|
215
|
-
readonly pageToken?: string;
|
|
216
|
-
/**
|
|
217
|
-
* 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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
196
|
+
* 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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
218
197
|
* @type {string}
|
|
219
198
|
* @memberof PaymentsApiListPayments
|
|
220
199
|
*/
|
|
221
200
|
readonly filter?: string;
|
|
222
201
|
/**
|
|
223
|
-
*
|
|
202
|
+
* 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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
224
203
|
* @type {string}
|
|
225
204
|
* @memberof PaymentsApiListPayments
|
|
226
205
|
*/
|
|
227
|
-
readonly
|
|
206
|
+
readonly filters?: string;
|
|
228
207
|
/**
|
|
229
208
|
* 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, code, amount</i>
|
|
230
209
|
* @type {string}
|
|
@@ -237,12 +216,6 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
237
216
|
* @memberof PaymentsApiListPayments
|
|
238
217
|
*/
|
|
239
218
|
readonly expand?: string;
|
|
240
|
-
/**
|
|
241
|
-
* 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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
242
|
-
* @type {string}
|
|
243
|
-
* @memberof PaymentsApiListPayments
|
|
244
|
-
*/
|
|
245
|
-
readonly filters?: string;
|
|
246
219
|
}
|
|
247
220
|
/**
|
|
248
221
|
* PaymentsApi - object-oriented interface
|
package/dist/api/payments-api.js
CHANGED
|
@@ -207,17 +207,14 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
207
207
|
* Returns a list of payments you have previously created. The payments 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\"
|
|
208
208
|
* @summary List payments
|
|
209
209
|
* @param {string} [authorization] Bearer Token
|
|
210
|
-
* @param {
|
|
211
|
-
* @param {string} [
|
|
212
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
213
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
210
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
211
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
214
212
|
* @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, code, amount</i>
|
|
215
213
|
* @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: transactions<i>
|
|
216
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
217
214
|
* @param {*} [options] Override http request option.
|
|
218
215
|
* @throws {RequiredError}
|
|
219
216
|
*/
|
|
220
|
-
listPayments: function (authorization,
|
|
217
|
+
listPayments: function (authorization, filter, filters, order, expand, options) {
|
|
221
218
|
if (options === void 0) { options = {}; }
|
|
222
219
|
return __awaiter(_this, void 0, void 0, function () {
|
|
223
220
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -240,17 +237,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
240
237
|
// authentication bearer required
|
|
241
238
|
// http bearer authentication required
|
|
242
239
|
_a.sent();
|
|
243
|
-
if (pageSize !== undefined) {
|
|
244
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
245
|
-
}
|
|
246
|
-
if (pageToken !== undefined) {
|
|
247
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
248
|
-
}
|
|
249
240
|
if (filter !== undefined) {
|
|
250
241
|
localVarQueryParameter['filter'] = filter;
|
|
251
242
|
}
|
|
252
|
-
if (
|
|
253
|
-
localVarQueryParameter['
|
|
243
|
+
if (filters !== undefined) {
|
|
244
|
+
localVarQueryParameter['filters'] = filters;
|
|
254
245
|
}
|
|
255
246
|
if (order !== undefined) {
|
|
256
247
|
localVarQueryParameter['order'] = order;
|
|
@@ -258,9 +249,6 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
258
249
|
if (expand !== undefined) {
|
|
259
250
|
localVarQueryParameter['expand'] = expand;
|
|
260
251
|
}
|
|
261
|
-
if (filters !== undefined) {
|
|
262
|
-
localVarQueryParameter['filters'] = filters;
|
|
263
|
-
}
|
|
264
252
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
265
253
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
266
254
|
}
|
|
@@ -333,22 +321,19 @@ var PaymentsApiFp = function (configuration) {
|
|
|
333
321
|
* Returns a list of payments you have previously created. The payments 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\"
|
|
334
322
|
* @summary List payments
|
|
335
323
|
* @param {string} [authorization] Bearer Token
|
|
336
|
-
* @param {
|
|
337
|
-
* @param {string} [
|
|
338
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
339
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
324
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
325
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
340
326
|
* @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, code, amount</i>
|
|
341
327
|
* @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: transactions<i>
|
|
342
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
343
328
|
* @param {*} [options] Override http request option.
|
|
344
329
|
* @throws {RequiredError}
|
|
345
330
|
*/
|
|
346
|
-
listPayments: function (authorization,
|
|
331
|
+
listPayments: function (authorization, filter, filters, order, expand, options) {
|
|
347
332
|
return __awaiter(this, void 0, void 0, function () {
|
|
348
333
|
var localVarAxiosArgs;
|
|
349
334
|
return __generator(this, function (_a) {
|
|
350
335
|
switch (_a.label) {
|
|
351
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization,
|
|
336
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options)];
|
|
352
337
|
case 1:
|
|
353
338
|
localVarAxiosArgs = _a.sent();
|
|
354
339
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -394,18 +379,15 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
394
379
|
* Returns a list of payments you have previously created. The payments 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\"
|
|
395
380
|
* @summary List payments
|
|
396
381
|
* @param {string} [authorization] Bearer Token
|
|
397
|
-
* @param {
|
|
398
|
-
* @param {string} [
|
|
399
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
400
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
382
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
383
|
+
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
401
384
|
* @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, code, amount</i>
|
|
402
385
|
* @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: transactions<i>
|
|
403
|
-
* @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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug, accountCode, partnerCode</i>
|
|
404
386
|
* @param {*} [options] Override http request option.
|
|
405
387
|
* @throws {RequiredError}
|
|
406
388
|
*/
|
|
407
|
-
listPayments: function (authorization,
|
|
408
|
-
return localVarFp.listPayments(authorization,
|
|
389
|
+
listPayments: function (authorization, filter, filters, order, expand, options) {
|
|
390
|
+
return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
409
391
|
},
|
|
410
392
|
};
|
|
411
393
|
};
|
|
@@ -456,7 +438,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
456
438
|
PaymentsApi.prototype.listPayments = function (requestParameters, options) {
|
|
457
439
|
var _this = this;
|
|
458
440
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
459
|
-
return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.
|
|
441
|
+
return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
460
442
|
};
|
|
461
443
|
return PaymentsApi;
|
|
462
444
|
}(base_1.BaseAPI));
|
|
@@ -44,17 +44,15 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
44
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
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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
47
|
* @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>
|
|
48
|
+
* @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>
|
|
50
49
|
* @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
50
|
* @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
51
|
* @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. 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
52
|
* @param {*} [options] Override http request option.
|
|
55
53
|
* @throws {RequiredError}
|
|
56
54
|
*/
|
|
57
|
-
listRefunds: (authorization?: string,
|
|
55
|
+
listRefunds: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
56
|
};
|
|
59
57
|
/**
|
|
60
58
|
* RefundsApi - functional programming interface
|
|
@@ -84,17 +82,15 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
84
82
|
* 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
83
|
* @summary List refunds
|
|
86
84
|
* @param {string} [authorization] Bearer Token
|
|
87
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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
85
|
* @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>
|
|
86
|
+
* @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>
|
|
90
87
|
* @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
88
|
* @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
89
|
* @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. 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
90
|
* @param {*} [options] Override http request option.
|
|
95
91
|
* @throws {RequiredError}
|
|
96
92
|
*/
|
|
97
|
-
listRefunds(authorization?: string,
|
|
93
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>>;
|
|
98
94
|
};
|
|
99
95
|
/**
|
|
100
96
|
* RefundsApi - factory interface
|
|
@@ -124,17 +120,15 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
124
120
|
* 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
121
|
* @summary List refunds
|
|
126
122
|
* @param {string} [authorization] Bearer Token
|
|
127
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
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
123
|
* @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>
|
|
124
|
+
* @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>
|
|
130
125
|
* @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
126
|
* @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
127
|
* @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. 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
128
|
* @param {*} [options] Override http request option.
|
|
135
129
|
* @throws {RequiredError}
|
|
136
130
|
*/
|
|
137
|
-
listRefunds(authorization?: string,
|
|
131
|
+
listRefunds(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListRefundsResponseClass>;
|
|
138
132
|
};
|
|
139
133
|
/**
|
|
140
134
|
* Request parameters for createRefund operation in RefundsApi.
|
|
@@ -193,23 +187,17 @@ export interface RefundsApiListRefundsRequest {
|
|
|
193
187
|
*/
|
|
194
188
|
readonly authorization?: string;
|
|
195
189
|
/**
|
|
196
|
-
*
|
|
197
|
-
* @type {number}
|
|
198
|
-
* @memberof RefundsApiListRefunds
|
|
199
|
-
*/
|
|
200
|
-
readonly pageSize?: number;
|
|
201
|
-
/**
|
|
202
|
-
* 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.
|
|
190
|
+
* 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>
|
|
203
191
|
* @type {string}
|
|
204
192
|
* @memberof RefundsApiListRefunds
|
|
205
193
|
*/
|
|
206
|
-
readonly
|
|
194
|
+
readonly filter?: string;
|
|
207
195
|
/**
|
|
208
|
-
*
|
|
196
|
+
* 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>
|
|
209
197
|
* @type {string}
|
|
210
198
|
* @memberof RefundsApiListRefunds
|
|
211
199
|
*/
|
|
212
|
-
readonly
|
|
200
|
+
readonly filters?: string;
|
|
213
201
|
/**
|
|
214
202
|
* 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>
|
|
215
203
|
* @type {string}
|
|
@@ -228,12 +216,6 @@ export interface RefundsApiListRefundsRequest {
|
|
|
228
216
|
* @memberof RefundsApiListRefunds
|
|
229
217
|
*/
|
|
230
218
|
readonly expand?: string;
|
|
231
|
-
/**
|
|
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
|
-
* @type {string}
|
|
234
|
-
* @memberof RefundsApiListRefunds
|
|
235
|
-
*/
|
|
236
|
-
readonly filters?: string;
|
|
237
219
|
}
|
|
238
220
|
/**
|
|
239
221
|
* RefundsApi - object-oriented interface
|