@emilgroup/customer-sdk-node 1.9.1 → 1.11.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 (57) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +58 -2
  3. package/api/authentication-api.ts +601 -0
  4. package/api/claims-api.ts +158 -40
  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 +291 -0
  10. package/api/policies-api.ts +16 -16
  11. package/api/products-api.ts +16 -16
  12. package/api.ts +11 -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 +106 -31
  16. package/dist/api/claims-api.js +84 -36
  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 +171 -0
  26. package/dist/api/payments-api.js +312 -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 +16 -16
  30. package/dist/api/products-api.js +12 -12
  31. package/dist/api.d.ts +7 -1
  32. package/dist/api.js +6 -0
  33. package/dist/models/account-class.d.ts +31 -1
  34. package/dist/models/account-class.js +11 -0
  35. package/dist/models/claim-class.d.ts +132 -0
  36. package/dist/models/claim-class.js +15 -0
  37. package/dist/models/create-account-request-dto.d.ts +39 -9
  38. package/dist/models/create-account-request-dto.js +11 -1
  39. package/dist/models/create-customer-claim-response-class.d.ts +25 -0
  40. package/dist/models/create-customer-claim-response-class.js +15 -0
  41. package/dist/models/index.d.ts +4 -0
  42. package/dist/models/index.js +4 -0
  43. package/dist/models/list-customer-claims-response-class.d.ts +31 -0
  44. package/dist/models/list-customer-claims-response-class.js +15 -0
  45. package/dist/models/update-account-request-dto.d.ts +17 -0
  46. package/dist/models/update-account-request-dto.js +5 -1
  47. package/dist/models/update-customer-claim-response-class.d.ts +25 -0
  48. package/dist/models/update-customer-claim-response-class.js +15 -0
  49. package/models/account-class.ts +35 -1
  50. package/models/claim-class.ts +138 -0
  51. package/models/create-account-request-dto.ts +41 -9
  52. package/models/create-customer-claim-response-class.ts +31 -0
  53. package/models/index.ts +4 -0
  54. package/models/list-customer-claims-response-class.ts +37 -0
  55. package/models/update-account-request-dto.ts +18 -0
  56. package/models/update-customer-claim-response-class.ts +31 -0
  57. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -9,11 +9,17 @@
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 {
17
22
  Production = "https://apiv2.emil.de",
18
- Test = "https://apiv2-test.emil.de"
23
+ Test = "https://apiv2-test.emil.de",
24
+ Development = "https://apiv2-dev.emil.de"
19
25
  }
package/dist/api.js CHANGED
@@ -28,12 +28,18 @@ 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;
36
41
  (function (Environment) {
37
42
  Environment["Production"] = "https://apiv2.emil.de";
38
43
  Environment["Test"] = "https://apiv2-test.emil.de";
44
+ Environment["Development"] = "https://apiv2-dev.emil.de";
39
45
  })(Environment = exports.Environment || (exports.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': AccountClassTypeEnum;
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,15 @@ 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];
159
+ export declare const AccountClassTypeEnum: {
160
+ readonly Person: "person";
161
+ readonly Org: "org";
162
+ };
163
+ export type AccountClassTypeEnum = typeof AccountClassTypeEnum[keyof typeof AccountClassTypeEnum];
@@ -13,3 +13,14 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.AccountClassTypeEnum = exports.AccountClassTitleEnum = void 0;
17
+ exports.AccountClassTitleEnum = {
18
+ Empty: '',
19
+ Dr: 'Dr.',
20
+ DrMed: 'Dr. med.',
21
+ ProfDrMed: 'Prof. Dr. med.'
22
+ };
23
+ exports.AccountClassTypeEnum = {
24
+ Person: 'person',
25
+ Org: 'org'
26
+ };
@@ -0,0 +1,132 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface ClaimClass
16
+ */
17
+ export interface ClaimClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof ClaimClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof ClaimClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Title of the claim
32
+ * @type {string}
33
+ * @memberof ClaimClass
34
+ */
35
+ 'title': string;
36
+ /**
37
+ * Unique identifier of the account that the claim belongs to
38
+ * @type {string}
39
+ * @memberof ClaimClass
40
+ */
41
+ 'accountCode': string;
42
+ /**
43
+ * Field for the policy code that the claim belongs to
44
+ * @type {string}
45
+ * @memberof ClaimClass
46
+ */
47
+ 'policyCode': string;
48
+ /**
49
+ * The policy number that the claim belongs to
50
+ * @type {string}
51
+ * @memberof ClaimClass
52
+ */
53
+ 'policyNumber': string;
54
+ /**
55
+ * Unique identifier of the product that the claim is made against
56
+ * @type {number}
57
+ * @memberof ClaimClass
58
+ */
59
+ 'productId': number;
60
+ /**
61
+ * Unique identifier for the specific version of the product
62
+ * @type {number}
63
+ * @memberof ClaimClass
64
+ */
65
+ 'productVersionId': number;
66
+ /**
67
+ * The name of the product
68
+ * @type {string}
69
+ * @memberof ClaimClass
70
+ */
71
+ 'productName': string;
72
+ /**
73
+ * The insured object identifier that the claim is made for
74
+ * @type {number}
75
+ * @memberof ClaimClass
76
+ */
77
+ 'insuredObjectId': number;
78
+ /**
79
+ * claim description
80
+ * @type {string}
81
+ * @memberof ClaimClass
82
+ */
83
+ 'description': string;
84
+ /**
85
+ * A claim adjuster investigates insurance claims by interviewing the claimant and witnesses, consulting police and hospital records, and inspecting property damage to determine the extent of the insurance company\'s liability.
86
+ * @type {string}
87
+ * @memberof ClaimClass
88
+ */
89
+ 'adjuster': string;
90
+ /**
91
+ * A claim reporter is the person who is responsible for submitting this claim to the platform. A claim reporter is not necessarily the same as the policy holder.
92
+ * @type {string}
93
+ * @memberof ClaimClass
94
+ */
95
+ 'reporter': string;
96
+ /**
97
+ * Contact phone number
98
+ * @type {string}
99
+ * @memberof ClaimClass
100
+ */
101
+ 'contactPhone': string;
102
+ /**
103
+ * Contact email address
104
+ * @type {string}
105
+ * @memberof ClaimClass
106
+ */
107
+ 'contactEmail': string;
108
+ /**
109
+ * The date on which the actual damage happened
110
+ * @type {string}
111
+ * @memberof ClaimClass
112
+ */
113
+ 'damageDate': string;
114
+ /**
115
+ * The date on which the damage was reported
116
+ * @type {string}
117
+ * @memberof ClaimClass
118
+ */
119
+ 'notificationDate': string;
120
+ /**
121
+ * Time at which the object was created.
122
+ * @type {string}
123
+ * @memberof ClaimClass
124
+ */
125
+ 'createdAt': string;
126
+ /**
127
+ * Time at which the object was updated.
128
+ * @type {string}
129
+ * @memberof ClaimClass
130
+ */
131
+ 'updatedAt': string;
132
+ }
@@ -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 });
@@ -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
+ };
@@ -0,0 +1,25 @@
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 { ClaimClass } from './claim-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CreateCustomerClaimResponseClass
17
+ */
18
+ export interface CreateCustomerClaimResponseClass {
19
+ /**
20
+ * Claim
21
+ * @type {ClaimClass}
22
+ * @memberof CreateCustomerClaimResponseClass
23
+ */
24
+ 'claim': ClaimClass;
25
+ }
@@ -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 });
@@ -1,12 +1,14 @@
1
1
  export * from './account-class';
2
2
  export * from './account-policy-class';
3
3
  export * from './authentication-result-class';
4
+ export * from './claim-class';
4
5
  export * from './complete-braintree-payment-setup-request-dto';
5
6
  export * from './complete-payment-setup-psp-request';
6
7
  export * from './complete-payment-setup-response-class';
7
8
  export * from './complete-stripe-payment-setup-request-dto';
8
9
  export * from './create-account-request-dto';
9
10
  export * from './create-customer-claim-request-dto';
11
+ export * from './create-customer-claim-response-class';
10
12
  export * from './create-customer-request-dto';
11
13
  export * from './create-customer-response-class';
12
14
  export * from './create-presigned-post-response-class';
@@ -28,6 +30,7 @@ export * from './invite-by-customer-response-class';
28
30
  export * from './invite-by-tenant-response-class';
29
31
  export * from './invite-class';
30
32
  export * from './invoice-class';
33
+ export * from './list-customer-claims-response-class';
31
34
  export * from './list-documents-response-class';
32
35
  export * from './list-invoices-response-class';
33
36
  export * from './list-policies-response-class';
@@ -50,6 +53,7 @@ export * from './terminate-customer-policy-response-class';
50
53
  export * from './timeslice-class';
51
54
  export * from './update-account-request-dto';
52
55
  export * from './update-customer-claim-request-dto';
56
+ export * from './update-customer-claim-response-class';
53
57
  export * from './update-customer-request-dto';
54
58
  export * from './update-customer-response-class';
55
59
  export * from './upload-customer-claim-documents-request-dto';
@@ -17,12 +17,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./account-class"), exports);
18
18
  __exportStar(require("./account-policy-class"), exports);
19
19
  __exportStar(require("./authentication-result-class"), exports);
20
+ __exportStar(require("./claim-class"), exports);
20
21
  __exportStar(require("./complete-braintree-payment-setup-request-dto"), exports);
21
22
  __exportStar(require("./complete-payment-setup-psp-request"), exports);
22
23
  __exportStar(require("./complete-payment-setup-response-class"), exports);
23
24
  __exportStar(require("./complete-stripe-payment-setup-request-dto"), exports);
24
25
  __exportStar(require("./create-account-request-dto"), exports);
25
26
  __exportStar(require("./create-customer-claim-request-dto"), exports);
27
+ __exportStar(require("./create-customer-claim-response-class"), exports);
26
28
  __exportStar(require("./create-customer-request-dto"), exports);
27
29
  __exportStar(require("./create-customer-response-class"), exports);
28
30
  __exportStar(require("./create-presigned-post-response-class"), exports);
@@ -44,6 +46,7 @@ __exportStar(require("./invite-by-customer-response-class"), exports);
44
46
  __exportStar(require("./invite-by-tenant-response-class"), exports);
45
47
  __exportStar(require("./invite-class"), exports);
46
48
  __exportStar(require("./invoice-class"), exports);
49
+ __exportStar(require("./list-customer-claims-response-class"), exports);
47
50
  __exportStar(require("./list-documents-response-class"), exports);
48
51
  __exportStar(require("./list-invoices-response-class"), exports);
49
52
  __exportStar(require("./list-policies-response-class"), exports);
@@ -66,6 +69,7 @@ __exportStar(require("./terminate-customer-policy-response-class"), exports);
66
69
  __exportStar(require("./timeslice-class"), exports);
67
70
  __exportStar(require("./update-account-request-dto"), exports);
68
71
  __exportStar(require("./update-customer-claim-request-dto"), exports);
72
+ __exportStar(require("./update-customer-claim-response-class"), exports);
69
73
  __exportStar(require("./update-customer-request-dto"), exports);
70
74
  __exportStar(require("./update-customer-response-class"), exports);
71
75
  __exportStar(require("./upload-customer-claim-documents-request-dto"), exports);
@@ -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 { ClaimClass } from './claim-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListCustomerClaimsResponseClass
17
+ */
18
+ export interface ListCustomerClaimsResponseClass {
19
+ /**
20
+ * Claims list items
21
+ * @type {Array<ClaimClass>}
22
+ * @memberof ListCustomerClaimsResponseClass
23
+ */
24
+ 'items': Array<ClaimClass>;
25
+ /**
26
+ * Next page token
27
+ * @type {string}
28
+ * @memberof ListCustomerClaimsResponseClass
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 });
@@ -27,6 +27,12 @@ export interface UpdateAccountRequestDto {
27
27
  * @memberof UpdateAccountRequestDto
28
28
  */
29
29
  'lastName'?: string;
30
+ /**
31
+ * Optional field to enter the type of the account holder.
32
+ * @type {string}
33
+ * @memberof UpdateAccountRequestDto
34
+ */
35
+ 'type'?: UpdateAccountRequestDtoTypeEnum;
30
36
  /**
31
37
  * The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
32
38
  * @type {string}
@@ -87,7 +93,18 @@ export interface UpdateAccountRequestDto {
87
93
  * @memberof UpdateAccountRequestDto
88
94
  */
89
95
  'customFields'?: object;
96
+ /**
97
+ * The account\'s holder company name (Required for account of type org).
98
+ * @type {string}
99
+ * @memberof UpdateAccountRequestDto
100
+ */
101
+ 'companyName'?: string;
90
102
  }
103
+ export declare const UpdateAccountRequestDtoTypeEnum: {
104
+ readonly Person: "person";
105
+ readonly Org: "org";
106
+ };
107
+ export type UpdateAccountRequestDtoTypeEnum = typeof UpdateAccountRequestDtoTypeEnum[keyof typeof UpdateAccountRequestDtoTypeEnum];
91
108
  export declare const UpdateAccountRequestDtoGenderEnum: {
92
109
  readonly Male: "male";
93
110
  readonly Female: "female";
@@ -13,7 +13,11 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.UpdateAccountRequestDtoGenderEnum = void 0;
16
+ exports.UpdateAccountRequestDtoGenderEnum = exports.UpdateAccountRequestDtoTypeEnum = void 0;
17
+ exports.UpdateAccountRequestDtoTypeEnum = {
18
+ Person: 'person',
19
+ Org: 'org'
20
+ };
17
21
  exports.UpdateAccountRequestDtoGenderEnum = {
18
22
  Male: 'male',
19
23
  Female: 'female',
@@ -0,0 +1,25 @@
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 { ClaimClass } from './claim-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateCustomerClaimResponseClass
17
+ */
18
+ export interface UpdateCustomerClaimResponseClass {
19
+ /**
20
+ * Claim
21
+ * @type {ClaimClass}
22
+ * @memberof UpdateCustomerClaimResponseClass
23
+ */
24
+ 'claim': ClaimClass;
25
+ }
@@ -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 });