@emilgroup/payment-sdk 1.14.1-beta.2 → 1.14.1-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md 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.14.1-beta.2 --save
20
+ npm install @emilgroup/payment-sdk@1.14.1-beta.20 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/payment-sdk@1.14.1-beta.2
24
+ yarn add @emilgroup/payment-sdk@1.14.1-beta.20
25
25
  ```
26
26
 
27
27
  And then you can import `PaymentsApi`.
@@ -409,7 +409,7 @@ export declare class BankAccountsApi extends BaseAPI {
409
409
  * @throws {RequiredError}
410
410
  * @memberof BankAccountsApi
411
411
  */
412
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any>>;
412
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankAccountResponseClass, any, {}>>;
413
413
  /**
414
414
  * 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\"
415
415
  * @summary Delete the bank account
@@ -418,7 +418,7 @@ export declare class BankAccountsApi extends BaseAPI {
418
418
  * @throws {RequiredError}
419
419
  * @memberof BankAccountsApi
420
420
  */
421
- deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
421
+ deleteBankAccount(requestParameters: BankAccountsApiDeleteBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
422
422
  /**
423
423
  * 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\"
424
424
  * @summary Retrieve the bank account
@@ -427,7 +427,7 @@ export declare class BankAccountsApi extends BaseAPI {
427
427
  * @throws {RequiredError}
428
428
  * @memberof BankAccountsApi
429
429
  */
430
- getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any>>;
430
+ getBankAccount(requestParameters: BankAccountsApiGetBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankAccountResponseClass, any, {}>>;
431
431
  /**
432
432
  * 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\"
433
433
  * @summary List bank accounts
@@ -436,7 +436,7 @@ export declare class BankAccountsApi extends BaseAPI {
436
436
  * @throws {RequiredError}
437
437
  * @memberof BankAccountsApi
438
438
  */
439
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
439
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any, {}>>;
440
440
  /**
441
441
  * Set the primary bank account for the specified partner/account **Required Permissions** \"payment-management.bank-accounts.update\"
442
442
  * @summary Set primary bank account
@@ -445,7 +445,7 @@ export declare class BankAccountsApi extends BaseAPI {
445
445
  * @throws {RequiredError}
446
446
  * @memberof BankAccountsApi
447
447
  */
448
- setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
448
+ setPrimaryBankAccount(requestParameters: BankAccountsApiSetPrimaryBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
449
449
  /**
450
450
  * Update a bank account by code **Required Permissions** \"payment-management.bank-accounts.update\"
451
451
  * @summary Update the bank account
@@ -454,5 +454,5 @@ export declare class BankAccountsApi extends BaseAPI {
454
454
  * @throws {RequiredError}
455
455
  * @memberof BankAccountsApi
456
456
  */
457
- updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any>>;
457
+ updateBankAccount(requestParameters: BankAccountsApiUpdateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankAccountResponseClass, any, {}>>;
458
458
  }
@@ -353,7 +353,7 @@ export declare class BankOrdersApi extends BaseAPI {
353
353
  * @throws {RequiredError}
354
354
  * @memberof BankOrdersApi
355
355
  */
356
- createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any>>;
356
+ createBankOrder(requestParameters: BankOrdersApiCreateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateBankOrderResponseClass, any, {}>>;
357
357
  /**
358
358
  * Deletes a bank order by code. **Required Permissions** \"payment-management.bank-orders.delete\"
359
359
  * @summary Delete the bank order
@@ -362,7 +362,7 @@ export declare class BankOrdersApi extends BaseAPI {
362
362
  * @throws {RequiredError}
363
363
  * @memberof BankOrdersApi
364
364
  */
365
- deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
365
+ deleteBankOrder(requestParameters: BankOrdersApiDeleteBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
366
366
  /**
367
367
  * Retrieves the details of the bank order that was previously created. Supply the unique bank order code that was returned when you created it and Emil Api will return the corresponding bank order information. **Required Permissions** \"payment-management.bank-orders.view\"
368
368
  * @summary Retrieve the bank order
@@ -371,7 +371,7 @@ export declare class BankOrdersApi extends BaseAPI {
371
371
  * @throws {RequiredError}
372
372
  * @memberof BankOrdersApi
373
373
  */
374
- getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any>>;
374
+ getBankOrder(requestParameters: BankOrdersApiGetBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankOrderResponseClass, any, {}>>;
375
375
  /**
376
376
  * Returns a list of bank orders you have previously created. The bank orders 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-orders.view\"
377
377
  * @summary List bank orders
@@ -380,7 +380,7 @@ export declare class BankOrdersApi extends BaseAPI {
380
380
  * @throws {RequiredError}
381
381
  * @memberof BankOrdersApi
382
382
  */
383
- listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any>>;
383
+ listBankOrders(requestParameters?: BankOrdersApiListBankOrdersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankOrdersResponseClass, any, {}>>;
384
384
  /**
385
385
  * Update a bank order by code **Required Permissions** \"payment-management.bank-orders.update\", \"billing-management.invoices.view\"
386
386
  * @summary Update the bank order
@@ -389,5 +389,5 @@ export declare class BankOrdersApi extends BaseAPI {
389
389
  * @throws {RequiredError}
390
390
  * @memberof BankOrdersApi
391
391
  */
392
- updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankOrderResponseClass, any>>;
392
+ updateBankOrder(requestParameters: BankOrdersApiUpdateBankOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateBankOrderResponseClass, any, {}>>;
393
393
  }
@@ -400,7 +400,7 @@ export declare class BankTransactionApi extends BaseAPI {
400
400
  * @throws {RequiredError}
401
401
  * @memberof BankTransactionApi
402
402
  */
403
- generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any>>;
403
+ generateInvoiceMatchSuggestion(requestParameters: BankTransactionApiGenerateInvoiceMatchSuggestionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerateInvoiceMatchSuggestionsResponseClass, any, {}>>;
404
404
  /**
405
405
  * 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\"
406
406
  * @summary Retrieve the bank transaction
@@ -409,7 +409,7 @@ export declare class BankTransactionApi extends BaseAPI {
409
409
  * @throws {RequiredError}
410
410
  * @memberof BankTransactionApi
411
411
  */
412
- getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
412
+ getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any, {}>>;
413
413
  /**
414
414
  * This will import bank transactions from a MT940/CAMT.053 file **Required Permissions** \"payment-management.bank-accounts.view\"
415
415
  * @summary Create the bank transactions
@@ -418,7 +418,7 @@ export declare class BankTransactionApi extends BaseAPI {
418
418
  * @throws {RequiredError}
419
419
  * @memberof BankTransactionApi
420
420
  */
421
- importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any>>;
421
+ importBankTransactions(requestParameters: BankTransactionApiImportBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ImportBankTransactionsResponseClass, any, {}>>;
422
422
  /**
423
423
  * Links a bank transaction with an invoice **Required Permissions** \"payment-management.bank-accounts.create\"
424
424
  * @summary Link bank transaction
@@ -427,7 +427,7 @@ export declare class BankTransactionApi extends BaseAPI {
427
427
  * @throws {RequiredError}
428
428
  * @memberof BankTransactionApi
429
429
  */
430
- linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any>>;
430
+ linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<LinkBankTransactionsResponseClass, any, {}>>;
431
431
  /**
432
432
  * 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\"
433
433
  * @summary List bank transactions
@@ -436,7 +436,7 @@ export declare class BankTransactionApi extends BaseAPI {
436
436
  * @throws {RequiredError}
437
437
  * @memberof BankTransactionApi
438
438
  */
439
- listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
439
+ listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any, {}>>;
440
440
  /**
441
441
  * Unlinks an already linked bank transaction **Required Permissions** \"payment-management.bank-accounts.update\"
442
442
  * @summary Unlink bank transaction
@@ -445,5 +445,5 @@ export declare class BankTransactionApi extends BaseAPI {
445
445
  * @throws {RequiredError}
446
446
  * @memberof BankTransactionApi
447
447
  */
448
- unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBankTransactionsResponseClass, any>>;
448
+ unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UnlinkBankTransactionsResponseClass, any, {}>>;
449
449
  }
@@ -193,7 +193,7 @@ export declare class ExceedingCreditsApi extends BaseAPI {
193
193
  * @throws {RequiredError}
194
194
  * @memberof ExceedingCreditsApi
195
195
  */
196
- getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any>>;
196
+ getExceedingCredit(requestParameters: ExceedingCreditsApiGetExceedingCreditRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetExceedingCreditResponseClass, any, {}>>;
197
197
  /**
198
198
  * Returns a list of exceeding credits you have previously created. The exceeding credits are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
199
199
  * @summary List exceeding credits
@@ -202,5 +202,5 @@ export declare class ExceedingCreditsApi extends BaseAPI {
202
202
  * @throws {RequiredError}
203
203
  * @memberof ExceedingCreditsApi
204
204
  */
205
- listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any>>;
205
+ listExceedingCredits(requestParameters?: ExceedingCreditsApiListExceedingCreditsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListExceedingCreditsResponseClass, any, {}>>;
206
206
  }
@@ -66,5 +66,5 @@ export declare class HealthCheckApi extends BaseAPI {
66
66
  * @throws {RequiredError}
67
67
  * @memberof HealthCheckApi
68
68
  */
69
- check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any>>;
69
+ check(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InlineResponse200, any, {}>>;
70
70
  }
@@ -241,7 +241,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
241
241
  * @throws {RequiredError}
242
242
  * @memberof PaymentMethodsApi
243
243
  */
244
- createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any>>;
244
+ createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentMethodResponseClass, any, {}>>;
245
245
  /**
246
246
  * 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\"
247
247
  * @summary Retrieve the payment method
@@ -250,7 +250,7 @@ export declare class PaymentMethodsApi extends BaseAPI {
250
250
  * @throws {RequiredError}
251
251
  * @memberof PaymentMethodsApi
252
252
  */
253
- getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any>>;
253
+ getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentMethodResponseClass, any, {}>>;
254
254
  /**
255
255
  * 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\"
256
256
  * @summary List payment methods
@@ -259,5 +259,5 @@ export declare class PaymentMethodsApi extends BaseAPI {
259
259
  * @throws {RequiredError}
260
260
  * @memberof PaymentMethodsApi
261
261
  */
262
- listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any>>;
262
+ listPaymentMethods(requestParameters?: PaymentMethodsApiListPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentMethodsResponseClass, any, {}>>;
263
263
  }
@@ -298,7 +298,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
298
298
  * @throws {RequiredError}
299
299
  * @memberof PaymentRemindersApi
300
300
  */
301
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any>>;
301
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any, {}>>;
302
302
  /**
303
303
  * This will deactivate the payment reminder **Required Permissions** \"payment-management.reminders.update\"
304
304
  * @summary Deactivate payment reminder
@@ -307,7 +307,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
307
307
  * @throws {RequiredError}
308
308
  * @memberof PaymentRemindersApi
309
309
  */
310
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
310
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any, {}>>;
311
311
  /**
312
312
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information. **Required Permissions** \"payment-management.reminders.view\"
313
313
  * @summary Retrieve the payment reminder
@@ -316,7 +316,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
316
316
  * @throws {RequiredError}
317
317
  * @memberof PaymentRemindersApi
318
318
  */
319
- getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any>>;
319
+ getPaymentReminder(requestParameters: PaymentRemindersApiGetPaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any, {}>>;
320
320
  /**
321
321
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
322
322
  * @summary List payment reminders
@@ -325,5 +325,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
325
325
  * @throws {RequiredError}
326
326
  * @memberof PaymentRemindersApi
327
327
  */
328
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
328
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any, {}>>;
329
329
  }
@@ -141,7 +141,7 @@ export declare class PaymentSetupApi extends BaseAPI {
141
141
  * @throws {RequiredError}
142
142
  * @memberof PaymentSetupApi
143
143
  */
144
- completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any>>;
144
+ completePaymentSetup(requestParameters: PaymentSetupApiCompletePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CompletePaymentSetupResponseClass, any, {}>>;
145
145
  /**
146
146
  * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information. **Required Permissions** \"payment-management.payments.create\"
147
147
  * @summary Initiate a payment setup
@@ -150,5 +150,5 @@ export declare class PaymentSetupApi extends BaseAPI {
150
150
  * @throws {RequiredError}
151
151
  * @memberof PaymentSetupApi
152
152
  */
153
- initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any>>;
153
+ initiatePaymentSetup(requestParameters: PaymentSetupApiInitiatePaymentSetupRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<InitiatePaymentSetupResponseClass, any, {}>>;
154
154
  }
@@ -315,7 +315,7 @@ export declare class PaymentsApi extends BaseAPI {
315
315
  * @throws {RequiredError}
316
316
  * @memberof PaymentsApi
317
317
  */
318
- createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any>>;
318
+ createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any, {}>>;
319
319
  /**
320
320
  * This will create a payment order for a specified invoice. **Required Permissions** \"payment-management.payments.create\"
321
321
  * @summary Create the payment
@@ -324,7 +324,7 @@ export declare class PaymentsApi extends BaseAPI {
324
324
  * @throws {RequiredError}
325
325
  * @memberof PaymentsApi
326
326
  */
327
- createPaymentOrder(requestParameters: PaymentsApiCreatePaymentOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any>>;
327
+ createPaymentOrder(requestParameters: PaymentsApiCreatePaymentOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any, {}>>;
328
328
  /**
329
329
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information. **Required Permissions** \"payment-management.payments.view\"
330
330
  * @summary Retrieve the payment
@@ -333,7 +333,7 @@ export declare class PaymentsApi extends BaseAPI {
333
333
  * @throws {RequiredError}
334
334
  * @memberof PaymentsApi
335
335
  */
336
- getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any>>;
336
+ getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any, {}>>;
337
337
  /**
338
338
  * Returns a list of payments you have previously created. The payments 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\"
339
339
  * @summary List payments
@@ -342,5 +342,5 @@ export declare class PaymentsApi extends BaseAPI {
342
342
  * @throws {RequiredError}
343
343
  * @memberof PaymentsApi
344
344
  */
345
- listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any>>;
345
+ listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any, {}>>;
346
346
  }
@@ -194,7 +194,7 @@ export declare class PolicyPaymentMethodsApi extends BaseAPI {
194
194
  * @throws {RequiredError}
195
195
  * @memberof PolicyPaymentMethodsApi
196
196
  */
197
- createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPaymentMethodResponseClass, any>>;
197
+ createPolicyPaymentMethod(requestParameters: PolicyPaymentMethodsApiCreatePolicyPaymentMethodRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyPaymentMethodResponseClass, any, {}>>;
198
198
  /**
199
199
  * List policy payment methods **Required Permissions** \"payment-management.payments.view\"
200
200
  * @summary Retrieve the policy payment methods
@@ -203,5 +203,5 @@ export declare class PolicyPaymentMethodsApi extends BaseAPI {
203
203
  * @throws {RequiredError}
204
204
  * @memberof PolicyPaymentMethodsApi
205
205
  */
206
- listPolicyPaymentMethods(requestParameters?: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPaymentMethodsResponseClass, any>>;
206
+ listPolicyPaymentMethods(requestParameters?: PolicyPaymentMethodsApiListPolicyPaymentMethodsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyPaymentMethodsResponseClass, any, {}>>;
207
207
  }
@@ -250,7 +250,7 @@ export declare class RefundsApi extends BaseAPI {
250
250
  * @throws {RequiredError}
251
251
  * @memberof RefundsApi
252
252
  */
253
- createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any>>;
253
+ createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any, {}>>;
254
254
  /**
255
255
  * Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information. **Required Permissions** \"payment-management.payments.view\"
256
256
  * @summary Retrieve the refund
@@ -259,7 +259,7 @@ export declare class RefundsApi extends BaseAPI {
259
259
  * @throws {RequiredError}
260
260
  * @memberof RefundsApi
261
261
  */
262
- getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any>>;
262
+ getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any, {}>>;
263
263
  /**
264
264
  * Returns a list of refunds you have previously created. The refunds 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\"
265
265
  * @summary List refunds
@@ -268,5 +268,5 @@ export declare class RefundsApi extends BaseAPI {
268
268
  * @throws {RequiredError}
269
269
  * @memberof RefundsApi
270
270
  */
271
- listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRefundsResponseClass, any>>;
271
+ listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRefundsResponseClass, any, {}>>;
272
272
  }
@@ -353,7 +353,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
353
353
  * @throws {RequiredError}
354
354
  * @memberof TenantBankAccountApi
355
355
  */
356
- createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any>>;
356
+ createTenantBankAccount(requestParameters: TenantBankAccountApiCreateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateTenantBankAccountResponseClass, any, {}>>;
357
357
  /**
358
358
  * Deletes a tenant bank account by code
359
359
  * @summary Delete the tenant bank account
@@ -362,7 +362,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
362
362
  * @throws {RequiredError}
363
363
  * @memberof TenantBankAccountApi
364
364
  */
365
- deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
365
+ deleteTenantBankAccount(requestParameters: TenantBankAccountApiDeleteTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any, {}>>;
366
366
  /**
367
367
  * Retrieves the details of the tenant bank account that was previously created. Supply the unique tenant bank account code that was returned when you created it and Emil Api will return the corresponding tenant bank account information.
368
368
  * @summary Retrieve the tenant bank account
@@ -371,7 +371,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
371
371
  * @throws {RequiredError}
372
372
  * @memberof TenantBankAccountApi
373
373
  */
374
- getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any>>;
374
+ getTenantBankAccount(requestParameters: TenantBankAccountApiGetTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetTenantBankAccountResponseClass, any, {}>>;
375
375
  /**
376
376
  * Returns a list of tenant bank accounts you have previously created. The tenant bank accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
377
377
  * @summary List tenant bank accounts
@@ -380,7 +380,7 @@ export declare class TenantBankAccountApi extends BaseAPI {
380
380
  * @throws {RequiredError}
381
381
  * @memberof TenantBankAccountApi
382
382
  */
383
- listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any>>;
383
+ listTenantBankAccounts(requestParameters?: TenantBankAccountApiListTenantBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListTenantBankAccountResponseClass, any, {}>>;
384
384
  /**
385
385
  * Update a tenant bank account by code
386
386
  * @summary Update the tenant bank account
@@ -389,5 +389,5 @@ export declare class TenantBankAccountApi extends BaseAPI {
389
389
  * @throws {RequiredError}
390
390
  * @memberof TenantBankAccountApi
391
391
  */
392
- updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTenantBankAccountResponseClass, any>>;
392
+ updateTenantBankAccount(requestParameters: TenantBankAccountApiUpdateTenantBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateTenantBankAccountResponseClass, any, {}>>;
393
393
  }
@@ -109,5 +109,5 @@ export declare class WebhooksApi extends BaseAPI {
109
109
  * @throws {RequiredError}
110
110
  * @memberof WebhooksApi
111
111
  */
112
- postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
112
+ postWebhook(requestParameters: WebhooksApiPostWebhookRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
113
113
  }
package/dist/common.d.ts CHANGED
@@ -62,7 +62,7 @@ export declare const toPathString: (url: URL) => string;
62
62
  *
63
63
  * @export
64
64
  */
65
- export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
65
+ export declare const createRequestFunction: (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) => <T = unknown, R = AxiosResponse<T, any, {}>>(axios?: AxiosInstance, basePath?: string) => Promise<R>;
66
66
  /**
67
67
  * Emil Payment Service
68
68
  * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
@@ -39,4 +39,34 @@ export interface CreateTenantBankAccountRequestDto {
39
39
  * @memberof CreateTenantBankAccountRequestDto
40
40
  */
41
41
  'bookingAccount': string;
42
+ /**
43
+ * Street address
44
+ * @type {string}
45
+ * @memberof CreateTenantBankAccountRequestDto
46
+ */
47
+ 'street'?: string;
48
+ /**
49
+ * House number
50
+ * @type {string}
51
+ * @memberof CreateTenantBankAccountRequestDto
52
+ */
53
+ 'houseNumber'?: string;
54
+ /**
55
+ * ZIP code
56
+ * @type {string}
57
+ * @memberof CreateTenantBankAccountRequestDto
58
+ */
59
+ 'zipCode': string;
60
+ /**
61
+ * City
62
+ * @type {string}
63
+ * @memberof CreateTenantBankAccountRequestDto
64
+ */
65
+ 'city': string;
66
+ /**
67
+ * Country
68
+ * @type {string}
69
+ * @memberof CreateTenantBankAccountRequestDto
70
+ */
71
+ 'country': string;
42
72
  }
@@ -75,4 +75,34 @@ export interface TenantBankAccountClassWithoutExpandProperties {
75
75
  * @memberof TenantBankAccountClassWithoutExpandProperties
76
76
  */
77
77
  'updatedBy': string;
78
+ /**
79
+ * Street address of the bank
80
+ * @type {string}
81
+ * @memberof TenantBankAccountClassWithoutExpandProperties
82
+ */
83
+ 'street'?: string;
84
+ /**
85
+ * House number of the bank
86
+ * @type {string}
87
+ * @memberof TenantBankAccountClassWithoutExpandProperties
88
+ */
89
+ 'houseNumber'?: string;
90
+ /**
91
+ * ZIP code of the bank
92
+ * @type {string}
93
+ * @memberof TenantBankAccountClassWithoutExpandProperties
94
+ */
95
+ 'zipCode'?: string;
96
+ /**
97
+ * City of the bank
98
+ * @type {string}
99
+ * @memberof TenantBankAccountClassWithoutExpandProperties
100
+ */
101
+ 'city'?: string;
102
+ /**
103
+ * Country of the bank
104
+ * @type {string}
105
+ * @memberof TenantBankAccountClassWithoutExpandProperties
106
+ */
107
+ 'country'?: string;
78
108
  }
@@ -82,4 +82,34 @@ export interface TenantBankAccountClass {
82
82
  * @memberof TenantBankAccountClass
83
83
  */
84
84
  'updatedBy': string;
85
+ /**
86
+ * Street address of the bank
87
+ * @type {string}
88
+ * @memberof TenantBankAccountClass
89
+ */
90
+ 'street'?: string;
91
+ /**
92
+ * House number of the bank
93
+ * @type {string}
94
+ * @memberof TenantBankAccountClass
95
+ */
96
+ 'houseNumber'?: string;
97
+ /**
98
+ * ZIP code of the bank
99
+ * @type {string}
100
+ * @memberof TenantBankAccountClass
101
+ */
102
+ 'zipCode'?: string;
103
+ /**
104
+ * City of the bank
105
+ * @type {string}
106
+ * @memberof TenantBankAccountClass
107
+ */
108
+ 'city'?: string;
109
+ /**
110
+ * Country of the bank
111
+ * @type {string}
112
+ * @memberof TenantBankAccountClass
113
+ */
114
+ 'country'?: string;
85
115
  }
@@ -33,4 +33,34 @@ export interface UpdateTenantBankAccountRestRequestDto {
33
33
  * @memberof UpdateTenantBankAccountRestRequestDto
34
34
  */
35
35
  'bookingAccount': string;
36
+ /**
37
+ * Street address
38
+ * @type {string}
39
+ * @memberof UpdateTenantBankAccountRestRequestDto
40
+ */
41
+ 'street'?: string;
42
+ /**
43
+ * House number
44
+ * @type {string}
45
+ * @memberof UpdateTenantBankAccountRestRequestDto
46
+ */
47
+ 'houseNumber'?: string;
48
+ /**
49
+ * ZIP code
50
+ * @type {string}
51
+ * @memberof UpdateTenantBankAccountRestRequestDto
52
+ */
53
+ 'zipCode': string;
54
+ /**
55
+ * City
56
+ * @type {string}
57
+ * @memberof UpdateTenantBankAccountRestRequestDto
58
+ */
59
+ 'city': string;
60
+ /**
61
+ * Country
62
+ * @type {string}
63
+ * @memberof UpdateTenantBankAccountRestRequestDto
64
+ */
65
+ 'country': string;
36
66
  }
@@ -44,5 +44,35 @@ export interface CreateTenantBankAccountRequestDto {
44
44
  * @memberof CreateTenantBankAccountRequestDto
45
45
  */
46
46
  'bookingAccount': string;
47
+ /**
48
+ * Street address
49
+ * @type {string}
50
+ * @memberof CreateTenantBankAccountRequestDto
51
+ */
52
+ 'street'?: string;
53
+ /**
54
+ * House number
55
+ * @type {string}
56
+ * @memberof CreateTenantBankAccountRequestDto
57
+ */
58
+ 'houseNumber'?: string;
59
+ /**
60
+ * ZIP code
61
+ * @type {string}
62
+ * @memberof CreateTenantBankAccountRequestDto
63
+ */
64
+ 'zipCode': string;
65
+ /**
66
+ * City
67
+ * @type {string}
68
+ * @memberof CreateTenantBankAccountRequestDto
69
+ */
70
+ 'city': string;
71
+ /**
72
+ * Country
73
+ * @type {string}
74
+ * @memberof CreateTenantBankAccountRequestDto
75
+ */
76
+ 'country': string;
47
77
  }
48
78
 
@@ -80,5 +80,35 @@ export interface TenantBankAccountClassWithoutExpandProperties {
80
80
  * @memberof TenantBankAccountClassWithoutExpandProperties
81
81
  */
82
82
  'updatedBy': string;
83
+ /**
84
+ * Street address of the bank
85
+ * @type {string}
86
+ * @memberof TenantBankAccountClassWithoutExpandProperties
87
+ */
88
+ 'street'?: string;
89
+ /**
90
+ * House number of the bank
91
+ * @type {string}
92
+ * @memberof TenantBankAccountClassWithoutExpandProperties
93
+ */
94
+ 'houseNumber'?: string;
95
+ /**
96
+ * ZIP code of the bank
97
+ * @type {string}
98
+ * @memberof TenantBankAccountClassWithoutExpandProperties
99
+ */
100
+ 'zipCode'?: string;
101
+ /**
102
+ * City of the bank
103
+ * @type {string}
104
+ * @memberof TenantBankAccountClassWithoutExpandProperties
105
+ */
106
+ 'city'?: string;
107
+ /**
108
+ * Country of the bank
109
+ * @type {string}
110
+ * @memberof TenantBankAccountClassWithoutExpandProperties
111
+ */
112
+ 'country'?: string;
83
113
  }
84
114
 
@@ -87,5 +87,35 @@ export interface TenantBankAccountClass {
87
87
  * @memberof TenantBankAccountClass
88
88
  */
89
89
  'updatedBy': string;
90
+ /**
91
+ * Street address of the bank
92
+ * @type {string}
93
+ * @memberof TenantBankAccountClass
94
+ */
95
+ 'street'?: string;
96
+ /**
97
+ * House number of the bank
98
+ * @type {string}
99
+ * @memberof TenantBankAccountClass
100
+ */
101
+ 'houseNumber'?: string;
102
+ /**
103
+ * ZIP code of the bank
104
+ * @type {string}
105
+ * @memberof TenantBankAccountClass
106
+ */
107
+ 'zipCode'?: string;
108
+ /**
109
+ * City of the bank
110
+ * @type {string}
111
+ * @memberof TenantBankAccountClass
112
+ */
113
+ 'city'?: string;
114
+ /**
115
+ * Country of the bank
116
+ * @type {string}
117
+ * @memberof TenantBankAccountClass
118
+ */
119
+ 'country'?: string;
90
120
  }
91
121
 
@@ -38,5 +38,35 @@ export interface UpdateTenantBankAccountRestRequestDto {
38
38
  * @memberof UpdateTenantBankAccountRestRequestDto
39
39
  */
40
40
  'bookingAccount': string;
41
+ /**
42
+ * Street address
43
+ * @type {string}
44
+ * @memberof UpdateTenantBankAccountRestRequestDto
45
+ */
46
+ 'street'?: string;
47
+ /**
48
+ * House number
49
+ * @type {string}
50
+ * @memberof UpdateTenantBankAccountRestRequestDto
51
+ */
52
+ 'houseNumber'?: string;
53
+ /**
54
+ * ZIP code
55
+ * @type {string}
56
+ * @memberof UpdateTenantBankAccountRestRequestDto
57
+ */
58
+ 'zipCode': string;
59
+ /**
60
+ * City
61
+ * @type {string}
62
+ * @memberof UpdateTenantBankAccountRestRequestDto
63
+ */
64
+ 'city': string;
65
+ /**
66
+ * Country
67
+ * @type {string}
68
+ * @memberof UpdateTenantBankAccountRestRequestDto
69
+ */
70
+ 'country': string;
41
71
  }
42
72
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.14.1-beta.2",
3
+ "version": "1.14.1-beta.20",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -18,7 +18,7 @@
18
18
  "prepare": "npm run build"
19
19
  },
20
20
  "dependencies": {
21
- "axios": "^0.27.2"
21
+ "axios": "^1.12.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "typescript": "^4.0"