@emilgroup/payment-sdk 1.13.1-beta.1 → 1.13.1-beta.11

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.
Files changed (34) hide show
  1. package/.openapi-generator/FILES +3 -0
  2. package/README.md +2 -2
  3. package/api/bank-transaction-api.ts +131 -28
  4. package/base.ts +1 -1
  5. package/dist/api/bank-accounts-api.js +53 -20
  6. package/dist/api/bank-transaction-api.d.ts +84 -28
  7. package/dist/api/bank-transaction-api.js +164 -39
  8. package/dist/api/health-check-api.js +18 -5
  9. package/dist/api/payment-methods-api.js +32 -11
  10. package/dist/api/payment-reminders-api.js +39 -14
  11. package/dist/api/payment-setup-api.js +25 -8
  12. package/dist/api/payments-api.js +32 -11
  13. package/dist/api/refunds-api.js +32 -11
  14. package/dist/api/tenant-bank-account-api.js +46 -17
  15. package/dist/api/webhooks-api.js +18 -5
  16. package/dist/base.js +5 -5
  17. package/dist/common.d.ts +1 -1
  18. package/dist/common.js +2 -2
  19. package/dist/models/bank-transaction-class.d.ts +14 -0
  20. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  21. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  22. package/dist/models/index.d.ts +3 -0
  23. package/dist/models/index.js +3 -0
  24. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  25. package/dist/models/invoice-match-suggestion-class.js +15 -0
  26. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  27. package/dist/models/suggestion-generation-progress-class.js +22 -0
  28. package/models/bank-transaction-class.ts +14 -0
  29. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  30. package/models/index.ts +3 -0
  31. package/models/invoice-match-suggestion-class.ts +66 -0
  32. package/models/suggestion-generation-progress-class.ts +52 -0
  33. package/package.json +3 -3
  34. package/tsconfig.json +1 -0
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -92,19 +101,75 @@ var base_1 = require("../base");
92
101
  var BankTransactionApiAxiosParamCreator = function (configuration) {
93
102
  var _this = this;
94
103
  return {
104
+ /**
105
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
106
+ * @summary Invoice Match Suggestion
107
+ * @param {string} code Code of the bank transaction to generate match suggestions for
108
+ * @param {string} [authorization] Bearer Token
109
+ * @param {*} [options] Override http request option.
110
+ * @throws {RequiredError}
111
+ */
112
+ generateInvoiceMatchSuggestion: function (code_1, authorization_1) {
113
+ var args_1 = [];
114
+ for (var _i = 2; _i < arguments.length; _i++) {
115
+ args_1[_i - 2] = arguments[_i];
116
+ }
117
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
118
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
+ if (options === void 0) { options = {}; }
120
+ return __generator(this, function (_a) {
121
+ switch (_a.label) {
122
+ case 0:
123
+ // verify required parameter 'code' is not null or undefined
124
+ (0, common_1.assertParamExists)('generateInvoiceMatchSuggestion', 'code', code);
125
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/generate-invoice-match-suggestion"
126
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
127
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
128
+ if (configuration) {
129
+ baseOptions = configuration.baseOptions;
130
+ baseAccessToken = configuration.accessToken;
131
+ }
132
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
133
+ localVarHeaderParameter = {};
134
+ localVarQueryParameter = {};
135
+ // authentication bearer required
136
+ // http bearer authentication required
137
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
138
+ case 1:
139
+ // authentication bearer required
140
+ // http bearer authentication required
141
+ _a.sent();
142
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
143
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
144
+ }
145
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
146
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
147
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
148
+ return [2 /*return*/, {
149
+ url: (0, common_1.toPathString)(localVarUrlObj),
150
+ options: localVarRequestOptions,
151
+ }];
152
+ }
153
+ });
154
+ });
155
+ },
95
156
  /**
96
157
  * 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
158
  * @summary Retrieve the bank transaction
98
159
  * @param {string} code
99
160
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
161
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
101
162
  * @param {*} [options] Override http request option.
102
163
  * @throws {RequiredError}
103
164
  */
104
- getBankTransaction: function (code, authorization, expand, options) {
105
- if (options === void 0) { options = {}; }
106
- return __awaiter(_this, void 0, void 0, function () {
165
+ getBankTransaction: function (code_1, authorization_1, expand_1) {
166
+ var args_1 = [];
167
+ for (var _i = 3; _i < arguments.length; _i++) {
168
+ args_1[_i - 3] = arguments[_i];
169
+ }
170
+ return __awaiter(_this, __spreadArray([code_1, authorization_1, expand_1], args_1, true), void 0, function (code, authorization, expand, options) {
107
171
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
+ if (options === void 0) { options = {}; }
108
173
  return __generator(this, function (_a) {
109
174
  switch (_a.label) {
110
175
  case 0:
@@ -145,17 +210,21 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
145
210
  });
146
211
  },
147
212
  /**
148
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
213
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
149
214
  * @summary Create the bank transactions
150
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
215
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
151
216
  * @param {string} [authorization] Bearer Token
152
217
  * @param {*} [options] Override http request option.
153
218
  * @throws {RequiredError}
154
219
  */
155
- importBankTransactions: function (file, authorization, options) {
156
- if (options === void 0) { options = {}; }
157
- return __awaiter(_this, void 0, void 0, function () {
220
+ importBankTransactions: function (file_1, authorization_1) {
221
+ var args_1 = [];
222
+ for (var _i = 2; _i < arguments.length; _i++) {
223
+ args_1[_i - 2] = arguments[_i];
224
+ }
225
+ return __awaiter(_this, __spreadArray([file_1, authorization_1], args_1, true), void 0, function (file, authorization, options) {
158
226
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, localVarFormParams, headersFromBaseOptions;
227
+ if (options === void 0) { options = {}; }
159
228
  return __generator(this, function (_a) {
160
229
  switch (_a.label) {
161
230
  case 0:
@@ -205,10 +274,14 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
205
274
  * @param {*} [options] Override http request option.
206
275
  * @throws {RequiredError}
207
276
  */
208
- linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
209
- if (options === void 0) { options = {}; }
210
- return __awaiter(_this, void 0, void 0, function () {
277
+ linkBankTransaction: function (code_1, linkBankTransactionRequestDtoRest_1, authorization_1) {
278
+ var args_1 = [];
279
+ for (var _i = 3; _i < arguments.length; _i++) {
280
+ args_1[_i - 3] = arguments[_i];
281
+ }
282
+ return __awaiter(_this, __spreadArray([code_1, linkBankTransactionRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, linkBankTransactionRequestDtoRest, authorization, options) {
211
283
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
284
+ if (options === void 0) { options = {}; }
212
285
  return __generator(this, function (_a) {
213
286
  switch (_a.label) {
214
287
  case 0:
@@ -253,18 +326,22 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
253
326
  * 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
327
  * @summary List bank transactions
255
328
  * @param {string} [authorization] Bearer Token
256
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
257
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
329
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
330
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
258
331
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
332
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, transactionDate, entryDate&lt;/i&gt;
333
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
261
334
  * @param {*} [options] Override http request option.
262
335
  * @throws {RequiredError}
263
336
  */
264
- listBankTransactions: function (authorization, filter, filters, search, order, expand, options) {
265
- if (options === void 0) { options = {}; }
266
- return __awaiter(_this, void 0, void 0, function () {
337
+ listBankTransactions: function (authorization_1, filter_1, filters_1, search_1, order_1, expand_1) {
338
+ var args_1 = [];
339
+ for (var _i = 6; _i < arguments.length; _i++) {
340
+ args_1[_i - 6] = arguments[_i];
341
+ }
342
+ return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, search_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, search, order, expand, options) {
267
343
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
344
+ if (options === void 0) { options = {}; }
268
345
  return __generator(this, function (_a) {
269
346
  switch (_a.label) {
270
347
  case 0:
@@ -322,10 +399,14 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
322
399
  * @param {*} [options] Override http request option.
323
400
  * @throws {RequiredError}
324
401
  */
325
- unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
326
- if (options === void 0) { options = {}; }
327
- return __awaiter(_this, void 0, void 0, function () {
402
+ unlinkBankTransaction: function (code_1, unlinkBankTransactionRequestDtoRest_1, authorization_1) {
403
+ var args_1 = [];
404
+ for (var _i = 3; _i < arguments.length; _i++) {
405
+ args_1[_i - 3] = arguments[_i];
406
+ }
407
+ return __awaiter(_this, __spreadArray([code_1, unlinkBankTransactionRequestDtoRest_1, authorization_1], args_1, true), void 0, function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
328
408
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
409
+ if (options === void 0) { options = {}; }
329
410
  return __generator(this, function (_a) {
330
411
  switch (_a.label) {
331
412
  case 0:
@@ -376,12 +457,33 @@ exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreato
376
457
  var BankTransactionApiFp = function (configuration) {
377
458
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
378
459
  return {
460
+ /**
461
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
462
+ * @summary Invoice Match Suggestion
463
+ * @param {string} code Code of the bank transaction to generate match suggestions for
464
+ * @param {string} [authorization] Bearer Token
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
469
+ return __awaiter(this, void 0, void 0, function () {
470
+ var localVarAxiosArgs;
471
+ return __generator(this, function (_a) {
472
+ switch (_a.label) {
473
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.generateInvoiceMatchSuggestion(code, authorization, options)];
474
+ case 1:
475
+ localVarAxiosArgs = _a.sent();
476
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
477
+ }
478
+ });
479
+ });
480
+ },
379
481
  /**
380
482
  * 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
483
  * @summary Retrieve the bank transaction
382
484
  * @param {string} code
383
485
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
486
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
385
487
  * @param {*} [options] Override http request option.
386
488
  * @throws {RequiredError}
387
489
  */
@@ -399,9 +501,9 @@ var BankTransactionApiFp = function (configuration) {
399
501
  });
400
502
  },
401
503
  /**
402
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
504
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
403
505
  * @summary Create the bank transactions
404
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
506
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
405
507
  * @param {string} [authorization] Bearer Token
406
508
  * @param {*} [options] Override http request option.
407
509
  * @throws {RequiredError}
@@ -445,11 +547,11 @@ var BankTransactionApiFp = function (configuration) {
445
547
  * 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
548
  * @summary List bank transactions
447
549
  * @param {string} [authorization] Bearer Token
448
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
449
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
550
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
551
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
450
552
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
553
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, transactionDate, entryDate&lt;/i&gt;
554
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
453
555
  * @param {*} [options] Override http request option.
454
556
  * @throws {RequiredError}
455
557
  */
@@ -498,12 +600,23 @@ exports.BankTransactionApiFp = BankTransactionApiFp;
498
600
  var BankTransactionApiFactory = function (configuration, basePath, axios) {
499
601
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
500
602
  return {
603
+ /**
604
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
605
+ * @summary Invoice Match Suggestion
606
+ * @param {string} code Code of the bank transaction to generate match suggestions for
607
+ * @param {string} [authorization] Bearer Token
608
+ * @param {*} [options] Override http request option.
609
+ * @throws {RequiredError}
610
+ */
611
+ generateInvoiceMatchSuggestion: function (code, authorization, options) {
612
+ return localVarFp.generateInvoiceMatchSuggestion(code, authorization, options).then(function (request) { return request(axios, basePath); });
613
+ },
501
614
  /**
502
615
  * 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
616
  * @summary Retrieve the bank transaction
504
617
  * @param {string} code
505
618
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
619
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
507
620
  * @param {*} [options] Override http request option.
508
621
  * @throws {RequiredError}
509
622
  */
@@ -511,9 +624,9 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
511
624
  return localVarFp.getBankTransaction(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
512
625
  },
513
626
  /**
514
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
627
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
515
628
  * @summary Create the bank transactions
516
- * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream
629
+ * @param {any} file MT940/CAMT.053 file to import bank transactions from. Extension must be .txt .sta or .xml.&lt;br/&gt; Allowed Content Types: text/plain, application/octet-stream, application/xml, text/xml
517
630
  * @param {string} [authorization] Bearer Token
518
631
  * @param {*} [options] Override http request option.
519
632
  * @throws {RequiredError}
@@ -537,11 +650,11 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
537
650
  * 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
651
  * @summary List bank transactions
539
652
  * @param {string} [authorization] Bearer Token
540
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
541
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
653
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
654
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, bankAccountId, bankAccountNumber, messageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked&lt;/i&gt;
542
655
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: id, createdAt, amount&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount, transactionDate, entryDate&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction&lt;i&gt;
656
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, transactionDate, entryDate&lt;/i&gt;
657
+ * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: bankAccount, transaction, invoiceMatchSuggestions, suggestionGenerationProgress&lt;i&gt;
545
658
  * @param {*} [options] Override http request option.
546
659
  * @throws {RequiredError}
547
660
  */
@@ -574,6 +687,18 @@ var BankTransactionApi = /** @class */ (function (_super) {
574
687
  function BankTransactionApi() {
575
688
  return _super !== null && _super.apply(this, arguments) || this;
576
689
  }
690
+ /**
691
+ * Generate suggestion for matching a bank transaction with an Invoice **Required Permissions** \"payment-management.bank-accounts.view\"
692
+ * @summary Invoice Match Suggestion
693
+ * @param {BankTransactionApiGenerateInvoiceMatchSuggestionRequest} requestParameters Request parameters.
694
+ * @param {*} [options] Override http request option.
695
+ * @throws {RequiredError}
696
+ * @memberof BankTransactionApi
697
+ */
698
+ BankTransactionApi.prototype.generateInvoiceMatchSuggestion = function (requestParameters, options) {
699
+ var _this = this;
700
+ return (0, exports.BankTransactionApiFp)(this.configuration).generateInvoiceMatchSuggestion(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
701
+ };
577
702
  /**
578
703
  * 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
704
  * @summary Retrieve the bank transaction
@@ -587,7 +712,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
587
712
  return (0, exports.BankTransactionApiFp)(this.configuration).getBankTransaction(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
588
713
  };
589
714
  /**
590
- * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
715
+ * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
591
716
  * @summary Create the bank transactions
592
717
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
593
718
  * @param {*} [options] Override http request option.
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -98,10 +107,14 @@ var HealthCheckApiAxiosParamCreator = function (configuration) {
98
107
  * @param {*} [options] Override http request option.
99
108
  * @throws {RequiredError}
100
109
  */
101
- check: function (options) {
102
- if (options === void 0) { options = {}; }
103
- return __awaiter(_this, void 0, void 0, function () {
110
+ check: function () {
111
+ var args_1 = [];
112
+ for (var _i = 0; _i < arguments.length; _i++) {
113
+ args_1[_i] = arguments[_i];
114
+ }
115
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
104
116
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
117
+ if (options === void 0) { options = {}; }
105
118
  return __generator(this, function (_a) {
106
119
  localVarPath = "/paymentservice/health";
107
120
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -100,10 +109,14 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
100
109
  * @param {*} [options] Override http request option.
101
110
  * @throws {RequiredError}
102
111
  */
103
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
112
+ createPaymentMethod: function (createPspPaymentMethodRequestDto_1, authorization_1) {
113
+ var args_1 = [];
114
+ for (var _i = 2; _i < arguments.length; _i++) {
115
+ args_1[_i - 2] = arguments[_i];
116
+ }
117
+ return __awaiter(_this, __spreadArray([createPspPaymentMethodRequestDto_1, authorization_1], args_1, true), void 0, function (createPspPaymentMethodRequestDto, authorization, options) {
106
118
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
+ if (options === void 0) { options = {}; }
107
120
  return __generator(this, function (_a) {
108
121
  switch (_a.label) {
109
122
  case 0:
@@ -149,10 +162,14 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
149
162
  * @param {*} [options] Override http request option.
150
163
  * @throws {RequiredError}
151
164
  */
152
- getPaymentMethod: function (code, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
165
+ getPaymentMethod: function (code_1, authorization_1) {
166
+ var args_1 = [];
167
+ for (var _i = 2; _i < arguments.length; _i++) {
168
+ args_1[_i - 2] = arguments[_i];
169
+ }
170
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
155
171
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
172
+ if (options === void 0) { options = {}; }
156
173
  return __generator(this, function (_a) {
157
174
  switch (_a.label) {
158
175
  case 0:
@@ -200,10 +217,14 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
200
217
  * @param {*} [options] Override http request option.
201
218
  * @throws {RequiredError}
202
219
  */
203
- listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
204
- if (options === void 0) { options = {}; }
205
- return __awaiter(_this, void 0, void 0, function () {
220
+ listPaymentMethods: function (authorization_1, filter_1, filters_1, order_1, expand_1) {
221
+ var args_1 = [];
222
+ for (var _i = 5; _i < arguments.length; _i++) {
223
+ args_1[_i - 5] = arguments[_i];
224
+ }
225
+ return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, order, expand, options) {
206
226
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
227
+ if (options === void 0) { options = {}; }
207
228
  return __generator(this, function (_a) {
208
229
  switch (_a.label) {
209
230
  case 0:
@@ -48,8 +48,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
48
48
  });
49
49
  };
50
50
  var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
51
+ var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
52
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
53
  function verb(n) { return function (v) { return step([n, v]); }; }
54
54
  function step(op) {
55
55
  if (f) throw new TypeError("Generator is already executing.");
@@ -74,6 +74,15 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
74
74
  if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
75
  }
76
76
  };
77
+ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
78
+ if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
79
+ if (ar || !(i in from)) {
80
+ if (!ar) ar = Array.prototype.slice.call(from, 0, i);
81
+ ar[i] = from[i];
82
+ }
83
+ }
84
+ return to.concat(ar || Array.prototype.slice.call(from));
85
+ };
77
86
  var __importDefault = (this && this.__importDefault) || function (mod) {
78
87
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
88
  };
@@ -100,10 +109,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
100
109
  * @param {*} [options] Override http request option.
101
110
  * @throws {RequiredError}
102
111
  */
103
- createPaymentReminder: function (createPaymentReminderRequestDto, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
112
+ createPaymentReminder: function (createPaymentReminderRequestDto_1, authorization_1) {
113
+ var args_1 = [];
114
+ for (var _i = 2; _i < arguments.length; _i++) {
115
+ args_1[_i - 2] = arguments[_i];
116
+ }
117
+ return __awaiter(_this, __spreadArray([createPaymentReminderRequestDto_1, authorization_1], args_1, true), void 0, function (createPaymentReminderRequestDto, authorization, options) {
106
118
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
119
+ if (options === void 0) { options = {}; }
107
120
  return __generator(this, function (_a) {
108
121
  switch (_a.label) {
109
122
  case 0:
@@ -150,10 +163,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
150
163
  * @param {*} [options] Override http request option.
151
164
  * @throws {RequiredError}
152
165
  */
153
- deactivatePaymentReminder: function (code, deactivatePaymentReminderRequestDto, authorization, options) {
154
- if (options === void 0) { options = {}; }
155
- return __awaiter(_this, void 0, void 0, function () {
166
+ deactivatePaymentReminder: function (code_1, deactivatePaymentReminderRequestDto_1, authorization_1) {
167
+ var args_1 = [];
168
+ for (var _i = 3; _i < arguments.length; _i++) {
169
+ args_1[_i - 3] = arguments[_i];
170
+ }
171
+ return __awaiter(_this, __spreadArray([code_1, deactivatePaymentReminderRequestDto_1, authorization_1], args_1, true), void 0, function (code, deactivatePaymentReminderRequestDto, authorization, options) {
156
172
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
173
+ if (options === void 0) { options = {}; }
157
174
  return __generator(this, function (_a) {
158
175
  switch (_a.label) {
159
176
  case 0:
@@ -202,10 +219,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
202
219
  * @param {*} [options] Override http request option.
203
220
  * @throws {RequiredError}
204
221
  */
205
- getPaymentReminder: function (code, authorization, options) {
206
- if (options === void 0) { options = {}; }
207
- return __awaiter(_this, void 0, void 0, function () {
222
+ getPaymentReminder: function (code_1, authorization_1) {
223
+ var args_1 = [];
224
+ for (var _i = 2; _i < arguments.length; _i++) {
225
+ args_1[_i - 2] = arguments[_i];
226
+ }
227
+ return __awaiter(_this, __spreadArray([code_1, authorization_1], args_1, true), void 0, function (code, authorization, options) {
208
228
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
229
+ if (options === void 0) { options = {}; }
209
230
  return __generator(this, function (_a) {
210
231
  switch (_a.label) {
211
232
  case 0:
@@ -253,10 +274,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
253
274
  * @param {*} [options] Override http request option.
254
275
  * @throws {RequiredError}
255
276
  */
256
- listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
257
- if (options === void 0) { options = {}; }
258
- return __awaiter(_this, void 0, void 0, function () {
277
+ listPaymentReminders: function (authorization_1, filter_1, filters_1, order_1, expand_1) {
278
+ var args_1 = [];
279
+ for (var _i = 5; _i < arguments.length; _i++) {
280
+ args_1[_i - 5] = arguments[_i];
281
+ }
282
+ return __awaiter(_this, __spreadArray([authorization_1, filter_1, filters_1, order_1, expand_1], args_1, true), void 0, function (authorization, filter, filters, order, expand, options) {
259
283
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
284
+ if (options === void 0) { options = {}; }
260
285
  return __generator(this, function (_a) {
261
286
  switch (_a.label) {
262
287
  case 0: