@emilgroup/insurance-sdk-node 1.54.1-beta.0 → 1.54.1-beta.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.
- package/.openapi-generator/FILES +1 -0
- package/README.md +2 -2
- package/api/lead-statuses-api.ts +133 -30
- package/api/policies-api.ts +8 -8
- package/dist/api/lead-statuses-api.d.ts +72 -16
- package/dist/api/lead-statuses-api.js +118 -26
- package/dist/api/policies-api.d.ts +8 -8
- package/dist/api/policies-api.js +6 -6
- package/dist/models/create-lead-status-request-dto.d.ts +8 -2
- package/dist/models/index.d.ts +1 -0
- package/dist/models/index.js +1 -0
- package/dist/models/lead-status-class.d.ts +12 -0
- package/dist/models/update-lead-status-response-class.d.ts +25 -0
- package/dist/models/update-lead-status-response-class.js +15 -0
- package/models/create-lead-status-request-dto.ts +8 -2
- package/models/index.ts +1 -0
- package/models/lead-status-class.ts +12 -0
- package/models/update-lead-status-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -238,6 +238,7 @@ models/update-emil-function-secret-request-dto.ts
|
|
|
238
238
|
models/update-insured-object-request-dto.ts
|
|
239
239
|
models/update-lead-request-dto.ts
|
|
240
240
|
models/update-lead-response-class.ts
|
|
241
|
+
models/update-lead-status-response-class.ts
|
|
241
242
|
models/update-named-range-request-dto.ts
|
|
242
243
|
models/update-named-range-response-class.ts
|
|
243
244
|
models/update-partner-link-request-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.54.1-beta.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.54.1-beta.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.54.1-beta.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.54.1-beta.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
package/api/lead-statuses-api.ts
CHANGED
|
@@ -30,6 +30,8 @@ import { DeleteResponseClass } from '../models';
|
|
|
30
30
|
import { GetLeadStatusResponseClass } from '../models';
|
|
31
31
|
// @ts-ignore
|
|
32
32
|
import { ListLeadStatusesResponseClass } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { UpdateLeadStatusResponseClass } from '../models';
|
|
33
35
|
// URLSearchParams not necessarily used
|
|
34
36
|
// @ts-ignore
|
|
35
37
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -90,16 +92,16 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
90
92
|
/**
|
|
91
93
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
92
94
|
* @summary Delete the lead status
|
|
93
|
-
* @param {
|
|
95
|
+
* @param {string} code
|
|
94
96
|
* @param {string} [authorization] Bearer Token
|
|
95
97
|
* @param {*} [options] Override http request option.
|
|
96
98
|
* @throws {RequiredError}
|
|
97
99
|
*/
|
|
98
|
-
deleteLeadStatus: async (
|
|
99
|
-
// verify required parameter '
|
|
100
|
-
assertParamExists('deleteLeadStatus', '
|
|
101
|
-
const localVarPath = `/insuranceservice/v1/lead-statuses/{
|
|
102
|
-
.replace(`{${"
|
|
100
|
+
deleteLeadStatus: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
|
+
// verify required parameter 'code' is not null or undefined
|
|
102
|
+
assertParamExists('deleteLeadStatus', 'code', code)
|
|
103
|
+
const localVarPath = `/insuranceservice/v1/lead-statuses/{code}`
|
|
104
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
103
105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
104
106
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
105
107
|
let baseOptions;
|
|
@@ -135,16 +137,16 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
135
137
|
/**
|
|
136
138
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
137
139
|
* @summary Retrieve the lead status
|
|
138
|
-
* @param {
|
|
140
|
+
* @param {string} code
|
|
139
141
|
* @param {string} [authorization] Bearer Token
|
|
140
142
|
* @param {*} [options] Override http request option.
|
|
141
143
|
* @throws {RequiredError}
|
|
142
144
|
*/
|
|
143
|
-
getLeadStatus: async (
|
|
144
|
-
// verify required parameter '
|
|
145
|
-
assertParamExists('getLeadStatus', '
|
|
146
|
-
const localVarPath = `/insuranceservice/v1/lead-statuses/{
|
|
147
|
-
.replace(`{${"
|
|
145
|
+
getLeadStatus: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
|
+
// verify required parameter 'code' is not null or undefined
|
|
147
|
+
assertParamExists('getLeadStatus', 'code', code)
|
|
148
|
+
const localVarPath = `/insuranceservice/v1/lead-statuses/{code}`
|
|
149
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
148
150
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
149
151
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
150
152
|
let baseOptions;
|
|
@@ -244,6 +246,51 @@ export const LeadStatusesApiAxiosParamCreator = function (configuration?: Config
|
|
|
244
246
|
|
|
245
247
|
|
|
246
248
|
|
|
249
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
250
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
251
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
252
|
+
|
|
253
|
+
return {
|
|
254
|
+
url: toPathString(localVarUrlObj),
|
|
255
|
+
options: localVarRequestOptions,
|
|
256
|
+
};
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
260
|
+
* @summary Update the lead status
|
|
261
|
+
* @param {string} code
|
|
262
|
+
* @param {string} [authorization] Bearer Token
|
|
263
|
+
* @param {*} [options] Override http request option.
|
|
264
|
+
* @throws {RequiredError}
|
|
265
|
+
*/
|
|
266
|
+
updateLeadStatus: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
267
|
+
// verify required parameter 'code' is not null or undefined
|
|
268
|
+
assertParamExists('updateLeadStatus', 'code', code)
|
|
269
|
+
const localVarPath = `/insuranceservice/v1/lead-statuses/{code}`
|
|
270
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
271
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
272
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
273
|
+
let baseOptions;
|
|
274
|
+
let baseAccessToken;
|
|
275
|
+
if (configuration) {
|
|
276
|
+
baseOptions = configuration.baseOptions;
|
|
277
|
+
baseAccessToken = configuration.accessToken;
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
281
|
+
const localVarHeaderParameter = {} as any;
|
|
282
|
+
const localVarQueryParameter = {} as any;
|
|
283
|
+
|
|
284
|
+
// authentication bearer required
|
|
285
|
+
// http bearer authentication required
|
|
286
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
287
|
+
|
|
288
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
289
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
|
|
247
294
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
248
295
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
249
296
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -278,25 +325,25 @@ export const LeadStatusesApiFp = function(configuration?: Configuration) {
|
|
|
278
325
|
/**
|
|
279
326
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
280
327
|
* @summary Delete the lead status
|
|
281
|
-
* @param {
|
|
328
|
+
* @param {string} code
|
|
282
329
|
* @param {string} [authorization] Bearer Token
|
|
283
330
|
* @param {*} [options] Override http request option.
|
|
284
331
|
* @throws {RequiredError}
|
|
285
332
|
*/
|
|
286
|
-
async deleteLeadStatus(
|
|
287
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLeadStatus(
|
|
333
|
+
async deleteLeadStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>> {
|
|
334
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteLeadStatus(code, authorization, options);
|
|
288
335
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
289
336
|
},
|
|
290
337
|
/**
|
|
291
338
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
292
339
|
* @summary Retrieve the lead status
|
|
293
|
-
* @param {
|
|
340
|
+
* @param {string} code
|
|
294
341
|
* @param {string} [authorization] Bearer Token
|
|
295
342
|
* @param {*} [options] Override http request option.
|
|
296
343
|
* @throws {RequiredError}
|
|
297
344
|
*/
|
|
298
|
-
async getLeadStatus(
|
|
299
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getLeadStatus(
|
|
345
|
+
async getLeadStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadStatusResponseClass>> {
|
|
346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getLeadStatus(code, authorization, options);
|
|
300
347
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
301
348
|
},
|
|
302
349
|
/**
|
|
@@ -317,6 +364,18 @@ export const LeadStatusesApiFp = function(configuration?: Configuration) {
|
|
|
317
364
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
318
365
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
319
366
|
},
|
|
367
|
+
/**
|
|
368
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
369
|
+
* @summary Update the lead status
|
|
370
|
+
* @param {string} code
|
|
371
|
+
* @param {string} [authorization] Bearer Token
|
|
372
|
+
* @param {*} [options] Override http request option.
|
|
373
|
+
* @throws {RequiredError}
|
|
374
|
+
*/
|
|
375
|
+
async updateLeadStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadStatusResponseClass>> {
|
|
376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateLeadStatus(code, authorization, options);
|
|
377
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
378
|
+
},
|
|
320
379
|
}
|
|
321
380
|
};
|
|
322
381
|
|
|
@@ -341,24 +400,24 @@ export const LeadStatusesApiFactory = function (configuration?: Configuration, b
|
|
|
341
400
|
/**
|
|
342
401
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
343
402
|
* @summary Delete the lead status
|
|
344
|
-
* @param {
|
|
403
|
+
* @param {string} code
|
|
345
404
|
* @param {string} [authorization] Bearer Token
|
|
346
405
|
* @param {*} [options] Override http request option.
|
|
347
406
|
* @throws {RequiredError}
|
|
348
407
|
*/
|
|
349
|
-
deleteLeadStatus(
|
|
350
|
-
return localVarFp.deleteLeadStatus(
|
|
408
|
+
deleteLeadStatus(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass> {
|
|
409
|
+
return localVarFp.deleteLeadStatus(code, authorization, options).then((request) => request(axios, basePath));
|
|
351
410
|
},
|
|
352
411
|
/**
|
|
353
412
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
354
413
|
* @summary Retrieve the lead status
|
|
355
|
-
* @param {
|
|
414
|
+
* @param {string} code
|
|
356
415
|
* @param {string} [authorization] Bearer Token
|
|
357
416
|
* @param {*} [options] Override http request option.
|
|
358
417
|
* @throws {RequiredError}
|
|
359
418
|
*/
|
|
360
|
-
getLeadStatus(
|
|
361
|
-
return localVarFp.getLeadStatus(
|
|
419
|
+
getLeadStatus(code: string, authorization?: string, options?: any): AxiosPromise<GetLeadStatusResponseClass> {
|
|
420
|
+
return localVarFp.getLeadStatus(code, authorization, options).then((request) => request(axios, basePath));
|
|
362
421
|
},
|
|
363
422
|
/**
|
|
364
423
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -377,6 +436,17 @@ export const LeadStatusesApiFactory = function (configuration?: Configuration, b
|
|
|
377
436
|
listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadStatusesResponseClass> {
|
|
378
437
|
return localVarFp.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
379
438
|
},
|
|
439
|
+
/**
|
|
440
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
441
|
+
* @summary Update the lead status
|
|
442
|
+
* @param {string} code
|
|
443
|
+
* @param {string} [authorization] Bearer Token
|
|
444
|
+
* @param {*} [options] Override http request option.
|
|
445
|
+
* @throws {RequiredError}
|
|
446
|
+
*/
|
|
447
|
+
updateLeadStatus(code: string, authorization?: string, options?: any): AxiosPromise<UpdateLeadStatusResponseClass> {
|
|
448
|
+
return localVarFp.updateLeadStatus(code, authorization, options).then((request) => request(axios, basePath));
|
|
449
|
+
},
|
|
380
450
|
};
|
|
381
451
|
};
|
|
382
452
|
|
|
@@ -409,10 +479,10 @@ export interface LeadStatusesApiCreateLeadStatusRequest {
|
|
|
409
479
|
export interface LeadStatusesApiDeleteLeadStatusRequest {
|
|
410
480
|
/**
|
|
411
481
|
*
|
|
412
|
-
* @type {
|
|
482
|
+
* @type {string}
|
|
413
483
|
* @memberof LeadStatusesApiDeleteLeadStatus
|
|
414
484
|
*/
|
|
415
|
-
readonly
|
|
485
|
+
readonly code: string
|
|
416
486
|
|
|
417
487
|
/**
|
|
418
488
|
* Bearer Token
|
|
@@ -430,10 +500,10 @@ export interface LeadStatusesApiDeleteLeadStatusRequest {
|
|
|
430
500
|
export interface LeadStatusesApiGetLeadStatusRequest {
|
|
431
501
|
/**
|
|
432
502
|
*
|
|
433
|
-
* @type {
|
|
503
|
+
* @type {string}
|
|
434
504
|
* @memberof LeadStatusesApiGetLeadStatus
|
|
435
505
|
*/
|
|
436
|
-
readonly
|
|
506
|
+
readonly code: string
|
|
437
507
|
|
|
438
508
|
/**
|
|
439
509
|
* Bearer Token
|
|
@@ -506,6 +576,27 @@ export interface LeadStatusesApiListLeadStatusesRequest {
|
|
|
506
576
|
readonly filters?: any
|
|
507
577
|
}
|
|
508
578
|
|
|
579
|
+
/**
|
|
580
|
+
* Request parameters for updateLeadStatus operation in LeadStatusesApi.
|
|
581
|
+
* @export
|
|
582
|
+
* @interface LeadStatusesApiUpdateLeadStatusRequest
|
|
583
|
+
*/
|
|
584
|
+
export interface LeadStatusesApiUpdateLeadStatusRequest {
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {string}
|
|
588
|
+
* @memberof LeadStatusesApiUpdateLeadStatus
|
|
589
|
+
*/
|
|
590
|
+
readonly code: string
|
|
591
|
+
|
|
592
|
+
/**
|
|
593
|
+
* Bearer Token
|
|
594
|
+
* @type {string}
|
|
595
|
+
* @memberof LeadStatusesApiUpdateLeadStatus
|
|
596
|
+
*/
|
|
597
|
+
readonly authorization?: string
|
|
598
|
+
}
|
|
599
|
+
|
|
509
600
|
/**
|
|
510
601
|
* LeadStatusesApi - object-oriented interface
|
|
511
602
|
* @export
|
|
@@ -534,7 +625,7 @@ export class LeadStatusesApi extends BaseAPI {
|
|
|
534
625
|
* @memberof LeadStatusesApi
|
|
535
626
|
*/
|
|
536
627
|
public deleteLeadStatus(requestParameters: LeadStatusesApiDeleteLeadStatusRequest, options?: AxiosRequestConfig) {
|
|
537
|
-
return LeadStatusesApiFp(this.configuration).deleteLeadStatus(requestParameters.
|
|
628
|
+
return LeadStatusesApiFp(this.configuration).deleteLeadStatus(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
538
629
|
}
|
|
539
630
|
|
|
540
631
|
/**
|
|
@@ -546,7 +637,7 @@ export class LeadStatusesApi extends BaseAPI {
|
|
|
546
637
|
* @memberof LeadStatusesApi
|
|
547
638
|
*/
|
|
548
639
|
public getLeadStatus(requestParameters: LeadStatusesApiGetLeadStatusRequest, options?: AxiosRequestConfig) {
|
|
549
|
-
return LeadStatusesApiFp(this.configuration).getLeadStatus(requestParameters.
|
|
640
|
+
return LeadStatusesApiFp(this.configuration).getLeadStatus(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
550
641
|
}
|
|
551
642
|
|
|
552
643
|
/**
|
|
@@ -560,4 +651,16 @@ export class LeadStatusesApi extends BaseAPI {
|
|
|
560
651
|
public listLeadStatuses(requestParameters: LeadStatusesApiListLeadStatusesRequest = {}, options?: AxiosRequestConfig) {
|
|
561
652
|
return LeadStatusesApiFp(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
562
653
|
}
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
657
|
+
* @summary Update the lead status
|
|
658
|
+
* @param {LeadStatusesApiUpdateLeadStatusRequest} requestParameters Request parameters.
|
|
659
|
+
* @param {*} [options] Override http request option.
|
|
660
|
+
* @throws {RequiredError}
|
|
661
|
+
* @memberof LeadStatusesApi
|
|
662
|
+
*/
|
|
663
|
+
public updateLeadStatus(requestParameters: LeadStatusesApiUpdateLeadStatusRequest, options?: AxiosRequestConfig) {
|
|
664
|
+
return LeadStatusesApiFp(this.configuration).updateLeadStatus(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
665
|
+
}
|
|
563
666
|
}
|
package/api/policies-api.ts
CHANGED
|
@@ -420,11 +420,11 @@ export const PoliciesApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
420
420
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
421
421
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
422
422
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
423
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
423
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
424
424
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
425
425
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
426
426
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
427
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
427
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
428
428
|
* @param {*} [options] Override http request option.
|
|
429
429
|
* @throws {RequiredError}
|
|
430
430
|
*/
|
|
@@ -1057,11 +1057,11 @@ export const PoliciesApiFp = function(configuration?: Configuration) {
|
|
|
1057
1057
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1058
1058
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1059
1059
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1060
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1060
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1061
1061
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1062
1062
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
1063
1063
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
1064
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1064
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1065
1065
|
* @param {*} [options] Override http request option.
|
|
1066
1066
|
* @throws {RequiredError}
|
|
1067
1067
|
*/
|
|
@@ -1282,11 +1282,11 @@ export const PoliciesApiFactory = function (configuration?: Configuration, baseP
|
|
|
1282
1282
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1283
1283
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1284
1284
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1285
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1285
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1286
1286
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1287
1287
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
1288
1288
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
1289
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1289
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1290
1290
|
* @param {*} [options] Override http request option.
|
|
1291
1291
|
* @throws {RequiredError}
|
|
1292
1292
|
*/
|
|
@@ -1613,7 +1613,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
1613
1613
|
readonly pageToken?: any
|
|
1614
1614
|
|
|
1615
1615
|
/**
|
|
1616
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1616
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1617
1617
|
* @type {string}
|
|
1618
1618
|
* @memberof PoliciesApiListPolicies
|
|
1619
1619
|
*/
|
|
@@ -1641,7 +1641,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
1641
1641
|
readonly expand?: string
|
|
1642
1642
|
|
|
1643
1643
|
/**
|
|
1644
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1644
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1645
1645
|
* @type {string}
|
|
1646
1646
|
* @memberof PoliciesApiListPolicies
|
|
1647
1647
|
*/
|
|
@@ -17,6 +17,7 @@ import { CreateLeadStatusResponseClass } from '../models';
|
|
|
17
17
|
import { DeleteResponseClass } from '../models';
|
|
18
18
|
import { GetLeadStatusResponseClass } from '../models';
|
|
19
19
|
import { ListLeadStatusesResponseClass } from '../models';
|
|
20
|
+
import { UpdateLeadStatusResponseClass } from '../models';
|
|
20
21
|
/**
|
|
21
22
|
* LeadStatusesApi - axios parameter creator
|
|
22
23
|
* @export
|
|
@@ -34,21 +35,21 @@ export declare const LeadStatusesApiAxiosParamCreator: (configuration?: Configur
|
|
|
34
35
|
/**
|
|
35
36
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
36
37
|
* @summary Delete the lead status
|
|
37
|
-
* @param {
|
|
38
|
+
* @param {string} code
|
|
38
39
|
* @param {string} [authorization] Bearer Token
|
|
39
40
|
* @param {*} [options] Override http request option.
|
|
40
41
|
* @throws {RequiredError}
|
|
41
42
|
*/
|
|
42
|
-
deleteLeadStatus: (
|
|
43
|
+
deleteLeadStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
43
44
|
/**
|
|
44
45
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
45
46
|
* @summary Retrieve the lead status
|
|
46
|
-
* @param {
|
|
47
|
+
* @param {string} code
|
|
47
48
|
* @param {string} [authorization] Bearer Token
|
|
48
49
|
* @param {*} [options] Override http request option.
|
|
49
50
|
* @throws {RequiredError}
|
|
50
51
|
*/
|
|
51
|
-
getLeadStatus: (
|
|
52
|
+
getLeadStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
53
|
/**
|
|
53
54
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
54
55
|
* @summary List lead statuses
|
|
@@ -64,6 +65,15 @@ export declare const LeadStatusesApiAxiosParamCreator: (configuration?: Configur
|
|
|
64
65
|
* @throws {RequiredError}
|
|
65
66
|
*/
|
|
66
67
|
listLeadStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
70
|
+
* @summary Update the lead status
|
|
71
|
+
* @param {string} code
|
|
72
|
+
* @param {string} [authorization] Bearer Token
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
updateLeadStatus: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
77
|
};
|
|
68
78
|
/**
|
|
69
79
|
* LeadStatusesApi - functional programming interface
|
|
@@ -82,21 +92,21 @@ export declare const LeadStatusesApiFp: (configuration?: Configuration) => {
|
|
|
82
92
|
/**
|
|
83
93
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
84
94
|
* @summary Delete the lead status
|
|
85
|
-
* @param {
|
|
95
|
+
* @param {string} code
|
|
86
96
|
* @param {string} [authorization] Bearer Token
|
|
87
97
|
* @param {*} [options] Override http request option.
|
|
88
98
|
* @throws {RequiredError}
|
|
89
99
|
*/
|
|
90
|
-
deleteLeadStatus(
|
|
100
|
+
deleteLeadStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
91
101
|
/**
|
|
92
102
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
93
103
|
* @summary Retrieve the lead status
|
|
94
|
-
* @param {
|
|
104
|
+
* @param {string} code
|
|
95
105
|
* @param {string} [authorization] Bearer Token
|
|
96
106
|
* @param {*} [options] Override http request option.
|
|
97
107
|
* @throws {RequiredError}
|
|
98
108
|
*/
|
|
99
|
-
getLeadStatus(
|
|
109
|
+
getLeadStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetLeadStatusResponseClass>>;
|
|
100
110
|
/**
|
|
101
111
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
102
112
|
* @summary List lead statuses
|
|
@@ -112,6 +122,15 @@ export declare const LeadStatusesApiFp: (configuration?: Configuration) => {
|
|
|
112
122
|
* @throws {RequiredError}
|
|
113
123
|
*/
|
|
114
124
|
listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListLeadStatusesResponseClass>>;
|
|
125
|
+
/**
|
|
126
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
127
|
+
* @summary Update the lead status
|
|
128
|
+
* @param {string} code
|
|
129
|
+
* @param {string} [authorization] Bearer Token
|
|
130
|
+
* @param {*} [options] Override http request option.
|
|
131
|
+
* @throws {RequiredError}
|
|
132
|
+
*/
|
|
133
|
+
updateLeadStatus(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateLeadStatusResponseClass>>;
|
|
115
134
|
};
|
|
116
135
|
/**
|
|
117
136
|
* LeadStatusesApi - factory interface
|
|
@@ -130,21 +149,21 @@ export declare const LeadStatusesApiFactory: (configuration?: Configuration, bas
|
|
|
130
149
|
/**
|
|
131
150
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
132
151
|
* @summary Delete the lead status
|
|
133
|
-
* @param {
|
|
152
|
+
* @param {string} code
|
|
134
153
|
* @param {string} [authorization] Bearer Token
|
|
135
154
|
* @param {*} [options] Override http request option.
|
|
136
155
|
* @throws {RequiredError}
|
|
137
156
|
*/
|
|
138
|
-
deleteLeadStatus(
|
|
157
|
+
deleteLeadStatus(code: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
139
158
|
/**
|
|
140
159
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
141
160
|
* @summary Retrieve the lead status
|
|
142
|
-
* @param {
|
|
161
|
+
* @param {string} code
|
|
143
162
|
* @param {string} [authorization] Bearer Token
|
|
144
163
|
* @param {*} [options] Override http request option.
|
|
145
164
|
* @throws {RequiredError}
|
|
146
165
|
*/
|
|
147
|
-
getLeadStatus(
|
|
166
|
+
getLeadStatus(code: string, authorization?: string, options?: any): AxiosPromise<GetLeadStatusResponseClass>;
|
|
148
167
|
/**
|
|
149
168
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
150
169
|
* @summary List lead statuses
|
|
@@ -160,6 +179,15 @@ export declare const LeadStatusesApiFactory: (configuration?: Configuration, bas
|
|
|
160
179
|
* @throws {RequiredError}
|
|
161
180
|
*/
|
|
162
181
|
listLeadStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListLeadStatusesResponseClass>;
|
|
182
|
+
/**
|
|
183
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
184
|
+
* @summary Update the lead status
|
|
185
|
+
* @param {string} code
|
|
186
|
+
* @param {string} [authorization] Bearer Token
|
|
187
|
+
* @param {*} [options] Override http request option.
|
|
188
|
+
* @throws {RequiredError}
|
|
189
|
+
*/
|
|
190
|
+
updateLeadStatus(code: string, authorization?: string, options?: any): AxiosPromise<UpdateLeadStatusResponseClass>;
|
|
163
191
|
};
|
|
164
192
|
/**
|
|
165
193
|
* Request parameters for createLeadStatus operation in LeadStatusesApi.
|
|
@@ -188,10 +216,10 @@ export interface LeadStatusesApiCreateLeadStatusRequest {
|
|
|
188
216
|
export interface LeadStatusesApiDeleteLeadStatusRequest {
|
|
189
217
|
/**
|
|
190
218
|
*
|
|
191
|
-
* @type {
|
|
219
|
+
* @type {string}
|
|
192
220
|
* @memberof LeadStatusesApiDeleteLeadStatus
|
|
193
221
|
*/
|
|
194
|
-
readonly
|
|
222
|
+
readonly code: string;
|
|
195
223
|
/**
|
|
196
224
|
* Bearer Token
|
|
197
225
|
* @type {string}
|
|
@@ -207,10 +235,10 @@ export interface LeadStatusesApiDeleteLeadStatusRequest {
|
|
|
207
235
|
export interface LeadStatusesApiGetLeadStatusRequest {
|
|
208
236
|
/**
|
|
209
237
|
*
|
|
210
|
-
* @type {
|
|
238
|
+
* @type {string}
|
|
211
239
|
* @memberof LeadStatusesApiGetLeadStatus
|
|
212
240
|
*/
|
|
213
|
-
readonly
|
|
241
|
+
readonly code: string;
|
|
214
242
|
/**
|
|
215
243
|
* Bearer Token
|
|
216
244
|
* @type {string}
|
|
@@ -273,6 +301,25 @@ export interface LeadStatusesApiListLeadStatusesRequest {
|
|
|
273
301
|
*/
|
|
274
302
|
readonly filters?: any;
|
|
275
303
|
}
|
|
304
|
+
/**
|
|
305
|
+
* Request parameters for updateLeadStatus operation in LeadStatusesApi.
|
|
306
|
+
* @export
|
|
307
|
+
* @interface LeadStatusesApiUpdateLeadStatusRequest
|
|
308
|
+
*/
|
|
309
|
+
export interface LeadStatusesApiUpdateLeadStatusRequest {
|
|
310
|
+
/**
|
|
311
|
+
*
|
|
312
|
+
* @type {string}
|
|
313
|
+
* @memberof LeadStatusesApiUpdateLeadStatus
|
|
314
|
+
*/
|
|
315
|
+
readonly code: string;
|
|
316
|
+
/**
|
|
317
|
+
* Bearer Token
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof LeadStatusesApiUpdateLeadStatus
|
|
320
|
+
*/
|
|
321
|
+
readonly authorization?: string;
|
|
322
|
+
}
|
|
276
323
|
/**
|
|
277
324
|
* LeadStatusesApi - object-oriented interface
|
|
278
325
|
* @export
|
|
@@ -316,4 +363,13 @@ export declare class LeadStatusesApi extends BaseAPI {
|
|
|
316
363
|
* @memberof LeadStatusesApi
|
|
317
364
|
*/
|
|
318
365
|
listLeadStatuses(requestParameters?: LeadStatusesApiListLeadStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListLeadStatusesResponseClass, any>>;
|
|
366
|
+
/**
|
|
367
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
368
|
+
* @summary Update the lead status
|
|
369
|
+
* @param {LeadStatusesApiUpdateLeadStatusRequest} requestParameters Request parameters.
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
* @memberof LeadStatusesApi
|
|
373
|
+
*/
|
|
374
|
+
updateLeadStatus(requestParameters: LeadStatusesApiUpdateLeadStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateLeadStatusResponseClass, any>>;
|
|
319
375
|
}
|
|
@@ -148,22 +148,22 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
148
148
|
/**
|
|
149
149
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
150
150
|
* @summary Delete the lead status
|
|
151
|
-
* @param {
|
|
151
|
+
* @param {string} code
|
|
152
152
|
* @param {string} [authorization] Bearer Token
|
|
153
153
|
* @param {*} [options] Override http request option.
|
|
154
154
|
* @throws {RequiredError}
|
|
155
155
|
*/
|
|
156
|
-
deleteLeadStatus: function (
|
|
156
|
+
deleteLeadStatus: function (code, authorization, options) {
|
|
157
157
|
if (options === void 0) { options = {}; }
|
|
158
158
|
return __awaiter(_this, void 0, void 0, function () {
|
|
159
159
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
160
160
|
return __generator(this, function (_a) {
|
|
161
161
|
switch (_a.label) {
|
|
162
162
|
case 0:
|
|
163
|
-
// verify required parameter '
|
|
164
|
-
(0, common_1.assertParamExists)('deleteLeadStatus', '
|
|
165
|
-
localVarPath = "/insuranceservice/v1/lead-statuses/{
|
|
166
|
-
.replace("{".concat("
|
|
163
|
+
// verify required parameter 'code' is not null or undefined
|
|
164
|
+
(0, common_1.assertParamExists)('deleteLeadStatus', 'code', code);
|
|
165
|
+
localVarPath = "/insuranceservice/v1/lead-statuses/{code}"
|
|
166
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
167
167
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
168
168
|
if (configuration) {
|
|
169
169
|
baseOptions = configuration.baseOptions;
|
|
@@ -196,22 +196,22 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
196
196
|
/**
|
|
197
197
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
198
198
|
* @summary Retrieve the lead status
|
|
199
|
-
* @param {
|
|
199
|
+
* @param {string} code
|
|
200
200
|
* @param {string} [authorization] Bearer Token
|
|
201
201
|
* @param {*} [options] Override http request option.
|
|
202
202
|
* @throws {RequiredError}
|
|
203
203
|
*/
|
|
204
|
-
getLeadStatus: function (
|
|
204
|
+
getLeadStatus: function (code, authorization, options) {
|
|
205
205
|
if (options === void 0) { options = {}; }
|
|
206
206
|
return __awaiter(_this, void 0, void 0, function () {
|
|
207
207
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
208
208
|
return __generator(this, function (_a) {
|
|
209
209
|
switch (_a.label) {
|
|
210
210
|
case 0:
|
|
211
|
-
// verify required parameter '
|
|
212
|
-
(0, common_1.assertParamExists)('getLeadStatus', '
|
|
213
|
-
localVarPath = "/insuranceservice/v1/lead-statuses/{
|
|
214
|
-
.replace("{".concat("
|
|
211
|
+
// verify required parameter 'code' is not null or undefined
|
|
212
|
+
(0, common_1.assertParamExists)('getLeadStatus', 'code', code);
|
|
213
|
+
localVarPath = "/insuranceservice/v1/lead-statuses/{code}"
|
|
214
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
215
215
|
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
216
216
|
if (configuration) {
|
|
217
217
|
baseOptions = configuration.baseOptions;
|
|
@@ -313,6 +313,54 @@ var LeadStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
313
313
|
});
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
|
+
/**
|
|
317
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
318
|
+
* @summary Update the lead status
|
|
319
|
+
* @param {string} code
|
|
320
|
+
* @param {string} [authorization] Bearer Token
|
|
321
|
+
* @param {*} [options] Override http request option.
|
|
322
|
+
* @throws {RequiredError}
|
|
323
|
+
*/
|
|
324
|
+
updateLeadStatus: function (code, authorization, options) {
|
|
325
|
+
if (options === void 0) { options = {}; }
|
|
326
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
327
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
328
|
+
return __generator(this, function (_a) {
|
|
329
|
+
switch (_a.label) {
|
|
330
|
+
case 0:
|
|
331
|
+
// verify required parameter 'code' is not null or undefined
|
|
332
|
+
(0, common_1.assertParamExists)('updateLeadStatus', 'code', code);
|
|
333
|
+
localVarPath = "/insuranceservice/v1/lead-statuses/{code}"
|
|
334
|
+
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
335
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
336
|
+
if (configuration) {
|
|
337
|
+
baseOptions = configuration.baseOptions;
|
|
338
|
+
baseAccessToken = configuration.accessToken;
|
|
339
|
+
}
|
|
340
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
341
|
+
localVarHeaderParameter = {};
|
|
342
|
+
localVarQueryParameter = {};
|
|
343
|
+
// authentication bearer required
|
|
344
|
+
// http bearer authentication required
|
|
345
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
346
|
+
case 1:
|
|
347
|
+
// authentication bearer required
|
|
348
|
+
// http bearer authentication required
|
|
349
|
+
_a.sent();
|
|
350
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
351
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
352
|
+
}
|
|
353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
+
return [2 /*return*/, {
|
|
357
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
358
|
+
options: localVarRequestOptions,
|
|
359
|
+
}];
|
|
360
|
+
}
|
|
361
|
+
});
|
|
362
|
+
});
|
|
363
|
+
},
|
|
316
364
|
};
|
|
317
365
|
};
|
|
318
366
|
exports.LeadStatusesApiAxiosParamCreator = LeadStatusesApiAxiosParamCreator;
|
|
@@ -347,17 +395,17 @@ var LeadStatusesApiFp = function (configuration) {
|
|
|
347
395
|
/**
|
|
348
396
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
349
397
|
* @summary Delete the lead status
|
|
350
|
-
* @param {
|
|
398
|
+
* @param {string} code
|
|
351
399
|
* @param {string} [authorization] Bearer Token
|
|
352
400
|
* @param {*} [options] Override http request option.
|
|
353
401
|
* @throws {RequiredError}
|
|
354
402
|
*/
|
|
355
|
-
deleteLeadStatus: function (
|
|
403
|
+
deleteLeadStatus: function (code, authorization, options) {
|
|
356
404
|
return __awaiter(this, void 0, void 0, function () {
|
|
357
405
|
var localVarAxiosArgs;
|
|
358
406
|
return __generator(this, function (_a) {
|
|
359
407
|
switch (_a.label) {
|
|
360
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteLeadStatus(
|
|
408
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteLeadStatus(code, authorization, options)];
|
|
361
409
|
case 1:
|
|
362
410
|
localVarAxiosArgs = _a.sent();
|
|
363
411
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -368,17 +416,17 @@ var LeadStatusesApiFp = function (configuration) {
|
|
|
368
416
|
/**
|
|
369
417
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
370
418
|
* @summary Retrieve the lead status
|
|
371
|
-
* @param {
|
|
419
|
+
* @param {string} code
|
|
372
420
|
* @param {string} [authorization] Bearer Token
|
|
373
421
|
* @param {*} [options] Override http request option.
|
|
374
422
|
* @throws {RequiredError}
|
|
375
423
|
*/
|
|
376
|
-
getLeadStatus: function (
|
|
424
|
+
getLeadStatus: function (code, authorization, options) {
|
|
377
425
|
return __awaiter(this, void 0, void 0, function () {
|
|
378
426
|
var localVarAxiosArgs;
|
|
379
427
|
return __generator(this, function (_a) {
|
|
380
428
|
switch (_a.label) {
|
|
381
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLeadStatus(
|
|
429
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLeadStatus(code, authorization, options)];
|
|
382
430
|
case 1:
|
|
383
431
|
localVarAxiosArgs = _a.sent();
|
|
384
432
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -413,6 +461,27 @@ var LeadStatusesApiFp = function (configuration) {
|
|
|
413
461
|
});
|
|
414
462
|
});
|
|
415
463
|
},
|
|
464
|
+
/**
|
|
465
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
466
|
+
* @summary Update the lead status
|
|
467
|
+
* @param {string} code
|
|
468
|
+
* @param {string} [authorization] Bearer Token
|
|
469
|
+
* @param {*} [options] Override http request option.
|
|
470
|
+
* @throws {RequiredError}
|
|
471
|
+
*/
|
|
472
|
+
updateLeadStatus: function (code, authorization, options) {
|
|
473
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
474
|
+
var localVarAxiosArgs;
|
|
475
|
+
return __generator(this, function (_a) {
|
|
476
|
+
switch (_a.label) {
|
|
477
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLeadStatus(code, authorization, options)];
|
|
478
|
+
case 1:
|
|
479
|
+
localVarAxiosArgs = _a.sent();
|
|
480
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
481
|
+
}
|
|
482
|
+
});
|
|
483
|
+
});
|
|
484
|
+
},
|
|
416
485
|
};
|
|
417
486
|
};
|
|
418
487
|
exports.LeadStatusesApiFp = LeadStatusesApiFp;
|
|
@@ -437,24 +506,24 @@ var LeadStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
437
506
|
/**
|
|
438
507
|
* Permanently deletes the lead status. Supply the unique id that was returned when you created the lead status and this will delete it. Deleting a lead status can have an impact on workflows, and it\'s crucial to ensure that no workflows are using the lead status that is being deleted.
|
|
439
508
|
* @summary Delete the lead status
|
|
440
|
-
* @param {
|
|
509
|
+
* @param {string} code
|
|
441
510
|
* @param {string} [authorization] Bearer Token
|
|
442
511
|
* @param {*} [options] Override http request option.
|
|
443
512
|
* @throws {RequiredError}
|
|
444
513
|
*/
|
|
445
|
-
deleteLeadStatus: function (
|
|
446
|
-
return localVarFp.deleteLeadStatus(
|
|
514
|
+
deleteLeadStatus: function (code, authorization, options) {
|
|
515
|
+
return localVarFp.deleteLeadStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
447
516
|
},
|
|
448
517
|
/**
|
|
449
518
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
450
519
|
* @summary Retrieve the lead status
|
|
451
|
-
* @param {
|
|
520
|
+
* @param {string} code
|
|
452
521
|
* @param {string} [authorization] Bearer Token
|
|
453
522
|
* @param {*} [options] Override http request option.
|
|
454
523
|
* @throws {RequiredError}
|
|
455
524
|
*/
|
|
456
|
-
getLeadStatus: function (
|
|
457
|
-
return localVarFp.getLeadStatus(
|
|
525
|
+
getLeadStatus: function (code, authorization, options) {
|
|
526
|
+
return localVarFp.getLeadStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
458
527
|
},
|
|
459
528
|
/**
|
|
460
529
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -473,6 +542,17 @@ var LeadStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
473
542
|
listLeadStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
474
543
|
return localVarFp.listLeadStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
475
544
|
},
|
|
545
|
+
/**
|
|
546
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
547
|
+
* @summary Update the lead status
|
|
548
|
+
* @param {string} code
|
|
549
|
+
* @param {string} [authorization] Bearer Token
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
updateLeadStatus: function (code, authorization, options) {
|
|
554
|
+
return localVarFp.updateLeadStatus(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
555
|
+
},
|
|
476
556
|
};
|
|
477
557
|
};
|
|
478
558
|
exports.LeadStatusesApiFactory = LeadStatusesApiFactory;
|
|
@@ -509,7 +589,7 @@ var LeadStatusesApi = /** @class */ (function (_super) {
|
|
|
509
589
|
*/
|
|
510
590
|
LeadStatusesApi.prototype.deleteLeadStatus = function (requestParameters, options) {
|
|
511
591
|
var _this = this;
|
|
512
|
-
return (0, exports.LeadStatusesApiFp)(this.configuration).deleteLeadStatus(requestParameters.
|
|
592
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).deleteLeadStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
513
593
|
};
|
|
514
594
|
/**
|
|
515
595
|
* Retrieves the details of the lead status that was previously created. Supply the unique lead status code that was returned when you created it and Emil Api will return the corresponding lead status information.
|
|
@@ -521,7 +601,7 @@ var LeadStatusesApi = /** @class */ (function (_super) {
|
|
|
521
601
|
*/
|
|
522
602
|
LeadStatusesApi.prototype.getLeadStatus = function (requestParameters, options) {
|
|
523
603
|
var _this = this;
|
|
524
|
-
return (0, exports.LeadStatusesApiFp)(this.configuration).getLeadStatus(requestParameters.
|
|
604
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).getLeadStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
525
605
|
};
|
|
526
606
|
/**
|
|
527
607
|
* Returns a list of lead statuses you have previously created. The lead statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -536,6 +616,18 @@ var LeadStatusesApi = /** @class */ (function (_super) {
|
|
|
536
616
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
537
617
|
return (0, exports.LeadStatusesApiFp)(this.configuration).listLeadStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
538
618
|
};
|
|
619
|
+
/**
|
|
620
|
+
* Updates the specified lead status by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
621
|
+
* @summary Update the lead status
|
|
622
|
+
* @param {LeadStatusesApiUpdateLeadStatusRequest} requestParameters Request parameters.
|
|
623
|
+
* @param {*} [options] Override http request option.
|
|
624
|
+
* @throws {RequiredError}
|
|
625
|
+
* @memberof LeadStatusesApi
|
|
626
|
+
*/
|
|
627
|
+
LeadStatusesApi.prototype.updateLeadStatus = function (requestParameters, options) {
|
|
628
|
+
var _this = this;
|
|
629
|
+
return (0, exports.LeadStatusesApiFp)(this.configuration).updateLeadStatus(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
630
|
+
};
|
|
539
631
|
return LeadStatusesApi;
|
|
540
632
|
}(base_1.BaseAPI));
|
|
541
633
|
exports.LeadStatusesApi = LeadStatusesApi;
|
|
@@ -111,11 +111,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
111
111
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
112
112
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
113
113
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
114
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
114
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
115
115
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
116
116
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
117
117
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
118
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
118
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
119
119
|
* @param {*} [options] Override http request option.
|
|
120
120
|
* @throws {RequiredError}
|
|
121
121
|
*/
|
|
@@ -291,11 +291,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
291
291
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
292
292
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
293
293
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
294
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
294
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
295
295
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
296
296
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
297
297
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
298
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
298
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
299
299
|
* @param {*} [options] Override http request option.
|
|
300
300
|
* @throws {RequiredError}
|
|
301
301
|
*/
|
|
@@ -471,11 +471,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
471
471
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
472
472
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
473
473
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
474
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
474
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
475
475
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
476
476
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
477
477
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
478
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
478
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
479
479
|
* @param {*} [options] Override http request option.
|
|
480
480
|
* @throws {RequiredError}
|
|
481
481
|
*/
|
|
@@ -760,7 +760,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
760
760
|
*/
|
|
761
761
|
readonly pageToken?: any;
|
|
762
762
|
/**
|
|
763
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
763
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
764
764
|
* @type {string}
|
|
765
765
|
* @memberof PoliciesApiListPolicies
|
|
766
766
|
*/
|
|
@@ -784,7 +784,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
784
784
|
*/
|
|
785
785
|
readonly expand?: string;
|
|
786
786
|
/**
|
|
787
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
787
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
788
788
|
* @type {string}
|
|
789
789
|
* @memberof PoliciesApiListPolicies
|
|
790
790
|
*/
|
package/dist/api/policies-api.js
CHANGED
|
@@ -461,11 +461,11 @@ var PoliciesApiAxiosParamCreator = function (configuration) {
|
|
|
461
461
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
462
462
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
463
463
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
464
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
464
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
465
465
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
466
466
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
467
467
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
468
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
468
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
469
469
|
* @param {*} [options] Override http request option.
|
|
470
470
|
* @throws {RequiredError}
|
|
471
471
|
*/
|
|
@@ -1161,11 +1161,11 @@ var PoliciesApiFp = function (configuration) {
|
|
|
1161
1161
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1162
1162
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1163
1163
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1164
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1164
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1165
1165
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1166
1166
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
1167
1167
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
1168
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1168
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1169
1169
|
* @param {*} [options] Override http request option.
|
|
1170
1170
|
* @throws {RequiredError}
|
|
1171
1171
|
*/
|
|
@@ -1467,11 +1467,11 @@ var PoliciesApiFactory = function (configuration, basePath, axios) {
|
|
|
1467
1467
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1468
1468
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1469
1469
|
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1470
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1470
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1471
1471
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
1472
1472
|
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
1473
1473
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: versions, product, timelines, premiums, premiumItems, premiumFormulas, currentVersion, currentTimelines, currentPremiums, currentPremiumItems, currentPremiumFormulas, partnerLinks<i>
|
|
1474
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
1474
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData, partnerCode</i>
|
|
1475
1475
|
* @param {*} [options] Override http request option.
|
|
1476
1476
|
* @throws {RequiredError}
|
|
1477
1477
|
*/
|
|
@@ -16,15 +16,21 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface CreateLeadStatusRequestDto {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Status name. There are 3 default status value named: Created, Approved and Declined. Tenants can add their own custom lead statuses, if default statuses are not suitable for their products.
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof CreateLeadStatusRequestDto
|
|
22
22
|
*/
|
|
23
23
|
'name': string;
|
|
24
24
|
/**
|
|
25
|
-
*
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof CreateLeadStatusRequestDto
|
|
28
28
|
*/
|
|
29
29
|
'productSlug': string;
|
|
30
|
+
/**
|
|
31
|
+
* Specifies whether this lead status should be automatically assigned to new leads when no specific status is provided in the create lead request. Only one status — whether predefined or custom — can have isDefault set to true at any time, with all others set to false. If a new status is marked with isDefault: true, it will automatically update isDefault to false for all other statuses.
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof CreateLeadStatusRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'isDefault'?: boolean;
|
|
30
36
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -204,6 +204,7 @@ export * from './update-emil-function-secret-request-dto';
|
|
|
204
204
|
export * from './update-insured-object-request-dto';
|
|
205
205
|
export * from './update-lead-request-dto';
|
|
206
206
|
export * from './update-lead-response-class';
|
|
207
|
+
export * from './update-lead-status-response-class';
|
|
207
208
|
export * from './update-named-range-request-dto';
|
|
208
209
|
export * from './update-named-range-response-class';
|
|
209
210
|
export * from './update-partner-link-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -220,6 +220,7 @@ __exportStar(require("./update-emil-function-secret-request-dto"), exports);
|
|
|
220
220
|
__exportStar(require("./update-insured-object-request-dto"), exports);
|
|
221
221
|
__exportStar(require("./update-lead-request-dto"), exports);
|
|
222
222
|
__exportStar(require("./update-lead-response-class"), exports);
|
|
223
|
+
__exportStar(require("./update-lead-status-response-class"), exports);
|
|
223
224
|
__exportStar(require("./update-named-range-request-dto"), exports);
|
|
224
225
|
__exportStar(require("./update-named-range-response-class"), exports);
|
|
225
226
|
__exportStar(require("./update-partner-link-request-dto"), exports);
|
|
@@ -21,6 +21,12 @@ export interface LeadStatusClass {
|
|
|
21
21
|
* @memberof LeadStatusClass
|
|
22
22
|
*/
|
|
23
23
|
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier for the object.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof LeadStatusClass
|
|
28
|
+
*/
|
|
29
|
+
'code': string;
|
|
24
30
|
/**
|
|
25
31
|
* Status name
|
|
26
32
|
* @type {string}
|
|
@@ -33,6 +39,12 @@ export interface LeadStatusClass {
|
|
|
33
39
|
* @memberof LeadStatusClass
|
|
34
40
|
*/
|
|
35
41
|
'productSlug': string;
|
|
42
|
+
/**
|
|
43
|
+
* Indicates if this status is the default for the lead. Defaults to false. When set to true, this status will automatically become the default for new leads, and any other status currently marked as default will be updated to false.
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof LeadStatusClass
|
|
46
|
+
*/
|
|
47
|
+
'isDefault': boolean;
|
|
36
48
|
/**
|
|
37
49
|
* Identifier of the user who created the record.
|
|
38
50
|
* @type {string}
|
|
@@ -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 { LeadStatusClass } from './lead-status-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateLeadStatusResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateLeadStatusResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Lead status
|
|
21
|
+
* @type {LeadStatusClass}
|
|
22
|
+
* @memberof UpdateLeadStatusResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'leadStatus': LeadStatusClass;
|
|
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 });
|
|
@@ -21,16 +21,22 @@
|
|
|
21
21
|
*/
|
|
22
22
|
export interface CreateLeadStatusRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Status name. There are 3 default status value named: Created, Approved and Declined. Tenants can add their own custom lead statuses, if default statuses are not suitable for their products.
|
|
25
25
|
* @type {string}
|
|
26
26
|
* @memberof CreateLeadStatusRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'name': string;
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @memberof CreateLeadStatusRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'productSlug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Specifies whether this lead status should be automatically assigned to new leads when no specific status is provided in the create lead request. Only one status — whether predefined or custom — can have isDefault set to true at any time, with all others set to false. If a new status is marked with isDefault: true, it will automatically update isDefault to false for all other statuses.
|
|
37
|
+
* @type {boolean}
|
|
38
|
+
* @memberof CreateLeadStatusRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'isDefault'?: boolean;
|
|
35
41
|
}
|
|
36
42
|
|
package/models/index.ts
CHANGED
|
@@ -204,6 +204,7 @@ export * from './update-emil-function-secret-request-dto';
|
|
|
204
204
|
export * from './update-insured-object-request-dto';
|
|
205
205
|
export * from './update-lead-request-dto';
|
|
206
206
|
export * from './update-lead-response-class';
|
|
207
|
+
export * from './update-lead-status-response-class';
|
|
207
208
|
export * from './update-named-range-request-dto';
|
|
208
209
|
export * from './update-named-range-response-class';
|
|
209
210
|
export * from './update-partner-link-request-dto';
|
|
@@ -26,6 +26,12 @@ export interface LeadStatusClass {
|
|
|
26
26
|
* @memberof LeadStatusClass
|
|
27
27
|
*/
|
|
28
28
|
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Unique identifier for the object.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LeadStatusClass
|
|
33
|
+
*/
|
|
34
|
+
'code': string;
|
|
29
35
|
/**
|
|
30
36
|
* Status name
|
|
31
37
|
* @type {string}
|
|
@@ -38,6 +44,12 @@ export interface LeadStatusClass {
|
|
|
38
44
|
* @memberof LeadStatusClass
|
|
39
45
|
*/
|
|
40
46
|
'productSlug': string;
|
|
47
|
+
/**
|
|
48
|
+
* Indicates if this status is the default for the lead. Defaults to false. When set to true, this status will automatically become the default for new leads, and any other status currently marked as default will be updated to false.
|
|
49
|
+
* @type {boolean}
|
|
50
|
+
* @memberof LeadStatusClass
|
|
51
|
+
*/
|
|
52
|
+
'isDefault': boolean;
|
|
41
53
|
/**
|
|
42
54
|
* Identifier of the user who created the record.
|
|
43
55
|
* @type {string}
|
|
@@ -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 { LeadStatusClass } from './lead-status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateLeadStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateLeadStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Lead status
|
|
26
|
+
* @type {LeadStatusClass}
|
|
27
|
+
* @memberof UpdateLeadStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'leadStatus': LeadStatusClass;
|
|
30
|
+
}
|
|
31
|
+
|