@emilgroup/payment-sdk 1.13.1-beta.2 → 1.13.1-beta.4

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 (32) hide show
  1. package/README.md +2 -2
  2. package/api/bank-accounts-api.ts +24 -24
  3. package/api/bank-transaction-api.ts +20 -20
  4. package/api/payment-methods-api.ts +12 -12
  5. package/api/payment-reminders-api.ts +30 -30
  6. package/api/payment-setup-api.ts +8 -8
  7. package/api/payments-api.ts +12 -12
  8. package/api/refunds-api.ts +12 -12
  9. package/api/webhooks-api.ts +4 -4
  10. package/dist/api/bank-accounts-api.d.ts +24 -24
  11. package/dist/api/bank-accounts-api.js +24 -24
  12. package/dist/api/bank-transaction-api.d.ts +20 -20
  13. package/dist/api/bank-transaction-api.js +20 -20
  14. package/dist/api/payment-methods-api.d.ts +12 -12
  15. package/dist/api/payment-methods-api.js +12 -12
  16. package/dist/api/payment-reminders-api.d.ts +26 -26
  17. package/dist/api/payment-reminders-api.js +25 -25
  18. package/dist/api/payment-setup-api.d.ts +8 -8
  19. package/dist/api/payment-setup-api.js +8 -8
  20. package/dist/api/payments-api.d.ts +12 -12
  21. package/dist/api/payments-api.js +12 -12
  22. package/dist/api/refunds-api.d.ts +12 -12
  23. package/dist/api/refunds-api.js +12 -12
  24. package/dist/api/webhooks-api.d.ts +4 -4
  25. package/dist/api/webhooks-api.js +4 -4
  26. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +8 -2
  27. package/dist/models/bank-transaction-class.d.ts +8 -2
  28. package/dist/models/unlinked-bank-transaction-response-class.d.ts +8 -2
  29. package/models/bank-transaction-class-without-expand-properties.ts +8 -2
  30. package/models/bank-transaction-class.ts +8 -2
  31. package/models/unlinked-bank-transaction-response-class.ts +8 -2
  32. package/package.json +1 -1
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/payment-sdk@1.13.1-beta.2 --save
20
+ npm install @emilgroup/payment-sdk@1.13.1-beta.4 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.13.1-beta.2
24
+ yarn add @emilgroup/payment-sdk@1.13.1-beta.4
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -41,7 +41,7 @@ import { UpdateBankAccountResponseClass } from '../models';
41
41
  export const BankAccountsApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
44
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.create\"
45
45
  * @summary Create the bank account
46
46
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
47
47
  * @param {string} [authorization] Bearer Token
@@ -88,7 +88,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
88
88
  };
89
89
  },
90
90
  /**
91
- * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
91
+ * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.delete\"
92
92
  * @summary Delete the bank account
93
93
  * @param {string} code Unique identifier for the object.
94
94
  * @param {string} [authorization] Bearer Token
@@ -133,7 +133,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
133
133
  };
134
134
  },
135
135
  /**
136
- * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
136
+ * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information. **Required Permissions** \"payment-management.bank-accounts.view\"
137
137
  * @summary Retrieve the bank account
138
138
  * @param {string} code
139
139
  * @param {string} [authorization] Bearer Token
@@ -183,7 +183,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
183
183
  };
184
184
  },
185
185
  /**
186
- * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
186
+ * Returns a list of bank accounts you have previously created. The bank accounts 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\"
187
187
  * @summary List bank accounts
188
188
  * @param {string} [authorization] Bearer Token
189
189
  * @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, accountCode, partnerCode</i>
@@ -244,7 +244,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
244
244
  };
245
245
  },
246
246
  /**
247
- * Set the primary bank account for the specified partner/account
247
+ * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
248
248
  * @summary Set primary bank account
249
249
  * @param {string} code Code of the bank account to set primary
250
250
  * @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
@@ -295,7 +295,7 @@ export const BankAccountsApiAxiosParamCreator = function (configuration?: Config
295
295
  };
296
296
  },
297
297
  /**
298
- * Update a bank account by code
298
+ * Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
299
299
  * @summary Update the bank account
300
300
  * @param {string} code Unique identifier for the object.
301
301
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
@@ -356,7 +356,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
356
356
  const localVarAxiosParamCreator = BankAccountsApiAxiosParamCreator(configuration)
357
357
  return {
358
358
  /**
359
- * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
359
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.create\"
360
360
  * @summary Create the bank account
361
361
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
362
362
  * @param {string} [authorization] Bearer Token
@@ -368,7 +368,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
368
368
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
369
369
  },
370
370
  /**
371
- * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
371
+ * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.delete\"
372
372
  * @summary Delete the bank account
373
373
  * @param {string} code Unique identifier for the object.
374
374
  * @param {string} [authorization] Bearer Token
@@ -380,7 +380,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
380
380
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
381
381
  },
382
382
  /**
383
- * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
383
+ * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information. **Required Permissions** \"payment-management.bank-accounts.view\"
384
384
  * @summary Retrieve the bank account
385
385
  * @param {string} code
386
386
  * @param {string} [authorization] Bearer Token
@@ -393,7 +393,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
393
393
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
394
394
  },
395
395
  /**
396
- * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
396
+ * Returns a list of bank accounts you have previously created. The bank accounts 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\"
397
397
  * @summary List bank accounts
398
398
  * @param {string} [authorization] Bearer Token
399
399
  * @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, accountCode, partnerCode</i>
@@ -408,7 +408,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
408
408
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
409
409
  },
410
410
  /**
411
- * Set the primary bank account for the specified partner/account
411
+ * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
412
412
  * @summary Set primary bank account
413
413
  * @param {string} code Code of the bank account to set primary
414
414
  * @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
@@ -421,7 +421,7 @@ export const BankAccountsApiFp = function(configuration?: Configuration) {
421
421
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
422
422
  },
423
423
  /**
424
- * Update a bank account by code
424
+ * Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
425
425
  * @summary Update the bank account
426
426
  * @param {string} code Unique identifier for the object.
427
427
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
@@ -444,7 +444,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
444
444
  const localVarFp = BankAccountsApiFp(configuration)
445
445
  return {
446
446
  /**
447
- * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
447
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.create\"
448
448
  * @summary Create the bank account
449
449
  * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
450
450
  * @param {string} [authorization] Bearer Token
@@ -455,7 +455,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
455
455
  return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then((request) => request(axios, basePath));
456
456
  },
457
457
  /**
458
- * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
458
+ * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.delete\"
459
459
  * @summary Delete the bank account
460
460
  * @param {string} code Unique identifier for the object.
461
461
  * @param {string} [authorization] Bearer Token
@@ -466,7 +466,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
466
466
  return localVarFp.deleteBankAccount(code, authorization, options).then((request) => request(axios, basePath));
467
467
  },
468
468
  /**
469
- * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
469
+ * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information. **Required Permissions** \"payment-management.bank-accounts.view\"
470
470
  * @summary Retrieve the bank account
471
471
  * @param {string} code
472
472
  * @param {string} [authorization] Bearer Token
@@ -478,7 +478,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
478
478
  return localVarFp.getBankAccount(code, authorization, expand, options).then((request) => request(axios, basePath));
479
479
  },
480
480
  /**
481
- * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
481
+ * Returns a list of bank accounts you have previously created. The bank accounts 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\"
482
482
  * @summary List bank accounts
483
483
  * @param {string} [authorization] Bearer Token
484
484
  * @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, accountCode, partnerCode</i>
@@ -492,7 +492,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
492
492
  return localVarFp.listBankAccounts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
493
493
  },
494
494
  /**
495
- * Set the primary bank account for the specified partner/account
495
+ * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
496
496
  * @summary Set primary bank account
497
497
  * @param {string} code Code of the bank account to set primary
498
498
  * @param {SetPrimaryBankAccountRequestDtoRest} setPrimaryBankAccountRequestDtoRest
@@ -504,7 +504,7 @@ export const BankAccountsApiFactory = function (configuration?: Configuration, b
504
504
  return localVarFp.setPrimaryBankAccount(code, setPrimaryBankAccountRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
505
505
  },
506
506
  /**
507
- * Update a bank account by code
507
+ * Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
508
508
  * @summary Update the bank account
509
509
  * @param {string} code Unique identifier for the object.
510
510
  * @param {UpdateBankAccountRequestDtoRest} updateBankAccountRequestDtoRest
@@ -694,7 +694,7 @@ export interface BankAccountsApiUpdateBankAccountRequest {
694
694
  */
695
695
  export class BankAccountsApi extends BaseAPI {
696
696
  /**
697
- * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary.
697
+ * This will create a bank account for a specified partner/account. If this is the first bank account for the specified partner/account, it will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.create\"
698
698
  * @summary Create the bank account
699
699
  * @param {BankAccountsApiCreateBankAccountRequest} requestParameters Request parameters.
700
700
  * @param {*} [options] Override http request option.
@@ -706,7 +706,7 @@ export class BankAccountsApi extends BaseAPI {
706
706
  }
707
707
 
708
708
  /**
709
- * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary.
709
+ * Deletes a bank account by code. If the bank account was primary, then the first available bank account for the specified partner/account will be marked as primary. **Required Permissions** \"payment-management.bank-accounts.delete\"
710
710
  * @summary Delete the bank account
711
711
  * @param {BankAccountsApiDeleteBankAccountRequest} requestParameters Request parameters.
712
712
  * @param {*} [options] Override http request option.
@@ -718,7 +718,7 @@ export class BankAccountsApi extends BaseAPI {
718
718
  }
719
719
 
720
720
  /**
721
- * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information.
721
+ * Retrieves the details of the bank account that was previously created. Supply the unique bank account code that was returned when you created it and Emil Api will return the corresponding bank account information. **Required Permissions** \"payment-management.bank-accounts.view\"
722
722
  * @summary Retrieve the bank account
723
723
  * @param {BankAccountsApiGetBankAccountRequest} requestParameters Request parameters.
724
724
  * @param {*} [options] Override http request option.
@@ -730,7 +730,7 @@ export class BankAccountsApi extends BaseAPI {
730
730
  }
731
731
 
732
732
  /**
733
- * Returns a list of bank accounts you have previously created. The bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
733
+ * Returns a list of bank accounts you have previously created. The bank accounts 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\"
734
734
  * @summary List bank accounts
735
735
  * @param {BankAccountsApiListBankAccountsRequest} requestParameters Request parameters.
736
736
  * @param {*} [options] Override http request option.
@@ -742,7 +742,7 @@ export class BankAccountsApi extends BaseAPI {
742
742
  }
743
743
 
744
744
  /**
745
- * Set the primary bank account for the specified partner/account
745
+ * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
746
746
  * @summary Set primary bank account
747
747
  * @param {BankAccountsApiSetPrimaryBankAccountRequest} requestParameters Request parameters.
748
748
  * @param {*} [options] Override http request option.
@@ -754,7 +754,7 @@ export class BankAccountsApi extends BaseAPI {
754
754
  }
755
755
 
756
756
  /**
757
- * Update a bank account by code
757
+ * Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
758
758
  * @summary Update the bank account
759
759
  * @param {BankAccountsApiUpdateBankAccountRequest} requestParameters Request parameters.
760
760
  * @param {*} [options] Override http request option.
@@ -41,7 +41,7 @@ import { UnlinkBankTransactionsResponseClass } from '../models';
41
41
  export const BankTransactionApiAxiosParamCreator = function (configuration?: Configuration) {
42
42
  return {
43
43
  /**
44
- * 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.
44
+ * 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\"
45
45
  * @summary Retrieve the bank transaction
46
46
  * @param {string} code
47
47
  * @param {string} [authorization] Bearer Token
@@ -91,7 +91,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
91
91
  };
92
92
  },
93
93
  /**
94
- * This will import bank transactions from a swift MT940 file
94
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
95
95
  * @summary Create the bank transactions
96
96
  * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
97
97
  * @param {string} [authorization] Bearer Token
@@ -143,7 +143,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
143
143
  };
144
144
  },
145
145
  /**
146
- * Links a bank transaction with an invoice
146
+ * Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
147
147
  * @summary Link bank transaction
148
148
  * @param {string} code Code of the bank transaction to link
149
149
  * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
@@ -194,7 +194,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
194
194
  };
195
195
  },
196
196
  /**
197
- * 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.
197
+ * 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\"
198
198
  * @summary List bank transactions
199
199
  * @param {string} [authorization] Bearer Token
200
200
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
@@ -260,7 +260,7 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
260
260
  };
261
261
  },
262
262
  /**
263
- * Unlinks an already linked bank transaction
263
+ * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
264
264
  * @summary Unlink bank transaction
265
265
  * @param {string} code Code of the bank transaction to unlink
266
266
  * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
@@ -321,7 +321,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
321
321
  const localVarAxiosParamCreator = BankTransactionApiAxiosParamCreator(configuration)
322
322
  return {
323
323
  /**
324
- * 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.
324
+ * 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\"
325
325
  * @summary Retrieve the bank transaction
326
326
  * @param {string} code
327
327
  * @param {string} [authorization] Bearer Token
@@ -334,7 +334,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
334
334
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
335
335
  },
336
336
  /**
337
- * This will import bank transactions from a swift MT940 file
337
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
338
338
  * @summary Create the bank transactions
339
339
  * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
340
340
  * @param {string} [authorization] Bearer Token
@@ -346,7 +346,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
346
346
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
347
347
  },
348
348
  /**
349
- * Links a bank transaction with an invoice
349
+ * Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
350
350
  * @summary Link bank transaction
351
351
  * @param {string} code Code of the bank transaction to link
352
352
  * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
@@ -359,7 +359,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
359
359
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
360
360
  },
361
361
  /**
362
- * 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.
362
+ * 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\"
363
363
  * @summary List bank transactions
364
364
  * @param {string} [authorization] Bearer Token
365
365
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
@@ -375,7 +375,7 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
375
375
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
376
376
  },
377
377
  /**
378
- * Unlinks an already linked bank transaction
378
+ * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
379
379
  * @summary Unlink bank transaction
380
380
  * @param {string} code Code of the bank transaction to unlink
381
381
  * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
@@ -398,7 +398,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
398
398
  const localVarFp = BankTransactionApiFp(configuration)
399
399
  return {
400
400
  /**
401
- * 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.
401
+ * 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\"
402
402
  * @summary Retrieve the bank transaction
403
403
  * @param {string} code
404
404
  * @param {string} [authorization] Bearer Token
@@ -410,7 +410,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
410
410
  return localVarFp.getBankTransaction(code, authorization, expand, options).then((request) => request(axios, basePath));
411
411
  },
412
412
  /**
413
- * This will import bank transactions from a swift MT940 file
413
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
414
414
  * @summary Create the bank transactions
415
415
  * @param {any} file Swift MT940 file to import bank transactions from. Extension must be .txt or .sta.<br/> Allowed Content Types: text/plain, application/octet-stream
416
416
  * @param {string} [authorization] Bearer Token
@@ -421,7 +421,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
421
421
  return localVarFp.importBankTransactions(file, authorization, options).then((request) => request(axios, basePath));
422
422
  },
423
423
  /**
424
- * Links a bank transaction with an invoice
424
+ * Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
425
425
  * @summary Link bank transaction
426
426
  * @param {string} code Code of the bank transaction to link
427
427
  * @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
@@ -433,7 +433,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
433
433
  return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
434
434
  },
435
435
  /**
436
- * 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.
436
+ * 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\"
437
437
  * @summary List bank transactions
438
438
  * @param {string} [authorization] Bearer Token
439
439
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, bankAccountId, bankAccountNumber, swiftMessageReference, amount, currency, transactionReference, transactionDate, entryDate, isLinked</i>
@@ -448,7 +448,7 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
448
448
  return localVarFp.listBankTransactions(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
449
449
  },
450
450
  /**
451
- * Unlinks an already linked bank transaction
451
+ * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
452
452
  * @summary Unlink bank transaction
453
453
  * @param {string} code Code of the bank transaction to unlink
454
454
  * @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
@@ -624,7 +624,7 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
624
624
  */
625
625
  export class BankTransactionApi extends BaseAPI {
626
626
  /**
627
- * 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.
627
+ * 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\"
628
628
  * @summary Retrieve the bank transaction
629
629
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
630
630
  * @param {*} [options] Override http request option.
@@ -636,7 +636,7 @@ export class BankTransactionApi extends BaseAPI {
636
636
  }
637
637
 
638
638
  /**
639
- * This will import bank transactions from a swift MT940 file
639
+ * This will import bank transactions from a swift MT940 file **Required Permissions** \"payment-management.bank-accounts.view\"
640
640
  * @summary Create the bank transactions
641
641
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
642
642
  * @param {*} [options] Override http request option.
@@ -648,7 +648,7 @@ export class BankTransactionApi extends BaseAPI {
648
648
  }
649
649
 
650
650
  /**
651
- * Links a bank transaction with an invoice
651
+ * Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
652
652
  * @summary Link bank transaction
653
653
  * @param {BankTransactionApiLinkBankTransactionRequest} requestParameters Request parameters.
654
654
  * @param {*} [options] Override http request option.
@@ -660,7 +660,7 @@ export class BankTransactionApi extends BaseAPI {
660
660
  }
661
661
 
662
662
  /**
663
- * 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.
663
+ * 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\"
664
664
  * @summary List bank transactions
665
665
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
666
666
  * @param {*} [options] Override http request option.
@@ -672,7 +672,7 @@ export class BankTransactionApi extends BaseAPI {
672
672
  }
673
673
 
674
674
  /**
675
- * Unlinks an already linked bank transaction
675
+ * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
676
676
  * @summary Unlink bank transaction
677
677
  * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
678
678
  * @param {*} [options] Override http request option.
@@ -35,7 +35,7 @@ import { ListPaymentMethodsResponseClass } from '../models';
35
35
  export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Configuration) {
36
36
  return {
37
37
  /**
38
- * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
38
+ * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
39
39
  * @summary Create the payment method
40
40
  * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
41
41
  * @param {string} [authorization] Bearer Token
@@ -82,7 +82,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
82
82
  };
83
83
  },
84
84
  /**
85
- * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
85
+ * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information. **Required Permissions** \"payment-management.payments.view\"
86
86
  * @summary Retrieve the payment method
87
87
  * @param {string} code
88
88
  * @param {string} [authorization] Bearer Token
@@ -127,7 +127,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
127
127
  };
128
128
  },
129
129
  /**
130
- * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
130
+ * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
131
131
  * @summary List payment methods
132
132
  * @param {string} [authorization] Bearer Token
133
133
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
@@ -198,7 +198,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
198
198
  const localVarAxiosParamCreator = PaymentMethodsApiAxiosParamCreator(configuration)
199
199
  return {
200
200
  /**
201
- * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
201
+ * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
202
202
  * @summary Create the payment method
203
203
  * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
204
204
  * @param {string} [authorization] Bearer Token
@@ -210,7 +210,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
210
210
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
211
211
  },
212
212
  /**
213
- * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
213
+ * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information. **Required Permissions** \"payment-management.payments.view\"
214
214
  * @summary Retrieve the payment method
215
215
  * @param {string} code
216
216
  * @param {string} [authorization] Bearer Token
@@ -222,7 +222,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
222
222
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
223
223
  },
224
224
  /**
225
- * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
225
+ * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
226
226
  * @summary List payment methods
227
227
  * @param {string} [authorization] Bearer Token
228
228
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
@@ -247,7 +247,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
247
247
  const localVarFp = PaymentMethodsApiFp(configuration)
248
248
  return {
249
249
  /**
250
- * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
250
+ * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
251
251
  * @summary Create the payment method
252
252
  * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
253
253
  * @param {string} [authorization] Bearer Token
@@ -258,7 +258,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
258
258
  return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
259
259
  },
260
260
  /**
261
- * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
261
+ * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information. **Required Permissions** \"payment-management.payments.view\"
262
262
  * @summary Retrieve the payment method
263
263
  * @param {string} code
264
264
  * @param {string} [authorization] Bearer Token
@@ -269,7 +269,7 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
269
269
  return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
270
270
  },
271
271
  /**
272
- * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
272
+ * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
273
273
  * @summary List payment methods
274
274
  * @param {string} [authorization] Bearer Token
275
275
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
@@ -377,7 +377,7 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
377
377
  */
378
378
  export class PaymentMethodsApi extends BaseAPI {
379
379
  /**
380
- * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
380
+ * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund. **Required Permissions** \"payment-management.payments.create\"
381
381
  * @summary Create the payment method
382
382
  * @param {PaymentMethodsApiCreatePaymentMethodRequest} requestParameters Request parameters.
383
383
  * @param {*} [options] Override http request option.
@@ -389,7 +389,7 @@ export class PaymentMethodsApi extends BaseAPI {
389
389
  }
390
390
 
391
391
  /**
392
- * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
392
+ * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information. **Required Permissions** \"payment-management.payments.view\"
393
393
  * @summary Retrieve the payment method
394
394
  * @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
395
395
  * @param {*} [options] Override http request option.
@@ -401,7 +401,7 @@ export class PaymentMethodsApi extends BaseAPI {
401
401
  }
402
402
 
403
403
  /**
404
- * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
404
+ * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
405
405
  * @summary List payment methods
406
406
  * @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
407
407
  * @param {*} [options] Override http request option.