@emilgroup/insurance-sdk-node 1.18.0 → 1.19.0

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.
@@ -31,6 +31,7 @@ models/create-lead-request-dto.ts
31
31
  models/create-lead-response-class.ts
32
32
  models/create-lead-status-request-dto.ts
33
33
  models/create-lead-status-response-class.ts
34
+ models/create-payment-method-request-dto.ts
34
35
  models/create-policy-request-dto.ts
35
36
  models/create-policy-response-class.ts
36
37
  models/create-premium-formula-request-dto.ts
@@ -103,6 +104,7 @@ models/product-factor-value-class.ts
103
104
  models/product-field-class.ts
104
105
  models/product-field-type-class.ts
105
106
  models/product-version-class.ts
107
+ models/sepa-dto.ts
106
108
  models/shared-invoice-class.ts
107
109
  models/shared-product-field-class.ts
108
110
  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.18.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.19.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.18.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.19.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
@@ -11,6 +11,7 @@
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';
14
15
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -80,4 +81,10 @@ export interface CreateLeadRequestDto {
80
81
  * @memberof CreateLeadRequestDto
81
82
  */
82
83
  'premiumOverride'?: PremiumOverrideRequestDto;
84
+ /**
85
+ * Payment method
86
+ * @type {CreatePaymentMethodRequestDto}
87
+ * @memberof CreateLeadRequestDto
88
+ */
89
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
83
90
  }
@@ -0,0 +1,31 @@
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 { SepaDto } from './sepa-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreatePaymentMethodRequestDto
17
+ */
18
+ export interface CreatePaymentMethodRequestDto {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof CreatePaymentMethodRequestDto
23
+ */
24
+ 'type': string;
25
+ /**
26
+ *
27
+ * @type {SepaDto}
28
+ * @memberof CreatePaymentMethodRequestDto
29
+ */
30
+ 'sepa'?: SepaDto;
31
+ }
@@ -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,6 +11,7 @@
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';
14
15
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -74,4 +75,10 @@ export interface GrpcPatchLeadRequestDto {
74
75
  * @memberof GrpcPatchLeadRequestDto
75
76
  */
76
77
  'accountCode'?: string;
78
+ /**
79
+ * Payment method
80
+ * @type {CreatePaymentMethodRequestDto}
81
+ * @memberof GrpcPatchLeadRequestDto
82
+ */
83
+ 'paymentMethod': CreatePaymentMethodRequestDto;
77
84
  }
@@ -11,6 +11,7 @@
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';
14
15
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -44,6 +45,12 @@ export interface GrpcUpdateLeadRequestDto {
44
45
  * @memberof GrpcUpdateLeadRequestDto
45
46
  */
46
47
  'premiumOverride'?: Array<PremiumOverrideRequestDto>;
48
+ /**
49
+ * Payment method
50
+ * @type {CreatePaymentMethodRequestDto}
51
+ * @memberof GrpcUpdateLeadRequestDto
52
+ */
53
+ 'paymentMethod': CreatePaymentMethodRequestDto;
47
54
  /**
48
55
  *
49
56
  * @type {string}
@@ -11,6 +11,7 @@ export * from './create-lead-request-dto';
11
11
  export * from './create-lead-response-class';
12
12
  export * from './create-lead-status-request-dto';
13
13
  export * from './create-lead-status-response-class';
14
+ export * from './create-payment-method-request-dto';
14
15
  export * from './create-policy-request-dto';
15
16
  export * from './create-policy-response-class';
16
17
  export * from './create-premium-formula-request-dto';
@@ -82,6 +83,7 @@ export * from './product-factor-value-class';
82
83
  export * from './product-field-class';
83
84
  export * from './product-field-type-class';
84
85
  export * from './product-version-class';
86
+ export * from './sepa-dto';
85
87
  export * from './shared-invoice-class';
86
88
  export * from './shared-product-field-class';
87
89
  export * from './shared-update-premium-formula-request-dto';
@@ -27,6 +27,7 @@ __exportStar(require("./create-lead-request-dto"), exports);
27
27
  __exportStar(require("./create-lead-response-class"), exports);
28
28
  __exportStar(require("./create-lead-status-request-dto"), exports);
29
29
  __exportStar(require("./create-lead-status-response-class"), exports);
30
+ __exportStar(require("./create-payment-method-request-dto"), exports);
30
31
  __exportStar(require("./create-policy-request-dto"), exports);
31
32
  __exportStar(require("./create-policy-response-class"), exports);
32
33
  __exportStar(require("./create-premium-formula-request-dto"), exports);
@@ -98,6 +99,7 @@ __exportStar(require("./product-factor-value-class"), exports);
98
99
  __exportStar(require("./product-field-class"), exports);
99
100
  __exportStar(require("./product-field-type-class"), exports);
100
101
  __exportStar(require("./product-version-class"), exports);
102
+ __exportStar(require("./sepa-dto"), exports);
101
103
  __exportStar(require("./shared-invoice-class"), exports);
102
104
  __exportStar(require("./shared-product-field-class"), exports);
103
105
  __exportStar(require("./shared-update-premium-formula-request-dto"), exports);
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
13
14
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
14
15
  import { LeadBankAccountClass } from './lead-bank-account-class';
15
16
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
@@ -64,7 +65,7 @@ export interface LeadClass {
64
65
  */
65
66
  'policy': CreatePolicyRequestDto;
66
67
  /**
67
- * Lead bank account.
68
+ * Lead bank account, will be treated as a reference to payout customer claims.
68
69
  * @type {LeadBankAccountClass}
69
70
  * @memberof LeadClass
70
71
  */
@@ -111,4 +112,10 @@ export interface LeadClass {
111
112
  * @memberof LeadClass
112
113
  */
113
114
  'quote': SharedInvoiceClass;
115
+ /**
116
+ * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
117
+ * @type {CreatePaymentMethodRequestDto}
118
+ * @memberof LeadClass
119
+ */
120
+ 'paymentMethod': CreatePaymentMethodRequestDto;
114
121
  }
@@ -11,6 +11,7 @@
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';
14
15
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -74,4 +75,10 @@ export interface PatchLeadRequestDto {
74
75
  * @memberof PatchLeadRequestDto
75
76
  */
76
77
  'accountCode'?: string;
78
+ /**
79
+ * Payment method
80
+ * @type {CreatePaymentMethodRequestDto}
81
+ * @memberof PatchLeadRequestDto
82
+ */
83
+ 'paymentMethod': CreatePaymentMethodRequestDto;
77
84
  }
@@ -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 SepaDto
16
+ */
17
+ export interface SepaDto {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SepaDto
22
+ */
23
+ 'iban': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof SepaDto
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 });
@@ -11,6 +11,7 @@
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';
14
15
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
16
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
17
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -44,6 +45,12 @@ export interface UpdateLeadRequestDto {
44
45
  * @memberof UpdateLeadRequestDto
45
46
  */
46
47
  'premiumOverride'?: Array<PremiumOverrideRequestDto>;
48
+ /**
49
+ * Payment method
50
+ * @type {CreatePaymentMethodRequestDto}
51
+ * @memberof UpdateLeadRequestDto
52
+ */
53
+ 'paymentMethod': CreatePaymentMethodRequestDto;
47
54
  /**
48
55
  *
49
56
  * @type {CreateAccountRequestDto}
@@ -15,6 +15,7 @@
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';
18
19
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -85,5 +86,11 @@ export interface CreateLeadRequestDto {
85
86
  * @memberof CreateLeadRequestDto
86
87
  */
87
88
  'premiumOverride'?: PremiumOverrideRequestDto;
89
+ /**
90
+ * Payment method
91
+ * @type {CreatePaymentMethodRequestDto}
92
+ * @memberof CreateLeadRequestDto
93
+ */
94
+ 'paymentMethod'?: CreatePaymentMethodRequestDto;
88
95
  }
89
96
 
@@ -0,0 +1,37 @@
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 { SepaDto } from './sepa-dto';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreatePaymentMethodRequestDto
22
+ */
23
+ export interface CreatePaymentMethodRequestDto {
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof CreatePaymentMethodRequestDto
28
+ */
29
+ 'type': string;
30
+ /**
31
+ *
32
+ * @type {SepaDto}
33
+ * @memberof CreatePaymentMethodRequestDto
34
+ */
35
+ 'sepa'?: SepaDto;
36
+ }
37
+
@@ -15,6 +15,7 @@
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';
18
19
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -79,5 +80,11 @@ export interface GrpcPatchLeadRequestDto {
79
80
  * @memberof GrpcPatchLeadRequestDto
80
81
  */
81
82
  'accountCode'?: string;
83
+ /**
84
+ * Payment method
85
+ * @type {CreatePaymentMethodRequestDto}
86
+ * @memberof GrpcPatchLeadRequestDto
87
+ */
88
+ 'paymentMethod': CreatePaymentMethodRequestDto;
82
89
  }
83
90
 
@@ -15,6 +15,7 @@
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';
18
19
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -49,6 +50,12 @@ export interface GrpcUpdateLeadRequestDto {
49
50
  * @memberof GrpcUpdateLeadRequestDto
50
51
  */
51
52
  'premiumOverride'?: Array<PremiumOverrideRequestDto>;
53
+ /**
54
+ * Payment method
55
+ * @type {CreatePaymentMethodRequestDto}
56
+ * @memberof GrpcUpdateLeadRequestDto
57
+ */
58
+ 'paymentMethod': CreatePaymentMethodRequestDto;
52
59
  /**
53
60
  *
54
61
  * @type {string}
package/models/index.ts CHANGED
@@ -11,6 +11,7 @@ export * from './create-lead-request-dto';
11
11
  export * from './create-lead-response-class';
12
12
  export * from './create-lead-status-request-dto';
13
13
  export * from './create-lead-status-response-class';
14
+ export * from './create-payment-method-request-dto';
14
15
  export * from './create-policy-request-dto';
15
16
  export * from './create-policy-response-class';
16
17
  export * from './create-premium-formula-request-dto';
@@ -82,6 +83,7 @@ export * from './product-factor-value-class';
82
83
  export * from './product-field-class';
83
84
  export * from './product-field-type-class';
84
85
  export * from './product-version-class';
86
+ export * from './sepa-dto';
85
87
  export * from './shared-invoice-class';
86
88
  export * from './shared-product-field-class';
87
89
  export * from './shared-update-premium-formula-request-dto';
@@ -14,6 +14,7 @@
14
14
 
15
15
 
16
16
  import { CreateAccountRequestDto } from './create-account-request-dto';
17
+ import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
17
18
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
18
19
  import { LeadBankAccountClass } from './lead-bank-account-class';
19
20
  import { PremiumOverrideRequestClass } from './premium-override-request-class';
@@ -69,7 +70,7 @@ export interface LeadClass {
69
70
  */
70
71
  'policy': CreatePolicyRequestDto;
71
72
  /**
72
- * Lead bank account.
73
+ * Lead bank account, will be treated as a reference to payout customer claims.
73
74
  * @type {LeadBankAccountClass}
74
75
  * @memberof LeadClass
75
76
  */
@@ -116,5 +117,11 @@ export interface LeadClass {
116
117
  * @memberof LeadClass
117
118
  */
118
119
  'quote': SharedInvoiceClass;
120
+ /**
121
+ * Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
122
+ * @type {CreatePaymentMethodRequestDto}
123
+ * @memberof LeadClass
124
+ */
125
+ 'paymentMethod': CreatePaymentMethodRequestDto;
119
126
  }
120
127
 
@@ -15,6 +15,7 @@
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';
18
19
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -79,5 +80,11 @@ export interface PatchLeadRequestDto {
79
80
  * @memberof PatchLeadRequestDto
80
81
  */
81
82
  'accountCode'?: string;
83
+ /**
84
+ * Payment method
85
+ * @type {CreatePaymentMethodRequestDto}
86
+ * @memberof PatchLeadRequestDto
87
+ */
88
+ 'paymentMethod': CreatePaymentMethodRequestDto;
82
89
  }
83
90
 
@@ -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 SepaDto
21
+ */
22
+ export interface SepaDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof SepaDto
27
+ */
28
+ 'iban': string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof SepaDto
33
+ */
34
+ 'holderName'?: string;
35
+ }
36
+
@@ -15,6 +15,7 @@
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';
18
19
  import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
20
  import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
21
  import { UploadedDocumentDto } from './uploaded-document-dto';
@@ -49,6 +50,12 @@ export interface UpdateLeadRequestDto {
49
50
  * @memberof UpdateLeadRequestDto
50
51
  */
51
52
  'premiumOverride'?: Array<PremiumOverrideRequestDto>;
53
+ /**
54
+ * Payment method
55
+ * @type {CreatePaymentMethodRequestDto}
56
+ * @memberof UpdateLeadRequestDto
57
+ */
58
+ 'paymentMethod': CreatePaymentMethodRequestDto;
52
59
  /**
53
60
  *
54
61
  * @type {CreateAccountRequestDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.18.0",
3
+ "version": "1.19.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [