@emilgroup/insurance-sdk-node 1.87.1-beta.4 → 1.87.1-beta.6

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 (32) hide show
  1. package/.openapi-generator/FILES +6 -1
  2. package/README.md +2 -2
  3. package/dist/models/{create-payment-method-request-dto.d.ts → bank-transfer-dto.d.ts} +6 -12
  4. package/dist/models/billing-address-dto.d.ts +54 -0
  5. package/dist/models/billing-address-dto.js +15 -0
  6. package/dist/models/create-lead-request-dto.d.ts +3 -3
  7. package/dist/models/grpc-mandate-dto.d.ts +43 -0
  8. package/dist/models/grpc-mandate-dto.js +15 -0
  9. package/dist/models/index.d.ts +6 -1
  10. package/dist/models/index.js +6 -1
  11. package/dist/models/lead-class.d.ts +3 -3
  12. package/dist/models/patch-lead-request-dto.d.ts +3 -3
  13. package/dist/models/shared-create-payment-method-request-dto.d.ts +45 -0
  14. package/dist/models/shared-create-payment-method-request-dto.js +15 -0
  15. package/dist/models/shared-eis-sepa-debit-dto.d.ts +55 -0
  16. package/dist/models/shared-eis-sepa-debit-dto.js +15 -0
  17. package/dist/models/shared-mandate-hash-data-dto.d.ts +42 -0
  18. package/dist/models/shared-mandate-hash-data-dto.js +15 -0
  19. package/dist/models/update-lead-request-dto.d.ts +3 -3
  20. package/models/{create-payment-method-request-dto.ts → bank-transfer-dto.ts} +6 -12
  21. package/models/billing-address-dto.ts +60 -0
  22. package/models/create-lead-request-dto.ts +3 -3
  23. package/models/grpc-mandate-dto.ts +49 -0
  24. package/models/index.ts +6 -1
  25. package/models/lead-class.ts +3 -3
  26. package/models/patch-lead-request-dto.ts +3 -3
  27. package/models/shared-create-payment-method-request-dto.ts +51 -0
  28. package/models/shared-eis-sepa-debit-dto.ts +61 -0
  29. package/models/shared-mandate-hash-data-dto.ts +48 -0
  30. package/models/update-lead-request-dto.ts +3 -3
  31. package/package.json +1 -1
  32. /package/dist/models/{create-payment-method-request-dto.js → bank-transfer-dto.js} +0 -0
@@ -34,6 +34,8 @@ git_push.sh
34
34
  index.ts
35
35
  models/activate-policy-request-dto.ts
36
36
  models/activate-policy-response-class.ts
37
+ models/bank-transfer-dto.ts
38
+ models/billing-address-dto.ts
37
39
  models/booking-funnel-class.ts
38
40
  models/calculate-custom-premium-request-dto.ts
39
41
  models/calculate-premium-request-dto.ts
@@ -78,7 +80,6 @@ models/create-named-range-response-class.ts
78
80
  models/create-named-request-s3-data-class.ts
79
81
  models/create-partner-role-request-dto.ts
80
82
  models/create-partner-role-response-class.ts
81
- models/create-payment-method-request-dto.ts
82
83
  models/create-policy-request-dto.ts
83
84
  models/create-policy-response-class.ts
84
85
  models/create-premium-formula-request-dto.ts
@@ -136,6 +137,7 @@ models/get-status-transition-rule-response-class.ts
136
137
  models/grouped-product-factor-class.ts
137
138
  models/grouped-product-factor-value-class.ts
138
139
  models/grouped-product-factors-response-class.ts
140
+ models/grpc-mandate-dto.ts
139
141
  models/index.ts
140
142
  models/inline-response200.ts
141
143
  models/inline-response503.ts
@@ -213,8 +215,11 @@ models/restore-policy-version-request-dto.ts
213
215
  models/restore-policy-version-response-class.ts
214
216
  models/sepa-dto.ts
215
217
  models/shared-create-lead-policy-request-dto.ts
218
+ models/shared-create-payment-method-request-dto.ts
219
+ models/shared-eis-sepa-debit-dto.ts
216
220
  models/shared-invoice-class.ts
217
221
  models/shared-lead-policy-object-dto.ts
222
+ models/shared-mandate-hash-data-dto.ts
218
223
  models/shared-product-field-class.ts
219
224
  models/shared-update-named-range-request-dto.ts
220
225
  models/shared-update-premium-formula-request-dto.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.87.1-beta.4 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.87.1-beta.6 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.87.1-beta.4
24
+ yarn add @emilgroup/insurance-sdk-node@1.87.1-beta.6
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -9,23 +9,17 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { SepaDto } from './sepa-dto';
12
+ import { BillingAddressDto } from './billing-address-dto';
13
13
  /**
14
14
  *
15
15
  * @export
16
- * @interface CreatePaymentMethodRequestDto
16
+ * @interface BankTransferDto
17
17
  */
18
- export interface CreatePaymentMethodRequestDto {
18
+ export interface BankTransferDto {
19
19
  /**
20
20
  *
21
- * @type {string}
22
- * @memberof CreatePaymentMethodRequestDto
21
+ * @type {BillingAddressDto}
22
+ * @memberof BankTransferDto
23
23
  */
24
- 'type': string;
25
- /**
26
- *
27
- * @type {SepaDto}
28
- * @memberof CreatePaymentMethodRequestDto
29
- */
30
- 'sepa'?: SepaDto;
24
+ 'billingAddress'?: BillingAddressDto;
31
25
  }
@@ -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 BillingAddressDto
16
+ */
17
+ export interface BillingAddressDto {
18
+ /**
19
+ * First name for billing address
20
+ * @type {string}
21
+ * @memberof BillingAddressDto
22
+ */
23
+ 'firstName': string;
24
+ /**
25
+ * Last name for billing address
26
+ * @type {string}
27
+ * @memberof BillingAddressDto
28
+ */
29
+ 'lastName': string;
30
+ /**
31
+ * Street name for billing address
32
+ * @type {string}
33
+ * @memberof BillingAddressDto
34
+ */
35
+ 'street': string;
36
+ /**
37
+ * House number for billing address
38
+ * @type {string}
39
+ * @memberof BillingAddressDto
40
+ */
41
+ 'houseNumber': string;
42
+ /**
43
+ * ZIP/Postal code for billing address
44
+ * @type {string}
45
+ * @memberof BillingAddressDto
46
+ */
47
+ 'zipCode': string;
48
+ /**
49
+ * City name for billing address
50
+ * @type {string}
51
+ * @memberof BillingAddressDto
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 });
@@ -11,10 +11,10 @@
11
11
  */
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
15
14
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
16
15
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
17
16
  import { SharedCreateLeadPolicyRequestDto } from './shared-create-lead-policy-request-dto';
17
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
18
18
  import { UploadedDocumentDto } from './uploaded-document-dto';
19
19
  /**
20
20
  *
@@ -84,10 +84,10 @@ export interface CreateLeadRequestDto {
84
84
  'premiumOverride'?: Array<PremiumOverrideRequestDto>;
85
85
  /**
86
86
  * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
87
- * @type {CreatePaymentMethodRequestDto}
87
+ * @type {SharedCreatePaymentMethodRequestDto}
88
88
  * @memberof CreateLeadRequestDto
89
89
  */
90
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
90
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
91
91
  /**
92
92
  * The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
93
93
  * @type {boolean}
@@ -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 { SharedMandateHashDataDto } from './shared-mandate-hash-data-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GrpcMandateDto
17
+ */
18
+ export interface GrpcMandateDto {
19
+ /**
20
+ * Creditor identifier for SEPA debit
21
+ * @type {string}
22
+ * @memberof GrpcMandateDto
23
+ */
24
+ 'creditorId': string;
25
+ /**
26
+ * Unique mandate reference
27
+ * @type {string}
28
+ * @memberof GrpcMandateDto
29
+ */
30
+ 'mandateReference': string;
31
+ /**
32
+ * Date when mandate was created
33
+ * @type {string}
34
+ * @memberof GrpcMandateDto
35
+ */
36
+ 'mandateCreatedAt'?: string;
37
+ /**
38
+ * Optional mandate hash data containing signature details
39
+ * @type {SharedMandateHashDataDto}
40
+ * @memberof GrpcMandateDto
41
+ */
42
+ 'mandateHashData'?: SharedMandateHashDataDto;
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 });
@@ -1,5 +1,7 @@
1
1
  export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
+ export * from './bank-transfer-dto';
4
+ export * from './billing-address-dto';
3
5
  export * from './booking-funnel-class';
4
6
  export * from './calculate-custom-premium-request-dto';
5
7
  export * from './calculate-premium-request-dto';
@@ -44,7 +46,6 @@ export * from './create-named-range-response-class';
44
46
  export * from './create-named-request-s3-data-class';
45
47
  export * from './create-partner-role-request-dto';
46
48
  export * from './create-partner-role-response-class';
47
- export * from './create-payment-method-request-dto';
48
49
  export * from './create-policy-request-dto';
49
50
  export * from './create-policy-response-class';
50
51
  export * from './create-premium-formula-request-dto';
@@ -102,6 +103,7 @@ export * from './get-status-transition-rule-response-class';
102
103
  export * from './grouped-product-factor-class';
103
104
  export * from './grouped-product-factor-value-class';
104
105
  export * from './grouped-product-factors-response-class';
106
+ export * from './grpc-mandate-dto';
105
107
  export * from './inline-response200';
106
108
  export * from './inline-response503';
107
109
  export * from './insured-object-class';
@@ -178,8 +180,11 @@ export * from './restore-policy-version-request-dto';
178
180
  export * from './restore-policy-version-response-class';
179
181
  export * from './sepa-dto';
180
182
  export * from './shared-create-lead-policy-request-dto';
183
+ export * from './shared-create-payment-method-request-dto';
184
+ export * from './shared-eis-sepa-debit-dto';
181
185
  export * from './shared-invoice-class';
182
186
  export * from './shared-lead-policy-object-dto';
187
+ export * from './shared-mandate-hash-data-dto';
183
188
  export * from './shared-product-field-class';
184
189
  export * from './shared-update-named-range-request-dto';
185
190
  export * from './shared-update-premium-formula-request-dto';
@@ -16,6 +16,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./activate-policy-request-dto"), exports);
18
18
  __exportStar(require("./activate-policy-response-class"), exports);
19
+ __exportStar(require("./bank-transfer-dto"), exports);
20
+ __exportStar(require("./billing-address-dto"), exports);
19
21
  __exportStar(require("./booking-funnel-class"), exports);
20
22
  __exportStar(require("./calculate-custom-premium-request-dto"), exports);
21
23
  __exportStar(require("./calculate-premium-request-dto"), exports);
@@ -60,7 +62,6 @@ __exportStar(require("./create-named-range-response-class"), exports);
60
62
  __exportStar(require("./create-named-request-s3-data-class"), exports);
61
63
  __exportStar(require("./create-partner-role-request-dto"), exports);
62
64
  __exportStar(require("./create-partner-role-response-class"), exports);
63
- __exportStar(require("./create-payment-method-request-dto"), exports);
64
65
  __exportStar(require("./create-policy-request-dto"), exports);
65
66
  __exportStar(require("./create-policy-response-class"), exports);
66
67
  __exportStar(require("./create-premium-formula-request-dto"), exports);
@@ -118,6 +119,7 @@ __exportStar(require("./get-status-transition-rule-response-class"), exports);
118
119
  __exportStar(require("./grouped-product-factor-class"), exports);
119
120
  __exportStar(require("./grouped-product-factor-value-class"), exports);
120
121
  __exportStar(require("./grouped-product-factors-response-class"), exports);
122
+ __exportStar(require("./grpc-mandate-dto"), exports);
121
123
  __exportStar(require("./inline-response200"), exports);
122
124
  __exportStar(require("./inline-response503"), exports);
123
125
  __exportStar(require("./insured-object-class"), exports);
@@ -194,8 +196,11 @@ __exportStar(require("./restore-policy-version-request-dto"), exports);
194
196
  __exportStar(require("./restore-policy-version-response-class"), exports);
195
197
  __exportStar(require("./sepa-dto"), exports);
196
198
  __exportStar(require("./shared-create-lead-policy-request-dto"), exports);
199
+ __exportStar(require("./shared-create-payment-method-request-dto"), exports);
200
+ __exportStar(require("./shared-eis-sepa-debit-dto"), exports);
197
201
  __exportStar(require("./shared-invoice-class"), exports);
198
202
  __exportStar(require("./shared-lead-policy-object-dto"), exports);
203
+ __exportStar(require("./shared-mandate-hash-data-dto"), exports);
199
204
  __exportStar(require("./shared-product-field-class"), exports);
200
205
  __exportStar(require("./shared-update-named-range-request-dto"), exports);
201
206
  __exportStar(require("./shared-update-premium-formula-request-dto"), exports);
@@ -11,10 +11,10 @@
11
11
  */
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
14
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
15
14
  import { LeadBankAccountClass } from './lead-bank-account-class';
16
15
  import { OmitTypeClass } from './omit-type-class';
17
16
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
17
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
18
18
  import { SharedInvoiceClass } from './shared-invoice-class';
19
19
  import { UploadedDocumentDto } from './uploaded-document-dto';
20
20
  /**
@@ -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 {CreatePaymentMethodRequestDto}
118
+ * @type {SharedCreatePaymentMethodRequestDto}
119
119
  * @memberof LeadClass
120
120
  */
121
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
121
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
122
122
  /**
123
123
  * A indicator to validate the lead.
124
124
  * @type {boolean}
@@ -12,9 +12,9 @@
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
14
  import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
15
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
16
15
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
17
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
17
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
18
18
  import { UploadedDocumentDto } from './uploaded-document-dto';
19
19
  /**
20
20
  *
@@ -78,10 +78,10 @@ export interface PatchLeadRequestDto {
78
78
  'accountCode'?: string;
79
79
  /**
80
80
  * Payment method
81
- * @type {CreatePaymentMethodRequestDto}
81
+ * @type {SharedCreatePaymentMethodRequestDto}
82
82
  * @memberof PatchLeadRequestDto
83
83
  */
84
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
84
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
85
85
  /**
86
86
  * Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
87
87
  * @type {LinkLeadPartnerRequestDto}
@@ -0,0 +1,45 @@
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 { BankTransferDto } from './bank-transfer-dto';
13
+ import { SepaDto } from './sepa-dto';
14
+ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
15
+ /**
16
+ *
17
+ * @export
18
+ * @interface SharedCreatePaymentMethodRequestDto
19
+ */
20
+ export interface SharedCreatePaymentMethodRequestDto {
21
+ /**
22
+ *
23
+ * @type {string}
24
+ * @memberof SharedCreatePaymentMethodRequestDto
25
+ */
26
+ 'type': string;
27
+ /**
28
+ *
29
+ * @type {SepaDto}
30
+ * @memberof SharedCreatePaymentMethodRequestDto
31
+ */
32
+ 'sepa'?: SepaDto;
33
+ /**
34
+ *
35
+ * @type {BankTransferDto}
36
+ * @memberof SharedCreatePaymentMethodRequestDto
37
+ */
38
+ 'bankTransfer'?: BankTransferDto;
39
+ /**
40
+ *
41
+ * @type {SharedEisSepaDebitDto}
42
+ * @memberof SharedCreatePaymentMethodRequestDto
43
+ */
44
+ 'eisSepaDebit'?: SharedEisSepaDebitDto;
45
+ }
@@ -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,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 { GrpcMandateDto } from './grpc-mandate-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SharedEisSepaDebitDto
17
+ */
18
+ export interface SharedEisSepaDebitDto {
19
+ /**
20
+ * First name of account holder
21
+ * @type {string}
22
+ * @memberof SharedEisSepaDebitDto
23
+ */
24
+ 'firstName': string;
25
+ /**
26
+ * Last name of account holder
27
+ * @type {string}
28
+ * @memberof SharedEisSepaDebitDto
29
+ */
30
+ 'lastName': string;
31
+ /**
32
+ * International Bank Account Number
33
+ * @type {string}
34
+ * @memberof SharedEisSepaDebitDto
35
+ */
36
+ 'iban': string;
37
+ /**
38
+ * Bank Identifier Code
39
+ * @type {string}
40
+ * @memberof SharedEisSepaDebitDto
41
+ */
42
+ 'bic': string;
43
+ /**
44
+ * Bank name
45
+ * @type {string}
46
+ * @memberof SharedEisSepaDebitDto
47
+ */
48
+ 'bankName': string;
49
+ /**
50
+ * SEPA mandate details
51
+ * @type {GrpcMandateDto}
52
+ * @memberof SharedEisSepaDebitDto
53
+ */
54
+ 'mandate'?: GrpcMandateDto;
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 SharedMandateHashDataDto
16
+ */
17
+ export interface SharedMandateHashDataDto {
18
+ /**
19
+ * Date when mandate was signed
20
+ * @type {string}
21
+ * @memberof SharedMandateHashDataDto
22
+ */
23
+ 'date'?: string;
24
+ /**
25
+ * Location where mandate was signed
26
+ * @type {string}
27
+ * @memberof SharedMandateHashDataDto
28
+ */
29
+ 'location': string;
30
+ /**
31
+ * First name of mandate signer
32
+ * @type {string}
33
+ * @memberof SharedMandateHashDataDto
34
+ */
35
+ 'firstName': string;
36
+ /**
37
+ * Last name of mandate signer
38
+ * @type {string}
39
+ * @memberof SharedMandateHashDataDto
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 });
@@ -12,9 +12,9 @@
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
14
  import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
15
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
16
15
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
17
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
17
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
18
18
  import { UploadedDocumentDto } from './uploaded-document-dto';
19
19
  /**
20
20
  *
@@ -78,10 +78,10 @@ export interface UpdateLeadRequestDto {
78
78
  'accountCode'?: string;
79
79
  /**
80
80
  * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
81
- * @type {CreatePaymentMethodRequestDto}
81
+ * @type {SharedCreatePaymentMethodRequestDto}
82
82
  * @memberof UpdateLeadRequestDto
83
83
  */
84
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
84
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
85
85
  /**
86
86
  * The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
87
87
  * @type {boolean}
@@ -13,25 +13,19 @@
13
13
  */
14
14
 
15
15
 
16
- import { SepaDto } from './sepa-dto';
16
+ import { BillingAddressDto } from './billing-address-dto';
17
17
 
18
18
  /**
19
19
  *
20
20
  * @export
21
- * @interface CreatePaymentMethodRequestDto
21
+ * @interface BankTransferDto
22
22
  */
23
- export interface CreatePaymentMethodRequestDto {
23
+ export interface BankTransferDto {
24
24
  /**
25
25
  *
26
- * @type {string}
27
- * @memberof CreatePaymentMethodRequestDto
26
+ * @type {BillingAddressDto}
27
+ * @memberof BankTransferDto
28
28
  */
29
- 'type': string;
30
- /**
31
- *
32
- * @type {SepaDto}
33
- * @memberof CreatePaymentMethodRequestDto
34
- */
35
- 'sepa'?: SepaDto;
29
+ 'billingAddress'?: BillingAddressDto;
36
30
  }
37
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 BillingAddressDto
21
+ */
22
+ export interface BillingAddressDto {
23
+ /**
24
+ * First name for billing address
25
+ * @type {string}
26
+ * @memberof BillingAddressDto
27
+ */
28
+ 'firstName': string;
29
+ /**
30
+ * Last name for billing address
31
+ * @type {string}
32
+ * @memberof BillingAddressDto
33
+ */
34
+ 'lastName': string;
35
+ /**
36
+ * Street name for billing address
37
+ * @type {string}
38
+ * @memberof BillingAddressDto
39
+ */
40
+ 'street': string;
41
+ /**
42
+ * House number for billing address
43
+ * @type {string}
44
+ * @memberof BillingAddressDto
45
+ */
46
+ 'houseNumber': string;
47
+ /**
48
+ * ZIP/Postal code for billing address
49
+ * @type {string}
50
+ * @memberof BillingAddressDto
51
+ */
52
+ 'zipCode': string;
53
+ /**
54
+ * City name for billing address
55
+ * @type {string}
56
+ * @memberof BillingAddressDto
57
+ */
58
+ 'city': string;
59
+ }
60
+
@@ -15,10 +15,10 @@
15
15
 
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
19
18
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
20
19
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
21
20
  import { SharedCreateLeadPolicyRequestDto } from './shared-create-lead-policy-request-dto';
21
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
22
22
  import { UploadedDocumentDto } from './uploaded-document-dto';
23
23
 
24
24
  /**
@@ -89,10 +89,10 @@ export interface CreateLeadRequestDto {
89
89
  'premiumOverride'?: Array<PremiumOverrideRequestDto>;
90
90
  /**
91
91
  * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
92
- * @type {CreatePaymentMethodRequestDto}
92
+ * @type {SharedCreatePaymentMethodRequestDto}
93
93
  * @memberof CreateLeadRequestDto
94
94
  */
95
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
95
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
96
96
  /**
97
97
  * The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
98
98
  * @type {boolean}
@@ -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 { SharedMandateHashDataDto } from './shared-mandate-hash-data-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GrpcMandateDto
22
+ */
23
+ export interface GrpcMandateDto {
24
+ /**
25
+ * Creditor identifier for SEPA debit
26
+ * @type {string}
27
+ * @memberof GrpcMandateDto
28
+ */
29
+ 'creditorId': string;
30
+ /**
31
+ * Unique mandate reference
32
+ * @type {string}
33
+ * @memberof GrpcMandateDto
34
+ */
35
+ 'mandateReference': string;
36
+ /**
37
+ * Date when mandate was created
38
+ * @type {string}
39
+ * @memberof GrpcMandateDto
40
+ */
41
+ 'mandateCreatedAt'?: string;
42
+ /**
43
+ * Optional mandate hash data containing signature details
44
+ * @type {SharedMandateHashDataDto}
45
+ * @memberof GrpcMandateDto
46
+ */
47
+ 'mandateHashData'?: SharedMandateHashDataDto;
48
+ }
49
+
package/models/index.ts CHANGED
@@ -1,5 +1,7 @@
1
1
  export * from './activate-policy-request-dto';
2
2
  export * from './activate-policy-response-class';
3
+ export * from './bank-transfer-dto';
4
+ export * from './billing-address-dto';
3
5
  export * from './booking-funnel-class';
4
6
  export * from './calculate-custom-premium-request-dto';
5
7
  export * from './calculate-premium-request-dto';
@@ -44,7 +46,6 @@ export * from './create-named-range-response-class';
44
46
  export * from './create-named-request-s3-data-class';
45
47
  export * from './create-partner-role-request-dto';
46
48
  export * from './create-partner-role-response-class';
47
- export * from './create-payment-method-request-dto';
48
49
  export * from './create-policy-request-dto';
49
50
  export * from './create-policy-response-class';
50
51
  export * from './create-premium-formula-request-dto';
@@ -102,6 +103,7 @@ export * from './get-status-transition-rule-response-class';
102
103
  export * from './grouped-product-factor-class';
103
104
  export * from './grouped-product-factor-value-class';
104
105
  export * from './grouped-product-factors-response-class';
106
+ export * from './grpc-mandate-dto';
105
107
  export * from './inline-response200';
106
108
  export * from './inline-response503';
107
109
  export * from './insured-object-class';
@@ -178,8 +180,11 @@ export * from './restore-policy-version-request-dto';
178
180
  export * from './restore-policy-version-response-class';
179
181
  export * from './sepa-dto';
180
182
  export * from './shared-create-lead-policy-request-dto';
183
+ export * from './shared-create-payment-method-request-dto';
184
+ export * from './shared-eis-sepa-debit-dto';
181
185
  export * from './shared-invoice-class';
182
186
  export * from './shared-lead-policy-object-dto';
187
+ export * from './shared-mandate-hash-data-dto';
183
188
  export * from './shared-product-field-class';
184
189
  export * from './shared-update-named-range-request-dto';
185
190
  export * from './shared-update-premium-formula-request-dto';
@@ -15,10 +15,10 @@
15
15
 
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
18
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
19
18
  import { LeadBankAccountClass } from './lead-bank-account-class';
20
19
  import { OmitTypeClass } from './omit-type-class';
21
20
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
21
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
22
22
  import { SharedInvoiceClass } from './shared-invoice-class';
23
23
  import { UploadedDocumentDto } from './uploaded-document-dto';
24
24
 
@@ -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 {CreatePaymentMethodRequestDto}
123
+ * @type {SharedCreatePaymentMethodRequestDto}
124
124
  * @memberof LeadClass
125
125
  */
126
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
126
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
127
127
  /**
128
128
  * A indicator to validate the lead.
129
129
  * @type {boolean}
@@ -16,9 +16,9 @@
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
18
  import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
19
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
20
19
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
21
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
21
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
22
22
  import { UploadedDocumentDto } from './uploaded-document-dto';
23
23
 
24
24
  /**
@@ -83,10 +83,10 @@ export interface PatchLeadRequestDto {
83
83
  'accountCode'?: string;
84
84
  /**
85
85
  * Payment method
86
- * @type {CreatePaymentMethodRequestDto}
86
+ * @type {SharedCreatePaymentMethodRequestDto}
87
87
  * @memberof PatchLeadRequestDto
88
88
  */
89
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
89
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
90
90
  /**
91
91
  * Optional partner object contains necessary information to link a partner to the policy. The partner content will be validated if the \'validate\' flag is set to true.
92
92
  * @type {LinkLeadPartnerRequestDto}
@@ -0,0 +1,51 @@
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 { BankTransferDto } from './bank-transfer-dto';
17
+ import { SepaDto } from './sepa-dto';
18
+ import { SharedEisSepaDebitDto } from './shared-eis-sepa-debit-dto';
19
+
20
+ /**
21
+ *
22
+ * @export
23
+ * @interface SharedCreatePaymentMethodRequestDto
24
+ */
25
+ export interface SharedCreatePaymentMethodRequestDto {
26
+ /**
27
+ *
28
+ * @type {string}
29
+ * @memberof SharedCreatePaymentMethodRequestDto
30
+ */
31
+ 'type': string;
32
+ /**
33
+ *
34
+ * @type {SepaDto}
35
+ * @memberof SharedCreatePaymentMethodRequestDto
36
+ */
37
+ 'sepa'?: SepaDto;
38
+ /**
39
+ *
40
+ * @type {BankTransferDto}
41
+ * @memberof SharedCreatePaymentMethodRequestDto
42
+ */
43
+ 'bankTransfer'?: BankTransferDto;
44
+ /**
45
+ *
46
+ * @type {SharedEisSepaDebitDto}
47
+ * @memberof SharedCreatePaymentMethodRequestDto
48
+ */
49
+ 'eisSepaDebit'?: SharedEisSepaDebitDto;
50
+ }
51
+
@@ -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 { GrpcMandateDto } from './grpc-mandate-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface SharedEisSepaDebitDto
22
+ */
23
+ export interface SharedEisSepaDebitDto {
24
+ /**
25
+ * First name of account holder
26
+ * @type {string}
27
+ * @memberof SharedEisSepaDebitDto
28
+ */
29
+ 'firstName': string;
30
+ /**
31
+ * Last name of account holder
32
+ * @type {string}
33
+ * @memberof SharedEisSepaDebitDto
34
+ */
35
+ 'lastName': string;
36
+ /**
37
+ * International Bank Account Number
38
+ * @type {string}
39
+ * @memberof SharedEisSepaDebitDto
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Bank Identifier Code
44
+ * @type {string}
45
+ * @memberof SharedEisSepaDebitDto
46
+ */
47
+ 'bic': string;
48
+ /**
49
+ * Bank name
50
+ * @type {string}
51
+ * @memberof SharedEisSepaDebitDto
52
+ */
53
+ 'bankName': string;
54
+ /**
55
+ * SEPA mandate details
56
+ * @type {GrpcMandateDto}
57
+ * @memberof SharedEisSepaDebitDto
58
+ */
59
+ 'mandate'?: GrpcMandateDto;
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 SharedMandateHashDataDto
21
+ */
22
+ export interface SharedMandateHashDataDto {
23
+ /**
24
+ * Date when mandate was signed
25
+ * @type {string}
26
+ * @memberof SharedMandateHashDataDto
27
+ */
28
+ 'date'?: string;
29
+ /**
30
+ * Location where mandate was signed
31
+ * @type {string}
32
+ * @memberof SharedMandateHashDataDto
33
+ */
34
+ 'location': string;
35
+ /**
36
+ * First name of mandate signer
37
+ * @type {string}
38
+ * @memberof SharedMandateHashDataDto
39
+ */
40
+ 'firstName': string;
41
+ /**
42
+ * Last name of mandate signer
43
+ * @type {string}
44
+ * @memberof SharedMandateHashDataDto
45
+ */
46
+ 'lastName': string;
47
+ }
48
+
@@ -16,9 +16,9 @@
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
17
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
18
  import { CreateLeadPolicyRequestDto } from './create-lead-policy-request-dto';
19
- import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
20
19
  import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
21
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
21
+ import { SharedCreatePaymentMethodRequestDto } from './shared-create-payment-method-request-dto';
22
22
  import { UploadedDocumentDto } from './uploaded-document-dto';
23
23
 
24
24
  /**
@@ -83,10 +83,10 @@ export interface UpdateLeadRequestDto {
83
83
  'accountCode'?: string;
84
84
  /**
85
85
  * Payment method, used to for payment method support, such as SEPA, invoice, etc. The payment method content will be validated if the \'validate\' flag is set to true.
86
- * @type {CreatePaymentMethodRequestDto}
86
+ * @type {SharedCreatePaymentMethodRequestDto}
87
87
  * @memberof UpdateLeadRequestDto
88
88
  */
89
- 'paymentMethod'?: CreatePaymentMethodRequestDto;
89
+ 'paymentMethod'?: SharedCreatePaymentMethodRequestDto;
90
90
  /**
91
91
  * The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
92
92
  * @type {boolean}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.87.1-beta.4",
3
+ "version": "1.87.1-beta.6",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [