@emilgroup/payment-sdk 1.13.1-beta.13 → 1.13.1-beta.130

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 (174) hide show
  1. package/.openapi-generator/FILES +24 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +130 -57
  5. package/api/bank-transaction-api.ts +59 -48
  6. package/api/exceeding-credits-api.ts +349 -0
  7. package/api/payment-methods-api.ts +59 -17
  8. package/api/payment-reminders-api.ts +55 -13
  9. package/api/payments-api.ts +180 -17
  10. package/api/policy-payment-methods-api.ts +471 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +4 -0
  14. package/base.ts +10 -32
  15. package/common.ts +2 -2
  16. package/configuration.ts +0 -9
  17. package/dist/api/bank-accounts-api.d.ts +35 -8
  18. package/dist/api/bank-accounts-api.js +29 -11
  19. package/dist/api/bank-orders-api.d.ts +92 -46
  20. package/dist/api/bank-orders-api.js +83 -52
  21. package/dist/api/bank-transaction-api.d.ts +39 -31
  22. package/dist/api/bank-transaction-api.js +36 -31
  23. package/dist/api/exceeding-credits-api.d.ts +206 -0
  24. package/dist/api/exceeding-credits-api.js +352 -0
  25. package/dist/api/payment-methods-api.d.ts +39 -12
  26. package/dist/api/payment-methods-api.js +32 -14
  27. package/dist/api/payment-reminders-api.d.ts +35 -8
  28. package/dist/api/payment-reminders-api.js +29 -11
  29. package/dist/api/payments-api.d.ts +104 -12
  30. package/dist/api/payments-api.js +133 -14
  31. package/dist/api/policy-payment-methods-api.d.ts +272 -0
  32. package/dist/api/policy-payment-methods-api.js +452 -0
  33. package/dist/api/refunds-api.d.ts +28 -10
  34. package/dist/api/refunds-api.js +24 -12
  35. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  36. package/dist/api/tenant-bank-account-api.js +24 -12
  37. package/dist/api.d.ts +2 -0
  38. package/dist/api.js +2 -0
  39. package/dist/base.d.ts +2 -4
  40. package/dist/base.js +21 -40
  41. package/dist/common.js +2 -2
  42. package/dist/configuration.d.ts +0 -6
  43. package/dist/configuration.js +0 -8
  44. package/dist/models/activate-policy-payment-method-request-dto.d.ts +24 -0
  45. package/dist/models/bank-order-class.d.ts +23 -3
  46. package/dist/models/bank-order-xml-file-class.d.ts +72 -0
  47. package/dist/models/bank-order-xml-file-class.js +15 -0
  48. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  49. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  50. package/dist/models/bank-transaction-class.d.ts +22 -22
  51. package/dist/models/bank-transaction-class.js +5 -0
  52. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  53. package/dist/models/bank-transaction-invoice-class.js +15 -0
  54. package/dist/models/bank-transfer-dto.d.ts +25 -0
  55. package/dist/models/bank-transfer-dto.js +15 -0
  56. package/dist/models/billing-address-dto.d.ts +54 -0
  57. package/dist/models/billing-address-dto.js +15 -0
  58. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  59. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  60. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  61. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  62. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  63. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  64. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  65. package/dist/models/create-bank-order-request-dto.d.ts +9 -9
  66. package/dist/models/create-payment-order-dto.d.ts +48 -0
  67. package/dist/models/create-payment-order-dto.js +15 -0
  68. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  69. package/dist/models/create-payment-order-request-dto.js +15 -0
  70. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  71. package/dist/models/create-payment-request-dto.d.ts +7 -1
  72. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  73. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  74. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  75. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  76. package/dist/models/create-psp-payment-method-request-dto.d.ts +29 -1
  77. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  78. package/dist/models/create-tenant-bank-account-request-dto.d.ts +30 -0
  79. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  80. package/dist/models/eis-sepa-debit-dto.d.ts +55 -0
  81. package/dist/models/eis-sepa-debit-dto.js +15 -0
  82. package/dist/models/exceeding-credit-class.d.ts +116 -0
  83. package/dist/models/exceeding-credit-class.js +29 -0
  84. package/dist/models/financial-account-class.d.ts +111 -0
  85. package/dist/models/financial-account-class.js +24 -0
  86. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  87. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  88. package/dist/models/index.d.ts +22 -1
  89. package/dist/models/index.js +22 -1
  90. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  91. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  92. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  93. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  94. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  95. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  96. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  97. package/dist/models/invoice-allocation-dto.js +15 -0
  98. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  99. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  100. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  101. package/dist/models/list-policy-payment-methods-response-class.d.ts +31 -0
  102. package/dist/models/list-policy-payment-methods-response-class.js +15 -0
  103. package/dist/models/mandate-dto.d.ts +43 -0
  104. package/dist/models/mandate-dto.js +15 -0
  105. package/dist/models/mandate-hash-data-dto.d.ts +42 -0
  106. package/dist/models/mandate-hash-data-dto.js +15 -0
  107. package/dist/models/mandate-reference-class.d.ts +90 -0
  108. package/dist/models/mandate-reference-class.js +15 -0
  109. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  110. package/dist/models/payment-class.d.ts +7 -1
  111. package/dist/models/payment-method-class.d.ts +6 -0
  112. package/dist/models/payment-reminder-class.d.ts +7 -1
  113. package/dist/models/policy-payment-method-class.d.ts +86 -0
  114. package/dist/models/policy-payment-method-class.js +15 -0
  115. package/dist/models/refund-class.d.ts +7 -1
  116. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +30 -0
  117. package/dist/models/tenant-bank-account-class.d.ts +30 -0
  118. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  119. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  120. package/dist/models/update-bank-order-request-dto.d.ts +12 -12
  121. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +30 -0
  122. package/models/activate-policy-payment-method-request-dto.ts +30 -0
  123. package/models/bank-order-class.ts +23 -3
  124. package/models/bank-order-xml-file-class.ts +78 -0
  125. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  126. package/models/bank-transaction-class.ts +25 -22
  127. package/models/bank-transaction-invoice-class.ts +66 -0
  128. package/models/bank-transfer-dto.ts +31 -0
  129. package/models/billing-address-dto.ts +60 -0
  130. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  131. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  132. package/models/complete-payment-setup-request-dto.ts +7 -0
  133. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  134. package/models/create-bank-order-request-dto.ts +9 -9
  135. package/models/create-payment-order-dto.ts +54 -0
  136. package/models/create-payment-order-request-dto.ts +54 -0
  137. package/models/create-payment-reminder-request-dto.ts +7 -1
  138. package/models/create-payment-request-dto.ts +7 -1
  139. package/models/create-policy-payment-method-request-dto.ts +36 -0
  140. package/models/create-policy-payment-method-response-class.ts +31 -0
  141. package/models/create-psp-payment-method-request-dto.ts +30 -2
  142. package/models/create-tenant-bank-account-request-dto.ts +30 -0
  143. package/models/deactivated-payment-reminder-class.ts +7 -1
  144. package/models/eis-sepa-debit-dto.ts +61 -0
  145. package/models/exceeding-credit-class.ts +125 -0
  146. package/models/financial-account-class.ts +120 -0
  147. package/models/get-exceeding-credit-response-class.ts +31 -0
  148. package/models/index.ts +22 -1
  149. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  150. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  151. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  152. package/models/initiate-payment-setup-request-dto.ts +3 -2
  153. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  154. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  155. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  156. package/models/list-exceeding-credits-response-class.ts +37 -0
  157. package/models/list-policy-payment-methods-response-class.ts +37 -0
  158. package/models/mandate-dto.ts +49 -0
  159. package/models/mandate-hash-data-dto.ts +48 -0
  160. package/models/mandate-reference-class.ts +96 -0
  161. package/models/payment-class-without-expand-properties.ts +7 -1
  162. package/models/payment-class.ts +7 -1
  163. package/models/payment-method-class.ts +6 -0
  164. package/models/payment-reminder-class.ts +7 -1
  165. package/models/policy-payment-method-class.ts +92 -0
  166. package/models/refund-class.ts +7 -1
  167. package/models/tenant-bank-account-class-without-expand-properties.ts +30 -0
  168. package/models/tenant-bank-account-class.ts +30 -0
  169. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  170. package/models/update-bank-order-request-dto.ts +12 -12
  171. package/models/update-tenant-bank-account-rest-request-dto.ts +30 -0
  172. package/package.json +1 -1
  173. package/tsconfig.json +0 -1
  174. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → activate-policy-payment-method-request-dto.js} +0 -0
@@ -37,7 +37,13 @@ export interface CreatePaymentReminderRequestDto {
37
37
  * @type {string}
38
38
  * @memberof CreatePaymentReminderRequestDto
39
39
  */
40
- 'accountCode': string;
40
+ 'accountCode'?: string;
41
+ /**
42
+ * Code referencing the partner for which this reminder is created.
43
+ * @type {string}
44
+ * @memberof CreatePaymentReminderRequestDto
45
+ */
46
+ 'partnerCode'?: string;
41
47
  /**
42
48
  * The type of invoice is used to determine the proper workflow.
43
49
  * @type {string}
@@ -25,7 +25,13 @@ export interface CreatePaymentRequestDto {
25
25
  * @type {string}
26
26
  * @memberof CreatePaymentRequestDto
27
27
  */
28
- 'accountCode': string;
28
+ 'accountCode'?: string;
29
+ /**
30
+ * Partner code associated to that payment.
31
+ * @type {string}
32
+ * @memberof CreatePaymentRequestDto
33
+ */
34
+ 'partnerCode'?: string;
29
35
  /**
30
36
  * Amount to be paid in cents. 100 to charge 1€.
31
37
  * @type {number}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreatePolicyPaymentMethodRequestDto
21
+ */
22
+ export interface CreatePolicyPaymentMethodRequestDto {
23
+ /**
24
+ * The policy code.
25
+ * @type {string}
26
+ * @memberof CreatePolicyPaymentMethodRequestDto
27
+ */
28
+ 'policyCode': string;
29
+ /**
30
+ * The payment method code.
31
+ * @type {string}
32
+ * @memberof CreatePolicyPaymentMethodRequestDto
33
+ */
34
+ 'paymentMethodCode': string;
35
+ }
36
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { PolicyPaymentMethodClass } from './policy-payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePolicyPaymentMethodResponseClass
22
+ */
23
+ export interface CreatePolicyPaymentMethodResponseClass {
24
+ /**
25
+ * The policy payment method.
26
+ * @type {PolicyPaymentMethodClass}
27
+ * @memberof CreatePolicyPaymentMethodResponseClass
28
+ */
29
+ 'policyPaymentMethod': PolicyPaymentMethodClass;
30
+ }
31
+
@@ -13,7 +13,9 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankTransferDto } from './bank-transfer-dto';
16
17
  import { BillingProfileDto } from './billing-profile-dto';
18
+ import { EisSepaDebitDto } from './eis-sepa-debit-dto';
17
19
  import { SepaDirectDto } from './sepa-direct-dto';
18
20
 
19
21
  /**
@@ -33,7 +35,13 @@ export interface CreatePspPaymentMethodRequestDto {
33
35
  * @type {string}
34
36
  * @memberof CreatePspPaymentMethodRequestDto
35
37
  */
36
- 'accountCode': string;
38
+ 'accountCode'?: string;
39
+ /**
40
+ *
41
+ * @type {string}
42
+ * @memberof CreatePspPaymentMethodRequestDto
43
+ */
44
+ 'partnerCode'?: string;
37
45
  /**
38
46
  *
39
47
  * @type {SepaDirectDto}
@@ -46,12 +54,30 @@ export interface CreatePspPaymentMethodRequestDto {
46
54
  * @memberof CreatePspPaymentMethodRequestDto
47
55
  */
48
56
  'billingProfile'?: BillingProfileDto;
57
+ /**
58
+ *
59
+ * @type {BankTransferDto}
60
+ * @memberof CreatePspPaymentMethodRequestDto
61
+ */
62
+ 'bankTransfer'?: BankTransferDto;
63
+ /**
64
+ *
65
+ * @type {EisSepaDebitDto}
66
+ * @memberof CreatePspPaymentMethodRequestDto
67
+ */
68
+ 'eisSepaDebit'?: EisSepaDebitDto;
49
69
  /**
50
70
  *
51
71
  * @type {string}
52
72
  * @memberof CreatePspPaymentMethodRequestDto
53
73
  */
54
74
  'productSlug'?: string;
75
+ /**
76
+ *
77
+ * @type {string}
78
+ * @memberof CreatePspPaymentMethodRequestDto
79
+ */
80
+ 'leadCode'?: string;
55
81
  }
56
82
 
57
83
  export const CreatePspPaymentMethodRequestDtoTypeEnum = {
@@ -68,7 +94,9 @@ export const CreatePspPaymentMethodRequestDtoTypeEnum = {
68
94
  SamsungPay: 'samsung_pay',
69
95
  Venmo: 'venmo',
70
96
  Masterpass: 'masterpass',
71
- B4u: 'b4u'
97
+ B4u: 'b4u',
98
+ Invoice: 'invoice',
99
+ BankTransfer: 'bank_transfer'
72
100
  } as const;
73
101
 
74
102
  export type CreatePspPaymentMethodRequestDtoTypeEnum = typeof CreatePspPaymentMethodRequestDtoTypeEnum[keyof typeof CreatePspPaymentMethodRequestDtoTypeEnum];
@@ -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
 
@@ -43,7 +43,13 @@ export interface DeactivatedPaymentReminderClass {
43
43
  * @type {string}
44
44
  * @memberof DeactivatedPaymentReminderClass
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Unique identifier of related partner.
49
+ * @type {string}
50
+ * @memberof DeactivatedPaymentReminderClass
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Type of the invoice
49
55
  * @type {string}
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { MandateDto } from './mandate-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface EisSepaDebitDto
22
+ */
23
+ export interface EisSepaDebitDto {
24
+ /**
25
+ * First name of account holder
26
+ * @type {string}
27
+ * @memberof EisSepaDebitDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Last name of account holder
32
+ * @type {string}
33
+ * @memberof EisSepaDebitDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * International Bank Account Number
38
+ * @type {string}
39
+ * @memberof EisSepaDebitDto
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Bank Identifier Code
44
+ * @type {string}
45
+ * @memberof EisSepaDebitDto
46
+ */
47
+ 'bic': string;
48
+ /**
49
+ * Bank name
50
+ * @type {string}
51
+ * @memberof EisSepaDebitDto
52
+ */
53
+ 'bankName': string;
54
+ /**
55
+ * SEPA mandate details
56
+ * @type {MandateDto}
57
+ * @memberof EisSepaDebitDto
58
+ */
59
+ 'mandate': MandateDto;
60
+ }
61
+
@@ -0,0 +1,125 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface ExceedingCreditClass
21
+ */
22
+ export interface ExceedingCreditClass {
23
+ /**
24
+ * The amount of the credit
25
+ * @type {number}
26
+ * @memberof ExceedingCreditClass
27
+ */
28
+ 'amount': number;
29
+ /**
30
+ * The currency of the credit
31
+ * @type {string}
32
+ * @memberof ExceedingCreditClass
33
+ */
34
+ 'currency'?: ExceedingCreditClassCurrencyEnum;
35
+ /**
36
+ * The bank transaction code of the credit
37
+ * @type {string}
38
+ * @memberof ExceedingCreditClass
39
+ */
40
+ 'bankTransactionCode': string;
41
+ /**
42
+ * The description of the credit
43
+ * @type {string}
44
+ * @memberof ExceedingCreditClass
45
+ */
46
+ 'description': string;
47
+ /**
48
+ * The invoice code of the credit
49
+ * @type {string}
50
+ * @memberof ExceedingCreditClass
51
+ */
52
+ 'invoiceCode': string;
53
+ /**
54
+ * The invoice number of the credit
55
+ * @type {string}
56
+ * @memberof ExceedingCreditClass
57
+ */
58
+ 'invoiceNumber': string;
59
+ /**
60
+ * The policy number of the credit
61
+ * @type {string}
62
+ * @memberof ExceedingCreditClass
63
+ */
64
+ 'policyNumber': string;
65
+ /**
66
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
67
+ * @type {number}
68
+ * @memberof ExceedingCreditClass
69
+ */
70
+ 'id': number;
71
+ /**
72
+ * The code of the credit
73
+ * @type {string}
74
+ * @memberof ExceedingCreditClass
75
+ */
76
+ 'code': string;
77
+ /**
78
+ * The policy code of the credit
79
+ * @type {string}
80
+ * @memberof ExceedingCreditClass
81
+ */
82
+ 'policyCode': string;
83
+ /**
84
+ * Time at which the object was created.
85
+ * @type {string}
86
+ * @memberof ExceedingCreditClass
87
+ */
88
+ 'createdAt': string;
89
+ /**
90
+ * Time at which the object was updated.
91
+ * @type {string}
92
+ * @memberof ExceedingCreditClass
93
+ */
94
+ 'updatedAt': string;
95
+ /**
96
+ * Identifier of the user who created the record.
97
+ * @type {string}
98
+ * @memberof ExceedingCreditClass
99
+ */
100
+ 'createdBy': string;
101
+ /**
102
+ * Identifier of the user who last updated the record.
103
+ * @type {string}
104
+ * @memberof ExceedingCreditClass
105
+ */
106
+ 'updatedBy': string;
107
+ }
108
+
109
+ export const ExceedingCreditClassCurrencyEnum = {
110
+ Eur: 'EUR',
111
+ Usd: 'USD',
112
+ Gbp: 'GBP',
113
+ Chf: 'CHF',
114
+ Pln: 'PLN',
115
+ Aud: 'AUD',
116
+ Cad: 'CAD',
117
+ Ddk: 'DDK',
118
+ Huf: 'HUF',
119
+ Nok: 'NOK',
120
+ Sek: 'SEK'
121
+ } as const;
122
+
123
+ export type ExceedingCreditClassCurrencyEnum = typeof ExceedingCreditClassCurrencyEnum[keyof typeof ExceedingCreditClassCurrencyEnum];
124
+
125
+
@@ -0,0 +1,120 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface FinancialAccountClass
21
+ */
22
+ export interface FinancialAccountClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof FinancialAccountClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Unique identifier for the object.
31
+ * @type {string}
32
+ * @memberof FinancialAccountClass
33
+ */
34
+ 'code': string;
35
+ /**
36
+ * The name of the account.
37
+ * @type {string}
38
+ * @memberof FinancialAccountClass
39
+ */
40
+ 'name': string;
41
+ /**
42
+ * The financial account number.
43
+ * @type {string}
44
+ * @memberof FinancialAccountClass
45
+ */
46
+ 'financialAccountNumber': string;
47
+ /**
48
+ * The ID of the parent account, if any.
49
+ * @type {number}
50
+ * @memberof FinancialAccountClass
51
+ */
52
+ 'parentId': number;
53
+ /**
54
+ * The partner number of the account.
55
+ * @type {string}
56
+ * @memberof FinancialAccountClass
57
+ */
58
+ 'partnerNumber': string;
59
+ /**
60
+ * The type of account, e.g. \"Asset\", \"Liability\", \"Equity\", \"Revenue\", \"Expense\".
61
+ * @type {string}
62
+ * @memberof FinancialAccountClass
63
+ */
64
+ 'type': FinancialAccountClassTypeEnum;
65
+ /**
66
+ * Metadata about the object.
67
+ * @type {object}
68
+ * @memberof FinancialAccountClass
69
+ */
70
+ 'customFields': object;
71
+ /**
72
+ * The description of the account.
73
+ * @type {string}
74
+ * @memberof FinancialAccountClass
75
+ */
76
+ 'description': string;
77
+ /**
78
+ * Whether the account is clearable.
79
+ * @type {boolean}
80
+ * @memberof FinancialAccountClass
81
+ */
82
+ 'clearable': boolean;
83
+ /**
84
+ * Time at which the object was created.
85
+ * @type {string}
86
+ * @memberof FinancialAccountClass
87
+ */
88
+ 'createdAt': string;
89
+ /**
90
+ * Time at which the object was updated.
91
+ * @type {string}
92
+ * @memberof FinancialAccountClass
93
+ */
94
+ 'updatedAt': string;
95
+ /**
96
+ * Identifier of the user who created the record.
97
+ * @type {string}
98
+ * @memberof FinancialAccountClass
99
+ */
100
+ 'createdBy': string;
101
+ /**
102
+ * Identifier of the user who last updated the record.
103
+ * @type {string}
104
+ * @memberof FinancialAccountClass
105
+ */
106
+ 'updatedBy': string;
107
+ }
108
+
109
+ export const FinancialAccountClassTypeEnum = {
110
+ Asset: 'asset',
111
+ Liability: 'liability',
112
+ Equity: 'equity',
113
+ Revenue: 'revenue',
114
+ Expense: 'expense',
115
+ OpeningBalance: 'opening_balance'
116
+ } as const;
117
+
118
+ export type FinancialAccountClassTypeEnum = typeof FinancialAccountClassTypeEnum[keyof typeof FinancialAccountClassTypeEnum];
119
+
120
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * 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.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { ExceedingCreditClass } from './exceeding-credit-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetExceedingCreditResponseClass
22
+ */
23
+ export interface GetExceedingCreditResponseClass {
24
+ /**
25
+ * Exceeding credit
26
+ * @type {ExceedingCreditClass}
27
+ * @memberof GetExceedingCreditResponseClass
28
+ */
29
+ 'exceedingCredit': ExceedingCreditClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -1,13 +1,19 @@
1
+ export * from './activate-policy-payment-method-request-dto';
1
2
  export * from './bank-account-class';
2
3
  export * from './bank-account-class-without-expand-properties';
3
4
  export * from './bank-order-class';
5
+ export * from './bank-order-xml-file-class';
4
6
  export * from './bank-transaction-class';
5
7
  export * from './bank-transaction-class-without-expand-properties';
8
+ export * from './bank-transaction-invoice-class';
9
+ export * from './bank-transfer-dto';
10
+ export * from './billing-address-dto';
6
11
  export * from './billing-profile-dto';
7
12
  export * from './billing-profile-limited-response-dto';
8
13
  export * from './card-details-dto';
9
14
  export * from './complete-adyen-payment-setup-request-dto';
10
15
  export * from './complete-braintree-payment-setup-request-dto';
16
+ export * from './complete-eis-payment-setup-request-dto';
11
17
  export * from './complete-payment-setup-request-dto';
12
18
  export * from './complete-payment-setup-response-class';
13
19
  export * from './complete-stripe-payment-setup-request-dto';
@@ -16,10 +22,14 @@ export * from './create-bank-account-response-class';
16
22
  export * from './create-bank-order-request-dto';
17
23
  export * from './create-bank-order-response-class';
18
24
  export * from './create-payment-method-response-class';
25
+ export * from './create-payment-order-dto';
26
+ export * from './create-payment-order-request-dto';
19
27
  export * from './create-payment-reminder-request-dto';
20
28
  export * from './create-payment-reminder-response-class';
21
29
  export * from './create-payment-request-dto';
22
30
  export * from './create-payment-response-class';
31
+ export * from './create-policy-payment-method-request-dto';
32
+ export * from './create-policy-payment-method-response-class';
23
33
  export * from './create-psp-payment-method-request-dto';
24
34
  export * from './create-refund-request-dto';
25
35
  export * from './create-refund-response-class';
@@ -28,10 +38,14 @@ export * from './create-tenant-bank-account-response-class';
28
38
  export * from './deactivate-payment-reminder-request-dto';
29
39
  export * from './deactivate-payment-reminder-response-class';
30
40
  export * from './deactivated-payment-reminder-class';
41
+ export * from './eis-sepa-debit-dto';
42
+ export * from './exceeding-credit-class';
43
+ export * from './financial-account-class';
31
44
  export * from './generate-invoice-match-suggestions-response-class';
32
45
  export * from './get-bank-account-response-class';
33
46
  export * from './get-bank-order-response-class';
34
47
  export * from './get-bank-transactions-response-class';
48
+ export * from './get-exceeding-credit-response-class';
35
49
  export * from './get-payment-method-response-class';
36
50
  export * from './get-payment-reminder-response-class';
37
51
  export * from './get-payment-response-class';
@@ -42,27 +56,35 @@ export * from './initiate-adyen-payment-setup-request-dto';
42
56
  export * from './initiate-adyen-payment-setup-response-class';
43
57
  export * from './initiate-braintree-payment-setup-request-dto';
44
58
  export * from './initiate-braintree-payment-setup-response-class';
59
+ export * from './initiate-eis-payment-setup-request-dto';
45
60
  export * from './initiate-payment-setup-request-dto';
46
61
  export * from './initiate-payment-setup-response-class';
47
62
  export * from './initiate-stripe-payment-setup-request-dto';
48
63
  export * from './initiate-stripe-payment-setup-response-class';
49
64
  export * from './inline-response200';
50
65
  export * from './inline-response503';
66
+ export * from './invoice-allocation-dto';
51
67
  export * from './invoice-match-suggestion-class';
52
68
  export * from './link-bank-transaction-request-dto-rest';
53
69
  export * from './link-bank-transactions-response-class';
54
70
  export * from './list-bank-accounts-response-class';
55
71
  export * from './list-bank-orders-response-class';
56
72
  export * from './list-bank-transactions-response-class';
73
+ export * from './list-exceeding-credits-response-class';
57
74
  export * from './list-payment-methods-response-class';
58
75
  export * from './list-payment-reminders-response-class';
59
76
  export * from './list-payments-response-class';
77
+ export * from './list-policy-payment-methods-response-class';
60
78
  export * from './list-refunds-response-class';
61
79
  export * from './list-tenant-bank-account-response-class';
80
+ export * from './mandate-dto';
81
+ export * from './mandate-hash-data-dto';
82
+ export * from './mandate-reference-class';
62
83
  export * from './payment-class';
63
84
  export * from './payment-class-without-expand-properties';
64
85
  export * from './payment-method-class';
65
86
  export * from './payment-reminder-class';
87
+ export * from './policy-payment-method-class';
66
88
  export * from './primary-bank-account-response-class';
67
89
  export * from './refund-class';
68
90
  export * from './refund-item-class';
@@ -73,7 +95,6 @@ export * from './suggestion-generation-progress-class';
73
95
  export * from './symphony-profile-limited-response-dto';
74
96
  export * from './tenant-bank-account-class';
75
97
  export * from './tenant-bank-account-class-without-expand-properties';
76
- export * from './unlink-bank-transaction-request-dto-rest';
77
98
  export * from './unlink-bank-transactions-response-class';
78
99
  export * from './unlinked-bank-transaction-response-class';
79
100
  export * from './update-bank-account-request-dto';
@@ -32,5 +32,11 @@ export interface InitiateAdyenPaymentSetupRequestDto {
32
32
  * @memberof InitiateAdyenPaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateAdyenPaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -32,5 +32,11 @@ export interface InitiateBraintreePaymentSetupRequestDto {
32
32
  * @memberof InitiateBraintreePaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateBraintreePaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42