@emilgroup/payment-sdk 1.22.1-beta.77 → 1.22.1-beta.79

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 (137) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +48 -18
  4. package/api/bank-orders-api.ts +40 -15
  5. package/api/bank-transaction-api.ts +181 -26
  6. package/api/billing-addresses-api.ts +40 -15
  7. package/api/credit-allocation-api.ts +24 -9
  8. package/api/exceeding-credits-api.ts +128 -6
  9. package/api/health-check-api.ts +1 -1
  10. package/api/ibanvalidator-api.ts +8 -3
  11. package/api/payment-methods-api.ts +24 -9
  12. package/api/payment-receipts-api.ts +40 -15
  13. package/api/payment-reminders-api.ts +32 -12
  14. package/api/payment-requests-api.ts +52 -27
  15. package/api/payment-setup-api.ts +16 -6
  16. package/api/payments-api.ts +46 -16
  17. package/api/payout-methods-api.ts +48 -18
  18. package/api/policy-payment-methods-api.ts +24 -9
  19. package/api/refunds-api.ts +24 -9
  20. package/api/tenant-bank-account-api.ts +40 -15
  21. package/api/webhooks-api.ts +2 -2
  22. package/base.ts +239 -43
  23. package/common.ts +3 -2
  24. package/configuration.ts +20 -0
  25. package/dist/api/bank-accounts-api.d.ts +6 -6
  26. package/dist/api/bank-accounts-api.js +82 -46
  27. package/dist/api/bank-orders-api.d.ts +5 -5
  28. package/dist/api/bank-orders-api.js +67 -38
  29. package/dist/api/bank-transaction-api.d.ts +80 -14
  30. package/dist/api/bank-transaction-api.js +194 -52
  31. package/dist/api/billing-addresses-api.d.ts +5 -5
  32. package/dist/api/billing-addresses-api.js +71 -39
  33. package/dist/api/credit-allocation-api.d.ts +3 -3
  34. package/dist/api/credit-allocation-api.js +41 -23
  35. package/dist/api/exceeding-credits-api.d.ts +59 -2
  36. package/dist/api/exceeding-credits-api.js +126 -15
  37. package/dist/api/health-check-api.d.ts +1 -1
  38. package/dist/api/health-check-api.js +1 -1
  39. package/dist/api/ibanvalidator-api.d.ts +1 -1
  40. package/dist/api/ibanvalidator-api.js +15 -8
  41. package/dist/api/payment-methods-api.d.ts +3 -3
  42. package/dist/api/payment-methods-api.js +41 -23
  43. package/dist/api/payment-receipts-api.d.ts +5 -5
  44. package/dist/api/payment-receipts-api.js +67 -38
  45. package/dist/api/payment-reminders-api.d.ts +4 -4
  46. package/dist/api/payment-reminders-api.js +56 -31
  47. package/dist/api/payment-requests-api.d.ts +17 -17
  48. package/dist/api/payment-requests-api.js +76 -47
  49. package/dist/api/payment-setup-api.d.ts +2 -2
  50. package/dist/api/payment-setup-api.js +30 -16
  51. package/dist/api/payments-api.d.ts +4 -4
  52. package/dist/api/payments-api.js +62 -34
  53. package/dist/api/payout-methods-api.d.ts +6 -6
  54. package/dist/api/payout-methods-api.js +82 -46
  55. package/dist/api/policy-payment-methods-api.d.ts +3 -3
  56. package/dist/api/policy-payment-methods-api.js +41 -23
  57. package/dist/api/refunds-api.d.ts +3 -3
  58. package/dist/api/refunds-api.js +37 -22
  59. package/dist/api/tenant-bank-account-api.d.ts +5 -5
  60. package/dist/api/tenant-bank-account-api.js +67 -38
  61. package/dist/api/webhooks-api.d.ts +2 -2
  62. package/dist/api/webhooks-api.js +2 -2
  63. package/dist/base.d.ts +26 -0
  64. package/dist/base.js +243 -60
  65. package/dist/common.d.ts +1 -1
  66. package/dist/common.js +1 -0
  67. package/dist/configuration.d.ts +17 -0
  68. package/dist/configuration.js +2 -0
  69. package/dist/models/bank-transaction-class.d.ts +7 -0
  70. package/dist/models/bank-transaction-entity.d.ts +7 -0
  71. package/dist/models/bank-transaction-invoice-entity.d.ts +24 -0
  72. package/dist/models/create-exceeding-credit-request-dto.d.ts +48 -0
  73. package/dist/models/create-exceeding-credit-request-dto.js +15 -0
  74. package/dist/models/create-exceeding-credit-response-class.d.ts +25 -0
  75. package/dist/models/create-exceeding-credit-response-class.js +15 -0
  76. package/dist/models/create-payment-order-dto.d.ts +1 -1
  77. package/dist/models/create-payment-receipt-request-dto.d.ts +1 -1
  78. package/dist/models/create-payment-request-dto.d.ts +1 -1
  79. package/dist/models/create-payment-request-request-dto.d.ts +6 -0
  80. package/dist/models/credit-allocation-class.d.ts +6 -0
  81. package/dist/models/credit-allocation-entity.d.ts +6 -0
  82. package/dist/models/exceeding-credit-entity.d.ts +6 -0
  83. package/dist/models/index.d.ts +6 -0
  84. package/dist/models/index.js +6 -0
  85. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.d.ts +30 -0
  86. package/dist/models/link-bank-transaction-payment-requests-request-dto-rest.js +15 -0
  87. package/dist/models/link-bank-transaction-payment-requests-response-class.d.ts +25 -0
  88. package/dist/models/link-bank-transaction-payment-requests-response-class.js +15 -0
  89. package/dist/models/list-billing-addresses-response-class.d.ts +9 -9
  90. package/dist/models/list-exceeding-credits-response-class.d.ts +6 -18
  91. package/dist/models/list-payment-receipts-response-class.d.ts +9 -9
  92. package/dist/models/list-payment-requests-response-class.d.ts +6 -18
  93. package/dist/models/list-payout-methods-response-class.d.ts +9 -9
  94. package/dist/models/list-refunds-response-class.d.ts +6 -18
  95. package/dist/models/payment-class-without-expand-properties.d.ts +2 -2
  96. package/dist/models/payment-class.d.ts +2 -2
  97. package/dist/models/payment-entity.d.ts +1 -1
  98. package/dist/models/payment-receipt-class.d.ts +13 -1
  99. package/dist/models/payment-receipt-entity.d.ts +139 -0
  100. package/dist/models/payment-receipt-entity.js +20 -0
  101. package/dist/models/payment-request-class.d.ts +13 -6
  102. package/dist/models/payment-request-class.js +1 -0
  103. package/dist/models/payment-request-entity.d.ts +223 -0
  104. package/dist/models/payment-request-entity.js +39 -0
  105. package/dist/models/shared-transaction-class.d.ts +6 -0
  106. package/dist/models/transaction-entity.d.ts +6 -0
  107. package/models/bank-transaction-class.ts +7 -0
  108. package/models/bank-transaction-entity.ts +7 -0
  109. package/models/bank-transaction-invoice-entity.ts +24 -0
  110. package/models/create-exceeding-credit-request-dto.ts +54 -0
  111. package/models/create-exceeding-credit-response-class.ts +31 -0
  112. package/models/create-payment-order-dto.ts +1 -1
  113. package/models/create-payment-receipt-request-dto.ts +1 -1
  114. package/models/create-payment-request-dto.ts +1 -1
  115. package/models/create-payment-request-request-dto.ts +6 -0
  116. package/models/credit-allocation-class.ts +6 -0
  117. package/models/credit-allocation-entity.ts +6 -0
  118. package/models/exceeding-credit-entity.ts +6 -0
  119. package/models/index.ts +6 -0
  120. package/models/link-bank-transaction-payment-requests-request-dto-rest.ts +36 -0
  121. package/models/link-bank-transaction-payment-requests-response-class.ts +31 -0
  122. package/models/list-billing-addresses-response-class.ts +9 -9
  123. package/models/list-exceeding-credits-response-class.ts +6 -18
  124. package/models/list-payment-receipts-response-class.ts +9 -9
  125. package/models/list-payment-requests-response-class.ts +6 -18
  126. package/models/list-payout-methods-response-class.ts +9 -9
  127. package/models/list-refunds-response-class.ts +6 -18
  128. package/models/payment-class-without-expand-properties.ts +2 -2
  129. package/models/payment-class.ts +2 -2
  130. package/models/payment-entity.ts +1 -1
  131. package/models/payment-receipt-class.ts +13 -1
  132. package/models/payment-receipt-entity.ts +148 -0
  133. package/models/payment-request-class.ts +13 -6
  134. package/models/payment-request-entity.ts +233 -0
  135. package/models/shared-transaction-class.ts +6 -0
  136. package/models/transaction-entity.ts +6 -0
  137. package/package.json +2 -2
@@ -0,0 +1,48 @@
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 CreateExceedingCreditRequestDto
16
+ */
17
+ export interface CreateExceedingCreditRequestDto {
18
+ /**
19
+ * The amount of the credit
20
+ * @type {number}
21
+ * @memberof CreateExceedingCreditRequestDto
22
+ */
23
+ 'amount': number;
24
+ /**
25
+ * The description of the credit
26
+ * @type {string}
27
+ * @memberof CreateExceedingCreditRequestDto
28
+ */
29
+ 'description'?: string;
30
+ /**
31
+ * The policy code of the credit
32
+ * @type {string}
33
+ * @memberof CreateExceedingCreditRequestDto
34
+ */
35
+ 'policyCode': string;
36
+ /**
37
+ * The transaction code of the credit
38
+ * @type {string}
39
+ * @memberof CreateExceedingCreditRequestDto
40
+ */
41
+ 'bankTransactionCode': string;
42
+ /**
43
+ * The invoice code of the credit
44
+ * @type {string}
45
+ * @memberof CreateExceedingCreditRequestDto
46
+ */
47
+ 'invoiceCode': string;
48
+ }
@@ -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,25 @@
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 CreateExceedingCreditResponseClass
17
+ */
18
+ export interface CreateExceedingCreditResponseClass {
19
+ /**
20
+ * Exceeding credit
21
+ * @type {ExceedingCreditClass}
22
+ * @memberof CreateExceedingCreditResponseClass
23
+ */
24
+ 'exceedingCredit': ExceedingCreditClass;
25
+ }
@@ -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 });
@@ -28,7 +28,7 @@ export interface CreatePaymentOrderDto {
28
28
  */
29
29
  'comment'?: string;
30
30
  /**
31
- * Optional payment date.
31
+ * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
32
32
  * @type {string}
33
33
  * @memberof CreatePaymentOrderDto
34
34
  */
@@ -34,7 +34,7 @@ export interface CreatePaymentReceiptRequestDto {
34
34
  */
35
35
  'direction': CreatePaymentReceiptRequestDtoDirectionEnum;
36
36
  /**
37
- * Date the payment was confirmed
37
+ * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
38
38
  * @type {string}
39
39
  * @memberof CreatePaymentReceiptRequestDto
40
40
  */
@@ -60,7 +60,7 @@ export interface CreatePaymentRequestDto {
60
60
  */
61
61
  'productSlug'?: string;
62
62
  /**
63
- * Optional payment date.
63
+ * The payment date: a calendar date, not a point in time. Send the date alone (`2026-10-10`), which is read as midnight UTC of that day, or a timestamp at midnight UTC (`2026-10-10T00:00:00.000Z`). Timestamps are read as UTC: any other time is stored as the instant it names and books on that instant’s UTC calendar day, so a local midnight east of UTC (`2026-10-10T00:00:00+02:00`) books on the previous day.
64
64
  * @type {string}
65
65
  * @memberof CreatePaymentRequestDto
66
66
  */
@@ -69,6 +69,12 @@ export interface CreatePaymentRequestRequestDto {
69
69
  * @memberof CreatePaymentRequestRequestDto
70
70
  */
71
71
  'domainEntityType': CreatePaymentRequestRequestDtoDomainEntityTypeEnum;
72
+ /**
73
+ * Code of the settlement the payment request was created for.
74
+ * @type {string}
75
+ * @memberof CreatePaymentRequestRequestDto
76
+ */
77
+ 'settlementCode'?: string;
72
78
  /**
73
79
  * Code of the partner the payment request was created for.
74
80
  * @type {string}
@@ -34,6 +34,12 @@ export interface CreditAllocationClass {
34
34
  * @memberof CreditAllocationClass
35
35
  */
36
36
  'exceedingCreditCodes': Array<string>;
37
+ /**
38
+ * Partner code derived from the policy related to the exceeding credits.
39
+ * @type {string}
40
+ * @memberof CreditAllocationClass
41
+ */
42
+ 'partnerCode': string;
37
43
  /**
38
44
  * Policy code associated with the credit.
39
45
  * @type {string}
@@ -28,6 +28,12 @@ export interface CreditAllocationEntity {
28
28
  * @memberof CreditAllocationEntity
29
29
  */
30
30
  'code': string;
31
+ /**
32
+ *
33
+ * @type {string}
34
+ * @memberof CreditAllocationEntity
35
+ */
36
+ 'partnerCode': string;
31
37
  /**
32
38
  *
33
39
  * @type {string}
@@ -131,6 +131,12 @@ export interface ExceedingCreditEntity {
131
131
  * @memberof ExceedingCreditEntity
132
132
  */
133
133
  'tenantHierarchy': string;
134
+ /**
135
+ *
136
+ * @type {boolean}
137
+ * @memberof ExceedingCreditEntity
138
+ */
139
+ 'createdEventPending': boolean;
134
140
  }
135
141
  export declare const ExceedingCreditEntityCurrencyEnum: {
136
142
  readonly Eur: "EUR";
@@ -31,6 +31,8 @@ export * from './create-billing-address-request-dto';
31
31
  export * from './create-billing-address-response-class';
32
32
  export * from './create-credit-allocation-request-dto';
33
33
  export * from './create-credit-allocation-response-class';
34
+ export * from './create-exceeding-credit-request-dto';
35
+ export * from './create-exceeding-credit-response-class';
34
36
  export * from './create-payment-method-response-class';
35
37
  export * from './create-payment-order-dto';
36
38
  export * from './create-payment-order-request-dto';
@@ -90,6 +92,8 @@ export * from './inline-response503';
90
92
  export * from './invoice-allocation-dto';
91
93
  export * from './invoice-match-suggestion-class';
92
94
  export * from './invoice-match-suggestion-entity';
95
+ export * from './link-bank-transaction-payment-requests-request-dto-rest';
96
+ export * from './link-bank-transaction-payment-requests-response-class';
93
97
  export * from './link-bank-transaction-request-dto-rest';
94
98
  export * from './link-bank-transactions-response-class';
95
99
  export * from './list-bank-accounts-response-class';
@@ -115,8 +119,10 @@ export * from './payment-class-without-expand-properties';
115
119
  export * from './payment-entity';
116
120
  export * from './payment-method-class';
117
121
  export * from './payment-receipt-class';
122
+ export * from './payment-receipt-entity';
118
123
  export * from './payment-reminder-class';
119
124
  export * from './payment-request-class';
125
+ export * from './payment-request-entity';
120
126
  export * from './payout-method-class';
121
127
  export * from './policy-payment-method-class';
122
128
  export * from './primary-bank-account-response-class';
@@ -47,6 +47,8 @@ __exportStar(require("./create-billing-address-request-dto"), exports);
47
47
  __exportStar(require("./create-billing-address-response-class"), exports);
48
48
  __exportStar(require("./create-credit-allocation-request-dto"), exports);
49
49
  __exportStar(require("./create-credit-allocation-response-class"), exports);
50
+ __exportStar(require("./create-exceeding-credit-request-dto"), exports);
51
+ __exportStar(require("./create-exceeding-credit-response-class"), exports);
50
52
  __exportStar(require("./create-payment-method-response-class"), exports);
51
53
  __exportStar(require("./create-payment-order-dto"), exports);
52
54
  __exportStar(require("./create-payment-order-request-dto"), exports);
@@ -106,6 +108,8 @@ __exportStar(require("./inline-response503"), exports);
106
108
  __exportStar(require("./invoice-allocation-dto"), exports);
107
109
  __exportStar(require("./invoice-match-suggestion-class"), exports);
108
110
  __exportStar(require("./invoice-match-suggestion-entity"), exports);
111
+ __exportStar(require("./link-bank-transaction-payment-requests-request-dto-rest"), exports);
112
+ __exportStar(require("./link-bank-transaction-payment-requests-response-class"), exports);
109
113
  __exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
110
114
  __exportStar(require("./link-bank-transactions-response-class"), exports);
111
115
  __exportStar(require("./list-bank-accounts-response-class"), exports);
@@ -131,8 +135,10 @@ __exportStar(require("./payment-class-without-expand-properties"), exports);
131
135
  __exportStar(require("./payment-entity"), exports);
132
136
  __exportStar(require("./payment-method-class"), exports);
133
137
  __exportStar(require("./payment-receipt-class"), exports);
138
+ __exportStar(require("./payment-receipt-entity"), exports);
134
139
  __exportStar(require("./payment-reminder-class"), exports);
135
140
  __exportStar(require("./payment-request-class"), exports);
141
+ __exportStar(require("./payment-request-entity"), exports);
136
142
  __exportStar(require("./payout-method-class"), exports);
137
143
  __exportStar(require("./policy-payment-method-class"), exports);
138
144
  __exportStar(require("./primary-bank-account-response-class"), exports);
@@ -0,0 +1,30 @@
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 LinkBankTransactionPaymentRequestsRequestDtoRest
16
+ */
17
+ export interface LinkBankTransactionPaymentRequestsRequestDtoRest {
18
+ /**
19
+ * Codes of the open payout payment requests the outgoing bank transaction paid; up to 1000, no duplicates, empty when only bank orders are linked. Together with the payment requests of the bank orders their amounts must add up to the transaction amount.
20
+ * @type {Array<string>}
21
+ * @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
22
+ */
23
+ 'paymentRequestCodes': Array<string>;
24
+ /**
25
+ * Codes of payout bank orders the transaction paid whole: the link pays every open payment request each order holds in the transaction currency. Up to 1000, no duplicates; a payment request may not also be listed in paymentRequestCodes.
26
+ * @type {Array<string>}
27
+ * @memberof LinkBankTransactionPaymentRequestsRequestDtoRest
28
+ */
29
+ 'bankOrderCodes'?: Array<string>;
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 });
@@ -0,0 +1,25 @@
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 { BankTransactionClass } from './bank-transaction-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LinkBankTransactionPaymentRequestsResponseClass
17
+ */
18
+ export interface LinkBankTransactionPaymentRequestsResponseClass {
19
+ /**
20
+ * The linked bank transaction, with the payment receipts the link created
21
+ * @type {BankTransactionClass}
22
+ * @memberof LinkBankTransactionPaymentRequestsResponseClass
23
+ */
24
+ 'bankTransaction': BankTransactionClass;
25
+ }
@@ -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 });
@@ -17,17 +17,17 @@ import { BillingAddressClass } from './billing-address-class';
17
17
  */
18
18
  export interface ListBillingAddressesResponseClass {
19
19
  /**
20
- * Next page token.
21
- * @type {string}
20
+ * The billing addresses
21
+ * @type {Array<BillingAddressClass>}
22
22
  * @memberof ListBillingAddressesResponseClass
23
23
  */
24
- 'nextPageToken': string;
24
+ 'items': Array<BillingAddressClass>;
25
25
  /**
26
- * Total amount of items.
27
- * @type {number}
26
+ * Next page token.
27
+ * @type {string}
28
28
  * @memberof ListBillingAddressesResponseClass
29
29
  */
30
- 'totalItems': number;
30
+ 'nextPageToken': string;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListBillingAddressesResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The billing addresses
39
- * @type {Array<BillingAddressClass>}
38
+ * Total amount of items.
39
+ * @type {number}
40
40
  * @memberof ListBillingAddressesResponseClass
41
41
  */
42
- 'items': Array<BillingAddressClass>;
42
+ 'totalItems': number;
43
43
  }
@@ -16,28 +16,16 @@ import { ExceedingCreditClass } from './exceeding-credit-class';
16
16
  * @interface ListExceedingCreditsResponseClass
17
17
  */
18
18
  export interface ListExceedingCreditsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListExceedingCreditsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListExceedingCreditsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListExceedingCreditsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of exceeding credits.
39
21
  * @type {Array<ExceedingCreditClass>}
40
22
  * @memberof ListExceedingCreditsResponseClass
41
23
  */
42
24
  'items': Array<ExceedingCreditClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListExceedingCreditsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -17,17 +17,17 @@ import { PaymentReceiptClass } from './payment-receipt-class';
17
17
  */
18
18
  export interface ListPaymentReceiptsResponseClass {
19
19
  /**
20
- * Next page token.
21
- * @type {string}
20
+ * The list of payment receipts.
21
+ * @type {Array<PaymentReceiptClass>}
22
22
  * @memberof ListPaymentReceiptsResponseClass
23
23
  */
24
- 'nextPageToken': string;
24
+ 'items': Array<PaymentReceiptClass>;
25
25
  /**
26
- * Total amount of items.
27
- * @type {number}
26
+ * Next page token.
27
+ * @type {string}
28
28
  * @memberof ListPaymentReceiptsResponseClass
29
29
  */
30
- 'totalItems': number;
30
+ 'nextPageToken': string;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListPaymentReceiptsResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The list of payment receipts.
39
- * @type {Array<PaymentReceiptClass>}
38
+ * Total amount of items.
39
+ * @type {number}
40
40
  * @memberof ListPaymentReceiptsResponseClass
41
41
  */
42
- 'items': Array<PaymentReceiptClass>;
42
+ 'totalItems': number;
43
43
  }
@@ -16,28 +16,16 @@ import { PaymentRequestClass } from './payment-request-class';
16
16
  * @interface ListPaymentRequestsResponseClass
17
17
  */
18
18
  export interface ListPaymentRequestsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListPaymentRequestsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListPaymentRequestsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListPaymentRequestsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of payment requests.
39
21
  * @type {Array<PaymentRequestClass>}
40
22
  * @memberof ListPaymentRequestsResponseClass
41
23
  */
42
24
  'items': Array<PaymentRequestClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListPaymentRequestsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -17,17 +17,17 @@ import { PayoutMethodClass } from './payout-method-class';
17
17
  */
18
18
  export interface ListPayoutMethodsResponseClass {
19
19
  /**
20
- * Next page token.
21
- * @type {string}
20
+ * The payout methods
21
+ * @type {Array<PayoutMethodClass>}
22
22
  * @memberof ListPayoutMethodsResponseClass
23
23
  */
24
- 'nextPageToken': string;
24
+ 'items': Array<PayoutMethodClass>;
25
25
  /**
26
- * Total amount of items.
27
- * @type {number}
26
+ * Next page token.
27
+ * @type {string}
28
28
  * @memberof ListPayoutMethodsResponseClass
29
29
  */
30
- 'totalItems': number;
30
+ 'nextPageToken': string;
31
31
  /**
32
32
  * Items per page.
33
33
  * @type {number}
@@ -35,9 +35,9 @@ export interface ListPayoutMethodsResponseClass {
35
35
  */
36
36
  'itemsPerPage': number;
37
37
  /**
38
- * The payout methods
39
- * @type {Array<PayoutMethodClass>}
38
+ * Total amount of items.
39
+ * @type {number}
40
40
  * @memberof ListPayoutMethodsResponseClass
41
41
  */
42
- 'items': Array<PayoutMethodClass>;
42
+ 'totalItems': number;
43
43
  }
@@ -16,28 +16,16 @@ import { RefundClass } from './refund-class';
16
16
  * @interface ListRefundsResponseClass
17
17
  */
18
18
  export interface ListRefundsResponseClass {
19
- /**
20
- * Next page token.
21
- * @type {string}
22
- * @memberof ListRefundsResponseClass
23
- */
24
- 'nextPageToken': string;
25
- /**
26
- * Total amount of items.
27
- * @type {number}
28
- * @memberof ListRefundsResponseClass
29
- */
30
- 'totalItems': number;
31
- /**
32
- * Items per page.
33
- * @type {number}
34
- * @memberof ListRefundsResponseClass
35
- */
36
- 'itemsPerPage': number;
37
19
  /**
38
20
  * The list of refunds.
39
21
  * @type {Array<RefundClass>}
40
22
  * @memberof ListRefundsResponseClass
41
23
  */
42
24
  'items': Array<RefundClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListRefundsResponseClass
29
+ */
30
+ 'nextPageToken': string;
43
31
  }
@@ -44,7 +44,7 @@ export interface PaymentClassWithoutExpandProperties {
44
44
  * @type {string}
45
45
  * @memberof PaymentClassWithoutExpandProperties
46
46
  */
47
- 'partnerCode'?: string;
47
+ 'partnerCode': string;
48
48
  /**
49
49
  * Amount to be paid in cents. 100 to charge 1€.
50
50
  * @type {number}
@@ -76,7 +76,7 @@ export interface PaymentClassWithoutExpandProperties {
76
76
  */
77
77
  'productSlug'?: string;
78
78
  /**
79
- * Time at which the payment was actually received.
79
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
80
80
  * @type {string}
81
81
  * @memberof PaymentClassWithoutExpandProperties
82
82
  */
@@ -45,7 +45,7 @@ export interface PaymentClass {
45
45
  * @type {string}
46
46
  * @memberof PaymentClass
47
47
  */
48
- 'partnerCode'?: string;
48
+ 'partnerCode': string;
49
49
  /**
50
50
  * Amount to be paid in cents. 100 to charge 1€.
51
51
  * @type {number}
@@ -83,7 +83,7 @@ export interface PaymentClass {
83
83
  */
84
84
  'productSlug'?: string;
85
85
  /**
86
- * Time at which the payment was actually received.
86
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
87
87
  * @type {string}
88
88
  * @memberof PaymentClass
89
89
  */
@@ -51,7 +51,7 @@ export interface PaymentEntity {
51
51
  * @type {string}
52
52
  * @memberof PaymentEntity
53
53
  */
54
- 'partnerCode'?: string;
54
+ 'partnerCode': string;
55
55
  /**
56
56
  *
57
57
  * @type {string}
@@ -46,7 +46,7 @@ export interface PaymentReceiptClass {
46
46
  */
47
47
  'direction': PaymentReceiptClassDirectionEnum;
48
48
  /**
49
- * Date the payment was confirmed
49
+ * The payment date, a calendar date: its UTC calendar day is the day the payment books on. Read it in UTC; converting it to a local time zone shows the previous day west of UTC.
50
50
  * @type {string}
51
51
  * @memberof PaymentReceiptClass
52
52
  */
@@ -57,6 +57,12 @@ export interface PaymentReceiptClass {
57
57
  * @memberof PaymentReceiptClass
58
58
  */
59
59
  'paymentRequestCode'?: string;
60
+ /**
61
+ * The number of the payment request the payment receipt pays; read from the payment request, not stored on the receipt.
62
+ * @type {string}
63
+ * @memberof PaymentReceiptClass
64
+ */
65
+ 'paymentRequestNumber'?: string;
60
66
  /**
61
67
  * The payment service provider that produced the payment receipt.
62
68
  * @type {string}
@@ -69,6 +75,12 @@ export interface PaymentReceiptClass {
69
75
  * @memberof PaymentReceiptClass
70
76
  */
71
77
  'comment'?: string;
78
+ /**
79
+ * The code of the bank transaction whose link created the payment receipt; unset for a receipt created by hand.
80
+ * @type {string}
81
+ * @memberof PaymentReceiptClass
82
+ */
83
+ 'bankTransactionCode'?: string;
72
84
  /**
73
85
  * Time at which the object was created.
74
86
  * @type {string}