@emilgroup/insurance-sdk-node 1.23.0 → 1.24.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.
@@ -34,6 +34,7 @@ models/create-lead-request-dto.ts
34
34
  models/create-lead-response-class.ts
35
35
  models/create-lead-status-request-dto.ts
36
36
  models/create-lead-status-response-class.ts
37
+ models/create-lead-sync-response-class.ts
37
38
  models/create-named-range-request-dto.ts
38
39
  models/create-named-range-response-class.ts
39
40
  models/create-named-request-s3-data-class.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.23.0 --save
20
+ npm install @emilgroup/insurance-sdk-node@1.24.0 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/insurance-sdk-node@1.23.0
24
+ yarn add @emilgroup/insurance-sdk-node@1.24.0
25
25
  ```
26
26
 
27
27
  And then you can import `PoliciesApi`.
package/api/leads-api.ts CHANGED
@@ -25,6 +25,8 @@ import { CreateLeadRequestDto } from '../models';
25
25
  // @ts-ignore
26
26
  import { CreateLeadResponseClass } from '../models';
27
27
  // @ts-ignore
28
+ import { CreateLeadSyncResponseClass } from '../models';
29
+ // @ts-ignore
28
30
  import { GetLeadResponseClass } from '../models';
29
31
  // @ts-ignore
30
32
  import { ListLeadsResponseClass } from '../models';
@@ -81,6 +83,53 @@ export const LeadsApiAxiosParamCreator = function (configuration?: Configuration
81
83
 
82
84
 
83
85
 
86
+ localVarHeaderParameter['Content-Type'] = 'application/json';
87
+
88
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
89
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
90
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
91
+ localVarRequestOptions.data = serializeDataIfNeeded(createLeadRequestDto, localVarRequestOptions, configuration)
92
+
93
+ return {
94
+ url: toPathString(localVarUrlObj),
95
+ options: localVarRequestOptions,
96
+ };
97
+ },
98
+ /**
99
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
100
+ * @summary Create the lead
101
+ * @param {CreateLeadRequestDto} createLeadRequestDto
102
+ * @param {string} [authorization] Bearer Token
103
+ * @param {*} [options] Override http request option.
104
+ * @throws {RequiredError}
105
+ */
106
+ createLeadSync: async (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
107
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
108
+ assertParamExists('createLeadSync', 'createLeadRequestDto', createLeadRequestDto)
109
+ const localVarPath = `/insuranceservice/v1/leads/sync`;
110
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
111
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
112
+ let baseOptions;
113
+ let baseAccessToken;
114
+ if (configuration) {
115
+ baseOptions = configuration.baseOptions;
116
+ baseAccessToken = configuration.accessToken;
117
+ }
118
+
119
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
120
+ const localVarHeaderParameter = {} as any;
121
+ const localVarQueryParameter = {} as any;
122
+
123
+ // authentication bearer required
124
+ // http bearer authentication required
125
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
126
+
127
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
128
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
129
+ }
130
+
131
+
132
+
84
133
  localVarHeaderParameter['Content-Type'] = 'application/json';
85
134
 
86
135
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -338,6 +387,18 @@ export const LeadsApiFp = function(configuration?: Configuration) {
338
387
  const localVarAxiosArgs = await localVarAxiosParamCreator.createLead(createLeadRequestDto, authorization, options);
339
388
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
340
389
  },
390
+ /**
391
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
392
+ * @summary Create the lead
393
+ * @param {CreateLeadRequestDto} createLeadRequestDto
394
+ * @param {string} [authorization] Bearer Token
395
+ * @param {*} [options] Override http request option.
396
+ * @throws {RequiredError}
397
+ */
398
+ async createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadSyncResponseClass>> {
399
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createLeadSync(createLeadRequestDto, authorization, options);
400
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
401
+ },
341
402
  /**
342
403
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
343
404
  * @summary Retrieve the lead
@@ -415,6 +476,17 @@ export const LeadsApiFactory = function (configuration?: Configuration, basePath
415
476
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass> {
416
477
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
417
478
  },
479
+ /**
480
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
481
+ * @summary Create the lead
482
+ * @param {CreateLeadRequestDto} createLeadRequestDto
483
+ * @param {string} [authorization] Bearer Token
484
+ * @param {*} [options] Override http request option.
485
+ * @throws {RequiredError}
486
+ */
487
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadSyncResponseClass> {
488
+ return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then((request) => request(axios, basePath));
489
+ },
418
490
  /**
419
491
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
420
492
  * @summary Retrieve the lead
@@ -491,6 +563,27 @@ export interface LeadsApiCreateLeadRequest {
491
563
  readonly authorization?: string
492
564
  }
493
565
 
566
+ /**
567
+ * Request parameters for createLeadSync operation in LeadsApi.
568
+ * @export
569
+ * @interface LeadsApiCreateLeadSyncRequest
570
+ */
571
+ export interface LeadsApiCreateLeadSyncRequest {
572
+ /**
573
+ *
574
+ * @type {CreateLeadRequestDto}
575
+ * @memberof LeadsApiCreateLeadSync
576
+ */
577
+ readonly createLeadRequestDto: CreateLeadRequestDto
578
+
579
+ /**
580
+ * Bearer Token
581
+ * @type {string}
582
+ * @memberof LeadsApiCreateLeadSync
583
+ */
584
+ readonly authorization?: string
585
+ }
586
+
494
587
  /**
495
588
  * Request parameters for getLead operation in LeadsApi.
496
589
  * @export
@@ -650,6 +743,18 @@ export class LeadsApi extends BaseAPI {
650
743
  return LeadsApiFp(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
651
744
  }
652
745
 
746
+ /**
747
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
748
+ * @summary Create the lead
749
+ * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
750
+ * @param {*} [options] Override http request option.
751
+ * @throws {RequiredError}
752
+ * @memberof LeadsApi
753
+ */
754
+ public createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig) {
755
+ return LeadsApiFp(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
756
+ }
757
+
653
758
  /**
654
759
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
655
760
  * @summary Retrieve the lead
@@ -14,6 +14,7 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateLeadRequestDto } from '../models';
16
16
  import { CreateLeadResponseClass } from '../models';
17
+ import { CreateLeadSyncResponseClass } from '../models';
17
18
  import { GetLeadResponseClass } from '../models';
18
19
  import { ListLeadsResponseClass } from '../models';
19
20
  import { PatchLeadRequestDto } from '../models';
@@ -34,6 +35,15 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
34
35
  * @throws {RequiredError}
35
36
  */
36
37
  createLead: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
38
+ /**
39
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
40
+ * @summary Create the lead
41
+ * @param {CreateLeadRequestDto} createLeadRequestDto
42
+ * @param {string} [authorization] Bearer Token
43
+ * @param {*} [options] Override http request option.
44
+ * @throws {RequiredError}
45
+ */
46
+ createLeadSync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
37
47
  /**
38
48
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
39
49
  * @summary Retrieve the lead
@@ -93,6 +103,15 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
93
103
  * @throws {RequiredError}
94
104
  */
95
105
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
106
+ /**
107
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
108
+ * @summary Create the lead
109
+ * @param {CreateLeadRequestDto} createLeadRequestDto
110
+ * @param {string} [authorization] Bearer Token
111
+ * @param {*} [options] Override http request option.
112
+ * @throws {RequiredError}
113
+ */
114
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadSyncResponseClass>>;
96
115
  /**
97
116
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
98
117
  * @summary Retrieve the lead
@@ -152,6 +171,15 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
152
171
  * @throws {RequiredError}
153
172
  */
154
173
  createLead(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
174
+ /**
175
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
176
+ * @summary Create the lead
177
+ * @param {CreateLeadRequestDto} createLeadRequestDto
178
+ * @param {string} [authorization] Bearer Token
179
+ * @param {*} [options] Override http request option.
180
+ * @throws {RequiredError}
181
+ */
182
+ createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadSyncResponseClass>;
155
183
  /**
156
184
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
157
185
  * @summary Retrieve the lead
@@ -216,6 +244,25 @@ export interface LeadsApiCreateLeadRequest {
216
244
  */
217
245
  readonly authorization?: string;
218
246
  }
247
+ /**
248
+ * Request parameters for createLeadSync operation in LeadsApi.
249
+ * @export
250
+ * @interface LeadsApiCreateLeadSyncRequest
251
+ */
252
+ export interface LeadsApiCreateLeadSyncRequest {
253
+ /**
254
+ *
255
+ * @type {CreateLeadRequestDto}
256
+ * @memberof LeadsApiCreateLeadSync
257
+ */
258
+ readonly createLeadRequestDto: CreateLeadRequestDto;
259
+ /**
260
+ * Bearer Token
261
+ * @type {string}
262
+ * @memberof LeadsApiCreateLeadSync
263
+ */
264
+ readonly authorization?: string;
265
+ }
219
266
  /**
220
267
  * Request parameters for getLead operation in LeadsApi.
221
268
  * @export
@@ -356,6 +403,15 @@ export declare class LeadsApi extends BaseAPI {
356
403
  * @memberof LeadsApi
357
404
  */
358
405
  createLead(requestParameters: LeadsApiCreateLeadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
406
+ /**
407
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
408
+ * @summary Create the lead
409
+ * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
410
+ * @param {*} [options] Override http request option.
411
+ * @throws {RequiredError}
412
+ * @memberof LeadsApi
413
+ */
414
+ createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadSyncResponseClass, any>>;
359
415
  /**
360
416
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
361
417
  * @summary Retrieve the lead
@@ -145,6 +145,55 @@ var LeadsApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
+ /**
149
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
150
+ * @summary Create the lead
151
+ * @param {CreateLeadRequestDto} createLeadRequestDto
152
+ * @param {string} [authorization] Bearer Token
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ createLeadSync: function (createLeadRequestDto, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0:
163
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
164
+ (0, common_1.assertParamExists)('createLeadSync', 'createLeadRequestDto', createLeadRequestDto);
165
+ localVarPath = "/insuranceservice/v1/leads/sync";
166
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
+ if (configuration) {
168
+ baseOptions = configuration.baseOptions;
169
+ baseAccessToken = configuration.accessToken;
170
+ }
171
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
172
+ localVarHeaderParameter = {};
173
+ localVarQueryParameter = {};
174
+ // authentication bearer required
175
+ // http bearer authentication required
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
177
+ case 1:
178
+ // authentication bearer required
179
+ // http bearer authentication required
180
+ _a.sent();
181
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
183
+ }
184
+ localVarHeaderParameter['Content-Type'] = 'application/json';
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
189
+ return [2 /*return*/, {
190
+ url: (0, common_1.toPathString)(localVarUrlObj),
191
+ options: localVarRequestOptions,
192
+ }];
193
+ }
194
+ });
195
+ });
196
+ },
148
197
  /**
149
198
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
150
199
  * @summary Retrieve the lead
@@ -402,6 +451,27 @@ var LeadsApiFp = function (configuration) {
402
451
  });
403
452
  });
404
453
  },
454
+ /**
455
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
456
+ * @summary Create the lead
457
+ * @param {CreateLeadRequestDto} createLeadRequestDto
458
+ * @param {string} [authorization] Bearer Token
459
+ * @param {*} [options] Override http request option.
460
+ * @throws {RequiredError}
461
+ */
462
+ createLeadSync: function (createLeadRequestDto, 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.createLeadSync(createLeadRequestDto, 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
+ },
405
475
  /**
406
476
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
407
477
  * @summary Retrieve the lead
@@ -515,6 +585,17 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
515
585
  createLead: function (createLeadRequestDto, authorization, options) {
516
586
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
517
587
  },
588
+ /**
589
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
590
+ * @summary Create the lead
591
+ * @param {CreateLeadRequestDto} createLeadRequestDto
592
+ * @param {string} [authorization] Bearer Token
593
+ * @param {*} [options] Override http request option.
594
+ * @throws {RequiredError}
595
+ */
596
+ createLeadSync: function (createLeadRequestDto, authorization, options) {
597
+ return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
598
+ },
518
599
  /**
519
600
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
520
601
  * @summary Retrieve the lead
@@ -593,6 +674,18 @@ var LeadsApi = /** @class */ (function (_super) {
593
674
  var _this = this;
594
675
  return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
595
676
  };
677
+ /**
678
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
679
+ * @summary Create the lead
680
+ * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
681
+ * @param {*} [options] Override http request option.
682
+ * @throws {RequiredError}
683
+ * @memberof LeadsApi
684
+ */
685
+ LeadsApi.prototype.createLeadSync = function (requestParameters, options) {
686
+ var _this = this;
687
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
688
+ };
596
689
  /**
597
690
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
598
691
  * @summary Retrieve the lead
@@ -0,0 +1,24 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface CreateLeadSyncResponseClass
16
+ */
17
+ export interface CreateLeadSyncResponseClass {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof CreateLeadSyncResponseClass
22
+ */
23
+ 'variables': object;
24
+ }
@@ -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 });
@@ -12,6 +12,7 @@ export * from './create-lead-request-dto';
12
12
  export * from './create-lead-response-class';
13
13
  export * from './create-lead-status-request-dto';
14
14
  export * from './create-lead-status-response-class';
15
+ export * from './create-lead-sync-response-class';
15
16
  export * from './create-named-range-request-dto';
16
17
  export * from './create-named-range-response-class';
17
18
  export * from './create-named-request-s3-data-class';
@@ -28,6 +28,7 @@ __exportStar(require("./create-lead-request-dto"), exports);
28
28
  __exportStar(require("./create-lead-response-class"), exports);
29
29
  __exportStar(require("./create-lead-status-request-dto"), exports);
30
30
  __exportStar(require("./create-lead-status-response-class"), exports);
31
+ __exportStar(require("./create-lead-sync-response-class"), exports);
31
32
  __exportStar(require("./create-named-range-request-dto"), exports);
32
33
  __exportStar(require("./create-named-range-response-class"), exports);
33
34
  __exportStar(require("./create-named-request-s3-data-class"), exports);
@@ -28,4 +28,16 @@ export interface ListLeadsResponseClass {
28
28
  * @memberof ListLeadsResponseClass
29
29
  */
30
30
  'nextPageToken': string;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListLeadsResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total amount of items.
39
+ * @type {number}
40
+ * @memberof ListLeadsResponseClass
41
+ */
42
+ 'totalItems': number;
31
43
  }
@@ -28,4 +28,16 @@ export interface ListPoliciesResponseClass {
28
28
  * @memberof ListPoliciesResponseClass
29
29
  */
30
30
  'nextPageToken': string;
31
+ /**
32
+ * Items per page.
33
+ * @type {number}
34
+ * @memberof ListPoliciesResponseClass
35
+ */
36
+ 'itemsPerPage': number;
37
+ /**
38
+ * Total amount of items.
39
+ * @type {number}
40
+ * @memberof ListPoliciesResponseClass
41
+ */
42
+ 'totalItems': number;
31
43
  }
@@ -0,0 +1,30 @@
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
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface CreateLeadSyncResponseClass
21
+ */
22
+ export interface CreateLeadSyncResponseClass {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof CreateLeadSyncResponseClass
27
+ */
28
+ 'variables': object;
29
+ }
30
+
package/models/index.ts CHANGED
@@ -12,6 +12,7 @@ export * from './create-lead-request-dto';
12
12
  export * from './create-lead-response-class';
13
13
  export * from './create-lead-status-request-dto';
14
14
  export * from './create-lead-status-response-class';
15
+ export * from './create-lead-sync-response-class';
15
16
  export * from './create-named-range-request-dto';
16
17
  export * from './create-named-range-response-class';
17
18
  export * from './create-named-request-s3-data-class';
@@ -33,5 +33,17 @@ export interface ListLeadsResponseClass {
33
33
  * @memberof ListLeadsResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListLeadsResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListLeadsResponseClass
46
+ */
47
+ 'totalItems': number;
36
48
  }
37
49
 
@@ -33,5 +33,17 @@ export interface ListPoliciesResponseClass {
33
33
  * @memberof ListPoliciesResponseClass
34
34
  */
35
35
  'nextPageToken': string;
36
+ /**
37
+ * Items per page.
38
+ * @type {number}
39
+ * @memberof ListPoliciesResponseClass
40
+ */
41
+ 'itemsPerPage': number;
42
+ /**
43
+ * Total amount of items.
44
+ * @type {number}
45
+ * @memberof ListPoliciesResponseClass
46
+ */
47
+ 'totalItems': number;
36
48
  }
37
49
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/insurance-sdk-node",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "description": "OpenAPI client for @emilgroup/insurance-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [