@emilgroup/payment-sdk 1.4.1-beta.37 → 1.4.1-beta.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +14 -56
- package/api/bank-transaction-api.ts +18 -46
- package/api/payment-methods-api.ts +14 -56
- package/api/payment-reminders-api.ts +14 -56
- package/api/payments-api.ts +14 -56
- package/api/refunds-api.ts +18 -46
- package/api/tenant-bank-account-api.ts +18 -46
- package/dist/api/bank-accounts-api.d.ts +9 -36
- package/dist/api/bank-accounts-api.js +11 -29
- package/dist/api/bank-transaction-api.d.ts +11 -29
- package/dist/api/bank-transaction-api.js +12 -24
- package/dist/api/payment-methods-api.d.ts +9 -36
- package/dist/api/payment-methods-api.js +11 -29
- package/dist/api/payment-reminders-api.d.ts +9 -36
- package/dist/api/payment-reminders-api.js +11 -29
- package/dist/api/payments-api.d.ts +9 -36
- package/dist/api/payments-api.js +11 -29
- package/dist/api/refunds-api.d.ts +11 -29
- package/dist/api/refunds-api.js +12 -24
- package/dist/api/tenant-bank-account-api.d.ts +11 -29
- package/dist/api/tenant-bank-account-api.js +12 -24
- package/package.json +1 -1
|
@@ -253,17 +253,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
253
253
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
254
254
|
* @summary List bank transactions
|
|
255
255
|
* @param {string} [authorization] Bearer Token
|
|
256
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
257
|
-
* @param {any} [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.
|
|
258
256
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
257
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
259
258
|
* @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, amount</i>
|
|
260
259
|
* @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, amount, transactionDate, entryDate</i>
|
|
261
260
|
* @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: bankAccount, transaction<i>
|
|
262
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
263
261
|
* @param {*} [options] Override http request option.
|
|
264
262
|
* @throws {RequiredError}
|
|
265
263
|
*/
|
|
266
|
-
listBankTransactions: function (authorization,
|
|
264
|
+
listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
|
|
267
265
|
if (options === void 0) { options = {}; }
|
|
268
266
|
return __awaiter(_this, void 0, void 0, function () {
|
|
269
267
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -286,15 +284,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
286
284
|
// authentication bearer required
|
|
287
285
|
// http bearer authentication required
|
|
288
286
|
_a.sent();
|
|
289
|
-
if (pageSize !== undefined) {
|
|
290
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
291
|
-
}
|
|
292
|
-
if (pageToken !== undefined) {
|
|
293
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
294
|
-
}
|
|
295
287
|
if (filter !== undefined) {
|
|
296
288
|
localVarQueryParameter['filter'] = filter;
|
|
297
289
|
}
|
|
290
|
+
if (filters !== undefined) {
|
|
291
|
+
localVarQueryParameter['filters'] = filters;
|
|
292
|
+
}
|
|
298
293
|
if (search !== undefined) {
|
|
299
294
|
localVarQueryParameter['search'] = search;
|
|
300
295
|
}
|
|
@@ -304,9 +299,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
304
299
|
if (expand !== undefined) {
|
|
305
300
|
localVarQueryParameter['expand'] = expand;
|
|
306
301
|
}
|
|
307
|
-
if (filters !== undefined) {
|
|
308
|
-
localVarQueryParameter['filters'] = filters;
|
|
309
|
-
}
|
|
310
302
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
311
303
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
312
304
|
}
|
|
@@ -453,22 +445,20 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
453
445
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
454
446
|
* @summary List bank transactions
|
|
455
447
|
* @param {string} [authorization] Bearer Token
|
|
456
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
457
|
-
* @param {any} [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.
|
|
458
448
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
449
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
459
450
|
* @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, amount</i>
|
|
460
451
|
* @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, amount, transactionDate, entryDate</i>
|
|
461
452
|
* @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: bankAccount, transaction<i>
|
|
462
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
463
453
|
* @param {*} [options] Override http request option.
|
|
464
454
|
* @throws {RequiredError}
|
|
465
455
|
*/
|
|
466
|
-
listBankTransactions: function (authorization,
|
|
456
|
+
listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
|
|
467
457
|
return __awaiter(this, void 0, void 0, function () {
|
|
468
458
|
var localVarAxiosArgs;
|
|
469
459
|
return __generator(this, function (_a) {
|
|
470
460
|
switch (_a.label) {
|
|
471
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
461
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, filter, filters, search, order, expand, options)];
|
|
472
462
|
case 1:
|
|
473
463
|
localVarAxiosArgs = _a.sent();
|
|
474
464
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -547,18 +537,16 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
547
537
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
548
538
|
* @summary List bank transactions
|
|
549
539
|
* @param {string} [authorization] Bearer Token
|
|
550
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
551
|
-
* @param {any} [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.
|
|
552
540
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
541
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
553
542
|
* @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, amount</i>
|
|
554
543
|
* @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, amount, transactionDate, entryDate</i>
|
|
555
544
|
* @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: bankAccount, transaction<i>
|
|
556
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
557
545
|
* @param {*} [options] Override http request option.
|
|
558
546
|
* @throws {RequiredError}
|
|
559
547
|
*/
|
|
560
|
-
listBankTransactions: function (authorization,
|
|
561
|
-
return localVarFp.listBankTransactions(authorization,
|
|
548
|
+
listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
|
|
549
|
+
return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
562
550
|
},
|
|
563
551
|
/**
|
|
564
552
|
* Unlinks an already linked bank transaction
|
|
@@ -633,7 +621,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
633
621
|
BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
|
|
634
622
|
var _this = this;
|
|
635
623
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
636
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
624
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
625
|
};
|
|
638
626
|
/**
|
|
639
627
|
* Unlinks an already linked bank transaction
|
|
@@ -39,17 +39,14 @@ export declare const PaymentMethodsApiAxiosParamCreator: (configuration?: Config
|
|
|
39
39
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
40
40
|
* @summary List payment methods
|
|
41
41
|
* @param {string} [authorization] Bearer Token
|
|
42
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
43
|
-
* @param {any} [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.
|
|
44
42
|
* @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</i>
|
|
45
|
-
* @param {
|
|
43
|
+
* @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</i>
|
|
46
44
|
* @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</i>
|
|
47
45
|
* @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: <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, pspCustomerId, psp, type</i>
|
|
49
46
|
* @param {*} [options] Override http request option.
|
|
50
47
|
* @throws {RequiredError}
|
|
51
48
|
*/
|
|
52
|
-
listPaymentMethods: (authorization?: string,
|
|
49
|
+
listPaymentMethods: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
53
50
|
};
|
|
54
51
|
/**
|
|
55
52
|
* PaymentMethodsApi - functional programming interface
|
|
@@ -78,17 +75,14 @@ export declare const PaymentMethodsApiFp: (configuration?: Configuration) => {
|
|
|
78
75
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
79
76
|
* @summary List payment methods
|
|
80
77
|
* @param {string} [authorization] Bearer Token
|
|
81
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
82
|
-
* @param {any} [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.
|
|
83
78
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type</i>
|
|
84
|
-
* @param {
|
|
79
|
+
* @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</i>
|
|
85
80
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
|
|
86
81
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <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</i>
|
|
88
82
|
* @param {*} [options] Override http request option.
|
|
89
83
|
* @throws {RequiredError}
|
|
90
84
|
*/
|
|
91
|
-
listPaymentMethods(authorization?: string,
|
|
85
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
92
86
|
};
|
|
93
87
|
/**
|
|
94
88
|
* PaymentMethodsApi - factory interface
|
|
@@ -117,17 +111,14 @@ export declare const PaymentMethodsApiFactory: (configuration?: Configuration, b
|
|
|
117
111
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
118
112
|
* @summary List payment methods
|
|
119
113
|
* @param {string} [authorization] Bearer Token
|
|
120
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
121
|
-
* @param {any} [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.
|
|
122
114
|
* @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</i>
|
|
123
|
-
* @param {
|
|
115
|
+
* @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</i>
|
|
124
116
|
* @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</i>
|
|
125
117
|
* @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: <i>
|
|
126
|
-
* @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</i>
|
|
127
118
|
* @param {*} [options] Override http request option.
|
|
128
119
|
* @throws {RequiredError}
|
|
129
120
|
*/
|
|
130
|
-
listPaymentMethods(authorization?: string,
|
|
121
|
+
listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
131
122
|
};
|
|
132
123
|
/**
|
|
133
124
|
* Request parameters for createPaymentMethod operation in PaymentMethodsApi.
|
|
@@ -179,18 +170,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
179
170
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
180
171
|
*/
|
|
181
172
|
readonly authorization?: string;
|
|
182
|
-
/**
|
|
183
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
184
|
-
* @type {any}
|
|
185
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
186
|
-
*/
|
|
187
|
-
readonly pageSize?: any;
|
|
188
|
-
/**
|
|
189
|
-
* 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
|
-
* @type {any}
|
|
191
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
192
|
-
*/
|
|
193
|
-
readonly pageToken?: any;
|
|
194
173
|
/**
|
|
195
174
|
* 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</i>
|
|
196
175
|
* @type {string}
|
|
@@ -198,11 +177,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
198
177
|
*/
|
|
199
178
|
readonly filter?: string;
|
|
200
179
|
/**
|
|
201
|
-
*
|
|
202
|
-
* @type {
|
|
180
|
+
* 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</i>
|
|
181
|
+
* @type {string}
|
|
203
182
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
204
183
|
*/
|
|
205
|
-
readonly
|
|
184
|
+
readonly filters?: string;
|
|
206
185
|
/**
|
|
207
186
|
* 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</i>
|
|
208
187
|
* @type {string}
|
|
@@ -215,12 +194,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
|
|
|
215
194
|
* @memberof PaymentMethodsApiListPaymentMethods
|
|
216
195
|
*/
|
|
217
196
|
readonly expand?: string;
|
|
218
|
-
/**
|
|
219
|
-
* 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</i>
|
|
220
|
-
* @type {string}
|
|
221
|
-
* @memberof PaymentMethodsApiListPaymentMethods
|
|
222
|
-
*/
|
|
223
|
-
readonly filters?: string;
|
|
224
197
|
}
|
|
225
198
|
/**
|
|
226
199
|
* PaymentMethodsApi - object-oriented interface
|
|
@@ -193,17 +193,14 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
193
193
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
194
194
|
* @summary List payment methods
|
|
195
195
|
* @param {string} [authorization] Bearer Token
|
|
196
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
197
|
-
* @param {any} [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.
|
|
198
196
|
* @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</i>
|
|
199
|
-
* @param {
|
|
197
|
+
* @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</i>
|
|
200
198
|
* @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</i>
|
|
201
199
|
* @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: <i>
|
|
202
|
-
* @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</i>
|
|
203
200
|
* @param {*} [options] Override http request option.
|
|
204
201
|
* @throws {RequiredError}
|
|
205
202
|
*/
|
|
206
|
-
listPaymentMethods: function (authorization,
|
|
203
|
+
listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
|
|
207
204
|
if (options === void 0) { options = {}; }
|
|
208
205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
206
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -226,17 +223,11 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
226
223
|
// authentication bearer required
|
|
227
224
|
// http bearer authentication required
|
|
228
225
|
_a.sent();
|
|
229
|
-
if (pageSize !== undefined) {
|
|
230
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
231
|
-
}
|
|
232
|
-
if (pageToken !== undefined) {
|
|
233
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
234
|
-
}
|
|
235
226
|
if (filter !== undefined) {
|
|
236
227
|
localVarQueryParameter['filter'] = filter;
|
|
237
228
|
}
|
|
238
|
-
if (
|
|
239
|
-
localVarQueryParameter['
|
|
229
|
+
if (filters !== undefined) {
|
|
230
|
+
localVarQueryParameter['filters'] = filters;
|
|
240
231
|
}
|
|
241
232
|
if (order !== undefined) {
|
|
242
233
|
localVarQueryParameter['order'] = order;
|
|
@@ -244,9 +235,6 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
|
|
|
244
235
|
if (expand !== undefined) {
|
|
245
236
|
localVarQueryParameter['expand'] = expand;
|
|
246
237
|
}
|
|
247
|
-
if (filters !== undefined) {
|
|
248
|
-
localVarQueryParameter['filters'] = filters;
|
|
249
|
-
}
|
|
250
238
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
251
239
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
252
240
|
}
|
|
@@ -317,22 +305,19 @@ var PaymentMethodsApiFp = function (configuration) {
|
|
|
317
305
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
318
306
|
* @summary List payment methods
|
|
319
307
|
* @param {string} [authorization] Bearer Token
|
|
320
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
321
|
-
* @param {any} [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.
|
|
322
308
|
* @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</i>
|
|
323
|
-
* @param {
|
|
309
|
+
* @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</i>
|
|
324
310
|
* @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</i>
|
|
325
311
|
* @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: <i>
|
|
326
|
-
* @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</i>
|
|
327
312
|
* @param {*} [options] Override http request option.
|
|
328
313
|
* @throws {RequiredError}
|
|
329
314
|
*/
|
|
330
|
-
listPaymentMethods: function (authorization,
|
|
315
|
+
listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
|
|
331
316
|
return __awaiter(this, void 0, void 0, function () {
|
|
332
317
|
var localVarAxiosArgs;
|
|
333
318
|
return __generator(this, function (_a) {
|
|
334
319
|
switch (_a.label) {
|
|
335
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization,
|
|
320
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options)];
|
|
336
321
|
case 1:
|
|
337
322
|
localVarAxiosArgs = _a.sent();
|
|
338
323
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -376,18 +361,15 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
|
|
|
376
361
|
* Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
377
362
|
* @summary List payment methods
|
|
378
363
|
* @param {string} [authorization] Bearer Token
|
|
379
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
380
|
-
* @param {any} [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.
|
|
381
364
|
* @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</i>
|
|
382
|
-
* @param {
|
|
365
|
+
* @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</i>
|
|
383
366
|
* @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</i>
|
|
384
367
|
* @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: <i>
|
|
385
|
-
* @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</i>
|
|
386
368
|
* @param {*} [options] Override http request option.
|
|
387
369
|
* @throws {RequiredError}
|
|
388
370
|
*/
|
|
389
|
-
listPaymentMethods: function (authorization,
|
|
390
|
-
return localVarFp.listPaymentMethods(authorization,
|
|
371
|
+
listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
|
|
372
|
+
return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
391
373
|
},
|
|
392
374
|
};
|
|
393
375
|
};
|
|
@@ -438,7 +420,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
|
|
|
438
420
|
PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
|
|
439
421
|
var _this = this;
|
|
440
422
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
441
|
-
return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.
|
|
423
|
+
return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
442
424
|
};
|
|
443
425
|
return PaymentMethodsApi;
|
|
444
426
|
}(base_1.BaseAPI));
|
|
@@ -51,17 +51,14 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
51
51
|
* 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.
|
|
52
52
|
* @summary List payment reminders
|
|
53
53
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
54
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
55
|
-
* @param {any} [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.
|
|
56
54
|
* @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>
|
|
57
|
-
* @param {
|
|
55
|
+
* @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>
|
|
58
56
|
* @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>
|
|
59
57
|
* @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: <i>
|
|
60
|
-
* @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>
|
|
61
58
|
* @param {*} [options] Override http request option.
|
|
62
59
|
* @throws {RequiredError}
|
|
63
60
|
*/
|
|
64
|
-
listPaymentReminders: (authorization?: string,
|
|
61
|
+
listPaymentReminders: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
65
62
|
};
|
|
66
63
|
/**
|
|
67
64
|
* PaymentRemindersApi - functional programming interface
|
|
@@ -100,17 +97,14 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
100
97
|
* 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.
|
|
101
98
|
* @summary List payment reminders
|
|
102
99
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
104
|
-
* @param {any} [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.
|
|
105
100
|
* @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>
|
|
106
|
-
* @param {
|
|
101
|
+
* @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>
|
|
107
102
|
* @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>
|
|
108
103
|
* @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: <i>
|
|
109
|
-
* @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>
|
|
110
104
|
* @param {*} [options] Override http request option.
|
|
111
105
|
* @throws {RequiredError}
|
|
112
106
|
*/
|
|
113
|
-
listPaymentReminders(authorization?: string,
|
|
107
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
114
108
|
};
|
|
115
109
|
/**
|
|
116
110
|
* PaymentRemindersApi - factory interface
|
|
@@ -149,17 +143,14 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
149
143
|
* 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.
|
|
150
144
|
* @summary List payment reminders
|
|
151
145
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
152
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
153
|
-
* @param {any} [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.
|
|
154
146
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
155
|
-
* @param {
|
|
147
|
+
* @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>
|
|
156
148
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
157
149
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: <i>
|
|
158
|
-
* @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>
|
|
159
150
|
* @param {*} [options] Override http request option.
|
|
160
151
|
* @throws {RequiredError}
|
|
161
152
|
*/
|
|
162
|
-
listPaymentReminders(authorization?: string,
|
|
153
|
+
listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
|
|
163
154
|
};
|
|
164
155
|
/**
|
|
165
156
|
* Request parameters for createPaymentReminder operation in PaymentRemindersApi.
|
|
@@ -236,18 +227,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
236
227
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
237
228
|
*/
|
|
238
229
|
readonly authorization?: string;
|
|
239
|
-
/**
|
|
240
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
241
|
-
* @type {any}
|
|
242
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
243
|
-
*/
|
|
244
|
-
readonly pageSize?: any;
|
|
245
|
-
/**
|
|
246
|
-
* 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.
|
|
247
|
-
* @type {any}
|
|
248
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
249
|
-
*/
|
|
250
|
-
readonly pageToken?: any;
|
|
251
230
|
/**
|
|
252
231
|
* 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>
|
|
253
232
|
* @type {string}
|
|
@@ -255,11 +234,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
255
234
|
*/
|
|
256
235
|
readonly filter?: string;
|
|
257
236
|
/**
|
|
258
|
-
*
|
|
259
|
-
* @type {
|
|
237
|
+
* 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>
|
|
238
|
+
* @type {string}
|
|
260
239
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
261
240
|
*/
|
|
262
|
-
readonly
|
|
241
|
+
readonly filters?: string;
|
|
263
242
|
/**
|
|
264
243
|
* 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>
|
|
265
244
|
* @type {string}
|
|
@@ -272,12 +251,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
272
251
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
273
252
|
*/
|
|
274
253
|
readonly expand?: string;
|
|
275
|
-
/**
|
|
276
|
-
* 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>
|
|
277
|
-
* @type {string}
|
|
278
|
-
* @memberof PaymentRemindersApiListPaymentReminders
|
|
279
|
-
*/
|
|
280
|
-
readonly filters?: string;
|
|
281
254
|
}
|
|
282
255
|
/**
|
|
283
256
|
* PaymentRemindersApi - object-oriented interface
|
|
@@ -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.
|
|
247
247
|
* @summary List payment reminders
|
|
248
248
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
250
|
-
* @param {any} [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 {
|
|
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/> <i>Allowed values: <i>
|
|
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.
|
|
393
381
|
* @summary List payment reminders
|
|
394
382
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
395
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
396
|
-
* @param {any} [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 {
|
|
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/> <i>Allowed values: <i>
|
|
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.
|
|
464
449
|
* @summary List payment reminders
|
|
465
450
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
466
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
467
|
-
* @param {any} [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 {
|
|
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/> <i>Allowed values: <i>
|
|
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));
|