@emilgroup/payment-sdk 1.13.1-beta.24 → 1.13.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 -9
- 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/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 -7
- package/dist/models/deactivated-payment-reminder-class.d.ts +1 -7
- package/dist/models/index.d.ts +0 -8
- package/dist/models/index.js +0 -8
- 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/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 +1 -7
- package/models/deactivated-payment-reminder-class.ts +1 -7
- package/models/index.ts +0 -8
- 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 -691
- package/dist/api/bank-orders-api.d.ts +0 -393
- package/dist/api/bank-orders-api.js +0 -642
- package/dist/models/bank-order-class.d.ts +0 -115
- package/dist/models/bank-order-class.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/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
|
@@ -246,17 +246,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
246
246
|
* 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\"
|
|
247
247
|
* @summary List payment reminders
|
|
248
248
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
250
|
-
* @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.
|
|
251
249
|
* @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>
|
|
252
|
-
* @param {string} [
|
|
250
|
+
* @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>
|
|
253
251
|
* @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>
|
|
254
252
|
* @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/>
|
|
255
|
-
* @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>
|
|
256
253
|
* @param {*} [options] Override http request option.
|
|
257
254
|
* @throws {RequiredError}
|
|
258
255
|
*/
|
|
259
|
-
listPaymentReminders: function (authorization,
|
|
256
|
+
listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
|
|
260
257
|
if (options === void 0) { options = {}; }
|
|
261
258
|
return __awaiter(_this, void 0, void 0, function () {
|
|
262
259
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -279,17 +276,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
279
276
|
// authentication bearer required
|
|
280
277
|
// http bearer authentication required
|
|
281
278
|
_a.sent();
|
|
282
|
-
if (pageSize !== undefined) {
|
|
283
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
284
|
-
}
|
|
285
|
-
if (pageToken !== undefined) {
|
|
286
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
287
|
-
}
|
|
288
279
|
if (filter !== undefined) {
|
|
289
280
|
localVarQueryParameter['filter'] = filter;
|
|
290
281
|
}
|
|
291
|
-
if (
|
|
292
|
-
localVarQueryParameter['
|
|
282
|
+
if (filters !== undefined) {
|
|
283
|
+
localVarQueryParameter['filters'] = filters;
|
|
293
284
|
}
|
|
294
285
|
if (order !== undefined) {
|
|
295
286
|
localVarQueryParameter['order'] = order;
|
|
@@ -297,9 +288,6 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
297
288
|
if (expand !== undefined) {
|
|
298
289
|
localVarQueryParameter['expand'] = expand;
|
|
299
290
|
}
|
|
300
|
-
if (filters !== undefined) {
|
|
301
|
-
localVarQueryParameter['filters'] = filters;
|
|
302
|
-
}
|
|
303
291
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
304
292
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
305
293
|
}
|
|
@@ -392,22 +380,19 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
392
380
|
* 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\"
|
|
393
381
|
* @summary List payment reminders
|
|
394
382
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
395
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
396
|
-
* @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.
|
|
397
383
|
* @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>
|
|
398
|
-
* @param {string} [
|
|
384
|
+
* @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>
|
|
399
385
|
* @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>
|
|
400
386
|
* @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/>
|
|
401
|
-
* @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>
|
|
402
387
|
* @param {*} [options] Override http request option.
|
|
403
388
|
* @throws {RequiredError}
|
|
404
389
|
*/
|
|
405
|
-
listPaymentReminders: function (authorization,
|
|
390
|
+
listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
|
|
406
391
|
return __awaiter(this, void 0, void 0, function () {
|
|
407
392
|
var localVarAxiosArgs;
|
|
408
393
|
return __generator(this, function (_a) {
|
|
409
394
|
switch (_a.label) {
|
|
410
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization,
|
|
395
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options)];
|
|
411
396
|
case 1:
|
|
412
397
|
localVarAxiosArgs = _a.sent();
|
|
413
398
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -463,18 +448,15 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
463
448
|
* 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\"
|
|
464
449
|
* @summary List payment reminders
|
|
465
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
467
|
-
* @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.
|
|
468
451
|
* @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>
|
|
469
|
-
* @param {string} [
|
|
452
|
+
* @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>
|
|
470
453
|
* @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>
|
|
471
454
|
* @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/>
|
|
472
|
-
* @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>
|
|
473
455
|
* @param {*} [options] Override http request option.
|
|
474
456
|
* @throws {RequiredError}
|
|
475
457
|
*/
|
|
476
|
-
listPaymentReminders: function (authorization,
|
|
477
|
-
return localVarFp.listPaymentReminders(authorization,
|
|
458
|
+
listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
|
|
459
|
+
return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
478
460
|
},
|
|
479
461
|
};
|
|
480
462
|
};
|
|
@@ -537,7 +519,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
537
519
|
PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
|
|
538
520
|
var _this = this;
|
|
539
521
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
540
|
-
return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.
|
|
522
|
+
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); });
|
|
541
523
|
};
|
|
542
524
|
return PaymentRemindersApi;
|
|
543
525
|
}(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
|
@@ -203,17 +203,14 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
203
203
|
* 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\"
|
|
204
204
|
* @summary List payments
|
|
205
205
|
* @param {string} [authorization] Bearer Token
|
|
206
|
-
* @param {
|
|
207
|
-
* @param {string} [
|
|
208
|
-
* @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>
|
|
209
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber, productSlug</i>
|
|
207
|
+
* @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>
|
|
210
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, code, amount</i>
|
|
211
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: transactions<i>
|
|
212
|
-
* @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>
|
|
213
210
|
* @param {*} [options] Override http request option.
|
|
214
211
|
* @throws {RequiredError}
|
|
215
212
|
*/
|
|
216
|
-
listPayments: function (authorization,
|
|
213
|
+
listPayments: function (authorization, filter, filters, order, expand, options) {
|
|
217
214
|
if (options === void 0) { options = {}; }
|
|
218
215
|
return __awaiter(_this, void 0, void 0, function () {
|
|
219
216
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -236,17 +233,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
236
233
|
// authentication bearer required
|
|
237
234
|
// http bearer authentication required
|
|
238
235
|
_a.sent();
|
|
239
|
-
if (pageSize !== undefined) {
|
|
240
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
241
|
-
}
|
|
242
|
-
if (pageToken !== undefined) {
|
|
243
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
244
|
-
}
|
|
245
236
|
if (filter !== undefined) {
|
|
246
237
|
localVarQueryParameter['filter'] = filter;
|
|
247
238
|
}
|
|
248
|
-
if (
|
|
249
|
-
localVarQueryParameter['
|
|
239
|
+
if (filters !== undefined) {
|
|
240
|
+
localVarQueryParameter['filters'] = filters;
|
|
250
241
|
}
|
|
251
242
|
if (order !== undefined) {
|
|
252
243
|
localVarQueryParameter['order'] = order;
|
|
@@ -254,9 +245,6 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
254
245
|
if (expand !== undefined) {
|
|
255
246
|
localVarQueryParameter['expand'] = expand;
|
|
256
247
|
}
|
|
257
|
-
if (filters !== undefined) {
|
|
258
|
-
localVarQueryParameter['filters'] = filters;
|
|
259
|
-
}
|
|
260
248
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
261
249
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
262
250
|
}
|
|
@@ -329,22 +317,19 @@ var PaymentsApiFp = function (configuration) {
|
|
|
329
317
|
* 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\"
|
|
330
318
|
* @summary List payments
|
|
331
319
|
* @param {string} [authorization] Bearer Token
|
|
332
|
-
* @param {
|
|
333
|
-
* @param {string} [
|
|
334
|
-
* @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>
|
|
335
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
320
|
+
* @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>
|
|
321
|
+
* @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>
|
|
336
322
|
* @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>
|
|
337
323
|
* @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>
|
|
338
|
-
* @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>
|
|
339
324
|
* @param {*} [options] Override http request option.
|
|
340
325
|
* @throws {RequiredError}
|
|
341
326
|
*/
|
|
342
|
-
listPayments: function (authorization,
|
|
327
|
+
listPayments: function (authorization, filter, filters, order, expand, options) {
|
|
343
328
|
return __awaiter(this, void 0, void 0, function () {
|
|
344
329
|
var localVarAxiosArgs;
|
|
345
330
|
return __generator(this, function (_a) {
|
|
346
331
|
switch (_a.label) {
|
|
347
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization,
|
|
332
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPayments(authorization, filter, filters, order, expand, options)];
|
|
348
333
|
case 1:
|
|
349
334
|
localVarAxiosArgs = _a.sent();
|
|
350
335
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -390,18 +375,15 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
390
375
|
* 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\"
|
|
391
376
|
* @summary List payments
|
|
392
377
|
* @param {string} [authorization] Bearer Token
|
|
393
|
-
* @param {
|
|
394
|
-
* @param {string} [
|
|
395
|
-
* @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>
|
|
396
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
378
|
+
* @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>
|
|
379
|
+
* @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>
|
|
397
380
|
* @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>
|
|
398
381
|
* @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>
|
|
399
|
-
* @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>
|
|
400
382
|
* @param {*} [options] Override http request option.
|
|
401
383
|
* @throws {RequiredError}
|
|
402
384
|
*/
|
|
403
|
-
listPayments: function (authorization,
|
|
404
|
-
return localVarFp.listPayments(authorization,
|
|
385
|
+
listPayments: function (authorization, filter, filters, order, expand, options) {
|
|
386
|
+
return localVarFp.listPayments(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
405
387
|
},
|
|
406
388
|
};
|
|
407
389
|
};
|
|
@@ -452,7 +434,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
452
434
|
PaymentsApi.prototype.listPayments = function (requestParameters, options) {
|
|
453
435
|
var _this = this;
|
|
454
436
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
455
|
-
return (0, exports.PaymentsApiFp)(this.configuration).listPayments(requestParameters.authorization, requestParameters.
|
|
437
|
+
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); });
|
|
456
438
|
};
|
|
457
439
|
return PaymentsApi;
|
|
458
440
|
}(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
|