@emilgroup/customer-sdk-node 1.10.0 → 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 (33) hide show
  1. package/.openapi-generator/FILES +4 -0
  2. package/README.md +58 -2
  3. package/api/claims-api.ts +142 -24
  4. package/api/payments-api.ts +20 -6
  5. package/api.ts +1 -0
  6. package/dist/api/claims-api.d.ts +90 -15
  7. package/dist/api/claims-api.js +72 -24
  8. package/dist/api/payments-api.d.ts +12 -3
  9. package/dist/api/payments-api.js +12 -6
  10. package/dist/api.d.ts +2 -1
  11. package/dist/api.js +1 -0
  12. package/dist/models/account-class.d.ts +7 -2
  13. package/dist/models/account-class.js +5 -1
  14. package/dist/models/claim-class.d.ts +132 -0
  15. package/dist/models/claim-class.js +15 -0
  16. package/dist/models/create-customer-claim-response-class.d.ts +25 -0
  17. package/dist/models/create-customer-claim-response-class.js +15 -0
  18. package/dist/models/index.d.ts +4 -0
  19. package/dist/models/index.js +4 -0
  20. package/dist/models/list-customer-claims-response-class.d.ts +31 -0
  21. package/dist/models/list-customer-claims-response-class.js +15 -0
  22. package/dist/models/update-account-request-dto.d.ts +17 -0
  23. package/dist/models/update-account-request-dto.js +5 -1
  24. package/dist/models/update-customer-claim-response-class.d.ts +25 -0
  25. package/dist/models/update-customer-claim-response-class.js +15 -0
  26. package/models/account-class.ts +8 -2
  27. package/models/claim-class.ts +138 -0
  28. package/models/create-customer-claim-response-class.ts +31 -0
  29. package/models/index.ts +4 -0
  30. package/models/list-customer-claims-response-class.ts +37 -0
  31. package/models/update-account-request-dto.ts +18 -0
  32. package/models/update-customer-claim-response-class.ts +31 -0
  33. package/package.json +2 -2
@@ -26,10 +26,11 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
26
26
  * @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
27
27
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
28
28
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
29
30
  * @param {*} [options] Override http request option.
30
31
  * @throws {RequiredError}
31
32
  */
32
- completePaymentSetup: (customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
+ completePaymentSetup: (customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
34
  /**
34
35
  * Request to initiate a payment change by customer.
35
36
  * @summary Request payment setup initiation by customer
@@ -51,10 +52,11 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
51
52
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
52
53
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
53
54
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
55
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
54
56
  * @param {*} [options] Override http request option.
55
57
  * @throws {RequiredError}
56
58
  */
57
- completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
59
+ completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
58
60
  /**
59
61
  * Request to initiate a payment change by customer.
60
62
  * @summary Request payment setup initiation by customer
@@ -76,10 +78,11 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
76
78
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
77
79
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
78
80
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
81
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
79
82
  * @param {*} [options] Override http request option.
80
83
  * @throws {RequiredError}
81
84
  */
82
- completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
85
+ completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
83
86
  /**
84
87
  * Request to initiate a payment change by customer.
85
88
  * @summary Request payment setup initiation by customer
@@ -114,6 +117,12 @@ export interface PaymentsApiCompletePaymentSetupRequest {
114
117
  * @memberof PaymentsApiCompletePaymentSetup
115
118
  */
116
119
  readonly authorization?: string;
120
+ /**
121
+ * Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
122
+ * @type {string}
123
+ * @memberof PaymentsApiCompletePaymentSetup
124
+ */
125
+ readonly idempotencyKey?: string;
117
126
  }
118
127
  /**
119
128
  * Request parameters for initiatePaymentSetup operation in PaymentsApi.
@@ -102,10 +102,11 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
102
102
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
103
103
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
105
106
  * @param {*} [options] Override http request option.
106
107
  * @throws {RequiredError}
107
108
  */
108
- completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, options) {
109
+ completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options) {
109
110
  if (options === void 0) { options = {}; }
110
111
  return __awaiter(_this, void 0, void 0, function () {
111
112
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -127,6 +128,9 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
127
128
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
128
129
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
129
130
  }
131
+ if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
132
+ localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
133
+ }
130
134
  localVarHeaderParameter['Content-Type'] = 'application/json';
131
135
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
136
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -193,15 +197,16 @@ var PaymentsApiFp = function (configuration) {
193
197
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
194
198
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
195
199
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
200
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
196
201
  * @param {*} [options] Override http request option.
197
202
  * @throws {RequiredError}
198
203
  */
199
- completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, options) {
204
+ completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options) {
200
205
  return __awaiter(this, void 0, void 0, function () {
201
206
  var localVarAxiosArgs;
202
207
  return __generator(this, function (_a) {
203
208
  switch (_a.label) {
204
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, options)];
209
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options)];
205
210
  case 1:
206
211
  localVarAxiosArgs = _a.sent();
207
212
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -246,11 +251,12 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
246
251
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
247
252
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
248
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
+ * @param {string} [idempotencyKey] Idempotency Key used to make the request idempotent. The key should be unique. Usually, a generated v4 UUID is enough. For more information about Idempotency, check out the documentation.
249
255
  * @param {*} [options] Override http request option.
250
256
  * @throws {RequiredError}
251
257
  */
252
- completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, options) {
253
- return localVarFp.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, options).then(function (request) { return request(axios, basePath); });
258
+ completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options) {
259
+ return localVarFp.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options).then(function (request) { return request(axios, basePath); });
254
260
  },
255
261
  /**
256
262
  * Request to initiate a payment change by customer.
@@ -287,7 +293,7 @@ var PaymentsApi = /** @class */ (function (_super) {
287
293
  */
288
294
  PaymentsApi.prototype.completePaymentSetup = function (requestParameters, options) {
289
295
  var _this = this;
290
- return (0, exports.PaymentsApiFp)(this.configuration).completePaymentSetup(requestParameters.customerCode, requestParameters.completePaymentSetupPspRequest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
296
+ return (0, exports.PaymentsApiFp)(this.configuration).completePaymentSetup(requestParameters.customerCode, requestParameters.completePaymentSetupPspRequest, requestParameters.authorization, requestParameters.idempotencyKey, options).then(function (request) { return request(_this.axios, _this.basePath); });
291
297
  };
292
298
  /**
293
299
  * Request to initiate a payment change by customer.
package/dist/api.d.ts CHANGED
@@ -20,5 +20,6 @@ export * from './api/policies-api';
20
20
  export * from './api/products-api';
21
21
  export declare enum Environment {
22
22
  Production = "https://apiv2.emil.de",
23
- Test = "https://apiv2-test.emil.de"
23
+ Test = "https://apiv2-test.emil.de",
24
+ Development = "https://apiv2-dev.emil.de"
24
25
  }
package/dist/api.js CHANGED
@@ -41,4 +41,5 @@ var Environment;
41
41
  (function (Environment) {
42
42
  Environment["Production"] = "https://apiv2.emil.de";
43
43
  Environment["Test"] = "https://apiv2-test.emil.de";
44
+ Environment["Development"] = "https://apiv2-dev.emil.de";
44
45
  })(Environment = exports.Environment || (exports.Environment = {}));
@@ -105,13 +105,13 @@ export interface AccountClass {
105
105
  * @type {string}
106
106
  * @memberof AccountClass
107
107
  */
108
- 'type': string;
108
+ 'type': AccountClassTypeEnum;
109
109
  /**
110
110
  * The company name of account, required for account type org
111
111
  * @type {string}
112
112
  * @memberof AccountClass
113
113
  */
114
- 'companyName': string;
114
+ 'companyName'?: string;
115
115
  /**
116
116
  * The account\'s version.
117
117
  * @type {number}
@@ -156,3 +156,8 @@ export declare const AccountClassTitleEnum: {
156
156
  readonly ProfDrMed: "Prof. Dr. med.";
157
157
  };
158
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,10 +13,14 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.AccountClassTitleEnum = void 0;
16
+ exports.AccountClassTypeEnum = exports.AccountClassTitleEnum = void 0;
17
17
  exports.AccountClassTitleEnum = {
18
18
  Empty: '',
19
19
  Dr: 'Dr.',
20
20
  DrMed: 'Dr. med.',
21
21
  ProfDrMed: 'Prof. Dr. med.'
22
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 });
@@ -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 });
@@ -110,13 +110,13 @@ export interface AccountClass {
110
110
  * @type {string}
111
111
  * @memberof AccountClass
112
112
  */
113
- 'type': string;
113
+ 'type': AccountClassTypeEnum;
114
114
  /**
115
115
  * The company name of account, required for account type org
116
116
  * @type {string}
117
117
  * @memberof AccountClass
118
118
  */
119
- 'companyName': string;
119
+ 'companyName'?: string;
120
120
  /**
121
121
  * The account\'s version.
122
122
  * @type {number}
@@ -163,5 +163,11 @@ export const AccountClassTitleEnum = {
163
163
  } as const;
164
164
 
165
165
  export type AccountClassTitleEnum = typeof AccountClassTitleEnum[keyof typeof AccountClassTitleEnum];
166
+ export const AccountClassTypeEnum = {
167
+ Person: 'person',
168
+ Org: 'org'
169
+ } as const;
170
+
171
+ export type AccountClassTypeEnum = typeof AccountClassTypeEnum[keyof typeof AccountClassTypeEnum];
166
172
 
167
173