@emilgroup/payment-sdk 1.4.1-beta.35 → 1.4.1-beta.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +16 -16
- package/api/bank-transaction-api.ts +16 -16
- package/api/payment-methods-api.ts +18 -32
- package/api/payment-reminders-api.ts +18 -32
- package/api/payments-api.ts +16 -16
- package/api/refunds-api.ts +16 -16
- package/api/tenant-bank-account-api.ts +16 -16
- package/dist/api/bank-accounts-api.d.ts +16 -16
- package/dist/api/bank-accounts-api.js +13 -13
- package/dist/api/bank-transaction-api.d.ts +16 -16
- package/dist/api/bank-transaction-api.js +13 -13
- package/dist/api/payment-methods-api.d.ts +15 -24
- package/dist/api/payment-methods-api.js +16 -22
- package/dist/api/payment-reminders-api.d.ts +15 -24
- package/dist/api/payment-reminders-api.js +16 -22
- package/dist/api/payments-api.d.ts +16 -16
- package/dist/api/payments-api.js +13 -13
- package/dist/api/refunds-api.d.ts +16 -16
- package/dist/api/refunds-api.js +13 -13
- package/dist/api/tenant-bank-account-api.d.ts +16 -16
- package/dist/api/tenant-bank-account-api.js +13 -13
- package/package.json +1 -1
|
@@ -39,15 +39,14 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
39
39
|
*/
|
|
40
40
|
deactivatePaymentReminder: (code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
41
41
|
/**
|
|
42
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
42
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
43
43
|
* @summary Retrieve the payment reminder
|
|
44
|
-
* @param {string} code
|
|
44
|
+
* @param {string} code
|
|
45
45
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
46
|
-
* @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>
|
|
47
46
|
* @param {*} [options] Override http request option.
|
|
48
47
|
* @throws {RequiredError}
|
|
49
48
|
*/
|
|
50
|
-
getPolicy: (code: string, authorization?: string,
|
|
49
|
+
getPolicy: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
50
|
/**
|
|
52
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.
|
|
53
52
|
* @summary List payment reminders
|
|
@@ -57,7 +56,7 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
|
|
|
57
56
|
* @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>
|
|
58
57
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
59
58
|
* @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>
|
|
60
|
-
* @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:
|
|
59
|
+
* @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>
|
|
61
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>
|
|
62
61
|
* @param {*} [options] Override http request option.
|
|
63
62
|
* @throws {RequiredError}
|
|
@@ -89,15 +88,14 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
89
88
|
*/
|
|
90
89
|
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
91
90
|
/**
|
|
92
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
91
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
93
92
|
* @summary Retrieve the payment reminder
|
|
94
|
-
* @param {string} code
|
|
93
|
+
* @param {string} code
|
|
95
94
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
96
|
-
* @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>
|
|
97
95
|
* @param {*} [options] Override http request option.
|
|
98
96
|
* @throws {RequiredError}
|
|
99
97
|
*/
|
|
100
|
-
getPolicy(code: string, authorization?: string,
|
|
98
|
+
getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
101
99
|
/**
|
|
102
100
|
* 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.
|
|
103
101
|
* @summary List payment reminders
|
|
@@ -107,7 +105,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
|
|
|
107
105
|
* @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>
|
|
108
106
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
109
107
|
* @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>
|
|
110
|
-
* @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:
|
|
108
|
+
* @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>
|
|
111
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>
|
|
112
110
|
* @param {*} [options] Override http request option.
|
|
113
111
|
* @throws {RequiredError}
|
|
@@ -139,15 +137,14 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
139
137
|
*/
|
|
140
138
|
deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
141
139
|
/**
|
|
142
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
140
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
143
141
|
* @summary Retrieve the payment reminder
|
|
144
|
-
* @param {string} code
|
|
142
|
+
* @param {string} code
|
|
145
143
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
146
|
-
* @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>
|
|
147
144
|
* @param {*} [options] Override http request option.
|
|
148
145
|
* @throws {RequiredError}
|
|
149
146
|
*/
|
|
150
|
-
getPolicy(code: string, authorization?: string,
|
|
147
|
+
getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
|
|
151
148
|
/**
|
|
152
149
|
* 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.
|
|
153
150
|
* @summary List payment reminders
|
|
@@ -157,7 +154,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
|
|
|
157
154
|
* @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>
|
|
158
155
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
159
156
|
* @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>
|
|
160
|
-
* @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:
|
|
157
|
+
* @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>
|
|
161
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>
|
|
162
159
|
* @param {*} [options] Override http request option.
|
|
163
160
|
* @throws {RequiredError}
|
|
@@ -215,7 +212,7 @@ export interface PaymentRemindersApiDeactivatePaymentReminderRequest {
|
|
|
215
212
|
*/
|
|
216
213
|
export interface PaymentRemindersApiGetPolicyRequest {
|
|
217
214
|
/**
|
|
218
|
-
*
|
|
215
|
+
*
|
|
219
216
|
* @type {string}
|
|
220
217
|
* @memberof PaymentRemindersApiGetPolicy
|
|
221
218
|
*/
|
|
@@ -226,12 +223,6 @@ export interface PaymentRemindersApiGetPolicyRequest {
|
|
|
226
223
|
* @memberof PaymentRemindersApiGetPolicy
|
|
227
224
|
*/
|
|
228
225
|
readonly authorization?: string;
|
|
229
|
-
/**
|
|
230
|
-
* 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>
|
|
231
|
-
* @type {string}
|
|
232
|
-
* @memberof PaymentRemindersApiGetPolicy
|
|
233
|
-
*/
|
|
234
|
-
readonly expand?: string;
|
|
235
226
|
}
|
|
236
227
|
/**
|
|
237
228
|
* Request parameters for listPaymentReminders operation in PaymentRemindersApi.
|
|
@@ -276,7 +267,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
|
|
|
276
267
|
*/
|
|
277
268
|
readonly order?: string;
|
|
278
269
|
/**
|
|
279
|
-
* 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:
|
|
270
|
+
* 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>
|
|
280
271
|
* @type {string}
|
|
281
272
|
* @memberof PaymentRemindersApiListPaymentReminders
|
|
282
273
|
*/
|
|
@@ -314,7 +305,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
|
|
|
314
305
|
*/
|
|
315
306
|
deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
316
307
|
/**
|
|
317
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
308
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
318
309
|
* @summary Retrieve the payment reminder
|
|
319
310
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
320
311
|
* @param {*} [options] Override http request option.
|
|
@@ -195,15 +195,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
195
195
|
});
|
|
196
196
|
},
|
|
197
197
|
/**
|
|
198
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
198
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
199
199
|
* @summary Retrieve the payment reminder
|
|
200
|
-
* @param {string} code
|
|
200
|
+
* @param {string} code
|
|
201
201
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
|
-
* @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>
|
|
203
202
|
* @param {*} [options] Override http request option.
|
|
204
203
|
* @throws {RequiredError}
|
|
205
204
|
*/
|
|
206
|
-
getPolicy: function (code, authorization,
|
|
205
|
+
getPolicy: function (code, authorization, options) {
|
|
207
206
|
if (options === void 0) { options = {}; }
|
|
208
207
|
return __awaiter(_this, void 0, void 0, function () {
|
|
209
208
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -229,9 +228,6 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
229
228
|
// authentication bearer required
|
|
230
229
|
// http bearer authentication required
|
|
231
230
|
_a.sent();
|
|
232
|
-
if (expand !== undefined) {
|
|
233
|
-
localVarQueryParameter['expand'] = expand;
|
|
234
|
-
}
|
|
235
231
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
236
232
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
237
233
|
}
|
|
@@ -255,7 +251,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
|
|
|
255
251
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, policyCode, nextReminderDate</i>
|
|
256
252
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
257
253
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, updatedAt</i>
|
|
258
|
-
* @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:
|
|
254
|
+
* @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>
|
|
259
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>
|
|
260
256
|
* @param {*} [options] Override http request option.
|
|
261
257
|
* @throws {RequiredError}
|
|
@@ -372,20 +368,19 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
372
368
|
});
|
|
373
369
|
},
|
|
374
370
|
/**
|
|
375
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
371
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
376
372
|
* @summary Retrieve the payment reminder
|
|
377
|
-
* @param {string} code
|
|
373
|
+
* @param {string} code
|
|
378
374
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
379
|
-
* @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>
|
|
380
375
|
* @param {*} [options] Override http request option.
|
|
381
376
|
* @throws {RequiredError}
|
|
382
377
|
*/
|
|
383
|
-
getPolicy: function (code, authorization,
|
|
378
|
+
getPolicy: function (code, authorization, options) {
|
|
384
379
|
return __awaiter(this, void 0, void 0, function () {
|
|
385
380
|
var localVarAxiosArgs;
|
|
386
381
|
return __generator(this, function (_a) {
|
|
387
382
|
switch (_a.label) {
|
|
388
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization,
|
|
383
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, options)];
|
|
389
384
|
case 1:
|
|
390
385
|
localVarAxiosArgs = _a.sent();
|
|
391
386
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -402,7 +397,7 @@ var PaymentRemindersApiFp = function (configuration) {
|
|
|
402
397
|
* @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>
|
|
403
398
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
404
399
|
* @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>
|
|
405
|
-
* @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:
|
|
400
|
+
* @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>
|
|
406
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>
|
|
407
402
|
* @param {*} [options] Override http request option.
|
|
408
403
|
* @throws {RequiredError}
|
|
@@ -454,16 +449,15 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
454
449
|
return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
455
450
|
},
|
|
456
451
|
/**
|
|
457
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
452
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
458
453
|
* @summary Retrieve the payment reminder
|
|
459
|
-
* @param {string} code
|
|
454
|
+
* @param {string} code
|
|
460
455
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
461
|
-
* @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>
|
|
462
456
|
* @param {*} [options] Override http request option.
|
|
463
457
|
* @throws {RequiredError}
|
|
464
458
|
*/
|
|
465
|
-
getPolicy: function (code, authorization,
|
|
466
|
-
return localVarFp.getPolicy(code, authorization,
|
|
459
|
+
getPolicy: function (code, authorization, options) {
|
|
460
|
+
return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
467
461
|
},
|
|
468
462
|
/**
|
|
469
463
|
* 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.
|
|
@@ -474,7 +468,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
|
|
|
474
468
|
* @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>
|
|
475
469
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
476
470
|
* @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>
|
|
477
|
-
* @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:
|
|
471
|
+
* @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>
|
|
478
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>
|
|
479
473
|
* @param {*} [options] Override http request option.
|
|
480
474
|
* @throws {RequiredError}
|
|
@@ -521,7 +515,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
521
515
|
return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
522
516
|
};
|
|
523
517
|
/**
|
|
524
|
-
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code
|
|
518
|
+
* Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
|
|
525
519
|
* @summary Retrieve the payment reminder
|
|
526
520
|
* @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
|
|
527
521
|
* @param {*} [options] Override http request option.
|
|
@@ -530,7 +524,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
|
|
|
530
524
|
*/
|
|
531
525
|
PaymentRemindersApi.prototype.getPolicy = function (requestParameters, options) {
|
|
532
526
|
var _this = this;
|
|
533
|
-
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization,
|
|
527
|
+
return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
534
528
|
};
|
|
535
529
|
/**
|
|
536
530
|
* 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.
|
|
@@ -29,11 +29,11 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
29
29
|
*/
|
|
30
30
|
createPayment: (idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
31
|
/**
|
|
32
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
32
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
33
33
|
* @summary Retrieve the payment
|
|
34
|
-
* @param {string} code
|
|
34
|
+
* @param {string} code
|
|
35
35
|
* @param {string} [authorization] Bearer Token
|
|
36
|
-
* @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
|
|
36
|
+
* @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>
|
|
37
37
|
* @param {*} [options] Override http request option.
|
|
38
38
|
* @throws {RequiredError}
|
|
39
39
|
*/
|
|
@@ -47,7 +47,7 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
47
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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber</i>
|
|
48
48
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
49
49
|
* @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>
|
|
50
|
-
* @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
|
|
50
|
+
* @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>
|
|
51
51
|
* @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</i>
|
|
52
52
|
* @param {*} [options] Override http request option.
|
|
53
53
|
* @throws {RequiredError}
|
|
@@ -70,11 +70,11 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
70
70
|
*/
|
|
71
71
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
72
72
|
/**
|
|
73
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
73
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
74
74
|
* @summary Retrieve the payment
|
|
75
|
-
* @param {string} code
|
|
75
|
+
* @param {string} code
|
|
76
76
|
* @param {string} [authorization] Bearer Token
|
|
77
|
-
* @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
|
|
77
|
+
* @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>
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
@@ -88,7 +88,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
|
|
|
88
88
|
* @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</i>
|
|
89
89
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
90
90
|
* @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>
|
|
91
|
-
* @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
|
|
91
|
+
* @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>
|
|
92
92
|
* @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</i>
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
94
94
|
* @throws {RequiredError}
|
|
@@ -111,11 +111,11 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
111
111
|
*/
|
|
112
112
|
createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
113
113
|
/**
|
|
114
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
114
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
115
115
|
* @summary Retrieve the payment
|
|
116
|
-
* @param {string} code
|
|
116
|
+
* @param {string} code
|
|
117
117
|
* @param {string} [authorization] Bearer Token
|
|
118
|
-
* @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
|
|
118
|
+
* @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>
|
|
119
119
|
* @param {*} [options] Override http request option.
|
|
120
120
|
* @throws {RequiredError}
|
|
121
121
|
*/
|
|
@@ -129,7 +129,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
|
|
|
129
129
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, amount, receivedDate, referenceNumber</i>
|
|
130
130
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
131
131
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt, code, amount</i>
|
|
132
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: transactions
|
|
132
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: transactions<i>
|
|
133
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, pspCustomerId, psp, type, amount, receivedDate, referenceNumber</i>
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
@@ -168,7 +168,7 @@ export interface PaymentsApiCreatePaymentRequest {
|
|
|
168
168
|
*/
|
|
169
169
|
export interface PaymentsApiGetPaymentRequest {
|
|
170
170
|
/**
|
|
171
|
-
*
|
|
171
|
+
*
|
|
172
172
|
* @type {string}
|
|
173
173
|
* @memberof PaymentsApiGetPayment
|
|
174
174
|
*/
|
|
@@ -180,7 +180,7 @@ export interface PaymentsApiGetPaymentRequest {
|
|
|
180
180
|
*/
|
|
181
181
|
readonly authorization?: string;
|
|
182
182
|
/**
|
|
183
|
-
* 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
|
|
183
|
+
* 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>
|
|
184
184
|
* @type {string}
|
|
185
185
|
* @memberof PaymentsApiGetPayment
|
|
186
186
|
*/
|
|
@@ -229,7 +229,7 @@ export interface PaymentsApiListPaymentsRequest {
|
|
|
229
229
|
*/
|
|
230
230
|
readonly order?: string;
|
|
231
231
|
/**
|
|
232
|
-
* 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
|
|
232
|
+
* 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>
|
|
233
233
|
* @type {string}
|
|
234
234
|
* @memberof PaymentsApiListPayments
|
|
235
235
|
*/
|
|
@@ -258,7 +258,7 @@ export declare class PaymentsApi extends BaseAPI {
|
|
|
258
258
|
*/
|
|
259
259
|
createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
260
260
|
/**
|
|
261
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
261
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
262
262
|
* @summary Retrieve the payment
|
|
263
263
|
* @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
|
|
264
264
|
* @param {*} [options] Override http request option.
|
package/dist/api/payments-api.js
CHANGED
|
@@ -148,11 +148,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
});
|
|
149
149
|
},
|
|
150
150
|
/**
|
|
151
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
151
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
152
152
|
* @summary Retrieve the payment
|
|
153
|
-
* @param {string} code
|
|
153
|
+
* @param {string} code
|
|
154
154
|
* @param {string} [authorization] Bearer Token
|
|
155
|
-
* @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
|
|
155
|
+
* @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>
|
|
156
156
|
* @param {*} [options] Override http request option.
|
|
157
157
|
* @throws {RequiredError}
|
|
158
158
|
*/
|
|
@@ -208,7 +208,7 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
|
|
|
208
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</i>
|
|
209
209
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
210
210
|
* @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
|
-
* @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
|
|
211
|
+
* @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
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</i>
|
|
213
213
|
* @param {*} [options] Override http request option.
|
|
214
214
|
* @throws {RequiredError}
|
|
@@ -304,11 +304,11 @@ var PaymentsApiFp = function (configuration) {
|
|
|
304
304
|
});
|
|
305
305
|
},
|
|
306
306
|
/**
|
|
307
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
307
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
308
308
|
* @summary Retrieve the payment
|
|
309
|
-
* @param {string} code
|
|
309
|
+
* @param {string} code
|
|
310
310
|
* @param {string} [authorization] Bearer Token
|
|
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: transactions
|
|
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: transactions<i>
|
|
312
312
|
* @param {*} [options] Override http request option.
|
|
313
313
|
* @throws {RequiredError}
|
|
314
314
|
*/
|
|
@@ -334,7 +334,7 @@ var PaymentsApiFp = function (configuration) {
|
|
|
334
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</i>
|
|
335
335
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
336
336
|
* @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
|
-
* @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
|
|
337
|
+
* @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
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</i>
|
|
339
339
|
* @param {*} [options] Override http request option.
|
|
340
340
|
* @throws {RequiredError}
|
|
@@ -375,11 +375,11 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
375
375
|
return localVarFp.createPayment(idempotencyKey, createPaymentRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
376
376
|
},
|
|
377
377
|
/**
|
|
378
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
378
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
379
379
|
* @summary Retrieve the payment
|
|
380
|
-
* @param {string} code
|
|
380
|
+
* @param {string} code
|
|
381
381
|
* @param {string} [authorization] Bearer Token
|
|
382
|
-
* @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
|
|
382
|
+
* @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>
|
|
383
383
|
* @param {*} [options] Override http request option.
|
|
384
384
|
* @throws {RequiredError}
|
|
385
385
|
*/
|
|
@@ -395,7 +395,7 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
|
|
|
395
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</i>
|
|
396
396
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
397
397
|
* @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
|
-
* @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
|
|
398
|
+
* @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
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</i>
|
|
400
400
|
* @param {*} [options] Override http request option.
|
|
401
401
|
* @throws {RequiredError}
|
|
@@ -430,7 +430,7 @@ var PaymentsApi = /** @class */ (function (_super) {
|
|
|
430
430
|
return (0, exports.PaymentsApiFp)(this.configuration).createPayment(requestParameters.idempotencyKey, requestParameters.createPaymentRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
431
431
|
};
|
|
432
432
|
/**
|
|
433
|
-
* Retrieves the details of the payment that was previously created. Supply the unique payment code
|
|
433
|
+
* Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
|
|
434
434
|
* @summary Retrieve the payment
|
|
435
435
|
* @param {PaymentsApiGetPaymentRequest} requestParameters Request parameters.
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
@@ -28,11 +28,11 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
28
28
|
*/
|
|
29
29
|
createRefund: (createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
30
30
|
/**
|
|
31
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code
|
|
31
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
32
32
|
* @summary Retrieve the refund
|
|
33
|
-
* @param {string} code
|
|
33
|
+
* @param {string} code
|
|
34
34
|
* @param {string} [authorization] Bearer Token
|
|
35
|
-
* @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:
|
|
35
|
+
* @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>
|
|
36
36
|
* @param {*} [options] Override http request option.
|
|
37
37
|
* @throws {RequiredError}
|
|
38
38
|
*/
|
|
@@ -46,7 +46,7 @@ export declare const RefundsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
46
46
|
* @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>
|
|
47
47
|
* @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>
|
|
48
48
|
* @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>
|
|
49
|
-
* @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:
|
|
49
|
+
* @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>
|
|
50
50
|
* @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>
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
@@ -68,11 +68,11 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
68
68
|
*/
|
|
69
69
|
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
70
70
|
/**
|
|
71
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code
|
|
71
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
72
72
|
* @summary Retrieve the refund
|
|
73
|
-
* @param {string} code
|
|
73
|
+
* @param {string} code
|
|
74
74
|
* @param {string} [authorization] Bearer Token
|
|
75
|
-
* @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:
|
|
75
|
+
* @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>
|
|
76
76
|
* @param {*} [options] Override http request option.
|
|
77
77
|
* @throws {RequiredError}
|
|
78
78
|
*/
|
|
@@ -86,7 +86,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
|
|
|
86
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, status, reason, psp, accountCode, invoiceCode</i>
|
|
87
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>
|
|
88
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>
|
|
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:
|
|
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>
|
|
90
90
|
* @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>
|
|
91
91
|
* @param {*} [options] Override http request option.
|
|
92
92
|
* @throws {RequiredError}
|
|
@@ -108,11 +108,11 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
108
108
|
*/
|
|
109
109
|
createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
|
|
110
110
|
/**
|
|
111
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code
|
|
111
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
112
112
|
* @summary Retrieve the refund
|
|
113
|
-
* @param {string} code
|
|
113
|
+
* @param {string} code
|
|
114
114
|
* @param {string} [authorization] Bearer Token
|
|
115
|
-
* @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:
|
|
115
|
+
* @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>
|
|
116
116
|
* @param {*} [options] Override http request option.
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
@@ -126,7 +126,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
|
|
|
126
126
|
* @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>
|
|
127
127
|
* @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>
|
|
128
128
|
* @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>
|
|
129
|
-
* @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:
|
|
129
|
+
* @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>
|
|
130
130
|
* @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>
|
|
131
131
|
* @param {*} [options] Override http request option.
|
|
132
132
|
* @throws {RequiredError}
|
|
@@ -159,7 +159,7 @@ export interface RefundsApiCreateRefundRequest {
|
|
|
159
159
|
*/
|
|
160
160
|
export interface RefundsApiGetRefundRequest {
|
|
161
161
|
/**
|
|
162
|
-
*
|
|
162
|
+
*
|
|
163
163
|
* @type {string}
|
|
164
164
|
* @memberof RefundsApiGetRefund
|
|
165
165
|
*/
|
|
@@ -171,7 +171,7 @@ export interface RefundsApiGetRefundRequest {
|
|
|
171
171
|
*/
|
|
172
172
|
readonly authorization?: string;
|
|
173
173
|
/**
|
|
174
|
-
* 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:
|
|
174
|
+
* 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>
|
|
175
175
|
* @type {string}
|
|
176
176
|
* @memberof RefundsApiGetRefund
|
|
177
177
|
*/
|
|
@@ -220,7 +220,7 @@ export interface RefundsApiListRefundsRequest {
|
|
|
220
220
|
*/
|
|
221
221
|
readonly order?: string;
|
|
222
222
|
/**
|
|
223
|
-
* 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:
|
|
223
|
+
* 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>
|
|
224
224
|
* @type {string}
|
|
225
225
|
* @memberof RefundsApiListRefunds
|
|
226
226
|
*/
|
|
@@ -249,7 +249,7 @@ export declare class RefundsApi extends BaseAPI {
|
|
|
249
249
|
*/
|
|
250
250
|
createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
251
251
|
/**
|
|
252
|
-
* Retrieves the details of the refund that was previously created. Supply the unique refund code
|
|
252
|
+
* Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
|
|
253
253
|
* @summary Retrieve the refund
|
|
254
254
|
* @param {RefundsApiGetRefundRequest} requestParameters Request parameters.
|
|
255
255
|
* @param {*} [options] Override http request option.
|