@emilgroup/payment-sdk 1.13.1-beta.1 → 1.13.1-beta.100
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +34 -1
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +55 -13
- package/api/bank-orders-api.ts +691 -0
- package/api/bank-transaction-api.ts +177 -63
- package/api/exceeding-credits-api.ts +349 -0
- package/api/payment-methods-api.ts +59 -17
- package/api/payment-reminders-api.ts +55 -13
- package/api/payments-api.ts +188 -21
- package/api/policy-payment-methods-api.ts +353 -0
- package/api/refunds-api.ts +45 -17
- package/api/tenant-bank-account-api.ts +45 -17
- package/api.ts +6 -0
- package/base.ts +52 -3
- package/dist/api/bank-accounts-api.d.ts +35 -8
- package/dist/api/bank-accounts-api.js +29 -11
- package/dist/api/bank-orders-api.d.ts +393 -0
- package/dist/api/bank-orders-api.js +642 -0
- package/dist/api/bank-transaction-api.d.ts +110 -46
- package/dist/api/bank-transaction-api.js +141 -44
- package/dist/api/exceeding-credits-api.d.ts +206 -0
- package/dist/api/exceeding-credits-api.js +352 -0
- package/dist/api/payment-methods-api.d.ts +39 -12
- package/dist/api/payment-methods-api.js +32 -14
- package/dist/api/payment-reminders-api.d.ts +35 -8
- package/dist/api/payment-reminders-api.js +29 -11
- package/dist/api/payments-api.d.ts +112 -16
- package/dist/api/payments-api.js +141 -18
- package/dist/api/policy-payment-methods-api.d.ts +207 -0
- package/dist/api/policy-payment-methods-api.js +353 -0
- package/dist/api/refunds-api.d.ts +28 -10
- package/dist/api/refunds-api.js +24 -12
- package/dist/api/tenant-bank-account-api.d.ts +28 -10
- package/dist/api/tenant-bank-account-api.js +24 -12
- package/dist/api.d.ts +3 -0
- package/dist/api.js +3 -0
- package/dist/base.d.ts +10 -1
- package/dist/base.js +46 -2
- package/dist/models/bank-order-class.d.ts +122 -0
- package/dist/models/bank-order-xml-file-class.d.ts +72 -0
- package/dist/models/bank-order-xml-file-class.js +15 -0
- package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
- package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
- package/dist/models/bank-transaction-class.d.ts +36 -22
- package/dist/models/bank-transaction-class.js +5 -0
- package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
- package/dist/models/bank-transaction-invoice-class.js +15 -0
- package/dist/models/bank-transfer-dto.d.ts +25 -0
- package/dist/models/bank-transfer-dto.js +15 -0
- package/dist/models/billing-address-dto.d.ts +54 -0
- package/dist/models/billing-address-dto.js +15 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
- package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
- package/dist/models/create-bank-order-request-dto.d.ts +74 -0
- package/dist/models/create-bank-order-request-dto.js +28 -0
- package/dist/models/create-bank-order-response-class.d.ts +25 -0
- package/dist/models/create-bank-order-response-class.js +15 -0
- package/dist/models/create-payment-order-dto.d.ts +48 -0
- package/dist/models/create-payment-order-dto.js +15 -0
- package/dist/models/create-payment-order-request-dto.d.ts +48 -0
- package/dist/models/create-payment-order-request-dto.js +15 -0
- package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
- package/dist/models/create-payment-request-dto.d.ts +7 -1
- package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
- package/dist/models/create-policy-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
- package/dist/models/create-policy-payment-method-response-class.js +15 -0
- package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
- package/dist/models/create-psp-payment-method-request-dto.js +3 -1
- package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
- package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
- package/dist/models/eis-sepa-debit-dto.js +15 -0
- package/dist/models/exceeding-credit-class.d.ts +116 -0
- package/dist/models/exceeding-credit-class.js +29 -0
- package/dist/models/financial-account-class.d.ts +111 -0
- package/dist/models/financial-account-class.js +24 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
- package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
- package/dist/models/get-bank-order-response-class.d.ts +25 -0
- package/dist/models/get-bank-order-response-class.js +15 -0
- package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
- package/dist/models/get-exceeding-credit-response-class.js +15 -0
- package/dist/models/index.d.ts +31 -1
- package/dist/models/index.js +31 -1
- package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
- package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
- package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
- package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
- package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
- package/dist/models/invoice-allocation-dto.js +15 -0
- package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
- package/dist/models/invoice-match-suggestion-class.js +15 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
- package/dist/models/list-bank-orders-response-class.d.ts +31 -0
- package/dist/models/list-bank-orders-response-class.js +15 -0
- package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
- package/dist/models/list-exceeding-credits-response-class.js +15 -0
- package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
- package/dist/models/list-policy-payment-methods-response-class.js +15 -0
- package/dist/models/mandate-dto.d.ts +43 -0
- package/dist/models/mandate-dto.js +15 -0
- package/dist/models/mandate-hash-data-dto.d.ts +42 -0
- package/dist/models/mandate-hash-data-dto.js +15 -0
- package/dist/models/mandate-reference-class.d.ts +90 -0
- package/dist/models/mandate-reference-class.js +15 -0
- package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
- package/dist/models/payment-class.d.ts +7 -1
- package/dist/models/payment-method-class.d.ts +6 -0
- package/dist/models/payment-reminder-class.d.ts +7 -1
- package/dist/models/policy-payment-method-class.d.ts +86 -0
- package/dist/models/policy-payment-method-class.js +15 -0
- package/dist/models/refund-class.d.ts +7 -1
- package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
- package/dist/models/suggestion-generation-progress-class.js +22 -0
- package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
- package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
- package/dist/models/update-bank-order-request-dto.d.ts +62 -0
- package/dist/models/update-bank-order-request-dto.js +23 -0
- package/dist/models/update-bank-order-response-class.d.ts +25 -0
- package/dist/models/update-bank-order-response-class.js +15 -0
- package/models/bank-order-class.ts +128 -0
- package/models/bank-order-xml-file-class.ts +78 -0
- package/models/bank-transaction-class-without-expand-properties.ts +21 -18
- package/models/bank-transaction-class.ts +39 -22
- package/models/bank-transaction-invoice-class.ts +66 -0
- package/models/bank-transfer-dto.ts +31 -0
- package/models/billing-address-dto.ts +60 -0
- package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
- package/models/complete-eis-payment-setup-request-dto.ts +42 -0
- package/models/complete-payment-setup-request-dto.ts +7 -0
- package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
- package/models/create-bank-order-request-dto.ts +84 -0
- package/models/create-bank-order-response-class.ts +31 -0
- package/models/create-payment-order-dto.ts +54 -0
- package/models/create-payment-order-request-dto.ts +54 -0
- package/models/create-payment-reminder-request-dto.ts +7 -1
- package/models/create-payment-request-dto.ts +7 -1
- package/models/create-policy-payment-method-request-dto.ts +36 -0
- package/models/create-policy-payment-method-response-class.ts +31 -0
- package/models/create-psp-payment-method-request-dto.ts +30 -2
- package/models/deactivated-payment-reminder-class.ts +7 -1
- package/models/eis-sepa-debit-dto.ts +61 -0
- package/models/exceeding-credit-class.ts +125 -0
- package/models/financial-account-class.ts +120 -0
- package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
- package/models/get-bank-order-response-class.ts +31 -0
- package/models/get-exceeding-credit-response-class.ts +31 -0
- package/models/index.ts +31 -1
- package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
- package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
- package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
- package/models/initiate-payment-setup-request-dto.ts +3 -2
- package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
- package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
- package/models/invoice-match-suggestion-class.ts +66 -0
- package/models/link-bank-transaction-request-dto-rest.ts +4 -3
- package/models/list-bank-orders-response-class.ts +37 -0
- package/models/list-exceeding-credits-response-class.ts +37 -0
- package/models/list-policy-payment-methods-response-class.ts +37 -0
- package/models/mandate-dto.ts +49 -0
- package/models/mandate-hash-data-dto.ts +48 -0
- package/models/mandate-reference-class.ts +96 -0
- package/models/payment-class-without-expand-properties.ts +7 -1
- package/models/payment-class.ts +7 -1
- package/models/payment-method-class.ts +6 -0
- package/models/payment-reminder-class.ts +7 -1
- package/models/policy-payment-method-class.ts +92 -0
- package/models/refund-class.ts +7 -1
- package/models/suggestion-generation-progress-class.ts +52 -0
- package/models/unlinked-bank-transaction-response-class.ts +21 -0
- package/models/update-bank-order-request-dto.ts +71 -0
- package/models/update-bank-order-response-class.ts +31 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -0
- /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
|
@@ -92,12 +92,60 @@ var base_1 = require("../base");
|
|
|
92
92
|
var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
97
|
+
* @summary Invoice Match Suggestion
|
|
98
|
+
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
99
|
+
* @param {string} [authorization] Bearer Token
|
|
100
|
+
* @param {*} [options] Override http request option.
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
104
|
+
if (options === void 0) { options = {}; }
|
|
105
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
106
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
|
+
return __generator(this, function (_a) {
|
|
108
|
+
switch (_a.label) {
|
|
109
|
+
case 0:
|
|
110
|
+
// verify required parameter 'code' is not null or undefined
|
|
111
|
+
(0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
|
|
112
|
+
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
|
|
113
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
114
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
115
|
+
if (configuration) {
|
|
116
|
+
baseOptions = configuration.baseOptions;
|
|
117
|
+
baseAccessToken = configuration.accessToken;
|
|
118
|
+
}
|
|
119
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
120
|
+
localVarHeaderParameter = {};
|
|
121
|
+
localVarQueryParameter = {};
|
|
122
|
+
// authentication bearer required
|
|
123
|
+
// http bearer authentication required
|
|
124
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
125
|
+
case 1:
|
|
126
|
+
// authentication bearer required
|
|
127
|
+
// http bearer authentication required
|
|
128
|
+
_a.sent();
|
|
129
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
130
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
131
|
+
}
|
|
132
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
133
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
134
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
135
|
+
return [2 /*return*/, {
|
|
136
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
}];
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
});
|
|
142
|
+
},
|
|
95
143
|
/**
|
|
96
144
|
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
97
145
|
* @summary Retrieve the bank transaction
|
|
98
146
|
* @param {string} code
|
|
99
147
|
* @param {string} [authorization] Bearer Token
|
|
100
|
-
* @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,
|
|
148
|
+
* @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
101
149
|
* @param {*} [options] Override http request option.
|
|
102
150
|
* @throws {RequiredError}
|
|
103
151
|
*/
|
|
@@ -145,9 +193,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
145
193
|
});
|
|
146
194
|
},
|
|
147
195
|
/**
|
|
148
|
-
* This will import bank transactions from a
|
|
196
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
149
197
|
* @summary Create the bank transactions
|
|
150
|
-
* @param {any} file
|
|
198
|
+
* @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
151
199
|
* @param {string} [authorization] Bearer Token
|
|
152
200
|
* @param {*} [options] Override http request option.
|
|
153
201
|
* @throws {RequiredError}
|
|
@@ -253,15 +301,17 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
253
301
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
254
302
|
* @summary List bank transactions
|
|
255
303
|
* @param {string} [authorization] Bearer Token
|
|
256
|
-
* @param {
|
|
257
|
-
* @param {string} [
|
|
304
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
306
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
258
307
|
* @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>
|
|
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,
|
|
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,
|
|
308
|
+
* @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, transactionDate, entryDate</i>
|
|
309
|
+
* @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
310
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
261
311
|
* @param {*} [options] Override http request option.
|
|
262
312
|
* @throws {RequiredError}
|
|
263
313
|
*/
|
|
264
|
-
listBankTransactions: function (authorization,
|
|
314
|
+
listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
265
315
|
if (options === void 0) { options = {}; }
|
|
266
316
|
return __awaiter(_this, void 0, void 0, function () {
|
|
267
317
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -284,12 +334,15 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
284
334
|
// authentication bearer required
|
|
285
335
|
// http bearer authentication required
|
|
286
336
|
_a.sent();
|
|
337
|
+
if (pageSize !== undefined) {
|
|
338
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
339
|
+
}
|
|
340
|
+
if (pageToken !== undefined) {
|
|
341
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
342
|
+
}
|
|
287
343
|
if (filter !== undefined) {
|
|
288
344
|
localVarQueryParameter['filter'] = filter;
|
|
289
345
|
}
|
|
290
|
-
if (filters !== undefined) {
|
|
291
|
-
localVarQueryParameter['filters'] = filters;
|
|
292
|
-
}
|
|
293
346
|
if (search !== undefined) {
|
|
294
347
|
localVarQueryParameter['search'] = search;
|
|
295
348
|
}
|
|
@@ -299,6 +352,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
299
352
|
if (expand !== undefined) {
|
|
300
353
|
localVarQueryParameter['expand'] = expand;
|
|
301
354
|
}
|
|
355
|
+
if (filters !== undefined) {
|
|
356
|
+
localVarQueryParameter['filters'] = filters;
|
|
357
|
+
}
|
|
302
358
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
303
359
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
304
360
|
}
|
|
@@ -317,12 +373,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
317
373
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
318
374
|
* @summary Unlink bank transaction
|
|
319
375
|
* @param {string} code Code of the bank transaction to unlink
|
|
320
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
321
376
|
* @param {string} [authorization] Bearer Token
|
|
322
377
|
* @param {*} [options] Override http request option.
|
|
323
378
|
* @throws {RequiredError}
|
|
324
379
|
*/
|
|
325
|
-
unlinkBankTransaction: function (code,
|
|
380
|
+
unlinkBankTransaction: function (code, authorization, options) {
|
|
326
381
|
if (options === void 0) { options = {}; }
|
|
327
382
|
return __awaiter(_this, void 0, void 0, function () {
|
|
328
383
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -331,8 +386,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
331
386
|
case 0:
|
|
332
387
|
// verify required parameter 'code' is not null or undefined
|
|
333
388
|
(0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
|
|
334
|
-
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
335
|
-
(0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
|
|
336
389
|
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
|
|
337
390
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
338
391
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -353,11 +406,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
353
406
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
354
407
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
355
408
|
}
|
|
356
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
409
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
410
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
411
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
|
|
361
412
|
return [2 /*return*/, {
|
|
362
413
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
363
414
|
options: localVarRequestOptions,
|
|
@@ -376,12 +427,33 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
|
|
|
376
427
|
var BankTransactionApiFp = function (configuration) {
|
|
377
428
|
var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
|
|
378
429
|
return {
|
|
430
|
+
/**
|
|
431
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
432
|
+
* @summary Invoice Match Suggestion
|
|
433
|
+
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
434
|
+
* @param {string} [authorization] Bearer Token
|
|
435
|
+
* @param {*} [options] Override http request option.
|
|
436
|
+
* @throws {RequiredError}
|
|
437
|
+
*/
|
|
438
|
+
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
439
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
440
|
+
var localVarAxiosArgs;
|
|
441
|
+
return __generator(this, function (_a) {
|
|
442
|
+
switch (_a.label) {
|
|
443
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
|
|
444
|
+
case 1:
|
|
445
|
+
localVarAxiosArgs = _a.sent();
|
|
446
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
447
|
+
}
|
|
448
|
+
});
|
|
449
|
+
});
|
|
450
|
+
},
|
|
379
451
|
/**
|
|
380
452
|
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
381
453
|
* @summary Retrieve the bank transaction
|
|
382
454
|
* @param {string} code
|
|
383
455
|
* @param {string} [authorization] Bearer Token
|
|
384
|
-
* @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,
|
|
456
|
+
* @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
385
457
|
* @param {*} [options] Override http request option.
|
|
386
458
|
* @throws {RequiredError}
|
|
387
459
|
*/
|
|
@@ -399,9 +471,9 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
399
471
|
});
|
|
400
472
|
},
|
|
401
473
|
/**
|
|
402
|
-
* This will import bank transactions from a
|
|
474
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
403
475
|
* @summary Create the bank transactions
|
|
404
|
-
* @param {any} file
|
|
476
|
+
* @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
405
477
|
* @param {string} [authorization] Bearer Token
|
|
406
478
|
* @param {*} [options] Override http request option.
|
|
407
479
|
* @throws {RequiredError}
|
|
@@ -445,20 +517,22 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
445
517
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
446
518
|
* @summary List bank transactions
|
|
447
519
|
* @param {string} [authorization] Bearer Token
|
|
448
|
-
* @param {
|
|
449
|
-
* @param {string} [
|
|
520
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
521
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
522
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
450
523
|
* @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>
|
|
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,
|
|
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,
|
|
524
|
+
* @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, transactionDate, entryDate</i>
|
|
525
|
+
* @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
526
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
453
527
|
* @param {*} [options] Override http request option.
|
|
454
528
|
* @throws {RequiredError}
|
|
455
529
|
*/
|
|
456
|
-
listBankTransactions: function (authorization,
|
|
530
|
+
listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
457
531
|
return __awaiter(this, void 0, void 0, function () {
|
|
458
532
|
var localVarAxiosArgs;
|
|
459
533
|
return __generator(this, function (_a) {
|
|
460
534
|
switch (_a.label) {
|
|
461
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization,
|
|
535
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
462
536
|
case 1:
|
|
463
537
|
localVarAxiosArgs = _a.sent();
|
|
464
538
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -470,17 +544,16 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
470
544
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
471
545
|
* @summary Unlink bank transaction
|
|
472
546
|
* @param {string} code Code of the bank transaction to unlink
|
|
473
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
474
547
|
* @param {string} [authorization] Bearer Token
|
|
475
548
|
* @param {*} [options] Override http request option.
|
|
476
549
|
* @throws {RequiredError}
|
|
477
550
|
*/
|
|
478
|
-
unlinkBankTransaction: function (code,
|
|
551
|
+
unlinkBankTransaction: function (code, authorization, options) {
|
|
479
552
|
return __awaiter(this, void 0, void 0, function () {
|
|
480
553
|
var localVarAxiosArgs;
|
|
481
554
|
return __generator(this, function (_a) {
|
|
482
555
|
switch (_a.label) {
|
|
483
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code,
|
|
556
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
|
|
484
557
|
case 1:
|
|
485
558
|
localVarAxiosArgs = _a.sent();
|
|
486
559
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -498,12 +571,23 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
|
|
|
498
571
|
var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
499
572
|
var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
|
|
500
573
|
return {
|
|
574
|
+
/**
|
|
575
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
576
|
+
* @summary Invoice Match Suggestion
|
|
577
|
+
* @param {string} code Code of the bank transaction to generate match suggestions for
|
|
578
|
+
* @param {string} [authorization] Bearer Token
|
|
579
|
+
* @param {*} [options] Override http request option.
|
|
580
|
+
* @throws {RequiredError}
|
|
581
|
+
*/
|
|
582
|
+
generateInvoiceMatchSuggestion: function (code, authorization, options) {
|
|
583
|
+
return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
584
|
+
},
|
|
501
585
|
/**
|
|
502
586
|
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
503
587
|
* @summary Retrieve the bank transaction
|
|
504
588
|
* @param {string} code
|
|
505
589
|
* @param {string} [authorization] Bearer Token
|
|
506
|
-
* @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,
|
|
590
|
+
* @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
507
591
|
* @param {*} [options] Override http request option.
|
|
508
592
|
* @throws {RequiredError}
|
|
509
593
|
*/
|
|
@@ -511,9 +595,9 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
511
595
|
return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
|
|
512
596
|
},
|
|
513
597
|
/**
|
|
514
|
-
* This will import bank transactions from a
|
|
598
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
515
599
|
* @summary Create the bank transactions
|
|
516
|
-
* @param {any} file
|
|
600
|
+
* @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.<br/> Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
|
|
517
601
|
* @param {string} [authorization] Bearer Token
|
|
518
602
|
* @param {*} [options] Override http request option.
|
|
519
603
|
* @throws {RequiredError}
|
|
@@ -537,28 +621,29 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
537
621
|
* 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. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
538
622
|
* @summary List bank transactions
|
|
539
623
|
* @param {string} [authorization] Bearer Token
|
|
540
|
-
* @param {
|
|
541
|
-
* @param {string} [
|
|
624
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
625
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
626
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
542
627
|
* @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>
|
|
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,
|
|
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,
|
|
628
|
+
* @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, transactionDate, entryDate</i>
|
|
629
|
+
* @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, invoiceMatchSuggestions, suggestionGenerationProgress, linkedBankOrder, bankTransactionInvoices<i>
|
|
630
|
+
* @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, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
|
|
545
631
|
* @param {*} [options] Override http request option.
|
|
546
632
|
* @throws {RequiredError}
|
|
547
633
|
*/
|
|
548
|
-
listBankTransactions: function (authorization,
|
|
549
|
-
return localVarFp.listBankTransactions(authorization,
|
|
634
|
+
listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
635
|
+
return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
550
636
|
},
|
|
551
637
|
/**
|
|
552
638
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
553
639
|
* @summary Unlink bank transaction
|
|
554
640
|
* @param {string} code Code of the bank transaction to unlink
|
|
555
|
-
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
556
641
|
* @param {string} [authorization] Bearer Token
|
|
557
642
|
* @param {*} [options] Override http request option.
|
|
558
643
|
* @throws {RequiredError}
|
|
559
644
|
*/
|
|
560
|
-
unlinkBankTransaction: function (code,
|
|
561
|
-
return localVarFp.unlinkBankTransaction(code,
|
|
645
|
+
unlinkBankTransaction: function (code, authorization, options) {
|
|
646
|
+
return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
562
647
|
},
|
|
563
648
|
};
|
|
564
649
|
};
|
|
@@ -574,6 +659,18 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
574
659
|
function BankTransactionApi() {
|
|
575
660
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
576
661
|
}
|
|
662
|
+
/**
|
|
663
|
+
* Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
664
|
+
* @summary Invoice Match Suggestion
|
|
665
|
+
* @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
|
|
666
|
+
* @param {*} [options] Override http request option.
|
|
667
|
+
* @throws {RequiredError}
|
|
668
|
+
* @memberof BankTransactionApi
|
|
669
|
+
*/
|
|
670
|
+
BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
|
|
671
|
+
var _this = this;
|
|
672
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
673
|
+
};
|
|
577
674
|
/**
|
|
578
675
|
* Retrieves the details of the bank transaction that was previously created. Supply the unique bank transaction code that was returned when you created it and Emil Api will return the corresponding bank transaction information. **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
579
676
|
* @summary Retrieve the bank transaction
|
|
@@ -587,7 +684,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
587
684
|
return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
588
685
|
};
|
|
589
686
|
/**
|
|
590
|
-
* This will import bank transactions from a
|
|
687
|
+
* This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
|
|
591
688
|
* @summary Create the bank transactions
|
|
592
689
|
* @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
|
|
593
690
|
* @param {*} [options] Override http request option.
|
|
@@ -621,7 +718,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
621
718
|
BankTransactionApi.prototype.listBankTransactions = function (requestParameters, options) {
|
|
622
719
|
var _this = this;
|
|
623
720
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
624
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.
|
|
721
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
625
722
|
};
|
|
626
723
|
/**
|
|
627
724
|
* Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
|
|
@@ -633,7 +730,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
633
730
|
*/
|
|
634
731
|
BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
|
|
635
732
|
var _this = this;
|
|
636
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.
|
|
733
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
637
734
|
};
|
|
638
735
|
return BankTransactionApi;
|
|
639
736
|
}(base_1.BaseAPI));
|
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Emil Payment Service
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { GetExceedingCreditResponseClass } from '../models';
|
|
16
|
+
import { ListExceedingCreditsResponseClass } from '../models';
|
|
17
|
+
/**
|
|
18
|
+
* ExceedingCreditsApi - axios parameter creator
|
|
19
|
+
* @export
|
|
20
|
+
*/
|
|
21
|
+
export declare const ExceedingCreditsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
22
|
+
/**
|
|
23
|
+
* Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
|
|
24
|
+
* @summary Retrieve the exceeding credit
|
|
25
|
+
* @param {string} code Code of the exceeding credit to get
|
|
26
|
+
* @param {string} [authorization] Bearer Token
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
getExceedingCredit: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
33
|
+
* @summary List exceeding credits
|
|
34
|
+
* @param {string} [authorization] Bearer Token
|
|
35
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
36
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
37
|
+
* @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, bankTransactionCode, invoiceCode</i>
|
|
38
|
+
* @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: code, policyCode, bankTransactionCode, invoiceCode</i>
|
|
39
|
+
* @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>
|
|
40
|
+
* @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/>
|
|
41
|
+
* @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, bankTransactionCode, invoiceCode</i>
|
|
42
|
+
* @param {*} [options] Override http request option.
|
|
43
|
+
* @throws {RequiredError}
|
|
44
|
+
*/
|
|
45
|
+
listExceedingCredits: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* ExceedingCreditsApi - functional programming interface
|
|
49
|
+
* @export
|
|
50
|
+
*/
|
|
51
|
+
export declare const ExceedingCreditsApiFp: (configuration?: Configuration) => {
|
|
52
|
+
/**
|
|
53
|
+
* Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
|
|
54
|
+
* @summary Retrieve the exceeding credit
|
|
55
|
+
* @param {string} code Code of the exceeding credit to get
|
|
56
|
+
* @param {string} [authorization] Bearer Token
|
|
57
|
+
* @param {*} [options] Override http request option.
|
|
58
|
+
* @throws {RequiredError}
|
|
59
|
+
*/
|
|
60
|
+
getExceedingCredit(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetExceedingCreditResponseClass>>;
|
|
61
|
+
/**
|
|
62
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
63
|
+
* @summary List exceeding credits
|
|
64
|
+
* @param {string} [authorization] Bearer Token
|
|
65
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
66
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
67
|
+
* @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, bankTransactionCode, invoiceCode</i>
|
|
68
|
+
* @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: code, policyCode, bankTransactionCode, invoiceCode</i>
|
|
69
|
+
* @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>
|
|
70
|
+
* @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/>
|
|
71
|
+
* @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, bankTransactionCode, invoiceCode</i>
|
|
72
|
+
* @param {*} [options] Override http request option.
|
|
73
|
+
* @throws {RequiredError}
|
|
74
|
+
*/
|
|
75
|
+
listExceedingCredits(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListExceedingCreditsResponseClass>>;
|
|
76
|
+
};
|
|
77
|
+
/**
|
|
78
|
+
* ExceedingCreditsApi - factory interface
|
|
79
|
+
* @export
|
|
80
|
+
*/
|
|
81
|
+
export declare const ExceedingCreditsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
82
|
+
/**
|
|
83
|
+
* Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
|
|
84
|
+
* @summary Retrieve the exceeding credit
|
|
85
|
+
* @param {string} code Code of the exceeding credit to get
|
|
86
|
+
* @param {string} [authorization] Bearer Token
|
|
87
|
+
* @param {*} [options] Override http request option.
|
|
88
|
+
* @throws {RequiredError}
|
|
89
|
+
*/
|
|
90
|
+
getExceedingCredit(code: string, authorization?: string, options?: any): AxiosPromise<GetExceedingCreditResponseClass>;
|
|
91
|
+
/**
|
|
92
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
93
|
+
* @summary List exceeding credits
|
|
94
|
+
* @param {string} [authorization] Bearer Token
|
|
95
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
96
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
97
|
+
* @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, bankTransactionCode, invoiceCode</i>
|
|
98
|
+
* @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: code, policyCode, bankTransactionCode, invoiceCode</i>
|
|
99
|
+
* @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>
|
|
100
|
+
* @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/>
|
|
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, bankTransactionCode, invoiceCode</i>
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
listExceedingCredits(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListExceedingCreditsResponseClass>;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* Request parameters for getExceedingCredit operation in ExceedingCreditsApi.
|
|
109
|
+
* @export
|
|
110
|
+
* @interface ExceedingCreditsApiGetExceedingCreditRequest
|
|
111
|
+
*/
|
|
112
|
+
export interface ExceedingCreditsApiGetExceedingCreditRequest {
|
|
113
|
+
/**
|
|
114
|
+
* Code of the exceeding credit to get
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof ExceedingCreditsApiGetExceedingCredit
|
|
117
|
+
*/
|
|
118
|
+
readonly code: string;
|
|
119
|
+
/**
|
|
120
|
+
* Bearer Token
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof ExceedingCreditsApiGetExceedingCredit
|
|
123
|
+
*/
|
|
124
|
+
readonly authorization?: string;
|
|
125
|
+
}
|
|
126
|
+
/**
|
|
127
|
+
* Request parameters for listExceedingCredits operation in ExceedingCreditsApi.
|
|
128
|
+
* @export
|
|
129
|
+
* @interface ExceedingCreditsApiListExceedingCreditsRequest
|
|
130
|
+
*/
|
|
131
|
+
export interface ExceedingCreditsApiListExceedingCreditsRequest {
|
|
132
|
+
/**
|
|
133
|
+
* Bearer Token
|
|
134
|
+
* @type {string}
|
|
135
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
136
|
+
*/
|
|
137
|
+
readonly authorization?: string;
|
|
138
|
+
/**
|
|
139
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
140
|
+
* @type {number}
|
|
141
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
142
|
+
*/
|
|
143
|
+
readonly pageSize?: number;
|
|
144
|
+
/**
|
|
145
|
+
* 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.
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
148
|
+
*/
|
|
149
|
+
readonly pageToken?: string;
|
|
150
|
+
/**
|
|
151
|
+
* 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, bankTransactionCode, invoiceCode</i>
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
154
|
+
*/
|
|
155
|
+
readonly filter?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, bankTransactionCode, invoiceCode</i>
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
160
|
+
*/
|
|
161
|
+
readonly search?: string;
|
|
162
|
+
/**
|
|
163
|
+
* 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>
|
|
164
|
+
* @type {string}
|
|
165
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
166
|
+
*/
|
|
167
|
+
readonly order?: string;
|
|
168
|
+
/**
|
|
169
|
+
* 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/>
|
|
170
|
+
* @type {string}
|
|
171
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
172
|
+
*/
|
|
173
|
+
readonly expand?: string;
|
|
174
|
+
/**
|
|
175
|
+
* 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, bankTransactionCode, invoiceCode</i>
|
|
176
|
+
* @type {string}
|
|
177
|
+
* @memberof ExceedingCreditsApiListExceedingCredits
|
|
178
|
+
*/
|
|
179
|
+
readonly filters?: string;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* ExceedingCreditsApi - object-oriented interface
|
|
183
|
+
* @export
|
|
184
|
+
* @class ExceedingCreditsApi
|
|
185
|
+
* @extends {BaseAPI}
|
|
186
|
+
*/
|
|
187
|
+
export declare class ExceedingCreditsApi extends BaseAPI {
|
|
188
|
+
/**
|
|
189
|
+
* Retrieves the details of the exceeding credit that was previously created. Supply the unique exceeding credit code that was returned when you created it and Emil Api will return the corresponding exceeding credit information. **Required Permissions** \"payment-management.payments.view\"
|
|
190
|
+
* @summary Retrieve the exceeding credit
|
|
191
|
+
* @param {ExceedingCreditsApiGetExceedingCreditRequest} requestParameters Request parameters.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @throws {RequiredError}
|
|
194
|
+
* @memberof ExceedingCreditsApi
|
|
195
|
+
*/
|
|
196
|
+
getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any>>;
|
|
197
|
+
/**
|
|
198
|
+
* Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
|
|
199
|
+
* @summary List exceeding credits
|
|
200
|
+
* @param {ExceedingCreditsApiListExceedingCreditsRequest} requestParameters Request parameters.
|
|
201
|
+
* @param {*} [options] Override http request option.
|
|
202
|
+
* @throws {RequiredError}
|
|
203
|
+
* @memberof ExceedingCreditsApi
|
|
204
|
+
*/
|
|
205
|
+
listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any>>;
|
|
206
|
+
}
|