@emilgroup/customer-sdk-node 1.9.0 → 1.10.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.
Files changed (47) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/authentication-api.ts +601 -0
  4. package/api/claims-api.ts +16 -16
  5. package/api/customers-api.ts +72 -1770
  6. package/api/documents-api.ts +442 -0
  7. package/api/invites-api.ts +443 -0
  8. package/api/invoices-api.ts +245 -0
  9. package/api/payments-api.ts +277 -0
  10. package/api/policies-api.ts +16 -16
  11. package/api/products-api.ts +19 -19
  12. package/api.ts +10 -0
  13. package/dist/api/authentication-api.d.ts +332 -0
  14. package/dist/api/authentication-api.js +604 -0
  15. package/dist/api/claims-api.d.ts +16 -16
  16. package/dist/api/claims-api.js +12 -12
  17. package/dist/api/customers-api.d.ts +0 -954
  18. package/dist/api/customers-api.js +20 -1381
  19. package/dist/api/documents-api.d.ts +262 -0
  20. package/dist/api/documents-api.js +417 -0
  21. package/dist/api/invites-api.d.ts +248 -0
  22. package/dist/api/invites-api.js +456 -0
  23. package/dist/api/invoices-api.d.ts +150 -0
  24. package/dist/api/invoices-api.js +253 -0
  25. package/dist/api/payments-api.d.ts +162 -0
  26. package/dist/api/payments-api.js +306 -0
  27. package/dist/api/policies-api.d.ts +16 -16
  28. package/dist/api/policies-api.js +12 -12
  29. package/dist/api/products-api.d.ts +20 -20
  30. package/dist/api/products-api.js +12 -12
  31. package/dist/api.d.ts +5 -0
  32. package/dist/api.js +5 -0
  33. package/dist/models/account-class.d.ts +26 -1
  34. package/dist/models/account-class.js +7 -0
  35. package/dist/models/create-account-request-dto.d.ts +39 -9
  36. package/dist/models/create-account-request-dto.js +11 -1
  37. package/dist/models/index.d.ts +1 -0
  38. package/dist/models/index.js +1 -0
  39. package/dist/models/list-policies-response-class.d.ts +4 -4
  40. package/dist/models/list-products-response-class.d.ts +31 -0
  41. package/dist/models/list-products-response-class.js +15 -0
  42. package/models/account-class.ts +29 -1
  43. package/models/create-account-request-dto.ts +41 -9
  44. package/models/index.ts +1 -0
  45. package/models/list-policies-response-class.ts +4 -4
  46. package/models/list-products-response-class.ts +37 -0
  47. package/package.json +2 -2
@@ -142,12 +142,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
142
142
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
143
143
  * @summary List products available to insure for a customer
144
144
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
145
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
146
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
145
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
146
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
147
147
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
148
148
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
149
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
150
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
149
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
150
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
151
151
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
152
152
  * @param {*} [options] Override http request option.
153
153
  * @throws {RequiredError}
@@ -236,12 +236,12 @@ var ProductsApiFp = function (configuration) {
236
236
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
237
237
  * @summary List products available to insure for a customer
238
238
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
239
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
240
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
239
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
240
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
241
241
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
242
242
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
243
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
244
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
243
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
244
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
245
245
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
246
  * @param {*} [options] Override http request option.
247
247
  * @throws {RequiredError}
@@ -285,12 +285,12 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
285
285
  * List all the products that a customer can insure, the products can be filtered by product code, product number.
286
286
  * @summary List products available to insure for a customer
287
287
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
288
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
289
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
288
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
289
+ * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
290
290
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
291
291
  * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
292
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
293
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
292
+ * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
293
+ * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
294
294
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
295
295
  * @param {*} [options] Override http request option.
296
296
  * @throws {RequiredError}
package/dist/api.d.ts CHANGED
@@ -9,8 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ export * from './api/authentication-api';
12
13
  export * from './api/claims-api';
13
14
  export * from './api/customers-api';
15
+ export * from './api/documents-api';
16
+ export * from './api/invites-api';
17
+ export * from './api/invoices-api';
18
+ export * from './api/payments-api';
14
19
  export * from './api/policies-api';
15
20
  export * from './api/products-api';
16
21
  export declare enum Environment {
package/dist/api.js CHANGED
@@ -28,8 +28,13 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  exports.Environment = void 0;
31
+ __exportStar(require("./api/authentication-api"), exports);
31
32
  __exportStar(require("./api/claims-api"), exports);
32
33
  __exportStar(require("./api/customers-api"), exports);
34
+ __exportStar(require("./api/documents-api"), exports);
35
+ __exportStar(require("./api/invites-api"), exports);
36
+ __exportStar(require("./api/invoices-api"), exports);
37
+ __exportStar(require("./api/payments-api"), exports);
33
38
  __exportStar(require("./api/policies-api"), exports);
34
39
  __exportStar(require("./api/products-api"), exports);
35
40
  var Environment;
@@ -34,6 +34,12 @@ export interface AccountClass {
34
34
  * @memberof AccountClass
35
35
  */
36
36
  'accountNumber': string;
37
+ /**
38
+ * The account\'s title.
39
+ * @type {string}
40
+ * @memberof AccountClass
41
+ */
42
+ 'title': AccountClassTitleEnum;
37
43
  /**
38
44
  * The account\'s first name.
39
45
  * @type {string}
@@ -87,13 +93,25 @@ export interface AccountClass {
87
93
  * @type {string}
88
94
  * @memberof AccountClass
89
95
  */
90
- 'birthDate': string;
96
+ 'birthDate'?: string;
91
97
  /**
92
98
  * The account\'s phone number.
93
99
  * @type {string}
94
100
  * @memberof AccountClass
95
101
  */
96
102
  'phone': string;
103
+ /**
104
+ * The type of account, default to person
105
+ * @type {string}
106
+ * @memberof AccountClass
107
+ */
108
+ 'type': string;
109
+ /**
110
+ * The company name of account, required for account type org
111
+ * @type {string}
112
+ * @memberof AccountClass
113
+ */
114
+ 'companyName': string;
97
115
  /**
98
116
  * The account\'s version.
99
117
  * @type {number}
@@ -131,3 +149,10 @@ export interface AccountClass {
131
149
  */
132
150
  'customFields': object;
133
151
  }
152
+ export declare const AccountClassTitleEnum: {
153
+ readonly Empty: "";
154
+ readonly Dr: "Dr.";
155
+ readonly DrMed: "Dr. med.";
156
+ readonly ProfDrMed: "Prof. Dr. med.";
157
+ };
158
+ export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
@@ -13,3 +13,10 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountClassTitleEnum = void 0;
17
+ exports.AccountClassTitleEnum = {
18
+ Empty: '',
19
+ Dr: 'Dr.',
20
+ DrMed: 'Dr. med.',
21
+ ProfDrMed: 'Prof. Dr. med.'
22
+ };
@@ -16,55 +16,73 @@
16
16
  */
17
17
  export interface CreateAccountRequestDto {
18
18
  /**
19
- * The account\'s first name.
19
+ * Optional field to enter the honorific title you want to be called.
20
+ * @type {string}
21
+ * @memberof CreateAccountRequestDto
22
+ */
23
+ 'title'?: CreateAccountRequestDtoTitleEnum;
24
+ /**
25
+ * The account\'s holder first name.
20
26
  * @type {string}
21
27
  * @memberof CreateAccountRequestDto
22
28
  */
23
29
  'firstName': string;
24
30
  /**
25
- * The account\'s last name.
31
+ * The account\'s holder last name.
26
32
  * @type {string}
27
33
  * @memberof CreateAccountRequestDto
28
34
  */
29
35
  'lastName': string;
30
36
  /**
31
- * The account\'s gender.
37
+ * The account\'s holder gender.
32
38
  * @type {string}
33
39
  * @memberof CreateAccountRequestDto
34
40
  */
35
41
  'gender': CreateAccountRequestDtoGenderEnum;
36
42
  /**
37
- * The account\'s street name.
43
+ * The account\'s holder street name.
38
44
  * @type {string}
39
45
  * @memberof CreateAccountRequestDto
40
46
  */
41
47
  'street': string;
42
48
  /**
43
- * The account\'s ZIP or postal code.
49
+ * The account\'s holder ZIP or postal code.
44
50
  * @type {string}
45
51
  * @memberof CreateAccountRequestDto
46
52
  */
47
53
  'zipCode': string;
48
54
  /**
49
- * The account\'s city, district, suburb, town, or village.
55
+ * The account\'s holder city, district, suburb, town, or village.
50
56
  * @type {string}
51
57
  * @memberof CreateAccountRequestDto
52
58
  */
53
59
  'city': string;
54
60
  /**
55
- * The account\'s house number.
61
+ * The account\'s holder house number.
56
62
  * @type {string}
57
63
  * @memberof CreateAccountRequestDto
58
64
  */
59
65
  'houseNumber': string;
66
+ /**
67
+ * Optional field to enter the type of the account holder.
68
+ * @type {string}
69
+ * @memberof CreateAccountRequestDto
70
+ */
71
+ 'type'?: CreateAccountRequestDtoTypeEnum;
60
72
  /**
61
73
  * Account\'s birth date.
62
74
  * @type {string}
63
75
  * @memberof CreateAccountRequestDto
64
76
  */
65
- 'birthDate': string;
77
+ 'birthDate'?: string;
66
78
  /**
67
- * The account\'s phone number.
79
+ * The account\'s holder company name (Required for account of type org).
80
+ * @type {string}
81
+ * @memberof CreateAccountRequestDto
82
+ */
83
+ 'companyName'?: string;
84
+ /**
85
+ * The account\'s holder phone number.
68
86
  * @type {string}
69
87
  * @memberof CreateAccountRequestDto
70
88
  */
@@ -88,9 +106,21 @@ export interface CreateAccountRequestDto {
88
106
  */
89
107
  'customFields'?: object;
90
108
  }
109
+ export declare const CreateAccountRequestDtoTitleEnum: {
110
+ readonly Empty: "";
111
+ readonly Dr: "Dr.";
112
+ readonly DrMed: "Dr. med.";
113
+ readonly ProfDrMed: "Prof. Dr. med.";
114
+ };
115
+ export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
91
116
  export declare const CreateAccountRequestDtoGenderEnum: {
92
117
  readonly Male: "male";
93
118
  readonly Female: "female";
94
119
  readonly Unspecified: "unspecified";
95
120
  };
96
121
  export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
122
+ export declare const CreateAccountRequestDtoTypeEnum: {
123
+ readonly Person: "person";
124
+ readonly Org: "org";
125
+ };
126
+ export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
@@ -13,9 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateAccountRequestDtoGenderEnum = void 0;
16
+ exports.CreateAccountRequestDtoTypeEnum = exports.CreateAccountRequestDtoGenderEnum = exports.CreateAccountRequestDtoTitleEnum = void 0;
17
+ exports.CreateAccountRequestDtoTitleEnum = {
18
+ Empty: '',
19
+ Dr: 'Dr.',
20
+ DrMed: 'Dr. med.',
21
+ ProfDrMed: 'Prof. Dr. med.'
22
+ };
17
23
  exports.CreateAccountRequestDtoGenderEnum = {
18
24
  Male: 'male',
19
25
  Female: 'female',
20
26
  Unspecified: 'unspecified'
21
27
  };
28
+ exports.CreateAccountRequestDtoTypeEnum = {
29
+ Person: 'person',
30
+ Org: 'org'
31
+ };
@@ -31,6 +31,7 @@ export * from './invoice-class';
31
31
  export * from './list-documents-response-class';
32
32
  export * from './list-invoices-response-class';
33
33
  export * from './list-policies-response-class';
34
+ export * from './list-products-response-class';
34
35
  export * from './policy-class';
35
36
  export * from './policy-object-class';
36
37
  export * from './policy-premium-class';
@@ -47,6 +47,7 @@ __exportStar(require("./invoice-class"), exports);
47
47
  __exportStar(require("./list-documents-response-class"), exports);
48
48
  __exportStar(require("./list-invoices-response-class"), exports);
49
49
  __exportStar(require("./list-policies-response-class"), exports);
50
+ __exportStar(require("./list-products-response-class"), exports);
50
51
  __exportStar(require("./policy-class"), exports);
51
52
  __exportStar(require("./policy-object-class"), exports);
52
53
  __exportStar(require("./policy-premium-class"), exports);
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CustomerProductClass } from './customer-product-class';
12
+ import { PolicyClass } from './policy-class';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -17,11 +17,11 @@ import { CustomerProductClass } from './customer-product-class';
17
17
  */
18
18
  export interface ListPoliciesResponseClass {
19
19
  /**
20
- * Products
21
- * @type {Array<CustomerProductClass>}
20
+ * Policies
21
+ * @type {Array<PolicyClass>}
22
22
  * @memberof ListPoliciesResponseClass
23
23
  */
24
- 'items': Array<CustomerProductClass>;
24
+ 'items': Array<PolicyClass>;
25
25
  /**
26
26
  * Next page token
27
27
  * @type {string}
@@ -0,0 +1,31 @@
1
+ /**
2
+ * EMIL CustomerService
3
+ * The EMIL CustomerService 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 { CustomerProductClass } from './customer-product-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListProductsResponseClass
17
+ */
18
+ export interface ListProductsResponseClass {
19
+ /**
20
+ * Products
21
+ * @type {Array<CustomerProductClass>}
22
+ * @memberof ListProductsResponseClass
23
+ */
24
+ 'items': Array<CustomerProductClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListProductsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL CustomerService
6
+ * The EMIL CustomerService 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 });
@@ -39,6 +39,12 @@ export interface AccountClass {
39
39
  * @memberof AccountClass
40
40
  */
41
41
  'accountNumber': string;
42
+ /**
43
+ * The account\'s title.
44
+ * @type {string}
45
+ * @memberof AccountClass
46
+ */
47
+ 'title': AccountClassTitleEnum;
42
48
  /**
43
49
  * The account\'s first name.
44
50
  * @type {string}
@@ -92,13 +98,25 @@ export interface AccountClass {
92
98
  * @type {string}
93
99
  * @memberof AccountClass
94
100
  */
95
- 'birthDate': string;
101
+ 'birthDate'?: string;
96
102
  /**
97
103
  * The account\'s phone number.
98
104
  * @type {string}
99
105
  * @memberof AccountClass
100
106
  */
101
107
  'phone': string;
108
+ /**
109
+ * The type of account, default to person
110
+ * @type {string}
111
+ * @memberof AccountClass
112
+ */
113
+ 'type': string;
114
+ /**
115
+ * The company name of account, required for account type org
116
+ * @type {string}
117
+ * @memberof AccountClass
118
+ */
119
+ 'companyName': string;
102
120
  /**
103
121
  * The account\'s version.
104
122
  * @type {number}
@@ -137,3 +155,13 @@ export interface AccountClass {
137
155
  'customFields': object;
138
156
  }
139
157
 
158
+ export const AccountClassTitleEnum = {
159
+ Empty: '',
160
+ Dr: 'Dr.',
161
+ DrMed: 'Dr. med.',
162
+ ProfDrMed: 'Prof. Dr. med.'
163
+ } as const;
164
+
165
+ export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
166
+
167
+
@@ -21,55 +21,73 @@
21
21
  */
22
22
  export interface CreateAccountRequestDto {
23
23
  /**
24
- * The account\'s first name.
24
+ * Optional field to enter the honorific title you want to be called.
25
+ * @type {string}
26
+ * @memberof CreateAccountRequestDto
27
+ */
28
+ 'title'?: CreateAccountRequestDtoTitleEnum;
29
+ /**
30
+ * The account\'s holder first name.
25
31
  * @type {string}
26
32
  * @memberof CreateAccountRequestDto
27
33
  */
28
34
  'firstName': string;
29
35
  /**
30
- * The account\'s last name.
36
+ * The account\'s holder last name.
31
37
  * @type {string}
32
38
  * @memberof CreateAccountRequestDto
33
39
  */
34
40
  'lastName': string;
35
41
  /**
36
- * The account\'s gender.
42
+ * The account\'s holder gender.
37
43
  * @type {string}
38
44
  * @memberof CreateAccountRequestDto
39
45
  */
40
46
  'gender': CreateAccountRequestDtoGenderEnum;
41
47
  /**
42
- * The account\'s street name.
48
+ * The account\'s holder street name.
43
49
  * @type {string}
44
50
  * @memberof CreateAccountRequestDto
45
51
  */
46
52
  'street': string;
47
53
  /**
48
- * The account\'s ZIP or postal code.
54
+ * The account\'s holder ZIP or postal code.
49
55
  * @type {string}
50
56
  * @memberof CreateAccountRequestDto
51
57
  */
52
58
  'zipCode': string;
53
59
  /**
54
- * The account\'s city, district, suburb, town, or village.
60
+ * The account\'s holder city, district, suburb, town, or village.
55
61
  * @type {string}
56
62
  * @memberof CreateAccountRequestDto
57
63
  */
58
64
  'city': string;
59
65
  /**
60
- * The account\'s house number.
66
+ * The account\'s holder house number.
61
67
  * @type {string}
62
68
  * @memberof CreateAccountRequestDto
63
69
  */
64
70
  'houseNumber': string;
71
+ /**
72
+ * Optional field to enter the type of the account holder.
73
+ * @type {string}
74
+ * @memberof CreateAccountRequestDto
75
+ */
76
+ 'type'?: CreateAccountRequestDtoTypeEnum;
65
77
  /**
66
78
  * Account\'s birth date.
67
79
  * @type {string}
68
80
  * @memberof CreateAccountRequestDto
69
81
  */
70
- 'birthDate': string;
82
+ 'birthDate'?: string;
71
83
  /**
72
- * The account\'s phone number.
84
+ * The account\'s holder company name (Required for account of type org).
85
+ * @type {string}
86
+ * @memberof CreateAccountRequestDto
87
+ */
88
+ 'companyName'?: string;
89
+ /**
90
+ * The account\'s holder phone number.
73
91
  * @type {string}
74
92
  * @memberof CreateAccountRequestDto
75
93
  */
@@ -94,6 +112,14 @@ export interface CreateAccountRequestDto {
94
112
  'customFields'?: object;
95
113
  }
96
114
 
115
+ export const CreateAccountRequestDtoTitleEnum = {
116
+ Empty: '',
117
+ Dr: 'Dr.',
118
+ DrMed: 'Dr. med.',
119
+ ProfDrMed: 'Prof. Dr. med.'
120
+ } as const;
121
+
122
+ export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
97
123
  export const CreateAccountRequestDtoGenderEnum = {
98
124
  Male: 'male',
99
125
  Female: 'female',
@@ -101,5 +127,11 @@ export const CreateAccountRequestDtoGenderEnum = {
101
127
  } as const;
102
128
 
103
129
  export type CreateAccountRequestDtoGenderEnum = typeof CreateAccountRequestDtoGenderEnum[keyof typeof CreateAccountRequestDtoGenderEnum];
130
+ export const CreateAccountRequestDtoTypeEnum = {
131
+ Person: 'person',
132
+ Org: 'org'
133
+ } as const;
134
+
135
+ export type CreateAccountRequestDtoTypeEnum = typeof CreateAccountRequestDtoTypeEnum[keyof typeof CreateAccountRequestDtoTypeEnum];
104
136
 
105
137
 
package/models/index.ts CHANGED
@@ -31,6 +31,7 @@ export * from './invoice-class';
31
31
  export * from './list-documents-response-class';
32
32
  export * from './list-invoices-response-class';
33
33
  export * from './list-policies-response-class';
34
+ export * from './list-products-response-class';
34
35
  export * from './policy-class';
35
36
  export * from './policy-object-class';
36
37
  export * from './policy-premium-class';
@@ -13,7 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
- import { CustomerProductClass } from './customer-product-class';
16
+ import { PolicyClass } from './policy-class';
17
17
 
18
18
  /**
19
19
  *
@@ -22,11 +22,11 @@ import { CustomerProductClass } from './customer-product-class';
22
22
  */
23
23
  export interface ListPoliciesResponseClass {
24
24
  /**
25
- * Products
26
- * @type {Array<CustomerProductClass>}
25
+ * Policies
26
+ * @type {Array<PolicyClass>}
27
27
  * @memberof ListPoliciesResponseClass
28
28
  */
29
- 'items': Array<CustomerProductClass>;
29
+ 'items': Array<PolicyClass>;
30
30
  /**
31
31
  * Next page token
32
32
  * @type {string}
@@ -0,0 +1,37 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CustomerService
5
+ * The EMIL CustomerService 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 { CustomerProductClass } from './customer-product-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface ListProductsResponseClass
22
+ */
23
+ export interface ListProductsResponseClass {
24
+ /**
25
+ * Products
26
+ * @type {Array<CustomerProductClass>}
27
+ * @memberof ListProductsResponseClass
28
+ */
29
+ 'items': Array<CustomerProductClass>;
30
+ /**
31
+ * Next page token
32
+ * @type {string}
33
+ * @memberof ListProductsResponseClass
34
+ */
35
+ 'nextPageToken': string;
36
+ }
37
+
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/customer-sdk-node",
3
- "version": "1.9.0",
3
+ "version": "1.10.0",
4
4
  "description": "OpenAPI client for @emilgroup/customer-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [
@@ -23,7 +23,7 @@
23
23
  "url": "^0.11.0"
24
24
  },
25
25
  "devDependencies": {
26
- "@types/node": "^12.11.5",
26
+ "@types/node": "^12.11.5",
27
27
  "typescript": "^4.0"
28
28
  }
29
29
  }