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

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
package/models/index.ts CHANGED
@@ -1,22 +1,33 @@
1
1
  export * from './bank-account-class';
2
2
  export * from './bank-account-class-without-expand-properties';
3
+ export * from './bank-order-class';
3
4
  export * from './bank-transaction-class';
4
5
  export * from './bank-transaction-class-without-expand-properties';
6
+ export * from './bank-transaction-invoice-class';
7
+ export * from './bank-transfer-dto';
8
+ export * from './billing-address-dto';
5
9
  export * from './billing-profile-dto';
6
10
  export * from './billing-profile-limited-response-dto';
7
11
  export * from './card-details-dto';
8
12
  export * from './complete-adyen-payment-setup-request-dto';
9
13
  export * from './complete-braintree-payment-setup-request-dto';
14
+ export * from './complete-eis-payment-setup-request-dto';
10
15
  export * from './complete-payment-setup-request-dto';
11
16
  export * from './complete-payment-setup-response-class';
12
17
  export * from './complete-stripe-payment-setup-request-dto';
13
18
  export * from './create-bank-account-request-dto';
14
19
  export * from './create-bank-account-response-class';
20
+ export * from './create-bank-order-request-dto';
21
+ export * from './create-bank-order-response-class';
15
22
  export * from './create-payment-method-response-class';
23
+ export * from './create-payment-order-dto';
24
+ export * from './create-payment-order-request-dto';
16
25
  export * from './create-payment-reminder-request-dto';
17
26
  export * from './create-payment-reminder-response-class';
18
27
  export * from './create-payment-request-dto';
19
28
  export * from './create-payment-response-class';
29
+ export * from './create-policy-payment-method-request-dto';
30
+ export * from './create-policy-payment-method-response-class';
20
31
  export * from './create-psp-payment-method-request-dto';
21
32
  export * from './create-refund-request-dto';
22
33
  export * from './create-refund-response-class';
@@ -25,9 +36,13 @@ export * from './create-tenant-bank-account-response-class';
25
36
  export * from './deactivate-payment-reminder-request-dto';
26
37
  export * from './deactivate-payment-reminder-response-class';
27
38
  export * from './deactivated-payment-reminder-class';
39
+ export * from './exceeding-credit-class';
40
+ export * from './financial-account-class';
28
41
  export * from './generate-invoice-match-suggestions-response-class';
29
42
  export * from './get-bank-account-response-class';
43
+ export * from './get-bank-order-response-class';
30
44
  export * from './get-bank-transactions-response-class';
45
+ export * from './get-exceeding-credit-response-class';
31
46
  export * from './get-payment-method-response-class';
32
47
  export * from './get-payment-reminder-response-class';
33
48
  export * from './get-payment-response-class';
@@ -38,17 +53,21 @@ export * from './initiate-adyen-payment-setup-request-dto';
38
53
  export * from './initiate-adyen-payment-setup-response-class';
39
54
  export * from './initiate-braintree-payment-setup-request-dto';
40
55
  export * from './initiate-braintree-payment-setup-response-class';
56
+ export * from './initiate-eis-payment-setup-request-dto';
41
57
  export * from './initiate-payment-setup-request-dto';
42
58
  export * from './initiate-payment-setup-response-class';
43
59
  export * from './initiate-stripe-payment-setup-request-dto';
44
60
  export * from './initiate-stripe-payment-setup-response-class';
45
61
  export * from './inline-response200';
46
62
  export * from './inline-response503';
63
+ export * from './invoice-allocation-dto';
47
64
  export * from './invoice-match-suggestion-class';
48
65
  export * from './link-bank-transaction-request-dto-rest';
49
66
  export * from './link-bank-transactions-response-class';
50
67
  export * from './list-bank-accounts-response-class';
68
+ export * from './list-bank-orders-response-class';
51
69
  export * from './list-bank-transactions-response-class';
70
+ export * from './list-exceeding-credits-response-class';
52
71
  export * from './list-payment-methods-response-class';
53
72
  export * from './list-payment-reminders-response-class';
54
73
  export * from './list-payments-response-class';
@@ -58,6 +77,7 @@ export * from './payment-class';
58
77
  export * from './payment-class-without-expand-properties';
59
78
  export * from './payment-method-class';
60
79
  export * from './payment-reminder-class';
80
+ export * from './policy-payment-method-class';
61
81
  export * from './primary-bank-account-response-class';
62
82
  export * from './refund-class';
63
83
  export * from './refund-item-class';
@@ -68,12 +88,13 @@ export * from './suggestion-generation-progress-class';
68
88
  export * from './symphony-profile-limited-response-dto';
69
89
  export * from './tenant-bank-account-class';
70
90
  export * from './tenant-bank-account-class-without-expand-properties';
71
- export * from './unlink-bank-transaction-request-dto-rest';
72
91
  export * from './unlink-bank-transactions-response-class';
73
92
  export * from './unlinked-bank-transaction-response-class';
74
93
  export * from './update-bank-account-request-dto';
75
94
  export * from './update-bank-account-request-dto-rest';
76
95
  export * from './update-bank-account-response-class';
96
+ export * from './update-bank-order-request-dto';
97
+ export * from './update-bank-order-response-class';
77
98
  export * from './update-tenant-bank-account-response-class';
78
99
  export * from './update-tenant-bank-account-rest-request-dto';
79
100
  export * from './validate-pspconfig-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
 
@@ -0,0 +1,42 @@
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 InitiateEisPaymentSetupRequestDto
21
+ */
22
+ export interface InitiateEisPaymentSetupRequestDto {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof InitiateEisPaymentSetupRequestDto
27
+ */
28
+ 'leadCode'?: string;
29
+ /**
30
+ * Unique identifier of the account that this object belongs to.
31
+ * @type {string}
32
+ * @memberof InitiateEisPaymentSetupRequestDto
33
+ */
34
+ 'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateEisPaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
41
+ }
42
+
@@ -15,6 +15,7 @@
15
15
 
16
16
  import { InitiateAdyenPaymentSetupRequestDto } from './initiate-adyen-payment-setup-request-dto';
17
17
  import { InitiateBraintreePaymentSetupRequestDto } from './initiate-braintree-payment-setup-request-dto';
18
+ import { InitiateEisPaymentSetupRequestDto } from './initiate-eis-payment-setup-request-dto';
18
19
  import { InitiateStripePaymentSetupRequestDto } from './initiate-stripe-payment-setup-request-dto';
19
20
 
20
21
  /**
@@ -43,10 +44,10 @@ export interface InitiatePaymentSetupRequestDto {
43
44
  'b4u'?: object;
44
45
  /**
45
46
  *
46
- * @type {object}
47
+ * @type {InitiateEisPaymentSetupRequestDto}
47
48
  * @memberof InitiatePaymentSetupRequestDto
48
49
  */
49
- 'eis'?: object;
50
+ 'eis'?: InitiateEisPaymentSetupRequestDto;
50
51
  /**
51
52
  *
52
53
  * @type {InitiateAdyenPaymentSetupRequestDto}
@@ -32,5 +32,11 @@ export interface InitiateStripePaymentSetupRequestDto {
32
32
  * @memberof InitiateStripePaymentSetupRequestDto
33
33
  */
34
34
  'accountCode'?: string;
35
+ /**
36
+ * Unique identifier of the partner that this object belongs to.
37
+ * @type {string}
38
+ * @memberof InitiateStripePaymentSetupRequestDto
39
+ */
40
+ 'partnerCode'?: string;
35
41
  }
36
42
 
@@ -17,14 +17,20 @@
17
17
  /**
18
18
  *
19
19
  * @export
20
- * @interface UnlinkBankTransactionRequestDtoRest
20
+ * @interface InvoiceAllocationDto
21
21
  */
22
- export interface UnlinkBankTransactionRequestDtoRest {
22
+ export interface InvoiceAllocationDto {
23
23
  /**
24
- * The code of the invoice that the transaction will be unlinked from
24
+ *
25
25
  * @type {string}
26
- * @memberof UnlinkBankTransactionRequestDtoRest
26
+ * @memberof InvoiceAllocationDto
27
27
  */
28
28
  'invoiceCode': string;
29
+ /**
30
+ *
31
+ * @type {number}
32
+ * @memberof InvoiceAllocationDto
33
+ */
34
+ 'allocatedAmount': number;
29
35
  }
30
36
 
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { InvoiceAllocationDto } from './invoice-allocation-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -21,10 +22,10 @@
21
22
  */
22
23
  export interface LinkBankTransactionRequestDtoRest {
23
24
  /**
24
- * The code of the invoice that the transaction will be linked to.
25
- * @type {string}
25
+ * List of invoice allocations associated with bank transaction.
26
+ * @type {Array<InvoiceAllocationDto>}
26
27
  * @memberof LinkBankTransactionRequestDtoRest
27
28
  */
28
- 'invoiceCode': string;
29
+ 'invoiceAllocations': Array<InvoiceAllocationDto>;
29
30
  }
30
31
 
@@ -0,0 +1,37 @@
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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListBankOrdersResponseClass
22
+ */
23
+ export interface ListBankOrdersResponseClass {
24
+ /**
25
+ * The list of bank orders.
26
+ * @type {Array<BankOrderClass>}
27
+ * @memberof ListBankOrdersResponseClass
28
+ */
29
+ 'items': Array<BankOrderClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListBankOrdersResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -0,0 +1,37 @@
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 ListExceedingCreditsResponseClass
22
+ */
23
+ export interface ListExceedingCreditsResponseClass {
24
+ /**
25
+ * The list of exceeding credits.
26
+ * @type {Array<ExceedingCreditClass>}
27
+ * @memberof ListExceedingCreditsResponseClass
28
+ */
29
+ 'items': Array<ExceedingCreditClass>;
30
+ /**
31
+ * Next page token.
32
+ * @type {string}
33
+ * @memberof ListExceedingCreditsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
@@ -43,7 +43,13 @@ export interface PaymentClassWithoutExpandProperties {
43
43
  * @type {string}
44
44
  * @memberof PaymentClassWithoutExpandProperties
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Partner code associated to that payment.
49
+ * @type {string}
50
+ * @memberof PaymentClassWithoutExpandProperties
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Amount to be paid in cents. 100 to charge 1€.
49
55
  * @type {number}
@@ -44,7 +44,13 @@ export interface PaymentClass {
44
44
  * @type {string}
45
45
  * @memberof PaymentClass
46
46
  */
47
- 'accountCode': string;
47
+ 'accountCode'?: string;
48
+ /**
49
+ * Partner code associated to that payment.
50
+ * @type {string}
51
+ * @memberof PaymentClass
52
+ */
53
+ 'partnerCode'?: string;
48
54
  /**
49
55
  * Amount to be paid in cents. 100 to charge 1€.
50
56
  * @type {number}
@@ -80,6 +80,12 @@ export interface PaymentMethodClass {
80
80
  * @memberof PaymentMethodClass
81
81
  */
82
82
  'details'?: object;
83
+ /**
84
+ * The account PSP customer associated to this payment method.
85
+ * @type {object}
86
+ * @memberof PaymentMethodClass
87
+ */
88
+ 'accountPspCustomer'?: object;
83
89
  /**
84
90
  * Optional field contain extra information
85
91
  * @type {object}
@@ -43,7 +43,13 @@ export interface PaymentReminderClass {
43
43
  * @type {string}
44
44
  * @memberof PaymentReminderClass
45
45
  */
46
- 'accountCode': string;
46
+ 'accountCode'?: string;
47
+ /**
48
+ * Unique identifier of related partner.
49
+ * @type {string}
50
+ * @memberof PaymentReminderClass
51
+ */
52
+ 'partnerCode'?: string;
47
53
  /**
48
54
  * Type of the invoice
49
55
  * @type {string}
@@ -0,0 +1,79 @@
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 { PaymentMethodClass } from './payment-method-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PolicyPaymentMethodClass
22
+ */
23
+ export interface PolicyPaymentMethodClass {
24
+ /**
25
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
26
+ * @type {number}
27
+ * @memberof PolicyPaymentMethodClass
28
+ */
29
+ 'id': number;
30
+ /**
31
+ * Unique identifier for the object.
32
+ * @type {string}
33
+ * @memberof PolicyPaymentMethodClass
34
+ */
35
+ 'code': string;
36
+ /**
37
+ * The unique identifier of the policy.
38
+ * @type {string}
39
+ * @memberof PolicyPaymentMethodClass
40
+ */
41
+ 'policyCode': string;
42
+ /**
43
+ * The active status of the policy payment method.
44
+ * @type {boolean}
45
+ * @memberof PolicyPaymentMethodClass
46
+ */
47
+ 'isActive': boolean;
48
+ /**
49
+ * Time at which the object was created.
50
+ * @type {string}
51
+ * @memberof PolicyPaymentMethodClass
52
+ */
53
+ 'createdAt': string;
54
+ /**
55
+ * Time at which the object was updated.
56
+ * @type {string}
57
+ * @memberof PolicyPaymentMethodClass
58
+ */
59
+ 'updatedAt': string;
60
+ /**
61
+ * Identifier of the user who created the record.
62
+ * @type {string}
63
+ * @memberof PolicyPaymentMethodClass
64
+ */
65
+ 'createdBy': string;
66
+ /**
67
+ * Identifier of the user who last updated the record.
68
+ * @type {string}
69
+ * @memberof PolicyPaymentMethodClass
70
+ */
71
+ 'updatedBy': string;
72
+ /**
73
+ * The payment method associated with the policy payment method.
74
+ * @type {PaymentMethodClass}
75
+ * @memberof PolicyPaymentMethodClass
76
+ */
77
+ 'paymentMethod': PaymentMethodClass;
78
+ }
79
+
@@ -44,7 +44,13 @@ export interface RefundClass {
44
44
  * @type {string}
45
45
  * @memberof RefundClass
46
46
  */
47
- 'accountCode': string;
47
+ 'accountCode'?: string;
48
+ /**
49
+ * Partner code associated with the payment.
50
+ * @type {string}
51
+ * @memberof RefundClass
52
+ */
53
+ 'partnerCode'?: string;
48
54
  /**
49
55
  * Amount that was refunded in cents. 100 to refund 1€.
50
56
  * @type {number}
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { BankOrderClass } from './bank-order-class';
16
17
 
17
18
  /**
18
19
  *
@@ -50,6 +51,12 @@ export interface UnlinkedBankTransactionResponseClass {
50
51
  * @memberof UnlinkedBankTransactionResponseClass
51
52
  */
52
53
  'messageReference'?: string;
54
+ /**
55
+ * Label of the transaction
56
+ * @type {string}
57
+ * @memberof UnlinkedBankTransactionResponseClass
58
+ */
59
+ 'label'?: UnlinkedBankTransactionResponseClassLabelEnum;
53
60
  /**
54
61
  * Currency of the transaction.
55
62
  * @type {string}
@@ -92,6 +99,12 @@ export interface UnlinkedBankTransactionResponseClass {
92
99
  * @memberof UnlinkedBankTransactionResponseClass
93
100
  */
94
101
  'isLinked': boolean;
102
+ /**
103
+ * The linked bank order object
104
+ * @type {BankOrderClass}
105
+ * @memberof UnlinkedBankTransactionResponseClass
106
+ */
107
+ 'linkedBankOrder'?: BankOrderClass;
95
108
  /**
96
109
  * The file format of the bank transaction
97
110
  * @type {string}
@@ -118,3 +131,11 @@ export interface UnlinkedBankTransactionResponseClass {
118
131
  'updatedBy': string;
119
132
  }
120
133
 
134
+ export const UnlinkedBankTransactionResponseClassLabelEnum = {
135
+ Automated: 'automated',
136
+ Manual: 'manual'
137
+ } as const;
138
+
139
+ export type UnlinkedBankTransactionResponseClassLabelEnum = typeof UnlinkedBankTransactionResponseClassLabelEnum[keyof typeof UnlinkedBankTransactionResponseClassLabelEnum];
140
+
141
+
@@ -0,0 +1,71 @@
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 UpdateBankOrderRequestDto
21
+ */
22
+ export interface UpdateBankOrderRequestDto {
23
+ /**
24
+ * Bank order status
25
+ * @type {string}
26
+ * @memberof UpdateBankOrderRequestDto
27
+ */
28
+ 'status': UpdateBankOrderRequestDtoStatusEnum;
29
+ /**
30
+ * Bank order description.
31
+ * @type {string}
32
+ * @memberof UpdateBankOrderRequestDto
33
+ */
34
+ 'description'?: string;
35
+ /**
36
+ * Financial account code associated with the bank order.
37
+ * @type {string}
38
+ * @memberof UpdateBankOrderRequestDto
39
+ */
40
+ 'financialAccountCode': string;
41
+ /**
42
+ * List of invoice IDs associated with bank order.
43
+ * @type {Array<number>}
44
+ * @memberof UpdateBankOrderRequestDto
45
+ */
46
+ 'invoiceIds': Array<number>;
47
+ /**
48
+ * Day of execution of bank order.
49
+ * @type {string}
50
+ * @memberof UpdateBankOrderRequestDto
51
+ */
52
+ 'executionDate': string;
53
+ /**
54
+ * Latest due date.
55
+ * @type {string}
56
+ * @memberof UpdateBankOrderRequestDto
57
+ */
58
+ 'dueDate': string;
59
+ }
60
+
61
+ export const UpdateBankOrderRequestDtoStatusEnum = {
62
+ Open: 'open',
63
+ Draft: 'draft',
64
+ Closed: 'closed',
65
+ Accepted: 'accepted',
66
+ Processing: 'processing'
67
+ } as const;
68
+
69
+ export type UpdateBankOrderRequestDtoStatusEnum = typeof UpdateBankOrderRequestDtoStatusEnum[keyof typeof UpdateBankOrderRequestDtoStatusEnum];
70
+
71
+
@@ -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 { BankOrderClass } from './bank-order-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateBankOrderResponseClass
22
+ */
23
+ export interface UpdateBankOrderResponseClass {
24
+ /**
25
+ * Bank order
26
+ * @type {BankOrderClass}
27
+ * @memberof UpdateBankOrderResponseClass
28
+ */
29
+ 'bankOrder': BankOrderClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.13.1-beta.9",
3
+ "version": "1.13.1-beta.90",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [