@emilgroup/payment-sdk 1.22.1-beta.84 → 1.22.1-beta.86

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 (34) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/bank-order-texts-api.ts +265 -0
  4. package/api/payment-receipts-api.ts +120 -12
  5. package/api.ts +2 -0
  6. package/dist/api/bank-order-texts-api.d.ts +144 -0
  7. package/dist/api/bank-order-texts-api.js +325 -0
  8. package/dist/api/payment-receipts-api.d.ts +68 -12
  9. package/dist/api/payment-receipts-api.js +109 -10
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/bank-order-texts-class.d.ts +42 -0
  13. package/dist/models/bank-order-texts-class.js +15 -0
  14. package/dist/models/cancel-payment-receipt-response-class.d.ts +25 -0
  15. package/dist/models/cancel-payment-receipt-response-class.js +15 -0
  16. package/dist/models/get-bank-order-texts-response-class.d.ts +25 -0
  17. package/dist/models/get-bank-order-texts-response-class.js +15 -0
  18. package/dist/models/index.d.ts +5 -0
  19. package/dist/models/index.js +5 -0
  20. package/dist/models/payment-receipt-class.d.ts +12 -0
  21. package/dist/models/payment-receipt-entity.d.ts +18 -0
  22. package/dist/models/update-bank-order-texts-request-dto.d.ts +32 -0
  23. package/dist/models/update-bank-order-texts-request-dto.js +15 -0
  24. package/dist/models/update-bank-order-texts-response-class.d.ts +25 -0
  25. package/dist/models/update-bank-order-texts-response-class.js +15 -0
  26. package/models/bank-order-texts-class.ts +48 -0
  27. package/models/cancel-payment-receipt-response-class.ts +31 -0
  28. package/models/get-bank-order-texts-response-class.ts +31 -0
  29. package/models/index.ts +5 -0
  30. package/models/payment-receipt-class.ts +12 -0
  31. package/models/payment-receipt-entity.ts +18 -0
  32. package/models/update-bank-order-texts-request-dto.ts +36 -0
  33. package/models/update-bank-order-texts-response-class.ts +31 -0
  34. package/package.json +1 -1
@@ -20,6 +20,7 @@ __exportStar(require("./bank-account-class-without-expand-properties"), exports)
20
20
  __exportStar(require("./bank-data-class"), exports);
21
21
  __exportStar(require("./bank-order-class"), exports);
22
22
  __exportStar(require("./bank-order-entity"), exports);
23
+ __exportStar(require("./bank-order-texts-class"), exports);
23
24
  __exportStar(require("./bank-order-xml-file-class"), exports);
24
25
  __exportStar(require("./bank-order-xml-file-entity"), exports);
25
26
  __exportStar(require("./bank-transaction-class"), exports);
@@ -32,6 +33,7 @@ __exportStar(require("./billing-address-class"), exports);
32
33
  __exportStar(require("./billing-address-dto"), exports);
33
34
  __exportStar(require("./billing-profile-dto"), exports);
34
35
  __exportStar(require("./billing-profile-limited-response-dto"), exports);
36
+ __exportStar(require("./cancel-payment-receipt-response-class"), exports);
35
37
  __exportStar(require("./card-details-dto"), exports);
36
38
  __exportStar(require("./complete-adyen-payment-setup-request-dto"), exports);
37
39
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
@@ -83,6 +85,7 @@ __exportStar(require("./exceeding-credit-entity"), exports);
83
85
  __exportStar(require("./generate-invoice-match-suggestions-response-class"), exports);
84
86
  __exportStar(require("./get-bank-account-response-class"), exports);
85
87
  __exportStar(require("./get-bank-order-response-class"), exports);
88
+ __exportStar(require("./get-bank-order-texts-response-class"), exports);
86
89
  __exportStar(require("./get-bank-transactions-response-class"), exports);
87
90
  __exportStar(require("./get-billing-address-response-class"), exports);
88
91
  __exportStar(require("./get-credit-allocation-response-class"), exports);
@@ -163,6 +166,8 @@ __exportStar(require("./update-bank-account-request-dto-rest"), exports);
163
166
  __exportStar(require("./update-bank-account-response-class"), exports);
164
167
  __exportStar(require("./update-bank-order-request-dto"), exports);
165
168
  __exportStar(require("./update-bank-order-response-class"), exports);
169
+ __exportStar(require("./update-bank-order-texts-request-dto"), exports);
170
+ __exportStar(require("./update-bank-order-texts-response-class"), exports);
166
171
  __exportStar(require("./update-billing-address-request-dto"), exports);
167
172
  __exportStar(require("./update-billing-address-response-class"), exports);
168
173
  __exportStar(require("./update-payment-receipt-response-class"), exports);
@@ -81,6 +81,18 @@ export interface PaymentReceiptClass {
81
81
  * @memberof PaymentReceiptClass
82
82
  */
83
83
  'bankTransactionCode'?: string;
84
+ /**
85
+ * When the payment receipt was cancelled; unset while it is active. A cancelled receipt is kept, never deleted.
86
+ * @type {string}
87
+ * @memberof PaymentReceiptClass
88
+ */
89
+ 'cancelledAt'?: string;
90
+ /**
91
+ * The user who cancelled the payment receipt.
92
+ * @type {string}
93
+ * @memberof PaymentReceiptClass
94
+ */
95
+ 'cancelledBy'?: string;
84
96
  /**
85
97
  * Time at which the object was created.
86
98
  * @type {string}
@@ -101,6 +101,24 @@ export interface PaymentReceiptEntity {
101
101
  * @memberof PaymentReceiptEntity
102
102
  */
103
103
  'bankTransaction'?: BankTransactionEntity;
104
+ /**
105
+ *
106
+ * @type {string}
107
+ * @memberof PaymentReceiptEntity
108
+ */
109
+ 'cancelledAt'?: string;
110
+ /**
111
+ *
112
+ * @type {string}
113
+ * @memberof PaymentReceiptEntity
114
+ */
115
+ 'cancelledBy'?: string;
116
+ /**
117
+ *
118
+ * @type {string}
119
+ * @memberof PaymentReceiptEntity
120
+ */
121
+ 'cancellationEventPublishedAt'?: string;
104
122
  /**
105
123
  *
106
124
  * @type {string}
@@ -0,0 +1,32 @@
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 UpdateBankOrderTextsRequestDto
16
+ */
17
+ export interface UpdateBankOrderTextsRequestDto {
18
+ /**
19
+ * Templates per bank order type (`directDebit`): a default template and product templates keyed by product slug. Placeholders: `{{bankOrder.orderNumber}}`, `{{invoice.invoiceNumber}}`, `{{policy.policyNumber}}`, `{{policy.productName}}`, `{{policy.tariffVariant}}`.
20
+ * @type {{ [key: string]: object; }}
21
+ * @memberof UpdateBankOrderTextsRequestDto
22
+ */
23
+ 'templates'?: {
24
+ [key: string]: object;
25
+ };
26
+ /**
27
+ * Version the texts were loaded with. Leave it out on the first save. A save against an older version is refused.
28
+ * @type {number}
29
+ * @memberof UpdateBankOrderTextsRequestDto
30
+ */
31
+ 'version'?: number;
32
+ }
@@ -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 { BankOrderTextsClass } from './bank-order-texts-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateBankOrderTextsResponseClass
17
+ */
18
+ export interface UpdateBankOrderTextsResponseClass {
19
+ /**
20
+ * Bank order texts of the tenant
21
+ * @type {BankOrderTextsClass}
22
+ * @memberof UpdateBankOrderTextsResponseClass
23
+ */
24
+ 'bankOrderTexts': BankOrderTextsClass;
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 });
@@ -0,0 +1,48 @@
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 BankOrderTextsClass
21
+ */
22
+ export interface BankOrderTextsClass {
23
+ /**
24
+ * Templates per bank order type (`directDebit`): a default template and product templates keyed by product slug.
25
+ * @type {object}
26
+ * @memberof BankOrderTextsClass
27
+ */
28
+ 'templates': object;
29
+ /**
30
+ * Version of the stored texts. Send it back when saving.
31
+ * @type {number}
32
+ * @memberof BankOrderTextsClass
33
+ */
34
+ 'version': number;
35
+ /**
36
+ * When the texts were last saved.
37
+ * @type {string}
38
+ * @memberof BankOrderTextsClass
39
+ */
40
+ 'updatedAt'?: string;
41
+ /**
42
+ * Who saved the texts last.
43
+ * @type {string}
44
+ * @memberof BankOrderTextsClass
45
+ */
46
+ 'updatedBy'?: string;
47
+ }
48
+
@@ -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 { PaymentReceiptClass } from './payment-receipt-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CancelPaymentReceiptResponseClass
22
+ */
23
+ export interface CancelPaymentReceiptResponseClass {
24
+ /**
25
+ * The payment receipt after the cancellation.
26
+ * @type {PaymentReceiptClass}
27
+ * @memberof CancelPaymentReceiptResponseClass
28
+ */
29
+ 'paymentReceipt'?: PaymentReceiptClass;
30
+ }
31
+
@@ -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 { BankOrderTextsClass } from './bank-order-texts-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetBankOrderTextsResponseClass
22
+ */
23
+ export interface GetBankOrderTextsResponseClass {
24
+ /**
25
+ * Bank order texts of the tenant
26
+ * @type {BankOrderTextsClass}
27
+ * @memberof GetBankOrderTextsResponseClass
28
+ */
29
+ 'bankOrderTexts': BankOrderTextsClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -4,6 +4,7 @@ export * from './bank-account-class-without-expand-properties';
4
4
  export * from './bank-data-class';
5
5
  export * from './bank-order-class';
6
6
  export * from './bank-order-entity';
7
+ export * from './bank-order-texts-class';
7
8
  export * from './bank-order-xml-file-class';
8
9
  export * from './bank-order-xml-file-entity';
9
10
  export * from './bank-transaction-class';
@@ -16,6 +17,7 @@ export * from './billing-address-class';
16
17
  export * from './billing-address-dto';
17
18
  export * from './billing-profile-dto';
18
19
  export * from './billing-profile-limited-response-dto';
20
+ export * from './cancel-payment-receipt-response-class';
19
21
  export * from './card-details-dto';
20
22
  export * from './complete-adyen-payment-setup-request-dto';
21
23
  export * from './complete-braintree-payment-setup-request-dto';
@@ -67,6 +69,7 @@ export * from './exceeding-credit-entity';
67
69
  export * from './generate-invoice-match-suggestions-response-class';
68
70
  export * from './get-bank-account-response-class';
69
71
  export * from './get-bank-order-response-class';
72
+ export * from './get-bank-order-texts-response-class';
70
73
  export * from './get-bank-transactions-response-class';
71
74
  export * from './get-billing-address-response-class';
72
75
  export * from './get-credit-allocation-response-class';
@@ -147,6 +150,8 @@ export * from './update-bank-account-request-dto-rest';
147
150
  export * from './update-bank-account-response-class';
148
151
  export * from './update-bank-order-request-dto';
149
152
  export * from './update-bank-order-response-class';
153
+ export * from './update-bank-order-texts-request-dto';
154
+ export * from './update-bank-order-texts-response-class';
150
155
  export * from './update-billing-address-request-dto';
151
156
  export * from './update-billing-address-response-class';
152
157
  export * from './update-payment-receipt-response-class';
@@ -86,6 +86,18 @@ export interface PaymentReceiptClass {
86
86
  * @memberof PaymentReceiptClass
87
87
  */
88
88
  'bankTransactionCode'?: string;
89
+ /**
90
+ * When the payment receipt was cancelled; unset while it is active. A cancelled receipt is kept, never deleted.
91
+ * @type {string}
92
+ * @memberof PaymentReceiptClass
93
+ */
94
+ 'cancelledAt'?: string;
95
+ /**
96
+ * The user who cancelled the payment receipt.
97
+ * @type {string}
98
+ * @memberof PaymentReceiptClass
99
+ */
100
+ 'cancelledBy'?: string;
89
101
  /**
90
102
  * Time at which the object was created.
91
103
  * @type {string}
@@ -106,6 +106,24 @@ export interface PaymentReceiptEntity {
106
106
  * @memberof PaymentReceiptEntity
107
107
  */
108
108
  'bankTransaction'?: BankTransactionEntity;
109
+ /**
110
+ *
111
+ * @type {string}
112
+ * @memberof PaymentReceiptEntity
113
+ */
114
+ 'cancelledAt'?: string;
115
+ /**
116
+ *
117
+ * @type {string}
118
+ * @memberof PaymentReceiptEntity
119
+ */
120
+ 'cancelledBy'?: string;
121
+ /**
122
+ *
123
+ * @type {string}
124
+ * @memberof PaymentReceiptEntity
125
+ */
126
+ 'cancellationEventPublishedAt'?: string;
109
127
  /**
110
128
  *
111
129
  * @type {string}
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface UpdateBankOrderTextsRequestDto
21
+ */
22
+ export interface UpdateBankOrderTextsRequestDto {
23
+ /**
24
+ * Templates per bank order type (`directDebit`): a default template and product templates keyed by product slug. Placeholders: `{{bankOrder.orderNumber}}`, `{{invoice.invoiceNumber}}`, `{{policy.policyNumber}}`, `{{policy.productName}}`, `{{policy.tariffVariant}}`.
25
+ * @type {{ [key: string]: object; }}
26
+ * @memberof UpdateBankOrderTextsRequestDto
27
+ */
28
+ 'templates'?: { [key: string]: object; };
29
+ /**
30
+ * Version the texts were loaded with. Leave it out on the first save. A save against an older version is refused.
31
+ * @type {number}
32
+ * @memberof UpdateBankOrderTextsRequestDto
33
+ */
34
+ 'version'?: number;
35
+ }
36
+
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil Payment Service
5
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { BankOrderTextsClass } from './bank-order-texts-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface UpdateBankOrderTextsResponseClass
22
+ */
23
+ export interface UpdateBankOrderTextsResponseClass {
24
+ /**
25
+ * Bank order texts of the tenant
26
+ * @type {BankOrderTextsClass}
27
+ * @memberof UpdateBankOrderTextsResponseClass
28
+ */
29
+ 'bankOrderTexts': BankOrderTextsClass;
30
+ }
31
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/payment-sdk",
3
- "version": "1.22.1-beta.84",
3
+ "version": "1.22.1-beta.86",
4
4
  "description": "OpenAPI client for @emilgroup/payment-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [