@emilgroup/insurance-sdk-node 1.88.0 → 1.88.1-beta.1

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 (36) hide show
  1. package/.openapi-generator/FILES +7 -0
  2. package/README.md +2 -2
  3. package/dist/models/bank-transfer-dto.d.ts +1 -1
  4. package/dist/models/index.d.ts +7 -0
  5. package/dist/models/index.js +7 -0
  6. package/dist/models/lead-class.d.ts +3 -3
  7. package/dist/models/sepa-dto.d.ts +2 -2
  8. package/dist/models/shared-bank-transfer-response-class.d.ts +25 -0
  9. package/dist/models/shared-bank-transfer-response-class.js +15 -0
  10. package/dist/models/shared-billing-address-response-class.d.ts +54 -0
  11. package/dist/models/shared-billing-address-response-class.js +15 -0
  12. package/dist/models/shared-create-payment-method-request-dto.d.ts +13 -2
  13. package/dist/models/shared-create-payment-method-request-dto.js +5 -0
  14. package/dist/models/shared-eis-sepa-debit-response-class.d.ts +55 -0
  15. package/dist/models/shared-eis-sepa-debit-response-class.js +15 -0
  16. package/dist/models/shared-mandate-hash-data-response-class.d.ts +42 -0
  17. package/dist/models/shared-mandate-hash-data-response-class.js +15 -0
  18. package/dist/models/shared-mandate-response-class.d.ts +43 -0
  19. package/dist/models/shared-mandate-response-class.js +15 -0
  20. package/dist/models/shared-payment-method-response-class.d.ts +56 -0
  21. package/dist/models/shared-payment-method-response-class.js +20 -0
  22. package/dist/models/shared-sepa-response-class.d.ts +30 -0
  23. package/dist/models/shared-sepa-response-class.js +15 -0
  24. package/models/bank-transfer-dto.ts +1 -1
  25. package/models/index.ts +7 -0
  26. package/models/lead-class.ts +3 -3
  27. package/models/sepa-dto.ts +2 -2
  28. package/models/shared-bank-transfer-response-class.ts +31 -0
  29. package/models/shared-billing-address-response-class.ts +60 -0
  30. package/models/shared-create-payment-method-request-dto.ts +16 -2
  31. package/models/shared-eis-sepa-debit-response-class.ts +61 -0
  32. package/models/shared-mandate-hash-data-response-class.ts +48 -0
  33. package/models/shared-mandate-response-class.ts +49 -0
  34. package/models/shared-payment-method-response-class.ts +65 -0
  35. package/models/shared-sepa-response-class.ts +36 -0
  36. package/package.json +1 -1
@@ -214,13 +214,20 @@ models/rest-clone-lead-account-request-dto.ts
214
214
  models/restore-policy-version-request-dto.ts
215
215
  models/restore-policy-version-response-class.ts
216
216
  models/sepa-dto.ts
217
+ models/shared-bank-transfer-response-class.ts
218
+ models/shared-billing-address-response-class.ts
217
219
  models/shared-create-lead-policy-request-dto.ts
218
220
  models/shared-create-payment-method-request-dto.ts
219
221
  models/shared-eis-sepa-debit-dto.ts
222
+ models/shared-eis-sepa-debit-response-class.ts
220
223
  models/shared-invoice-class.ts
221
224
  models/shared-lead-policy-object-dto.ts
222
225
  models/shared-mandate-hash-data-dto.ts
226
+ models/shared-mandate-hash-data-response-class.ts
227
+ models/shared-mandate-response-class.ts
228
+ models/shared-payment-method-response-class.ts
223
229
  models/shared-product-field-class.ts
230
+ models/shared-sepa-response-class.ts
224
231
  models/shared-update-named-range-request-dto.ts
225
232
  models/shared-update-premium-formula-request-dto.ts
226
233
  models/status-transition-rule-class.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/insurance-sdk-node@1.88.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.88.1-beta.1 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.88.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.88.1-beta.1
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -17,7 +17,7 @@ import { BillingAddressDto } from './billing-address-dto';
17
17
  */
18
18
  export interface BankTransferDto {
19
19
  /**
20
- *
20
+ * Billing address for the bank transfer payment method
21
21
  * @type {BillingAddressDto}
22
22
  * @memberof BankTransferDto
23
23
  */
@@ -179,13 +179,20 @@ export * from './rest-clone-lead-account-request-dto';
179
179
  export * from './restore-policy-version-request-dto';
180
180
  export * from './restore-policy-version-response-class';
181
181
  export * from './sepa-dto';
182
+ export * from './shared-bank-transfer-response-class';
183
+ export * from './shared-billing-address-response-class';
182
184
  export * from './shared-create-lead-policy-request-dto';
183
185
  export * from './shared-create-payment-method-request-dto';
184
186
  export * from './shared-eis-sepa-debit-dto';
187
+ export * from './shared-eis-sepa-debit-response-class';
185
188
  export * from './shared-invoice-class';
186
189
  export * from './shared-lead-policy-object-dto';
187
190
  export * from './shared-mandate-hash-data-dto';
191
+ export * from './shared-mandate-hash-data-response-class';
192
+ export * from './shared-mandate-response-class';
193
+ export * from './shared-payment-method-response-class';
188
194
  export * from './shared-product-field-class';
195
+ export * from './shared-sepa-response-class';
189
196
  export * from './shared-update-named-range-request-dto';
190
197
  export * from './shared-update-premium-formula-request-dto';
191
198
  export * from './status-transition-rule-class';
@@ -195,13 +195,20 @@ __exportStar(require("./rest-clone-lead-account-request-dto"), exports);
195
195
  __exportStar(require("./restore-policy-version-request-dto"), exports);
196
196
  __exportStar(require("./restore-policy-version-response-class"), exports);
197
197
  __exportStar(require("./sepa-dto"), exports);
198
+ __exportStar(require("./shared-bank-transfer-response-class"), exports);
199
+ __exportStar(require("./shared-billing-address-response-class"), exports);
198
200
  __exportStar(require("./shared-create-lead-policy-request-dto"), exports);
199
201
  __exportStar(require("./shared-create-payment-method-request-dto"), exports);
200
202
  __exportStar(require("./shared-eis-sepa-debit-dto"), exports);
203
+ __exportStar(require("./shared-eis-sepa-debit-response-class"), exports);
201
204
  __exportStar(require("./shared-invoice-class"), exports);
202
205
  __exportStar(require("./shared-lead-policy-object-dto"), exports);
203
206
  __exportStar(require("./shared-mandate-hash-data-dto"), exports);
207
+ __exportStar(require("./shared-mandate-hash-data-response-class"), exports);
208
+ __exportStar(require("./shared-mandate-response-class"), exports);
209
+ __exportStar(require("./shared-payment-method-response-class"), exports);
204
210
  __exportStar(require("./shared-product-field-class"), exports);
211
+ __exportStar(require("./shared-sepa-response-class"), exports);
205
212
  __exportStar(require("./shared-update-named-range-request-dto"), exports);
206
213
  __exportStar(require("./shared-update-premium-formula-request-dto"), exports);
207
214
  __exportStar(require("./status-transition-rule-class"), exports);
@@ -14,8 +14,8 @@ import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
14
14
  import { LeadBankAccountClass } from './lead-bank-account-class';
15
15
  import { OmitTypeClass } from './omit-type-class';
16
16
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
17
- import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
18
17
  import { SharedInvoiceClass } from './shared-invoice-class';
18
+ import { SharedPaymentMethodResponseClass } from './shared-payment-method-response-class';
19
19
  import { UploadedDocumentDto } from './uploaded-document-dto';
20
20
  /**
21
21
  *
@@ -115,10 +115,10 @@ export interface LeadClass {
115
115
  'quote'?: SharedInvoiceClass;
116
116
  /**
117
117
  * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
118
- * @type {SharedCreatePaymentMethodRequestDto}
118
+ * @type {SharedPaymentMethodResponseClass}
119
119
  * @memberof LeadClass
120
120
  */
121
- 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
121
+ 'paymentMethod'?: SharedPaymentMethodResponseClass;
122
122
  /**
123
123
  * A indicator to validate the lead.
124
124
  * @type {boolean}
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface SepaDto {
18
18
  /**
19
- *
19
+ * International Bank Account Number
20
20
  * @type {string}
21
21
  * @memberof SepaDto
22
22
  */
23
23
  'iban': string;
24
24
  /**
25
- *
25
+ * Account holder name
26
26
  * @type {string}
27
27
  * @memberof SepaDto
28
28
  */
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 { SharedBillingAddressResponseClass } from './shared-billing-address-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SharedBankTransferResponseClass
17
+ */
18
+ export interface SharedBankTransferResponseClass {
19
+ /**
20
+ * Billing address for bank transfer
21
+ * @type {SharedBillingAddressResponseClass}
22
+ * @memberof SharedBankTransferResponseClass
23
+ */
24
+ 'billingAddress'?: SharedBillingAddressResponseClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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,54 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 SharedBillingAddressResponseClass
16
+ */
17
+ export interface SharedBillingAddressResponseClass {
18
+ /**
19
+ * First name for billing address
20
+ * @type {string}
21
+ * @memberof SharedBillingAddressResponseClass
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * Last name for billing address
26
+ * @type {string}
27
+ * @memberof SharedBillingAddressResponseClass
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * Street name for billing address
32
+ * @type {string}
33
+ * @memberof SharedBillingAddressResponseClass
34
+ */
35
+ 'street': string;
36
+ /**
37
+ * House number for billing address
38
+ * @type {string}
39
+ * @memberof SharedBillingAddressResponseClass
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * ZIP/Postal code for billing address
44
+ * @type {string}
45
+ * @memberof SharedBillingAddressResponseClass
46
+ */
47
+ 'zipCode': string;
48
+ /**
49
+ * City name for billing address
50
+ * @type {string}
51
+ * @memberof SharedBillingAddressResponseClass
52
+ */
53
+ 'city': string;
54
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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 });
@@ -19,11 +19,17 @@ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
19
19
  */
20
20
  export interface SharedCreatePaymentMethodRequestDto {
21
21
  /**
22
- *
22
+ * Payment method type
23
23
  * @type {string}
24
24
  * @memberof SharedCreatePaymentMethodRequestDto
25
25
  */
26
- 'type': string;
26
+ 'type': SharedCreatePaymentMethodRequestDtoTypeEnum;
27
+ /**
28
+ * Indicator if payment method was created in booking funnel
29
+ * @type {boolean}
30
+ * @memberof SharedCreatePaymentMethodRequestDto
31
+ */
32
+ 'isPaymentMethodCreatedInBf'?: boolean;
27
33
  /**
28
34
  *
29
35
  * @type {SepaDto}
@@ -43,3 +49,8 @@ export interface SharedCreatePaymentMethodRequestDto {
43
49
  */
44
50
  'eisSepaDebit'?: SharedEisSepaDebitDto;
45
51
  }
52
+ export declare const SharedCreatePaymentMethodRequestDtoTypeEnum: {
53
+ readonly Sepa: "sepa";
54
+ readonly Invoice: "invoice";
55
+ };
56
+ export type SharedCreatePaymentMethodRequestDtoTypeEnum = typeof SharedCreatePaymentMethodRequestDtoTypeEnum[keyof typeof SharedCreatePaymentMethodRequestDtoTypeEnum];
@@ -13,3 +13,8 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.SharedCreatePaymentMethodRequestDtoTypeEnum = void 0;
17
+ exports.SharedCreatePaymentMethodRequestDtoTypeEnum = {
18
+ Sepa: 'sepa',
19
+ Invoice: 'invoice'
20
+ };
@@ -0,0 +1,55 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 { SharedMandateResponseClass } from './shared-mandate-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SharedEisSepaDebitResponseClass
17
+ */
18
+ export interface SharedEisSepaDebitResponseClass {
19
+ /**
20
+ * First name of account holder
21
+ * @type {string}
22
+ * @memberof SharedEisSepaDebitResponseClass
23
+ */
24
+ 'firstName': string;
25
+ /**
26
+ * Last name of account holder
27
+ * @type {string}
28
+ * @memberof SharedEisSepaDebitResponseClass
29
+ */
30
+ 'lastName': string;
31
+ /**
32
+ * International Bank Account Number
33
+ * @type {string}
34
+ * @memberof SharedEisSepaDebitResponseClass
35
+ */
36
+ 'iban': string;
37
+ /**
38
+ * Bank Identifier Code
39
+ * @type {string}
40
+ * @memberof SharedEisSepaDebitResponseClass
41
+ */
42
+ 'bic': string;
43
+ /**
44
+ * Bank name
45
+ * @type {string}
46
+ * @memberof SharedEisSepaDebitResponseClass
47
+ */
48
+ 'bankName': string;
49
+ /**
50
+ * SEPA mandate details
51
+ * @type {SharedMandateResponseClass}
52
+ * @memberof SharedEisSepaDebitResponseClass
53
+ */
54
+ 'mandate'?: SharedMandateResponseClass;
55
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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,42 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 SharedMandateHashDataResponseClass
16
+ */
17
+ export interface SharedMandateHashDataResponseClass {
18
+ /**
19
+ * Date when mandate was signed
20
+ * @type {string}
21
+ * @memberof SharedMandateHashDataResponseClass
22
+ */
23
+ 'date'?: string;
24
+ /**
25
+ * Location where mandate was signed
26
+ * @type {string}
27
+ * @memberof SharedMandateHashDataResponseClass
28
+ */
29
+ 'location': string;
30
+ /**
31
+ * First name of mandate signer
32
+ * @type {string}
33
+ * @memberof SharedMandateHashDataResponseClass
34
+ */
35
+ 'firstName': string;
36
+ /**
37
+ * Last name of mandate signer
38
+ * @type {string}
39
+ * @memberof SharedMandateHashDataResponseClass
40
+ */
41
+ 'lastName': string;
42
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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,43 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 { SharedMandateHashDataResponseClass } from './shared-mandate-hash-data-response-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SharedMandateResponseClass
17
+ */
18
+ export interface SharedMandateResponseClass {
19
+ /**
20
+ * Creditor identifier for SEPA debit
21
+ * @type {string}
22
+ * @memberof SharedMandateResponseClass
23
+ */
24
+ 'creditorId': string;
25
+ /**
26
+ * Unique mandate reference
27
+ * @type {string}
28
+ * @memberof SharedMandateResponseClass
29
+ */
30
+ 'mandateReference': string;
31
+ /**
32
+ * Date when mandate was created
33
+ * @type {string}
34
+ * @memberof SharedMandateResponseClass
35
+ */
36
+ 'mandateCreatedAt'?: string;
37
+ /**
38
+ * Optional mandate hash data containing signature details
39
+ * @type {SharedMandateHashDataResponseClass}
40
+ * @memberof SharedMandateResponseClass
41
+ */
42
+ 'mandateHashData'?: SharedMandateHashDataResponseClass;
43
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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,56 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 { SharedBankTransferResponseClass } from './shared-bank-transfer-response-class';
13
+ import { SharedEisSepaDebitResponseClass } from './shared-eis-sepa-debit-response-class';
14
+ import { SharedSepaResponseClass } from './shared-sepa-response-class';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SharedPaymentMethodResponseClass
19
+ */
20
+ export interface SharedPaymentMethodResponseClass {
21
+ /**
22
+ * Payment method type
23
+ * @type {string}
24
+ * @memberof SharedPaymentMethodResponseClass
25
+ */
26
+ 'type': SharedPaymentMethodResponseClassTypeEnum;
27
+ /**
28
+ * SEPA debit payment details
29
+ * @type {SharedSepaResponseClass}
30
+ * @memberof SharedPaymentMethodResponseClass
31
+ */
32
+ 'sepa'?: SharedSepaResponseClass;
33
+ /**
34
+ * Bank transfer payment details
35
+ * @type {SharedBankTransferResponseClass}
36
+ * @memberof SharedPaymentMethodResponseClass
37
+ */
38
+ 'bankTransfer'?: SharedBankTransferResponseClass;
39
+ /**
40
+ * EIS SEPA debit payment details
41
+ * @type {SharedEisSepaDebitResponseClass}
42
+ * @memberof SharedPaymentMethodResponseClass
43
+ */
44
+ 'eisSepaDebit'?: SharedEisSepaDebitResponseClass;
45
+ /**
46
+ * Indicator if payment method was created in booking funnel
47
+ * @type {boolean}
48
+ * @memberof SharedPaymentMethodResponseClass
49
+ */
50
+ 'isPaymentMethodCreatedInBf'?: boolean;
51
+ }
52
+ export declare const SharedPaymentMethodResponseClassTypeEnum: {
53
+ readonly Sepa: "sepa";
54
+ readonly Invoice: "invoice";
55
+ };
56
+ export type SharedPaymentMethodResponseClassTypeEnum = typeof SharedPaymentMethodResponseClassTypeEnum[keyof typeof SharedPaymentMethodResponseClassTypeEnum];
@@ -0,0 +1,20 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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 });
16
+ exports.SharedPaymentMethodResponseClassTypeEnum = void 0;
17
+ exports.SharedPaymentMethodResponseClassTypeEnum = {
18
+ Sepa: 'sepa',
19
+ Invoice: 'invoice'
20
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
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 SharedSepaResponseClass
16
+ */
17
+ export interface SharedSepaResponseClass {
18
+ /**
19
+ * International Bank Account Number
20
+ * @type {string}
21
+ * @memberof SharedSepaResponseClass
22
+ */
23
+ 'iban': string;
24
+ /**
25
+ * Account holder name
26
+ * @type {string}
27
+ * @memberof SharedSepaResponseClass
28
+ */
29
+ 'holderName'?: string;
30
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
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 });
@@ -22,7 +22,7 @@ import { BillingAddressDto } from './billing-address-dto';
22
22
  */
23
23
  export interface BankTransferDto {
24
24
  /**
25
- *
25
+ * Billing address for the bank transfer payment method
26
26
  * @type {BillingAddressDto}
27
27
  * @memberof BankTransferDto
28
28
  */
package/models/index.ts CHANGED
@@ -179,13 +179,20 @@ export * from './rest-clone-lead-account-request-dto';
179
179
  export * from './restore-policy-version-request-dto';
180
180
  export * from './restore-policy-version-response-class';
181
181
  export * from './sepa-dto';
182
+ export * from './shared-bank-transfer-response-class';
183
+ export * from './shared-billing-address-response-class';
182
184
  export * from './shared-create-lead-policy-request-dto';
183
185
  export * from './shared-create-payment-method-request-dto';
184
186
  export * from './shared-eis-sepa-debit-dto';
187
+ export * from './shared-eis-sepa-debit-response-class';
185
188
  export * from './shared-invoice-class';
186
189
  export * from './shared-lead-policy-object-dto';
187
190
  export * from './shared-mandate-hash-data-dto';
191
+ export * from './shared-mandate-hash-data-response-class';
192
+ export * from './shared-mandate-response-class';
193
+ export * from './shared-payment-method-response-class';
188
194
  export * from './shared-product-field-class';
195
+ export * from './shared-sepa-response-class';
189
196
  export * from './shared-update-named-range-request-dto';
190
197
  export * from './shared-update-premium-formula-request-dto';
191
198
  export * from './status-transition-rule-class';
@@ -18,8 +18,8 @@ import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
18
18
  import { LeadBankAccountClass } from './lead-bank-account-class';
19
19
  import { OmitTypeClass } from './omit-type-class';
20
20
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
21
- import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
22
21
  import { SharedInvoiceClass } from './shared-invoice-class';
22
+ import { SharedPaymentMethodResponseClass } from './shared-payment-method-response-class';
23
23
  import { UploadedDocumentDto } from './uploaded-document-dto';
24
24
 
25
25
  /**
@@ -120,10 +120,10 @@ export interface LeadClass {
120
120
  'quote'?: SharedInvoiceClass;
121
121
  /**
122
122
  * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
123
- * @type {SharedCreatePaymentMethodRequestDto}
123
+ * @type {SharedPaymentMethodResponseClass}
124
124
  * @memberof LeadClass
125
125
  */
126
- 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
126
+ 'paymentMethod'?: SharedPaymentMethodResponseClass;
127
127
  /**
128
128
  * A indicator to validate the lead.
129
129
  * @type {boolean}
@@ -21,13 +21,13 @@
21
21
  */
22
22
  export interface SepaDto {
23
23
  /**
24
- *
24
+ * International Bank Account Number
25
25
  * @type {string}
26
26
  * @memberof SepaDto
27
27
  */
28
28
  'iban': string;
29
29
  /**
30
- *
30
+ * Account holder name
31
31
  * @type {string}
32
32
  * @memberof SepaDto
33
33
  */
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 { SharedBillingAddressResponseClass } from './shared-billing-address-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SharedBankTransferResponseClass
22
+ */
23
+ export interface SharedBankTransferResponseClass {
24
+ /**
25
+ * Billing address for bank transfer
26
+ * @type {SharedBillingAddressResponseClass}
27
+ * @memberof SharedBankTransferResponseClass
28
+ */
29
+ 'billingAddress'?: SharedBillingAddressResponseClass;
30
+ }
31
+
@@ -0,0 +1,60 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 SharedBillingAddressResponseClass
21
+ */
22
+ export interface SharedBillingAddressResponseClass {
23
+ /**
24
+ * First name for billing address
25
+ * @type {string}
26
+ * @memberof SharedBillingAddressResponseClass
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name for billing address
31
+ * @type {string}
32
+ * @memberof SharedBillingAddressResponseClass
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name for billing address
37
+ * @type {string}
38
+ * @memberof SharedBillingAddressResponseClass
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number for billing address
43
+ * @type {string}
44
+ * @memberof SharedBillingAddressResponseClass
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP/Postal code for billing address
49
+ * @type {string}
50
+ * @memberof SharedBillingAddressResponseClass
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City name for billing address
55
+ * @type {string}
56
+ * @memberof SharedBillingAddressResponseClass
57
+ */
58
+ 'city': string;
59
+ }
60
+
@@ -24,11 +24,17 @@ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
24
24
  */
25
25
  export interface SharedCreatePaymentMethodRequestDto {
26
26
  /**
27
- *
27
+ * Payment method type
28
28
  * @type {string}
29
29
  * @memberof SharedCreatePaymentMethodRequestDto
30
30
  */
31
- 'type': string;
31
+ 'type': SharedCreatePaymentMethodRequestDtoTypeEnum;
32
+ /**
33
+ * Indicator if payment method was created in booking funnel
34
+ * @type {boolean}
35
+ * @memberof SharedCreatePaymentMethodRequestDto
36
+ */
37
+ 'isPaymentMethodCreatedInBf'?: boolean;
32
38
  /**
33
39
  *
34
40
  * @type {SepaDto}
@@ -49,3 +55,11 @@ export interface SharedCreatePaymentMethodRequestDto {
49
55
  'eisSepaDebit'?: SharedEisSepaDebitDto;
50
56
  }
51
57
 
58
+ export const SharedCreatePaymentMethodRequestDtoTypeEnum = {
59
+ Sepa: 'sepa',
60
+ Invoice: 'invoice'
61
+ } as const;
62
+
63
+ export type SharedCreatePaymentMethodRequestDtoTypeEnum = typeof SharedCreatePaymentMethodRequestDtoTypeEnum[keyof typeof SharedCreatePaymentMethodRequestDtoTypeEnum];
64
+
65
+
@@ -0,0 +1,61 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 { SharedMandateResponseClass } from './shared-mandate-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SharedEisSepaDebitResponseClass
22
+ */
23
+ export interface SharedEisSepaDebitResponseClass {
24
+ /**
25
+ * First name of account holder
26
+ * @type {string}
27
+ * @memberof SharedEisSepaDebitResponseClass
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Last name of account holder
32
+ * @type {string}
33
+ * @memberof SharedEisSepaDebitResponseClass
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * International Bank Account Number
38
+ * @type {string}
39
+ * @memberof SharedEisSepaDebitResponseClass
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Bank Identifier Code
44
+ * @type {string}
45
+ * @memberof SharedEisSepaDebitResponseClass
46
+ */
47
+ 'bic': string;
48
+ /**
49
+ * Bank name
50
+ * @type {string}
51
+ * @memberof SharedEisSepaDebitResponseClass
52
+ */
53
+ 'bankName': string;
54
+ /**
55
+ * SEPA mandate details
56
+ * @type {SharedMandateResponseClass}
57
+ * @memberof SharedEisSepaDebitResponseClass
58
+ */
59
+ 'mandate'?: SharedMandateResponseClass;
60
+ }
61
+
@@ -0,0 +1,48 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 SharedMandateHashDataResponseClass
21
+ */
22
+ export interface SharedMandateHashDataResponseClass {
23
+ /**
24
+ * Date when mandate was signed
25
+ * @type {string}
26
+ * @memberof SharedMandateHashDataResponseClass
27
+ */
28
+ 'date'?: string;
29
+ /**
30
+ * Location where mandate was signed
31
+ * @type {string}
32
+ * @memberof SharedMandateHashDataResponseClass
33
+ */
34
+ 'location': string;
35
+ /**
36
+ * First name of mandate signer
37
+ * @type {string}
38
+ * @memberof SharedMandateHashDataResponseClass
39
+ */
40
+ 'firstName': string;
41
+ /**
42
+ * Last name of mandate signer
43
+ * @type {string}
44
+ * @memberof SharedMandateHashDataResponseClass
45
+ */
46
+ 'lastName': string;
47
+ }
48
+
@@ -0,0 +1,49 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 { SharedMandateHashDataResponseClass } from './shared-mandate-hash-data-response-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SharedMandateResponseClass
22
+ */
23
+ export interface SharedMandateResponseClass {
24
+ /**
25
+ * Creditor identifier for SEPA debit
26
+ * @type {string}
27
+ * @memberof SharedMandateResponseClass
28
+ */
29
+ 'creditorId': string;
30
+ /**
31
+ * Unique mandate reference
32
+ * @type {string}
33
+ * @memberof SharedMandateResponseClass
34
+ */
35
+ 'mandateReference': string;
36
+ /**
37
+ * Date when mandate was created
38
+ * @type {string}
39
+ * @memberof SharedMandateResponseClass
40
+ */
41
+ 'mandateCreatedAt'?: string;
42
+ /**
43
+ * Optional mandate hash data containing signature details
44
+ * @type {SharedMandateHashDataResponseClass}
45
+ * @memberof SharedMandateResponseClass
46
+ */
47
+ 'mandateHashData'?: SharedMandateHashDataResponseClass;
48
+ }
49
+
@@ -0,0 +1,65 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 { SharedBankTransferResponseClass } from './shared-bank-transfer-response-class';
17
+ import { SharedEisSepaDebitResponseClass } from './shared-eis-sepa-debit-response-class';
18
+ import { SharedSepaResponseClass } from './shared-sepa-response-class';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SharedPaymentMethodResponseClass
24
+ */
25
+ export interface SharedPaymentMethodResponseClass {
26
+ /**
27
+ * Payment method type
28
+ * @type {string}
29
+ * @memberof SharedPaymentMethodResponseClass
30
+ */
31
+ 'type': SharedPaymentMethodResponseClassTypeEnum;
32
+ /**
33
+ * SEPA debit payment details
34
+ * @type {SharedSepaResponseClass}
35
+ * @memberof SharedPaymentMethodResponseClass
36
+ */
37
+ 'sepa'?: SharedSepaResponseClass;
38
+ /**
39
+ * Bank transfer payment details
40
+ * @type {SharedBankTransferResponseClass}
41
+ * @memberof SharedPaymentMethodResponseClass
42
+ */
43
+ 'bankTransfer'?: SharedBankTransferResponseClass;
44
+ /**
45
+ * EIS SEPA debit payment details
46
+ * @type {SharedEisSepaDebitResponseClass}
47
+ * @memberof SharedPaymentMethodResponseClass
48
+ */
49
+ 'eisSepaDebit'?: SharedEisSepaDebitResponseClass;
50
+ /**
51
+ * Indicator if payment method was created in booking funnel
52
+ * @type {boolean}
53
+ * @memberof SharedPaymentMethodResponseClass
54
+ */
55
+ 'isPaymentMethodCreatedInBf'?: boolean;
56
+ }
57
+
58
+ export const SharedPaymentMethodResponseClassTypeEnum = {
59
+ Sepa: 'sepa',
60
+ Invoice: 'invoice'
61
+ } as const;
62
+
63
+ export type SharedPaymentMethodResponseClassTypeEnum = typeof SharedPaymentMethodResponseClassTypeEnum[keyof typeof SharedPaymentMethodResponseClassTypeEnum];
64
+
65
+
@@ -0,0 +1,36 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
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 SharedSepaResponseClass
21
+ */
22
+ export interface SharedSepaResponseClass {
23
+ /**
24
+ * International Bank Account Number
25
+ * @type {string}
26
+ * @memberof SharedSepaResponseClass
27
+ */
28
+ 'iban': string;
29
+ /**
30
+ * Account holder name
31
+ * @type {string}
32
+ * @memberof SharedSepaResponseClass
33
+ */
34
+ 'holderName'?: string;
35
+ }
36
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.88.0",
3
+ "version": "1.88.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [