@emilgroup/insurance-sdk-node 1.11.0 → 1.12.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.
@@ -65,6 +65,8 @@ models/get-product-version-response-class.ts
65
65
  models/grouped-product-factor-class.ts
66
66
  models/grouped-product-factor-value-class.ts
67
67
  models/grouped-product-factors-response-class.ts
68
+ models/grpc-patch-lead-request-dto.ts
69
+ models/grpc-update-lead-request-dto.ts
68
70
  models/index.ts
69
71
  models/insured-object-class.ts
70
72
  models/insured-object-type-class.ts
@@ -85,6 +87,7 @@ models/list-product-fields-response-class.ts
85
87
  models/list-products-response-class.ts
86
88
  models/list-request-dto.ts
87
89
  models/patch-lead-request-dto.ts
90
+ models/patch-lead-response-class.ts
88
91
  models/policy-class.ts
89
92
  models/policy-object-class.ts
90
93
  models/policy-object-dto.ts
package/README.md CHANGED
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
17
17
  Navigate to the folder of your consuming project and run one of the following commands:
18
18
 
19
19
  ```
20
- npm install @emilgroup/insurance-sdk-node@1.11.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.12.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.11.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.12.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
package/api/leads-api.ts CHANGED
@@ -29,6 +29,10 @@ import { GetLeadResponseClass } from '../models';
29
29
  // @ts-ignore
30
30
  import { ListLeadsResponseClass } from '../models';
31
31
  // @ts-ignore
32
+ import { PatchLeadRequestDto } from '../models';
33
+ // @ts-ignore
34
+ import { PatchLeadResponseClass } from '../models';
35
+ // @ts-ignore
32
36
  import { UpdateLeadRequestDto } from '../models';
33
37
  // @ts-ignore
34
38
  import { UpdateLeadResponseClass } from '../models';
@@ -210,6 +214,57 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
210
214
  options: localVarRequestOptions,
211
215
  };
212
216
  },
217
+ /**
218
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
219
+ * @summary Update the lead
220
+ * @param {string} code Unique identifier for the object.
221
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
222
+ * @param {string} [authorization] Bearer Token
223
+ * @param {*} [options] Override http request option.
224
+ * @throws {RequiredError}
225
+ */
226
+ patchLead: async (code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
227
+ // verify required parameter 'code' is not null or undefined
228
+ assertParamExists('patchLead', 'code', code)
229
+ // verify required parameter 'patchLeadRequestDto' is not null or undefined
230
+ assertParamExists('patchLead', 'patchLeadRequestDto', patchLeadRequestDto)
231
+ const localVarPath = `/insuranceservice/v1/leads/{code}`
232
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
235
+ let baseOptions;
236
+ let baseAccessToken;
237
+ if (configuration) {
238
+ baseOptions = configuration.baseOptions;
239
+ baseAccessToken = configuration.accessToken;
240
+ }
241
+
242
+ const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
243
+ const localVarHeaderParameter = {} as any;
244
+ const localVarQueryParameter = {} as any;
245
+
246
+ // authentication bearer required
247
+ // http bearer authentication required
248
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
249
+
250
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
+ }
253
+
254
+
255
+
256
+ localVarHeaderParameter['Content-Type'] = 'application/json';
257
+
258
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
259
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
260
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
261
+ localVarRequestOptions.data = serializeDataIfNeeded(patchLeadRequestDto, localVarRequestOptions, configuration)
262
+
263
+ return {
264
+ url: toPathString(localVarUrlObj),
265
+ options: localVarRequestOptions,
266
+ };
267
+ },
213
268
  /**
214
269
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
215
270
  * @summary Update the lead
@@ -313,6 +368,19 @@ export const LeadsApiFp = function(configuration?: Configuration) {
313
368
  const localVarAxiosArgs = await localVarAxiosParamCreator.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options);
314
369
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
315
370
  },
371
+ /**
372
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
373
+ * @summary Update the lead
374
+ * @param {string} code Unique identifier for the object.
375
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
376
+ * @param {string} [authorization] Bearer Token
377
+ * @param {*} [options] Override http request option.
378
+ * @throws {RequiredError}
379
+ */
380
+ async patchLead(code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchLeadResponseClass>> {
381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.patchLead(code, patchLeadRequestDto, authorization, options);
382
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
383
+ },
316
384
  /**
317
385
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
318
386
  * @summary Update the lead
@@ -375,6 +443,18 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
375
443
  listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass> {
376
444
  return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
377
445
  },
446
+ /**
447
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
448
+ * @summary Update the lead
449
+ * @param {string} code Unique identifier for the object.
450
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
451
+ * @param {string} [authorization] Bearer Token
452
+ * @param {*} [options] Override http request option.
453
+ * @throws {RequiredError}
454
+ */
455
+ patchLead(code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: any): AxiosPromise<PatchLeadResponseClass> {
456
+ return localVarFp.patchLead(code, patchLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
457
+ },
378
458
  /**
379
459
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
380
460
  * @summary Update the lead
@@ -495,6 +575,34 @@ export interface LeadsApiListLeadsRequest {
495
575
  readonly expand?: any
496
576
  }
497
577
 
578
+ /**
579
+ * Request parameters for patchLead operation in LeadsApi.
580
+ * @export
581
+ * @interface LeadsApiPatchLeadRequest
582
+ */
583
+ export interface LeadsApiPatchLeadRequest {
584
+ /**
585
+ * Unique identifier for the object.
586
+ * @type {string}
587
+ * @memberof LeadsApiPatchLead
588
+ */
589
+ readonly code: string
590
+
591
+ /**
592
+ *
593
+ * @type {PatchLeadRequestDto}
594
+ * @memberof LeadsApiPatchLead
595
+ */
596
+ readonly patchLeadRequestDto: PatchLeadRequestDto
597
+
598
+ /**
599
+ * Bearer Token
600
+ * @type {string}
601
+ * @memberof LeadsApiPatchLead
602
+ */
603
+ readonly authorization?: string
604
+ }
605
+
498
606
  /**
499
607
  * Request parameters for updateLead operation in LeadsApi.
500
608
  * @export
@@ -566,6 +674,18 @@ export class LeadsApi extends BaseAPI {
566
674
  return LeadsApiFp(this.configuration).listLeads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
567
675
  }
568
676
 
677
+ /**
678
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
679
+ * @summary Update the lead
680
+ * @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
681
+ * @param {*} [options] Override http request option.
682
+ * @throws {RequiredError}
683
+ * @memberof LeadsApi
684
+ */
685
+ public patchLead(requestParameters: LeadsApiPatchLeadRequest, options?: AxiosRequestConfig) {
686
+ return LeadsApiFp(this.configuration).patchLead(requestParameters.code, requestParameters.patchLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
687
+ }
688
+
569
689
  /**
570
690
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
571
691
  * @summary Update the lead
@@ -16,6 +16,8 @@ import { CreateLeadRequestDto } from '../models';
16
16
  import { CreateLeadResponseClass } from '../models';
17
17
  import { GetLeadResponseClass } from '../models';
18
18
  import { ListLeadsResponseClass } from '../models';
19
+ import { PatchLeadRequestDto } from '../models';
20
+ import { PatchLeadResponseClass } from '../models';
19
21
  import { UpdateLeadRequestDto } from '../models';
20
22
  import { UpdateLeadResponseClass } from '../models';
21
23
  /**
@@ -56,6 +58,16 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
56
58
  * @throws {RequiredError}
57
59
  */
58
60
  listLeads: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
+ /**
62
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
63
+ * @summary Update the lead
64
+ * @param {string} code Unique identifier for the object.
65
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
66
+ * @param {string} [authorization] Bearer Token
67
+ * @param {*} [options] Override http request option.
68
+ * @throws {RequiredError}
69
+ */
70
+ patchLead: (code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
59
71
  /**
60
72
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
61
73
  * @summary Update the lead
@@ -105,6 +117,16 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
105
117
  * @throws {RequiredError}
106
118
  */
107
119
  listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadsResponseClass>>;
120
+ /**
121
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
122
+ * @summary Update the lead
123
+ * @param {string} code Unique identifier for the object.
124
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
125
+ * @param {string} [authorization] Bearer Token
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ patchLead(code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchLeadResponseClass>>;
108
130
  /**
109
131
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
110
132
  * @summary Update the lead
@@ -154,6 +176,16 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
154
176
  * @throws {RequiredError}
155
177
  */
156
178
  listLeads(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListLeadsResponseClass>;
179
+ /**
180
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
181
+ * @summary Update the lead
182
+ * @param {string} code Unique identifier for the object.
183
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
184
+ * @param {string} [authorization] Bearer Token
185
+ * @param {*} [options] Override http request option.
186
+ * @throws {RequiredError}
187
+ */
188
+ patchLead(code: string, patchLeadRequestDto: PatchLeadRequestDto, authorization?: string, options?: any): AxiosPromise<PatchLeadResponseClass>;
157
189
  /**
158
190
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
159
191
  * @summary Update the lead
@@ -258,6 +290,31 @@ export interface LeadsApiListLeadsRequest {
258
290
  */
259
291
  readonly expand?: any;
260
292
  }
293
+ /**
294
+ * Request parameters for patchLead operation in LeadsApi.
295
+ * @export
296
+ * @interface LeadsApiPatchLeadRequest
297
+ */
298
+ export interface LeadsApiPatchLeadRequest {
299
+ /**
300
+ * Unique identifier for the object.
301
+ * @type {string}
302
+ * @memberof LeadsApiPatchLead
303
+ */
304
+ readonly code: string;
305
+ /**
306
+ *
307
+ * @type {PatchLeadRequestDto}
308
+ * @memberof LeadsApiPatchLead
309
+ */
310
+ readonly patchLeadRequestDto: PatchLeadRequestDto;
311
+ /**
312
+ * Bearer Token
313
+ * @type {string}
314
+ * @memberof LeadsApiPatchLead
315
+ */
316
+ readonly authorization?: string;
317
+ }
261
318
  /**
262
319
  * Request parameters for updateLead operation in LeadsApi.
263
320
  * @export
@@ -317,6 +374,15 @@ export declare class LeadsApi extends BaseAPI {
317
374
  * @memberof LeadsApi
318
375
  */
319
376
  listLeads(requestParameters?: LeadsApiListLeadsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadsResponseClass, any>>;
377
+ /**
378
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
379
+ * @summary Update the lead
380
+ * @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
381
+ * @param {*} [options] Override http request option.
382
+ * @throws {RequiredError}
383
+ * @memberof LeadsApi
384
+ */
385
+ patchLead(requestParameters: LeadsApiPatchLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchLeadResponseClass, any>>;
320
386
  /**
321
387
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
322
388
  * @summary Update the lead
@@ -265,6 +265,59 @@ var LeadsApiAxiosParamCreator = function (configuration) {
265
265
  });
266
266
  });
267
267
  },
268
+ /**
269
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
270
+ * @summary Update the lead
271
+ * @param {string} code Unique identifier for the object.
272
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
273
+ * @param {string} [authorization] Bearer Token
274
+ * @param {*} [options] Override http request option.
275
+ * @throws {RequiredError}
276
+ */
277
+ patchLead: function (code, patchLeadRequestDto, authorization, options) {
278
+ if (options === void 0) { options = {}; }
279
+ return __awaiter(_this, void 0, void 0, function () {
280
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
281
+ return __generator(this, function (_a) {
282
+ switch (_a.label) {
283
+ case 0:
284
+ // verify required parameter 'code' is not null or undefined
285
+ (0, common_1.assertParamExists)('patchLead', 'code', code);
286
+ // verify required parameter 'patchLeadRequestDto' is not null or undefined
287
+ (0, common_1.assertParamExists)('patchLead', 'patchLeadRequestDto', patchLeadRequestDto);
288
+ localVarPath = "/insuranceservice/v1/leads/{code}"
289
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
290
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
291
+ if (configuration) {
292
+ baseOptions = configuration.baseOptions;
293
+ baseAccessToken = configuration.accessToken;
294
+ }
295
+ localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
296
+ localVarHeaderParameter = {};
297
+ localVarQueryParameter = {};
298
+ // authentication bearer required
299
+ // http bearer authentication required
300
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
301
+ case 1:
302
+ // authentication bearer required
303
+ // http bearer authentication required
304
+ _a.sent();
305
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
306
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
307
+ }
308
+ localVarHeaderParameter['Content-Type'] = 'application/json';
309
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
310
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
311
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
312
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchLeadRequestDto, localVarRequestOptions, configuration);
313
+ return [2 /*return*/, {
314
+ url: (0, common_1.toPathString)(localVarUrlObj),
315
+ options: localVarRequestOptions,
316
+ }];
317
+ }
318
+ });
319
+ });
320
+ },
268
321
  /**
269
322
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
270
323
  * @summary Update the lead
@@ -397,6 +450,28 @@ var LeadsApiFp = function (configuration) {
397
450
  });
398
451
  });
399
452
  },
453
+ /**
454
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
455
+ * @summary Update the lead
456
+ * @param {string} code Unique identifier for the object.
457
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
458
+ * @param {string} [authorization] Bearer Token
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ */
462
+ patchLead: function (code, patchLeadRequestDto, authorization, options) {
463
+ return __awaiter(this, void 0, void 0, function () {
464
+ var localVarAxiosArgs;
465
+ return __generator(this, function (_a) {
466
+ switch (_a.label) {
467
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchLead(code, patchLeadRequestDto, authorization, options)];
468
+ case 1:
469
+ localVarAxiosArgs = _a.sent();
470
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
471
+ }
472
+ });
473
+ });
474
+ },
400
475
  /**
401
476
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
402
477
  * @summary Update the lead
@@ -468,6 +543,18 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
468
543
  listLeads: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
469
544
  return localVarFp.listLeads(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
470
545
  },
546
+ /**
547
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
548
+ * @summary Update the lead
549
+ * @param {string} code Unique identifier for the object.
550
+ * @param {PatchLeadRequestDto} patchLeadRequestDto
551
+ * @param {string} [authorization] Bearer Token
552
+ * @param {*} [options] Override http request option.
553
+ * @throws {RequiredError}
554
+ */
555
+ patchLead: function (code, patchLeadRequestDto, authorization, options) {
556
+ return localVarFp.patchLead(code, patchLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
557
+ },
471
558
  /**
472
559
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
473
560
  * @summary Update the lead
@@ -531,6 +618,18 @@ var LeadsApi = /** @class */ (function (_super) {
531
618
  if (requestParameters === void 0) { requestParameters = {}; }
532
619
  return (0, exports.LeadsApiFp)(this.configuration).listLeads(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
533
620
  };
621
+ /**
622
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
623
+ * @summary Update the lead
624
+ * @param {LeadsApiPatchLeadRequest} requestParameters Request parameters.
625
+ * @param {*} [options] Override http request option.
626
+ * @throws {RequiredError}
627
+ * @memberof LeadsApi
628
+ */
629
+ LeadsApi.prototype.patchLead = function (requestParameters, options) {
630
+ var _this = this;
631
+ return (0, exports.LeadsApiFp)(this.configuration).patchLead(requestParameters.code, requestParameters.patchLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
632
+ };
534
633
  /**
535
634
  * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
536
635
  * @summary Update the lead
@@ -0,0 +1,77 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CreateAccountRequestDto } from './create-account-request-dto';
13
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
+ import { UploadedDocumentDto } from './uploaded-document-dto';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GrpcPatchLeadRequestDto
21
+ */
22
+ export interface GrpcPatchLeadRequestDto {
23
+ /**
24
+ * Unique identifier referencing the product version.
25
+ * @type {number}
26
+ * @memberof GrpcPatchLeadRequestDto
27
+ */
28
+ 'productVersionId'?: number;
29
+ /**
30
+ * Account
31
+ * @type {CreateAccountRequestDto}
32
+ * @memberof GrpcPatchLeadRequestDto
33
+ */
34
+ 'account'?: CreateAccountRequestDto;
35
+ /**
36
+ * Policy
37
+ * @type {CreatePolicyRequestDto}
38
+ * @memberof GrpcPatchLeadRequestDto
39
+ */
40
+ 'policy'?: CreatePolicyRequestDto;
41
+ /**
42
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
43
+ * @type {string}
44
+ * @memberof GrpcPatchLeadRequestDto
45
+ */
46
+ 'status'?: string;
47
+ /**
48
+ * Bank account
49
+ * @type {CreateBankAccountRequestDto}
50
+ * @memberof GrpcPatchLeadRequestDto
51
+ */
52
+ 'bankAccount'?: CreateBankAccountRequestDto;
53
+ /**
54
+ * Custom data.
55
+ * @type {object}
56
+ * @memberof GrpcPatchLeadRequestDto
57
+ */
58
+ 'customData'?: object;
59
+ /**
60
+ * Upload document
61
+ * @type {UploadedDocumentDto}
62
+ * @memberof GrpcPatchLeadRequestDto
63
+ */
64
+ 'uploadedDocument'?: UploadedDocumentDto;
65
+ /**
66
+ * Premium Override
67
+ * @type {PremiumOverrideRequestDto}
68
+ * @memberof GrpcPatchLeadRequestDto
69
+ */
70
+ 'premiumOverride'?: PremiumOverrideRequestDto;
71
+ /**
72
+ * Unique identifier of the account that this object belongs to.
73
+ * @type {string}
74
+ * @memberof GrpcPatchLeadRequestDto
75
+ */
76
+ 'accountCode'?: string;
77
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,89 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { CreateAccountRequestDto } from './create-account-request-dto';
13
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
+ import { UploadedDocumentDto } from './uploaded-document-dto';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface GrpcUpdateLeadRequestDto
21
+ */
22
+ export interface GrpcUpdateLeadRequestDto {
23
+ /**
24
+ * Unique identifier referencing the product version.
25
+ * @type {number}
26
+ * @memberof GrpcUpdateLeadRequestDto
27
+ */
28
+ 'productVersionId'?: number;
29
+ /**
30
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
31
+ * @type {string}
32
+ * @memberof GrpcUpdateLeadRequestDto
33
+ */
34
+ 'status': string;
35
+ /**
36
+ * Custom data.
37
+ * @type {object}
38
+ * @memberof GrpcUpdateLeadRequestDto
39
+ */
40
+ 'customData'?: object;
41
+ /**
42
+ * Premium Override
43
+ * @type {Array<PremiumOverrideRequestDto>}
44
+ * @memberof GrpcUpdateLeadRequestDto
45
+ */
46
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
47
+ /**
48
+ *
49
+ * @type {string}
50
+ * @memberof GrpcUpdateLeadRequestDto
51
+ */
52
+ 'code': string;
53
+ /**
54
+ *
55
+ * @type {CreateAccountRequestDto}
56
+ * @memberof GrpcUpdateLeadRequestDto
57
+ */
58
+ 'account': CreateAccountRequestDto;
59
+ /**
60
+ *
61
+ * @type {CreatePolicyRequestDto}
62
+ * @memberof GrpcUpdateLeadRequestDto
63
+ */
64
+ 'policy': CreatePolicyRequestDto;
65
+ /**
66
+ *
67
+ * @type {boolean}
68
+ * @memberof GrpcUpdateLeadRequestDto
69
+ */
70
+ 'shouldTriggerWorkflow'?: boolean;
71
+ /**
72
+ *
73
+ * @type {CreateBankAccountRequestDto}
74
+ * @memberof GrpcUpdateLeadRequestDto
75
+ */
76
+ 'bankAccount'?: CreateBankAccountRequestDto;
77
+ /**
78
+ *
79
+ * @type {UploadedDocumentDto}
80
+ * @memberof GrpcUpdateLeadRequestDto
81
+ */
82
+ 'uploadedDocument'?: UploadedDocumentDto;
83
+ /**
84
+ *
85
+ * @type {string}
86
+ * @memberof GrpcUpdateLeadRequestDto
87
+ */
88
+ 'accountCode'?: string;
89
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -45,6 +45,8 @@ export * from './get-product-version-response-class';
45
45
  export * from './grouped-product-factor-class';
46
46
  export * from './grouped-product-factor-value-class';
47
47
  export * from './grouped-product-factors-response-class';
48
+ export * from './grpc-patch-lead-request-dto';
49
+ export * from './grpc-update-lead-request-dto';
48
50
  export * from './insured-object-class';
49
51
  export * from './insured-object-type-class';
50
52
  export * from './invoice-item-class';
@@ -64,6 +66,7 @@ export * from './list-product-fields-response-class';
64
66
  export * from './list-products-response-class';
65
67
  export * from './list-request-dto';
66
68
  export * from './patch-lead-request-dto';
69
+ export * from './patch-lead-response-class';
67
70
  export * from './policy-class';
68
71
  export * from './policy-object-class';
69
72
  export * from './policy-object-dto';
@@ -61,6 +61,8 @@ __exportStar(require("./get-product-version-response-class"), exports);
61
61
  __exportStar(require("./grouped-product-factor-class"), exports);
62
62
  __exportStar(require("./grouped-product-factor-value-class"), exports);
63
63
  __exportStar(require("./grouped-product-factors-response-class"), exports);
64
+ __exportStar(require("./grpc-patch-lead-request-dto"), exports);
65
+ __exportStar(require("./grpc-update-lead-request-dto"), exports);
64
66
  __exportStar(require("./insured-object-class"), exports);
65
67
  __exportStar(require("./insured-object-type-class"), exports);
66
68
  __exportStar(require("./invoice-item-class"), exports);
@@ -80,6 +82,7 @@ __exportStar(require("./list-product-fields-response-class"), exports);
80
82
  __exportStar(require("./list-products-response-class"), exports);
81
83
  __exportStar(require("./list-request-dto"), exports);
82
84
  __exportStar(require("./patch-lead-request-dto"), exports);
85
+ __exportStar(require("./patch-lead-response-class"), exports);
83
86
  __exportStar(require("./policy-class"), exports);
84
87
  __exportStar(require("./policy-object-class"), exports);
85
88
  __exportStar(require("./policy-object-dto"), exports);
@@ -27,49 +27,49 @@ export interface PatchLeadRequestDto {
27
27
  */
28
28
  'productVersionId'?: number;
29
29
  /**
30
- * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
31
- * @type {string}
30
+ * Account
31
+ * @type {CreateAccountRequestDto}
32
32
  * @memberof PatchLeadRequestDto
33
33
  */
34
- 'status'?: string;
34
+ 'account'?: CreateAccountRequestDto;
35
35
  /**
36
- * Custom data.
37
- * @type {object}
36
+ * Policy
37
+ * @type {CreatePolicyRequestDto}
38
38
  * @memberof PatchLeadRequestDto
39
39
  */
40
- 'customData'?: object;
40
+ 'policy'?: CreatePolicyRequestDto;
41
41
  /**
42
- * Premium Override
43
- * @type {Array<PremiumOverrideRequestDto>}
42
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
43
+ * @type {string}
44
44
  * @memberof PatchLeadRequestDto
45
45
  */
46
- 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
46
+ 'status'?: string;
47
47
  /**
48
- *
49
- * @type {CreateAccountRequestDto}
48
+ * Bank account
49
+ * @type {CreateBankAccountRequestDto}
50
50
  * @memberof PatchLeadRequestDto
51
51
  */
52
- 'account'?: CreateAccountRequestDto;
52
+ 'bankAccount'?: CreateBankAccountRequestDto;
53
53
  /**
54
- *
55
- * @type {CreatePolicyRequestDto}
54
+ * Custom data.
55
+ * @type {object}
56
56
  * @memberof PatchLeadRequestDto
57
57
  */
58
- 'policy'?: CreatePolicyRequestDto;
58
+ 'customData'?: object;
59
59
  /**
60
- *
61
- * @type {CreateBankAccountRequestDto}
60
+ * Upload document
61
+ * @type {UploadedDocumentDto}
62
62
  * @memberof PatchLeadRequestDto
63
63
  */
64
- 'bankAccount'?: CreateBankAccountRequestDto;
64
+ 'uploadedDocument'?: UploadedDocumentDto;
65
65
  /**
66
- *
67
- * @type {UploadedDocumentDto}
66
+ * Premium Override
67
+ * @type {PremiumOverrideRequestDto}
68
68
  * @memberof PatchLeadRequestDto
69
69
  */
70
- 'uploadedDocument'?: UploadedDocumentDto;
70
+ 'premiumOverride'?: PremiumOverrideRequestDto;
71
71
  /**
72
- *
72
+ * Unique identifier of the account that this object belongs to.
73
73
  * @type {string}
74
74
  * @memberof PatchLeadRequestDto
75
75
  */
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { LeadClass } from './lead-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PatchLeadResponseClass
17
+ */
18
+ export interface PatchLeadResponseClass {
19
+ /**
20
+ * Lead
21
+ * @type {LeadClass}
22
+ * @memberof PatchLeadResponseClass
23
+ */
24
+ 'lead': LeadClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -37,7 +37,7 @@ export interface UpdateLeadRequestDto {
37
37
  * @type {object}
38
38
  * @memberof UpdateLeadRequestDto
39
39
  */
40
- 'customData'?: object;
40
+ 'customData': object;
41
41
  /**
42
42
  * Premium Override
43
43
  * @type {Array<PremiumOverrideRequestDto>}
@@ -56,12 +56,6 @@ export interface UpdateLeadRequestDto {
56
56
  * @memberof UpdateLeadRequestDto
57
57
  */
58
58
  'policy': CreatePolicyRequestDto;
59
- /**
60
- *
61
- * @type {boolean}
62
- * @memberof UpdateLeadRequestDto
63
- */
64
- 'shouldTriggerWorkflow'?: boolean;
65
59
  /**
66
60
  *
67
61
  * @type {CreateBankAccountRequestDto}
@@ -0,0 +1,83 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { CreateAccountRequestDto } from './create-account-request-dto';
17
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
+ import { UploadedDocumentDto } from './uploaded-document-dto';
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface GrpcPatchLeadRequestDto
26
+ */
27
+ export interface GrpcPatchLeadRequestDto {
28
+ /**
29
+ * Unique identifier referencing the product version.
30
+ * @type {number}
31
+ * @memberof GrpcPatchLeadRequestDto
32
+ */
33
+ 'productVersionId'?: number;
34
+ /**
35
+ * Account
36
+ * @type {CreateAccountRequestDto}
37
+ * @memberof GrpcPatchLeadRequestDto
38
+ */
39
+ 'account'?: CreateAccountRequestDto;
40
+ /**
41
+ * Policy
42
+ * @type {CreatePolicyRequestDto}
43
+ * @memberof GrpcPatchLeadRequestDto
44
+ */
45
+ 'policy'?: CreatePolicyRequestDto;
46
+ /**
47
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
48
+ * @type {string}
49
+ * @memberof GrpcPatchLeadRequestDto
50
+ */
51
+ 'status'?: string;
52
+ /**
53
+ * Bank account
54
+ * @type {CreateBankAccountRequestDto}
55
+ * @memberof GrpcPatchLeadRequestDto
56
+ */
57
+ 'bankAccount'?: CreateBankAccountRequestDto;
58
+ /**
59
+ * Custom data.
60
+ * @type {object}
61
+ * @memberof GrpcPatchLeadRequestDto
62
+ */
63
+ 'customData'?: object;
64
+ /**
65
+ * Upload document
66
+ * @type {UploadedDocumentDto}
67
+ * @memberof GrpcPatchLeadRequestDto
68
+ */
69
+ 'uploadedDocument'?: UploadedDocumentDto;
70
+ /**
71
+ * Premium Override
72
+ * @type {PremiumOverrideRequestDto}
73
+ * @memberof GrpcPatchLeadRequestDto
74
+ */
75
+ 'premiumOverride'?: PremiumOverrideRequestDto;
76
+ /**
77
+ * Unique identifier of the account that this object belongs to.
78
+ * @type {string}
79
+ * @memberof GrpcPatchLeadRequestDto
80
+ */
81
+ 'accountCode'?: string;
82
+ }
83
+
@@ -0,0 +1,95 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { CreateAccountRequestDto } from './create-account-request-dto';
17
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
+ import { UploadedDocumentDto } from './uploaded-document-dto';
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface GrpcUpdateLeadRequestDto
26
+ */
27
+ export interface GrpcUpdateLeadRequestDto {
28
+ /**
29
+ * Unique identifier referencing the product version.
30
+ * @type {number}
31
+ * @memberof GrpcUpdateLeadRequestDto
32
+ */
33
+ 'productVersionId'?: number;
34
+ /**
35
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
36
+ * @type {string}
37
+ * @memberof GrpcUpdateLeadRequestDto
38
+ */
39
+ 'status': string;
40
+ /**
41
+ * Custom data.
42
+ * @type {object}
43
+ * @memberof GrpcUpdateLeadRequestDto
44
+ */
45
+ 'customData'?: object;
46
+ /**
47
+ * Premium Override
48
+ * @type {Array<PremiumOverrideRequestDto>}
49
+ * @memberof GrpcUpdateLeadRequestDto
50
+ */
51
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof GrpcUpdateLeadRequestDto
56
+ */
57
+ 'code': string;
58
+ /**
59
+ *
60
+ * @type {CreateAccountRequestDto}
61
+ * @memberof GrpcUpdateLeadRequestDto
62
+ */
63
+ 'account': CreateAccountRequestDto;
64
+ /**
65
+ *
66
+ * @type {CreatePolicyRequestDto}
67
+ * @memberof GrpcUpdateLeadRequestDto
68
+ */
69
+ 'policy': CreatePolicyRequestDto;
70
+ /**
71
+ *
72
+ * @type {boolean}
73
+ * @memberof GrpcUpdateLeadRequestDto
74
+ */
75
+ 'shouldTriggerWorkflow'?: boolean;
76
+ /**
77
+ *
78
+ * @type {CreateBankAccountRequestDto}
79
+ * @memberof GrpcUpdateLeadRequestDto
80
+ */
81
+ 'bankAccount'?: CreateBankAccountRequestDto;
82
+ /**
83
+ *
84
+ * @type {UploadedDocumentDto}
85
+ * @memberof GrpcUpdateLeadRequestDto
86
+ */
87
+ 'uploadedDocument'?: UploadedDocumentDto;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof GrpcUpdateLeadRequestDto
92
+ */
93
+ 'accountCode'?: string;
94
+ }
95
+
package/models/index.ts CHANGED
@@ -45,6 +45,8 @@ export * from './get-product-version-response-class';
45
45
  export * from './grouped-product-factor-class';
46
46
  export * from './grouped-product-factor-value-class';
47
47
  export * from './grouped-product-factors-response-class';
48
+ export * from './grpc-patch-lead-request-dto';
49
+ export * from './grpc-update-lead-request-dto';
48
50
  export * from './insured-object-class';
49
51
  export * from './insured-object-type-class';
50
52
  export * from './invoice-item-class';
@@ -64,6 +66,7 @@ export * from './list-product-fields-response-class';
64
66
  export * from './list-products-response-class';
65
67
  export * from './list-request-dto';
66
68
  export * from './patch-lead-request-dto';
69
+ export * from './patch-lead-response-class';
67
70
  export * from './policy-class';
68
71
  export * from './policy-object-class';
69
72
  export * from './policy-object-dto';
@@ -32,49 +32,49 @@ export interface PatchLeadRequestDto {
32
32
  */
33
33
  'productVersionId'?: number;
34
34
  /**
35
- * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
36
- * @type {string}
35
+ * Account
36
+ * @type {CreateAccountRequestDto}
37
37
  * @memberof PatchLeadRequestDto
38
38
  */
39
- 'status'?: string;
39
+ 'account'?: CreateAccountRequestDto;
40
40
  /**
41
- * Custom data.
42
- * @type {object}
41
+ * Policy
42
+ * @type {CreatePolicyRequestDto}
43
43
  * @memberof PatchLeadRequestDto
44
44
  */
45
- 'customData'?: object;
45
+ 'policy'?: CreatePolicyRequestDto;
46
46
  /**
47
- * Premium Override
48
- * @type {Array<PremiumOverrideRequestDto>}
47
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
48
+ * @type {string}
49
49
  * @memberof PatchLeadRequestDto
50
50
  */
51
- 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
51
+ 'status'?: string;
52
52
  /**
53
- *
54
- * @type {CreateAccountRequestDto}
53
+ * Bank account
54
+ * @type {CreateBankAccountRequestDto}
55
55
  * @memberof PatchLeadRequestDto
56
56
  */
57
- 'account'?: CreateAccountRequestDto;
57
+ 'bankAccount'?: CreateBankAccountRequestDto;
58
58
  /**
59
- *
60
- * @type {CreatePolicyRequestDto}
59
+ * Custom data.
60
+ * @type {object}
61
61
  * @memberof PatchLeadRequestDto
62
62
  */
63
- 'policy'?: CreatePolicyRequestDto;
63
+ 'customData'?: object;
64
64
  /**
65
- *
66
- * @type {CreateBankAccountRequestDto}
65
+ * Upload document
66
+ * @type {UploadedDocumentDto}
67
67
  * @memberof PatchLeadRequestDto
68
68
  */
69
- 'bankAccount'?: CreateBankAccountRequestDto;
69
+ 'uploadedDocument'?: UploadedDocumentDto;
70
70
  /**
71
- *
72
- * @type {UploadedDocumentDto}
71
+ * Premium Override
72
+ * @type {PremiumOverrideRequestDto}
73
73
  * @memberof PatchLeadRequestDto
74
74
  */
75
- 'uploadedDocument'?: UploadedDocumentDto;
75
+ 'premiumOverride'?: PremiumOverrideRequestDto;
76
76
  /**
77
- *
77
+ * Unique identifier of the account that this object belongs to.
78
78
  * @type {string}
79
79
  * @memberof PatchLeadRequestDto
80
80
  */
@@ -0,0 +1,31 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL InsuranceService
5
+ * The EMIL InsuranceService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface PatchLeadResponseClass
22
+ */
23
+ export interface PatchLeadResponseClass {
24
+ /**
25
+ * Lead
26
+ * @type {LeadClass}
27
+ * @memberof PatchLeadResponseClass
28
+ */
29
+ 'lead': LeadClass;
30
+ }
31
+
@@ -42,7 +42,7 @@ export interface UpdateLeadRequestDto {
42
42
  * @type {object}
43
43
  * @memberof UpdateLeadRequestDto
44
44
  */
45
- 'customData'?: object;
45
+ 'customData': object;
46
46
  /**
47
47
  * Premium Override
48
48
  * @type {Array<PremiumOverrideRequestDto>}
@@ -61,12 +61,6 @@ export interface UpdateLeadRequestDto {
61
61
  * @memberof UpdateLeadRequestDto
62
62
  */
63
63
  'policy': CreatePolicyRequestDto;
64
- /**
65
- *
66
- * @type {boolean}
67
- * @memberof UpdateLeadRequestDto
68
- */
69
- 'shouldTriggerWorkflow'?: boolean;
70
64
  /**
71
65
  *
72
66
  * @type {CreateBankAccountRequestDto}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.11.0",
3
+ "version": "1.12.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-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
  }