@emilgroup/customer-sdk-node 1.12.0 → 1.13.1

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.
@@ -16,6 +16,7 @@ import { CreateCustomerRequestDto } from '../models';
16
16
  import { CreateCustomerResponseClass } from '../models';
17
17
  import { InviteByCustomerRequestDto } from '../models';
18
18
  import { InviteByCustomerResponseClass } from '../models';
19
+ import { InviteByTenantRequestDto } from '../models';
19
20
  import { InviteByTenantResponseClass } from '../models';
20
21
  import { VerifyCustomerInviteResponseClass } from '../models';
21
22
  /**
@@ -43,12 +44,12 @@ export declare const InvitesApiAxiosParamCreator: (configuration?: Configuration
43
44
  /**
44
45
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
45
46
  * @summary Invite a customer by tenant
46
- * @param {InviteByCustomerRequestDto} inviteByCustomerRequestDto
47
+ * @param {InviteByTenantRequestDto} inviteByTenantRequestDto
47
48
  * @param {string} [authorization] Bearer Token: provided by the Emil Insurance Suite\'s Auth login endpoint under the name accessToken.
48
49
  * @param {*} [options] Override http request option.
49
50
  * @throws {RequiredError}
50
51
  */
51
- inviteByTenant: (inviteByCustomerRequestDto: InviteByCustomerRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
+ inviteByTenant: (inviteByTenantRequestDto: InviteByTenantRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
53
  /**
53
54
  * Verify the invite sent to the customer via email.
54
55
  * @summary Verify customer\'s invite token
@@ -83,12 +84,12 @@ export declare const InvitesApiFp: (configuration?: Configuration) => {
83
84
  /**
84
85
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
85
86
  * @summary Invite a customer by tenant
86
- * @param {InviteByCustomerRequestDto} inviteByCustomerRequestDto
87
+ * @param {InviteByTenantRequestDto} inviteByTenantRequestDto
87
88
  * @param {string} [authorization] Bearer Token: provided by the Emil Insurance Suite\&#39;s Auth login endpoint under the name accessToken.
88
89
  * @param {*} [options] Override http request option.
89
90
  * @throws {RequiredError}
90
91
  */
91
- inviteByTenant(inviteByCustomerRequestDto: InviteByCustomerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteByTenantResponseClass>>;
92
+ inviteByTenant(inviteByTenantRequestDto: InviteByTenantRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<InviteByTenantResponseClass>>;
92
93
  /**
93
94
  * Verify the invite sent to the customer via email.
94
95
  * @summary Verify customer\'s invite token
@@ -123,12 +124,12 @@ export declare const InvitesApiFactory: (configuration?: Configuration, basePath
123
124
  /**
124
125
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
125
126
  * @summary Invite a customer by tenant
126
- * @param {InviteByCustomerRequestDto} inviteByCustomerRequestDto
127
+ * @param {InviteByTenantRequestDto} inviteByTenantRequestDto
127
128
  * @param {string} [authorization] Bearer Token: provided by the Emil Insurance Suite\&#39;s Auth login endpoint under the name accessToken.
128
129
  * @param {*} [options] Override http request option.
129
130
  * @throws {RequiredError}
130
131
  */
131
- inviteByTenant(inviteByCustomerRequestDto: InviteByCustomerRequestDto, authorization?: string, options?: any): AxiosPromise<InviteByTenantResponseClass>;
132
+ inviteByTenant(inviteByTenantRequestDto: InviteByTenantRequestDto, authorization?: string, options?: any): AxiosPromise<InviteByTenantResponseClass>;
132
133
  /**
133
134
  * Verify the invite sent to the customer via email.
134
135
  * @summary Verify customer\'s invite token
@@ -178,10 +179,10 @@ export interface InvitesApiInviteByCustomerRequest {
178
179
  export interface InvitesApiInviteByTenantRequest {
179
180
  /**
180
181
  *
181
- * @type {InviteByCustomerRequestDto}
182
+ * @type {InviteByTenantRequestDto}
182
183
  * @memberof InvitesApiInviteByTenant
183
184
  */
184
- readonly inviteByCustomerRequestDto: InviteByCustomerRequestDto;
185
+ readonly inviteByTenantRequestDto: InviteByTenantRequestDto;
185
186
  /**
186
187
  * Bearer Token: provided by the Emil Insurance Suite\&#39;s Auth login endpoint under the name accessToken.
187
188
  * @type {string}
@@ -173,18 +173,18 @@ var InvitesApiAxiosParamCreator = function (configuration) {
173
173
  /**
174
174
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
175
175
  * @summary Invite a customer by tenant
176
- * @param {InviteByCustomerRequestDto} inviteByCustomerRequestDto
176
+ * @param {InviteByTenantRequestDto} inviteByTenantRequestDto
177
177
  * @param {string} [authorization] Bearer Token: provided by the Emil Insurance Suite\&#39;s Auth login endpoint under the name accessToken.
178
178
  * @param {*} [options] Override http request option.
179
179
  * @throws {RequiredError}
180
180
  */
181
- inviteByTenant: function (inviteByCustomerRequestDto, authorization, options) {
181
+ inviteByTenant: function (inviteByTenantRequestDto, authorization, options) {
182
182
  if (options === void 0) { options = {}; }
183
183
  return __awaiter(_this, void 0, void 0, function () {
184
184
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
185
185
  return __generator(this, function (_a) {
186
- // verify required parameter 'inviteByCustomerRequestDto' is not null or undefined
187
- (0, common_1.assertParamExists)('inviteByTenant', 'inviteByCustomerRequestDto', inviteByCustomerRequestDto);
186
+ // verify required parameter 'inviteByTenantRequestDto' is not null or undefined
187
+ (0, common_1.assertParamExists)('inviteByTenant', 'inviteByTenantRequestDto', inviteByTenantRequestDto);
188
188
  localVarPath = "/v1/customers/invites/by-tenant";
189
189
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
190
190
  if (configuration) {
@@ -201,7 +201,7 @@ var InvitesApiAxiosParamCreator = function (configuration) {
201
201
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
202
202
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
203
203
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
204
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteByCustomerRequestDto, localVarRequestOptions, configuration);
204
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(inviteByTenantRequestDto, localVarRequestOptions, configuration);
205
205
  return [2 /*return*/, {
206
206
  url: (0, common_1.toPathString)(localVarUrlObj),
207
207
  options: localVarRequestOptions,
@@ -299,17 +299,17 @@ var InvitesApiFp = function (configuration) {
299
299
  /**
300
300
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
301
301
  * @summary Invite a customer by tenant
302
- * @param {InviteByCustomerRequestDto} inviteByCustomerRequestDto
302
+ * @param {InviteByTenantRequestDto} inviteByTenantRequestDto
303
303
  * @param {string} [authorization] Bearer Token: provided by the Emil Insurance Suite\&#39;s Auth login endpoint under the name accessToken.
304
304
  * @param {*} [options] Override http request option.
305
305
  * @throws {RequiredError}
306
306
  */
307
- inviteByTenant: function (inviteByCustomerRequestDto, authorization, options) {
307
+ inviteByTenant: function (inviteByTenantRequestDto, authorization, options) {
308
308
  return __awaiter(this, void 0, void 0, function () {
309
309
  var localVarAxiosArgs;
310
310
  return __generator(this, function (_a) {
311
311
  switch (_a.label) {
312
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteByTenant(inviteByCustomerRequestDto, authorization, options)];
312
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.inviteByTenant(inviteByTenantRequestDto, authorization, options)];
313
313
  case 1:
314
314
  localVarAxiosArgs = _a.sent();
315
315
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -371,13 +371,13 @@ var InvitesApiFactory = function (configuration, basePath, axios) {
371
371
  /**
372
372
  * Send a customer an invite via email to register. An account should have been created before inviting the customer. To invite users without accounts and policies is not yet supported.
373
373
  * @summary Invite a customer by tenant
374
- * @param {InviteByCustomerRequestDto} inviteByCustomerRequestDto
374
+ * @param {InviteByTenantRequestDto} inviteByTenantRequestDto
375
375
  * @param {string} [authorization] Bearer Token: provided by the Emil Insurance Suite\&#39;s Auth login endpoint under the name accessToken.
376
376
  * @param {*} [options] Override http request option.
377
377
  * @throws {RequiredError}
378
378
  */
379
- inviteByTenant: function (inviteByCustomerRequestDto, authorization, options) {
380
- return localVarFp.inviteByTenant(inviteByCustomerRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
379
+ inviteByTenant: function (inviteByTenantRequestDto, authorization, options) {
380
+ return localVarFp.inviteByTenant(inviteByTenantRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
381
381
  },
382
382
  /**
383
383
  * Verify the invite sent to the customer via email.
@@ -437,7 +437,7 @@ var InvitesApi = /** @class */ (function (_super) {
437
437
  */
438
438
  InvitesApi.prototype.inviteByTenant = function (requestParameters, options) {
439
439
  var _this = this;
440
- return (0, exports.InvitesApiFp)(this.configuration).inviteByTenant(requestParameters.inviteByCustomerRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
440
+ return (0, exports.InvitesApiFp)(this.configuration).inviteByTenant(requestParameters.inviteByTenantRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
441
441
  };
442
442
  /**
443
443
  * Verify the invite sent to the customer via email.
@@ -26,11 +26,10 @@ export declare const PaymentsApiAxiosParamCreator: (configuration?: Configuratio
26
26
  * @param {string} customerCode The customer code or \&quot;me\&quot; 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.
30
29
  * @param {*} [options] Override http request option.
31
30
  * @throws {RequiredError}
32
31
  */
33
- completePaymentSetup: (customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
+ completePaymentSetup: (customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
33
  /**
35
34
  * Request to initiate a payment change by customer.
36
35
  * @summary Request payment setup initiation
@@ -52,11 +51,10 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
52
51
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
53
52
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
54
53
  * @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.
56
54
  * @param {*} [options] Override http request option.
57
55
  * @throws {RequiredError}
58
56
  */
59
- completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
57
+ completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CompletePaymentSetupResponseClass>>;
60
58
  /**
61
59
  * Request to initiate a payment change by customer.
62
60
  * @summary Request payment setup initiation
@@ -78,11 +76,10 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
78
76
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
79
77
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
80
78
  * @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.
82
79
  * @param {*} [options] Override http request option.
83
80
  * @throws {RequiredError}
84
81
  */
85
- completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, idempotencyKey?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
82
+ completePaymentSetup(customerCode: string, completePaymentSetupPspRequest: CompletePaymentSetupPspRequest, authorization?: string, options?: any): AxiosPromise<CompletePaymentSetupResponseClass>;
86
83
  /**
87
84
  * Request to initiate a payment change by customer.
88
85
  * @summary Request payment setup initiation
@@ -117,12 +114,6 @@ export interface PaymentsApiCompletePaymentSetupRequest {
117
114
  * @memberof PaymentsApiCompletePaymentSetup
118
115
  */
119
116
  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;
126
117
  }
127
118
  /**
128
119
  * Request parameters for initiatePaymentSetup operation in PaymentsApi.
@@ -102,11 +102,10 @@ 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.
106
105
  * @param {*} [options] Override http request option.
107
106
  * @throws {RequiredError}
108
107
  */
109
- completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options) {
108
+ completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, options) {
110
109
  if (options === void 0) { options = {}; }
111
110
  return __awaiter(_this, void 0, void 0, function () {
112
111
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -128,9 +127,6 @@ var PaymentsApiAxiosParamCreator = function (configuration) {
128
127
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
128
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
129
  }
131
- if (idempotencyKey !== undefined && idempotencyKey !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
132
- localVarHeaderParameter['Idempotency-Key'] = String(idempotencyKey ? idempotencyKey : baseAccessToken);
133
- }
134
130
  localVarHeaderParameter['Content-Type'] = 'application/json';
135
131
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
136
132
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -197,16 +193,15 @@ var PaymentsApiFp = function (configuration) {
197
193
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
198
194
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
199
195
  * @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.
201
196
  * @param {*} [options] Override http request option.
202
197
  * @throws {RequiredError}
203
198
  */
204
- completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options) {
199
+ completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, options) {
205
200
  return __awaiter(this, void 0, void 0, function () {
206
201
  var localVarAxiosArgs;
207
202
  return __generator(this, function (_a) {
208
203
  switch (_a.label) {
209
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options)];
204
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, options)];
210
205
  case 1:
211
206
  localVarAxiosArgs = _a.sent();
212
207
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -251,12 +246,11 @@ var PaymentsApiFactory = function (configuration, basePath, axios) {
251
246
  * @param {string} customerCode The customer code or \&quot;me\&quot; for the currently logged in customer.
252
247
  * @param {CompletePaymentSetupPspRequest} completePaymentSetupPspRequest
253
248
  * @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.
255
249
  * @param {*} [options] Override http request option.
256
250
  * @throws {RequiredError}
257
251
  */
258
- completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options) {
259
- return localVarFp.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, idempotencyKey, options).then(function (request) { return request(axios, basePath); });
252
+ completePaymentSetup: function (customerCode, completePaymentSetupPspRequest, authorization, options) {
253
+ return localVarFp.completePaymentSetup(customerCode, completePaymentSetupPspRequest, authorization, options).then(function (request) { return request(axios, basePath); });
260
254
  },
261
255
  /**
262
256
  * Request to initiate a payment change by customer.
@@ -293,7 +287,7 @@ var PaymentsApi = /** @class */ (function (_super) {
293
287
  */
294
288
  PaymentsApi.prototype.completePaymentSetup = function (requestParameters, options) {
295
289
  var _this = this;
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); });
290
+ return (0, exports.PaymentsApiFp)(this.configuration).completePaymentSetup(requestParameters.customerCode, requestParameters.completePaymentSetupPspRequest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
297
291
  };
298
292
  /**
299
293
  * Request to initiate a payment change by customer.
@@ -0,0 +1,48 @@
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 CurrencyClass
16
+ */
17
+ export interface CurrencyClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof CurrencyClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Name of currency in English.
26
+ * @type {string}
27
+ * @memberof CurrencyClass
28
+ */
29
+ 'name': string;
30
+ /**
31
+ * Name of currency in native language.
32
+ * @type {string}
33
+ * @memberof CurrencyClass
34
+ */
35
+ 'nativeName': string;
36
+ /**
37
+ * Code defined by ISO 4217 standard.
38
+ * @type {string}
39
+ * @memberof CurrencyClass
40
+ */
41
+ 'code': string;
42
+ /**
43
+ * Currency symbols are graphical representations used to denote a particular currency in written or printed form.
44
+ * @type {string}
45
+ * @memberof CurrencyClass
46
+ */
47
+ 'symbol': string;
48
+ }
@@ -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 GetCustomerClaimResponseClass
17
+ */
18
+ export interface GetCustomerClaimResponseClass {
19
+ /**
20
+ * Claim
21
+ * @type {ClaimClass}
22
+ * @memberof GetCustomerClaimResponseClass
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 });
@@ -12,10 +12,12 @@ export * from './create-customer-claim-response-class';
12
12
  export * from './create-customer-request-dto';
13
13
  export * from './create-customer-response-class';
14
14
  export * from './create-presigned-post-response-class';
15
+ export * from './currency-class';
15
16
  export * from './customer-class';
16
17
  export * from './customer-document-class';
17
18
  export * from './customer-product-class';
18
19
  export * from './forgot-password-request-dto';
20
+ export * from './get-customer-claim-response-class';
19
21
  export * from './get-customer-document-download-url-response-class';
20
22
  export * from './get-customer-response-class';
21
23
  export * from './get-policy-response-class';
@@ -27,6 +29,7 @@ export * from './initiate-payment-setup-response-class';
27
29
  export * from './initiate-stripe-payment-setup-response-class';
28
30
  export * from './invite-by-customer-request-dto';
29
31
  export * from './invite-by-customer-response-class';
32
+ export * from './invite-by-tenant-request-dto';
30
33
  export * from './invite-by-tenant-response-class';
31
34
  export * from './invite-class';
32
35
  export * from './invoice-class';
@@ -28,10 +28,12 @@ __exportStar(require("./create-customer-claim-response-class"), exports);
28
28
  __exportStar(require("./create-customer-request-dto"), exports);
29
29
  __exportStar(require("./create-customer-response-class"), exports);
30
30
  __exportStar(require("./create-presigned-post-response-class"), exports);
31
+ __exportStar(require("./currency-class"), exports);
31
32
  __exportStar(require("./customer-class"), exports);
32
33
  __exportStar(require("./customer-document-class"), exports);
33
34
  __exportStar(require("./customer-product-class"), exports);
34
35
  __exportStar(require("./forgot-password-request-dto"), exports);
36
+ __exportStar(require("./get-customer-claim-response-class"), exports);
35
37
  __exportStar(require("./get-customer-document-download-url-response-class"), exports);
36
38
  __exportStar(require("./get-customer-response-class"), exports);
37
39
  __exportStar(require("./get-policy-response-class"), exports);
@@ -43,6 +45,7 @@ __exportStar(require("./initiate-payment-setup-response-class"), exports);
43
45
  __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
44
46
  __exportStar(require("./invite-by-customer-request-dto"), exports);
45
47
  __exportStar(require("./invite-by-customer-response-class"), exports);
48
+ __exportStar(require("./invite-by-tenant-request-dto"), exports);
46
49
  __exportStar(require("./invite-by-tenant-response-class"), exports);
47
50
  __exportStar(require("./invite-class"), exports);
48
51
  __exportStar(require("./invoice-class"), exports);
@@ -0,0 +1,24 @@
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 InviteByTenantRequestDto
16
+ */
17
+ export interface InviteByTenantRequestDto {
18
+ /**
19
+ * User\'s email address
20
+ * @type {string}
21
+ * @memberof InviteByTenantRequestDto
22
+ */
23
+ 'email': string;
24
+ }
@@ -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 });
@@ -9,6 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CurrencyClass } from './currency-class';
12
13
  import { SharedInvoiceItemClass } from './shared-invoice-item-class';
13
14
  /**
14
15
  *
@@ -118,6 +119,12 @@ export interface InvoiceClass {
118
119
  * @memberof InvoiceClass
119
120
  */
120
121
  'invoiceItems': Array<SharedInvoiceItemClass>;
122
+ /**
123
+ * Currency. Set to EUR by default
124
+ * @type {CurrencyClass}
125
+ * @memberof InvoiceClass
126
+ */
127
+ 'currency': CurrencyClass;
121
128
  }
122
129
  export declare const InvoiceClassTypeEnum: {
123
130
  readonly Initial: "initial";
@@ -27,4 +27,22 @@ export interface PolicyObjectClass {
27
27
  * @memberof PolicyObjectClass
28
28
  */
29
29
  'data': object;
30
+ /**
31
+ * Unique identifier referencing the insured object.
32
+ * @type {number}
33
+ * @memberof PolicyObjectClass
34
+ */
35
+ 'insuredObjectId': number;
36
+ /**
37
+ * Time at which the object was created.
38
+ * @type {string}
39
+ * @memberof PolicyObjectClass
40
+ */
41
+ 'createdAt': string;
42
+ /**
43
+ * Time at which the object was updated.
44
+ * @type {string}
45
+ * @memberof PolicyObjectClass
46
+ */
47
+ 'updatedAt': string;
30
48
  }
@@ -20,5 +20,5 @@ export interface TerminateCustomerPolicyRequestDto {
20
20
  * @type {string}
21
21
  * @memberof TerminateCustomerPolicyRequestDto
22
22
  */
23
- 'from': string;
23
+ 'from': string | null;
24
24
  }
@@ -0,0 +1,54 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CurrencyClass
21
+ */
22
+ export interface CurrencyClass {
23
+ /**
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
+ * @type {number}
26
+ * @memberof CurrencyClass
27
+ */
28
+ 'id': number;
29
+ /**
30
+ * Name of currency in English.
31
+ * @type {string}
32
+ * @memberof CurrencyClass
33
+ */
34
+ 'name': string;
35
+ /**
36
+ * Name of currency in native language.
37
+ * @type {string}
38
+ * @memberof CurrencyClass
39
+ */
40
+ 'nativeName': string;
41
+ /**
42
+ * Code defined by ISO 4217 standard.
43
+ * @type {string}
44
+ * @memberof CurrencyClass
45
+ */
46
+ 'code': string;
47
+ /**
48
+ * Currency symbols are graphical representations used to denote a particular currency in written or printed form.
49
+ * @type {string}
50
+ * @memberof CurrencyClass
51
+ */
52
+ 'symbol': string;
53
+ }
54
+
@@ -0,0 +1,31 @@
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 { ClaimClass } from './claim-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface GetCustomerClaimResponseClass
22
+ */
23
+ export interface GetCustomerClaimResponseClass {
24
+ /**
25
+ * Claim
26
+ * @type {ClaimClass}
27
+ * @memberof GetCustomerClaimResponseClass
28
+ */
29
+ 'claim': ClaimClass;
30
+ }
31
+
package/models/index.ts CHANGED
@@ -12,10 +12,12 @@ export * from './create-customer-claim-response-class';
12
12
  export * from './create-customer-request-dto';
13
13
  export * from './create-customer-response-class';
14
14
  export * from './create-presigned-post-response-class';
15
+ export * from './currency-class';
15
16
  export * from './customer-class';
16
17
  export * from './customer-document-class';
17
18
  export * from './customer-product-class';
18
19
  export * from './forgot-password-request-dto';
20
+ export * from './get-customer-claim-response-class';
19
21
  export * from './get-customer-document-download-url-response-class';
20
22
  export * from './get-customer-response-class';
21
23
  export * from './get-policy-response-class';
@@ -27,6 +29,7 @@ export * from './initiate-payment-setup-response-class';
27
29
  export * from './initiate-stripe-payment-setup-response-class';
28
30
  export * from './invite-by-customer-request-dto';
29
31
  export * from './invite-by-customer-response-class';
32
+ export * from './invite-by-tenant-request-dto';
30
33
  export * from './invite-by-tenant-response-class';
31
34
  export * from './invite-class';
32
35
  export * from './invoice-class';
@@ -0,0 +1,30 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface InviteByTenantRequestDto
21
+ */
22
+ export interface InviteByTenantRequestDto {
23
+ /**
24
+ * User\'s email address
25
+ * @type {string}
26
+ * @memberof InviteByTenantRequestDto
27
+ */
28
+ 'email': string;
29
+ }
30
+