@emilgroup/payment-sdk 1.13.1-beta.9 → 1.13.1-beta.91

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 (154) hide show
  1. package/.openapi-generator/FILES +25 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +691 -0
  5. package/api/bank-transaction-api.ts +63 -52
  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 +188 -21
  10. package/api/policy-payment-methods-api.ts +165 -0
  11. package/api/refunds-api.ts +45 -17
  12. package/api/tenant-bank-account-api.ts +45 -17
  13. package/api.ts +6 -0
  14. package/base.ts +51 -2
  15. package/dist/api/bank-accounts-api.d.ts +35 -8
  16. package/dist/api/bank-accounts-api.js +29 -11
  17. package/dist/api/bank-orders-api.d.ts +393 -0
  18. package/dist/api/bank-orders-api.js +642 -0
  19. package/dist/api/bank-transaction-api.d.ts +43 -35
  20. package/dist/api/bank-transaction-api.js +39 -34
  21. package/dist/api/exceeding-credits-api.d.ts +206 -0
  22. package/dist/api/exceeding-credits-api.js +352 -0
  23. package/dist/api/payment-methods-api.d.ts +39 -12
  24. package/dist/api/payment-methods-api.js +32 -14
  25. package/dist/api/payment-reminders-api.d.ts +35 -8
  26. package/dist/api/payment-reminders-api.js +29 -11
  27. package/dist/api/payments-api.d.ts +112 -16
  28. package/dist/api/payments-api.js +141 -18
  29. package/dist/api/policy-payment-methods-api.d.ts +97 -0
  30. package/dist/api/policy-payment-methods-api.js +224 -0
  31. package/dist/api/refunds-api.d.ts +28 -10
  32. package/dist/api/refunds-api.js +24 -12
  33. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  34. package/dist/api/tenant-bank-account-api.js +24 -12
  35. package/dist/api.d.ts +3 -0
  36. package/dist/api.js +3 -0
  37. package/dist/base.d.ts +10 -1
  38. package/dist/base.js +46 -2
  39. package/dist/models/bank-order-class.d.ts +115 -0
  40. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +18 -18
  41. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  42. package/dist/models/bank-transaction-class.d.ts +22 -22
  43. package/dist/models/bank-transaction-class.js +5 -0
  44. package/dist/models/bank-transaction-invoice-class.d.ts +60 -0
  45. package/dist/models/bank-transaction-invoice-class.js +15 -0
  46. package/dist/models/bank-transfer-dto.d.ts +25 -0
  47. package/dist/models/bank-transfer-dto.js +15 -0
  48. package/dist/models/billing-address-dto.d.ts +54 -0
  49. package/dist/models/billing-address-dto.js +15 -0
  50. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  51. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  52. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  53. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  54. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  55. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  56. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  57. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  58. package/dist/models/create-bank-order-request-dto.js +28 -0
  59. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  60. package/dist/models/create-bank-order-response-class.js +15 -0
  61. package/dist/models/create-payment-order-dto.d.ts +48 -0
  62. package/dist/models/create-payment-order-dto.js +15 -0
  63. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  64. package/dist/models/create-payment-order-request-dto.js +15 -0
  65. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  66. package/dist/models/create-payment-request-dto.d.ts +7 -1
  67. package/dist/models/create-policy-payment-method-request-dto.d.ts +30 -0
  68. package/dist/models/create-policy-payment-method-request-dto.js +15 -0
  69. package/dist/models/create-policy-payment-method-response-class.d.ts +25 -0
  70. package/dist/models/create-policy-payment-method-response-class.js +15 -0
  71. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  72. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  73. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  74. package/dist/models/exceeding-credit-class.d.ts +116 -0
  75. package/dist/models/exceeding-credit-class.js +29 -0
  76. package/dist/models/financial-account-class.d.ts +111 -0
  77. package/dist/models/financial-account-class.js +24 -0
  78. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  79. package/dist/models/get-bank-order-response-class.js +15 -0
  80. package/dist/models/get-exceeding-credit-response-class.d.ts +25 -0
  81. package/dist/models/get-exceeding-credit-response-class.js +15 -0
  82. package/dist/models/index.d.ts +22 -1
  83. package/dist/models/index.js +22 -1
  84. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  85. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  86. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  87. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  88. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  89. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  90. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  91. package/dist/models/invoice-allocation-dto.js +15 -0
  92. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  93. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  94. package/dist/models/list-bank-orders-response-class.js +15 -0
  95. package/dist/models/list-exceeding-credits-response-class.d.ts +31 -0
  96. package/dist/models/list-exceeding-credits-response-class.js +15 -0
  97. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  98. package/dist/models/payment-class.d.ts +7 -1
  99. package/dist/models/payment-method-class.d.ts +6 -0
  100. package/dist/models/payment-reminder-class.d.ts +7 -1
  101. package/dist/models/policy-payment-method-class.d.ts +73 -0
  102. package/dist/models/policy-payment-method-class.js +15 -0
  103. package/dist/models/refund-class.d.ts +7 -1
  104. package/dist/models/unlinked-bank-transaction-response-class.d.ts +18 -0
  105. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  106. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  107. package/dist/models/update-bank-order-request-dto.js +23 -0
  108. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  109. package/dist/models/update-bank-order-response-class.js +15 -0
  110. package/models/bank-order-class.ts +121 -0
  111. package/models/bank-transaction-class-without-expand-properties.ts +21 -18
  112. package/models/bank-transaction-class.ts +25 -22
  113. package/models/bank-transaction-invoice-class.ts +66 -0
  114. package/models/bank-transfer-dto.ts +31 -0
  115. package/models/billing-address-dto.ts +60 -0
  116. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  117. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  118. package/models/complete-payment-setup-request-dto.ts +7 -0
  119. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  120. package/models/create-bank-order-request-dto.ts +84 -0
  121. package/models/create-bank-order-response-class.ts +31 -0
  122. package/models/create-payment-order-dto.ts +54 -0
  123. package/models/create-payment-order-request-dto.ts +54 -0
  124. package/models/create-payment-reminder-request-dto.ts +7 -1
  125. package/models/create-payment-request-dto.ts +7 -1
  126. package/models/create-policy-payment-method-request-dto.ts +36 -0
  127. package/models/create-policy-payment-method-response-class.ts +31 -0
  128. package/models/create-psp-payment-method-request-dto.ts +23 -2
  129. package/models/deactivated-payment-reminder-class.ts +7 -1
  130. package/models/exceeding-credit-class.ts +125 -0
  131. package/models/financial-account-class.ts +120 -0
  132. package/models/get-bank-order-response-class.ts +31 -0
  133. package/models/get-exceeding-credit-response-class.ts +31 -0
  134. package/models/index.ts +22 -1
  135. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  136. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  137. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  138. package/models/initiate-payment-setup-request-dto.ts +3 -2
  139. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  140. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  141. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  142. package/models/list-bank-orders-response-class.ts +37 -0
  143. package/models/list-exceeding-credits-response-class.ts +37 -0
  144. package/models/payment-class-without-expand-properties.ts +7 -1
  145. package/models/payment-class.ts +7 -1
  146. package/models/payment-method-class.ts +6 -0
  147. package/models/payment-reminder-class.ts +7 -1
  148. package/models/policy-payment-method-class.ts +79 -0
  149. package/models/refund-class.ts +7 -1
  150. package/models/unlinked-bank-transaction-response-class.ts +21 -0
  151. package/models/update-bank-order-request-dto.ts +71 -0
  152. package/models/update-bank-order-response-class.ts +31 -0
  153. package/package.json +1 -1
  154. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -16,23 +16,34 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./bank-account-class"), exports);
18
18
  __exportStar(require("./bank-account-class-without-expand-properties"), exports);
19
+ __exportStar(require("./bank-order-class"), exports);
19
20
  __exportStar(require("./bank-transaction-class"), exports);
20
21
  __exportStar(require("./bank-transaction-class-without-expand-properties"), exports);
22
+ __exportStar(require("./bank-transaction-invoice-class"), exports);
23
+ __exportStar(require("./bank-transfer-dto"), exports);
24
+ __exportStar(require("./billing-address-dto"), exports);
21
25
  __exportStar(require("./billing-profile-dto"), exports);
22
26
  __exportStar(require("./billing-profile-limited-response-dto"), exports);
23
27
  __exportStar(require("./card-details-dto"), exports);
24
28
  __exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
25
29
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
30
+ __exportStar(require("./complete-eis-payment-setup-request-dto"), exports);
26
31
  __exportStar(require("./complete-payment-setup-request-dto"), exports);
27
32
  __exportStar(require("./complete-payment-setup-response-class"), exports);
28
33
  __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
29
34
  __exportStar(require("./create-bank-account-request-dto"), exports);
30
35
  __exportStar(require("./create-bank-account-response-class"), exports);
36
+ __exportStar(require("./create-bank-order-request-dto"), exports);
37
+ __exportStar(require("./create-bank-order-response-class"), exports);
31
38
  __exportStar(require("./create-payment-method-response-class"), exports);
39
+ __exportStar(require("./create-payment-order-dto"), exports);
40
+ __exportStar(require("./create-payment-order-request-dto"), exports);
32
41
  __exportStar(require("./create-payment-reminder-request-dto"), exports);
33
42
  __exportStar(require("./create-payment-reminder-response-class"), exports);
34
43
  __exportStar(require("./create-payment-request-dto"), exports);
35
44
  __exportStar(require("./create-payment-response-class"), exports);
45
+ __exportStar(require("./create-policy-payment-method-request-dto"), exports);
46
+ __exportStar(require("./create-policy-payment-method-response-class"), exports);
36
47
  __exportStar(require("./create-psp-payment-method-request-dto"), exports);
37
48
  __exportStar(require("./create-refund-request-dto"), exports);
38
49
  __exportStar(require("./create-refund-response-class"), exports);
@@ -41,9 +52,13 @@ __exportStar(require("./create-tenant-bank-account-response-class"), exports);
41
52
  __exportStar(require("./deactivate-payment-reminder-request-dto"), exports);
42
53
  __exportStar(require("./deactivate-payment-reminder-response-class"), exports);
43
54
  __exportStar(require("./deactivated-payment-reminder-class"), exports);
55
+ __exportStar(require("./exceeding-credit-class"), exports);
56
+ __exportStar(require("./financial-account-class"), exports);
44
57
  __exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
45
58
  __exportStar(require("./get-bank-account-response-class"), exports);
59
+ __exportStar(require("./get-bank-order-response-class"), exports);
46
60
  __exportStar(require("./get-bank-transactions-response-class"), exports);
61
+ __exportStar(require("./get-exceeding-credit-response-class"), exports);
47
62
  __exportStar(require("./get-payment-method-response-class"), exports);
48
63
  __exportStar(require("./get-payment-reminder-response-class"), exports);
49
64
  __exportStar(require("./get-payment-response-class"), exports);
@@ -54,17 +69,21 @@ __exportStar(require("./initiate-adyen-payment-setup-request-dto"), exports);
54
69
  __exportStar(require("./initiate-adyen-payment-setup-response-class"), exports);
55
70
  __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports);
56
71
  __exportStar(require("./initiate-braintree-payment-setup-response-class"), exports);
72
+ __exportStar(require("./initiate-eis-payment-setup-request-dto"), exports);
57
73
  __exportStar(require("./initiate-payment-setup-request-dto"), exports);
58
74
  __exportStar(require("./initiate-payment-setup-response-class"), exports);
59
75
  __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
60
76
  __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
61
77
  __exportStar(require("./inline-response200"), exports);
62
78
  __exportStar(require("./inline-response503"), exports);
79
+ __exportStar(require("./invoice-allocation-dto"), exports);
63
80
  __exportStar(require("./invoice-match-suggestion-class"), exports);
64
81
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
65
82
  __exportStar(require("./link-bank-transactions-response-class"), exports);
66
83
  __exportStar(require("./list-bank-accounts-response-class"), exports);
84
+ __exportStar(require("./list-bank-orders-response-class"), exports);
67
85
  __exportStar(require("./list-bank-transactions-response-class"), exports);
86
+ __exportStar(require("./list-exceeding-credits-response-class"), exports);
68
87
  __exportStar(require("./list-payment-methods-response-class"), exports);
69
88
  __exportStar(require("./list-payment-reminders-response-class"), exports);
70
89
  __exportStar(require("./list-payments-response-class"), exports);
@@ -74,6 +93,7 @@ __exportStar(require("./payment-class"), exports);
74
93
  __exportStar(require("./payment-class-without-expand-properties"), exports);
75
94
  __exportStar(require("./payment-method-class"), exports);
76
95
  __exportStar(require("./payment-reminder-class"), exports);
96
+ __exportStar(require("./policy-payment-method-class"), exports);
77
97
  __exportStar(require("./primary-bank-account-response-class"), exports);
78
98
  __exportStar(require("./refund-class"), exports);
79
99
  __exportStar(require("./refund-item-class"), exports);
@@ -84,12 +104,13 @@ __exportStar(require("./suggestion-generation-progress-class"), exports);
84
104
  __exportStar(require("./symphony-profile-limited-response-dto"), exports);
85
105
  __exportStar(require("./tenant-bank-account-class"), exports);
86
106
  __exportStar(require("./tenant-bank-account-class-without-expand-properties"), exports);
87
- __exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
88
107
  __exportStar(require("./unlink-bank-transactions-response-class"), exports);
89
108
  __exportStar(require("./unlinked-bank-transaction-response-class"), exports);
90
109
  __exportStar(require("./update-bank-account-request-dto"), exports);
91
110
  __exportStar(require("./update-bank-account-request-dto-rest"), exports);
92
111
  __exportStar(require("./update-bank-account-response-class"), exports);
112
+ __exportStar(require("./update-bank-order-request-dto"), exports);
113
+ __exportStar(require("./update-bank-order-response-class"), exports);
93
114
  __exportStar(require("./update-tenant-bank-account-response-class"), exports);
94
115
  __exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
95
116
  __exportStar(require("./validate-pspconfig-request-dto"), exports);
@@ -27,4 +27,10 @@ export interface InitiateAdyenPaymentSetupRequestDto {
27
27
  * @memberof InitiateAdyenPaymentSetupRequestDto
28
28
  */
29
29
  'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateAdyenPaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
30
36
  }
@@ -27,4 +27,10 @@ export interface InitiateBraintreePaymentSetupRequestDto {
27
27
  * @memberof InitiateBraintreePaymentSetupRequestDto
28
28
  */
29
29
  'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateBraintreePaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
30
36
  }
@@ -0,0 +1,36 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface InitiateEisPaymentSetupRequestDto
16
+ */
17
+ export interface InitiateEisPaymentSetupRequestDto {
18
+ /**
19
+ * Unique identifier of the lead that this object belongs to.
20
+ * @type {string}
21
+ * @memberof InitiateEisPaymentSetupRequestDto
22
+ */
23
+ 'leadCode'?: string;
24
+ /**
25
+ * Unique identifier of the account that this object belongs to.
26
+ * @type {string}
27
+ * @memberof InitiateEisPaymentSetupRequestDto
28
+ */
29
+ 'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateEisPaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
36
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
13
13
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
14
+ import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
14
15
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
15
16
  /**
16
17
  *
@@ -38,10 +39,10 @@ export interface InitiatePaymentSetupRequestDto {
38
39
  'b4u'?: object;
39
40
  /**
40
41
  *
41
- * @type {object}
42
+ * @type {InitiateEisPaymentSetupRequestDto}
42
43
  * @memberof InitiatePaymentSetupRequestDto
43
44
  */
44
- 'eis'?: object;
45
+ 'eis'?: InitiateEisPaymentSetupRequestDto;
45
46
  /**
46
47
  *
47
48
  * @type {InitiateAdyenPaymentSetupRequestDto}
@@ -27,4 +27,10 @@ export interface InitiateStripePaymentSetupRequestDto {
27
27
  * @memberof InitiateStripePaymentSetupRequestDto
28
28
  */
29
29
  'accountCode'?: string;
30
+ /**
31
+ * Unique identifier of the partner that this object belongs to.
32
+ * @type {string}
33
+ * @memberof InitiateStripePaymentSetupRequestDto
34
+ */
35
+ 'partnerCode'?: string;
30
36
  }
@@ -12,13 +12,19 @@
12
12
  /**
13
13
  *
14
14
  * @export
15
- * @interface UnlinkBankTransactionRequestDtoRest
15
+ * @interface InvoiceAllocationDto
16
16
  */
17
- export interface UnlinkBankTransactionRequestDtoRest {
17
+ export interface InvoiceAllocationDto {
18
18
  /**
19
- * The code of the invoice that the transaction will be unlinked from
19
+ *
20
20
  * @type {string}
21
- * @memberof UnlinkBankTransactionRequestDtoRest
21
+ * @memberof InvoiceAllocationDto
22
22
  */
23
23
  'invoiceCode': string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof InvoiceAllocationDto
28
+ */
29
+ 'allocatedAmount': number;
24
30
  }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { InvoiceAllocationDto } from './invoice-allocation-dto';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -16,9 +17,9 @@
16
17
  */
17
18
  export interface LinkBankTransactionRequestDtoRest {
18
19
  /**
19
- * The code of the invoice that the transaction will be linked to.
20
- * @type {string}
20
+ * List of invoice allocations associated with bank transaction.
21
+ * @type {Array<InvoiceAllocationDto>}
21
22
  * @memberof LinkBankTransactionRequestDtoRest
22
23
  */
23
- 'invoiceCode': string;
24
+ 'invoiceAllocations': Array<InvoiceAllocationDto>;
24
25
  }
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { BankOrderClass } from './bank-order-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListBankOrdersResponseClass
17
+ */
18
+ export interface ListBankOrdersResponseClass {
19
+ /**
20
+ * The list of bank orders.
21
+ * @type {Array<BankOrderClass>}
22
+ * @memberof ListBankOrdersResponseClass
23
+ */
24
+ 'items': Array<BankOrderClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListBankOrdersResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,31 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { ExceedingCreditClass } from './exceeding-credit-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListExceedingCreditsResponseClass
17
+ */
18
+ export interface ListExceedingCreditsResponseClass {
19
+ /**
20
+ * The list of exceeding credits.
21
+ * @type {Array<ExceedingCreditClass>}
22
+ * @memberof ListExceedingCreditsResponseClass
23
+ */
24
+ 'items': Array<ExceedingCreditClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListExceedingCreditsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -38,7 +38,13 @@ export interface PaymentClassWithoutExpandProperties {
38
38
  * @type {string}
39
39
  * @memberof PaymentClassWithoutExpandProperties
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Partner code associated to that payment.
44
+ * @type {string}
45
+ * @memberof PaymentClassWithoutExpandProperties
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Amount to be paid in cents. 100 to charge 1€.
44
50
  * @type {number}
@@ -39,7 +39,13 @@ export interface PaymentClass {
39
39
  * @type {string}
40
40
  * @memberof PaymentClass
41
41
  */
42
- 'accountCode': string;
42
+ 'accountCode'?: string;
43
+ /**
44
+ * Partner code associated to that payment.
45
+ * @type {string}
46
+ * @memberof PaymentClass
47
+ */
48
+ 'partnerCode'?: string;
43
49
  /**
44
50
  * Amount to be paid in cents. 100 to charge 1€.
45
51
  * @type {number}
@@ -75,6 +75,12 @@ export interface PaymentMethodClass {
75
75
  * @memberof PaymentMethodClass
76
76
  */
77
77
  'details'?: object;
78
+ /**
79
+ * The account PSP customer associated to this payment method.
80
+ * @type {object}
81
+ * @memberof PaymentMethodClass
82
+ */
83
+ 'accountPspCustomer'?: object;
78
84
  /**
79
85
  * Optional field contain extra information
80
86
  * @type {object}
@@ -38,7 +38,13 @@ export interface PaymentReminderClass {
38
38
  * @type {string}
39
39
  * @memberof PaymentReminderClass
40
40
  */
41
- 'accountCode': string;
41
+ 'accountCode'?: string;
42
+ /**
43
+ * Unique identifier of related partner.
44
+ * @type {string}
45
+ * @memberof PaymentReminderClass
46
+ */
47
+ 'partnerCode'?: string;
42
48
  /**
43
49
  * Type of the invoice
44
50
  * @type {string}
@@ -0,0 +1,73 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { PaymentMethodClass } from './payment-method-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PolicyPaymentMethodClass
17
+ */
18
+ export interface PolicyPaymentMethodClass {
19
+ /**
20
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
21
+ * @type {number}
22
+ * @memberof PolicyPaymentMethodClass
23
+ */
24
+ 'id': number;
25
+ /**
26
+ * Unique identifier for the object.
27
+ * @type {string}
28
+ * @memberof PolicyPaymentMethodClass
29
+ */
30
+ 'code': string;
31
+ /**
32
+ * The unique identifier of the policy.
33
+ * @type {string}
34
+ * @memberof PolicyPaymentMethodClass
35
+ */
36
+ 'policyCode': string;
37
+ /**
38
+ * The active status of the policy payment method.
39
+ * @type {boolean}
40
+ * @memberof PolicyPaymentMethodClass
41
+ */
42
+ 'isActive': boolean;
43
+ /**
44
+ * Time at which the object was created.
45
+ * @type {string}
46
+ * @memberof PolicyPaymentMethodClass
47
+ */
48
+ 'createdAt': string;
49
+ /**
50
+ * Time at which the object was updated.
51
+ * @type {string}
52
+ * @memberof PolicyPaymentMethodClass
53
+ */
54
+ 'updatedAt': string;
55
+ /**
56
+ * Identifier of the user who created the record.
57
+ * @type {string}
58
+ * @memberof PolicyPaymentMethodClass
59
+ */
60
+ 'createdBy': string;
61
+ /**
62
+ * Identifier of the user who last updated the record.
63
+ * @type {string}
64
+ * @memberof PolicyPaymentMethodClass
65
+ */
66
+ 'updatedBy': string;
67
+ /**
68
+ * The payment method associated with the policy payment method.
69
+ * @type {PaymentMethodClass}
70
+ * @memberof PolicyPaymentMethodClass
71
+ */
72
+ 'paymentMethod': PaymentMethodClass;
73
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * 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.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -39,7 +39,13 @@ export interface RefundClass {
39
39
  * @type {string}
40
40
  * @memberof RefundClass
41
41
  */
42
- 'accountCode': string;
42
+ 'accountCode'?: string;
43
+ /**
44
+ * Partner code associated with the payment.
45
+ * @type {string}
46
+ * @memberof RefundClass
47
+ */
48
+ 'partnerCode'?: string;
43
49
  /**
44
50
  * Amount that was refunded in cents. 100 to refund 1€.
45
51
  * @type {number}
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { BankOrderClass } from './bank-order-class';
12
13
  /**
13
14
  *
14
15
  * @export
@@ -45,6 +46,12 @@ export interface UnlinkedBankTransactionResponseClass {
45
46
  * @memberof UnlinkedBankTransactionResponseClass
46
47
  */
47
48
  'messageReference'?: string;
49
+ /**
50
+ * Label of the transaction
51
+ * @type {string}
52
+ * @memberof UnlinkedBankTransactionResponseClass
53
+ */
54
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
48
55
  /**
49
56
  * Currency of the transaction.
50
57
  * @type {string}
@@ -87,6 +94,12 @@ export interface UnlinkedBankTransactionResponseClass {
87
94
  * @memberof UnlinkedBankTransactionResponseClass
88
95
  */
89
96
  'isLinked': boolean;
97
+ /**
98
+ * The linked bank order object
99
+ * @type {BankOrderClass}
100
+ * @memberof UnlinkedBankTransactionResponseClass
101
+ */
102
+ 'linkedBankOrder'?: BankOrderClass;
90
103
  /**
91
104
  * The file format of the bank transaction
92
105
  * @type {string}
@@ -112,3 +125,8 @@ export interface UnlinkedBankTransactionResponseClass {
112
125
  */
113
126
  'updatedBy': string;
114
127
  }
128
+ export declare const UnlinkedBankTransactionResponseClassLabelEnum: {
129
+ readonly Automated: "automated";
130
+ readonly Manual: "manual";
131
+ };
132
+ export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.UnlinkedBankTransactionResponseClassLabelEnum = void 0;
17
+ exports.UnlinkedBankTransactionResponseClassLabelEnum = {
18
+ Automated: 'automated',
19
+ Manual: 'manual'
20
+ };
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface UpdateBankOrderRequestDto
16
+ */
17
+ export interface UpdateBankOrderRequestDto {
18
+ /**
19
+ * Bank order status
20
+ * @type {string}
21
+ * @memberof UpdateBankOrderRequestDto
22
+ */
23
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
24
+ /**
25
+ * Bank order description.
26
+ * @type {string}
27
+ * @memberof UpdateBankOrderRequestDto
28
+ */
29
+ 'description'?: string;
30
+ /**
31
+ * Financial account code associated with the bank order.
32
+ * @type {string}
33
+ * @memberof UpdateBankOrderRequestDto
34
+ */
35
+ 'financialAccountCode': string;
36
+ /**
37
+ * List of invoice IDs associated with bank order.
38
+ * @type {Array<number>}
39
+ * @memberof UpdateBankOrderRequestDto
40
+ */
41
+ 'invoiceIds': Array<number>;
42
+ /**
43
+ * Day of execution of bank order.
44
+ * @type {string}
45
+ * @memberof UpdateBankOrderRequestDto
46
+ */
47
+ 'executionDate': string;
48
+ /**
49
+ * Latest due date.
50
+ * @type {string}
51
+ * @memberof UpdateBankOrderRequestDto
52
+ */
53
+ 'dueDate': string;
54
+ }
55
+ export declare const UpdateBankOrderRequestDtoStatusEnum: {
56
+ readonly Open: "open";
57
+ readonly Draft: "draft";
58
+ readonly Closed: "closed";
59
+ readonly Accepted: "accepted";
60
+ readonly Processing: "processing";
61
+ };
62
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];