@emilgroup/insurance-sdk-node 1.22.0 → 1.23.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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/premium-formulas-api.ts +107 -0
- package/dist/api/premium-formulas-api.d.ts +57 -0
- package/dist/api/premium-formulas-api.js +93 -0
- package/dist/models/create-lead-policy-request-dto.d.ts +1 -1
- package/dist/models/create-lead-request-dto.d.ts +7 -7
- package/dist/models/create-premium-formula-request-dto.d.ts +12 -0
- package/dist/models/empty-response-class.d.ts +24 -0
- package/dist/models/empty-response-class.js +15 -0
- package/dist/models/grpc-patch-lead-request-dto.d.ts +1 -1
- package/dist/models/grpc-update-lead-request-dto.d.ts +7 -7
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/patch-lead-request-dto.d.ts +1 -1
- package/dist/models/policy-object-dto.d.ts +1 -1
- package/dist/models/premium-formula-class.d.ts +12 -0
- package/dist/models/shared-create-lead-policy-request-dto.d.ts +1 -1
- package/dist/models/shared-lead-policy-object-dto.d.ts +1 -1
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +12 -0
- package/dist/models/swap-premium-formulas-order-requestt-dto.d.ts +30 -0
- package/dist/models/swap-premium-formulas-order-requestt-dto.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -7
- package/dist/models/update-premium-formula-request-dto.d.ts +12 -0
- package/models/create-lead-policy-request-dto.ts +1 -1
- package/models/create-lead-request-dto.ts +7 -7
- package/models/create-premium-formula-request-dto.ts +12 -0
- package/models/empty-response-class.ts +30 -0
- package/models/grpc-patch-lead-request-dto.ts +1 -1
- package/models/grpc-update-lead-request-dto.ts +7 -7
- package/models/index.ts +2 -0
- package/models/patch-lead-request-dto.ts +1 -1
- package/models/policy-object-dto.ts +1 -1
- package/models/premium-formula-class.ts +12 -0
- package/models/shared-create-lead-policy-request-dto.ts +1 -1
- package/models/shared-lead-policy-object-dto.ts +1 -1
- package/models/shared-update-premium-formula-request-dto.ts +12 -0
- package/models/swap-premium-formulas-order-requestt-dto.ts +36 -0
- package/models/update-lead-request-dto.ts +7 -7
- package/models/update-premium-formula-request-dto.ts +12 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -49,6 +49,7 @@ models/create-product-response-class.ts
|
|
|
49
49
|
models/csv-product-factor-dto.ts
|
|
50
50
|
models/delete-request-dto.ts
|
|
51
51
|
models/delete-response-class.ts
|
|
52
|
+
models/empty-response-class.ts
|
|
52
53
|
models/get-insured-object-response-class.ts
|
|
53
54
|
models/get-lead-response-class.ts
|
|
54
55
|
models/get-lead-status-response-class.ts
|
|
@@ -126,6 +127,7 @@ models/store-product-factors-request-dto.ts
|
|
|
126
127
|
models/store-product-factors-response-class.ts
|
|
127
128
|
models/suspend-policy-request-dto.ts
|
|
128
129
|
models/suspend-policy-response-class.ts
|
|
130
|
+
models/swap-premium-formulas-order-requestt-dto.ts
|
|
129
131
|
models/terminate-policy-request-dto.ts
|
|
130
132
|
models/terminate-policy-response-class.ts
|
|
131
133
|
models/timeslice-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.
|
|
20
|
+
npm install @emilgroup/insurance-sdk-node@1.23.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/insurance-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/insurance-sdk-node@1.23.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PoliciesApi`.
|
|
@@ -27,10 +27,14 @@ import { CreatePremiumFormulaResponseClass } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { DeleteResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
|
+
import { EmptyResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
30
32
|
import { GetPremiumFormulaResponseClass } from '../models';
|
|
31
33
|
// @ts-ignore
|
|
32
34
|
import { ListPremiumFormulasResponseClass } from '../models';
|
|
33
35
|
// @ts-ignore
|
|
36
|
+
import { SwapPremiumFormulasOrderRequesttDto } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
34
38
|
import { UpdatePremiumFormulaRequestDto } from '../models';
|
|
35
39
|
// @ts-ignore
|
|
36
40
|
import { UpdatePremiumFormulaResponseClass } from '../models';
|
|
@@ -252,6 +256,53 @@ export const PremiumFormulasApiAxiosParamCreator = function (configuration?: Con
|
|
|
252
256
|
options: localVarRequestOptions,
|
|
253
257
|
};
|
|
254
258
|
},
|
|
259
|
+
/**
|
|
260
|
+
* Swaps premium formulas order.
|
|
261
|
+
* @summary Swaps premium formulas order
|
|
262
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
263
|
+
* @param {string} [authorization] Bearer Token
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
swapPremiumFormulasOrder: async (swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
|
+
// verify required parameter 'swapPremiumFormulasOrderRequesttDto' is not null or undefined
|
|
269
|
+
assertParamExists('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequesttDto', swapPremiumFormulasOrderRequesttDto)
|
|
270
|
+
const localVarPath = `/insuranceservice/v1/premium-formulas/reorder`;
|
|
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: 'POST', ...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
|
+
|
|
294
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
295
|
+
|
|
296
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
297
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
298
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
299
|
+
localVarRequestOptions.data = serializeDataIfNeeded(swapPremiumFormulasOrderRequesttDto, localVarRequestOptions, configuration)
|
|
300
|
+
|
|
301
|
+
return {
|
|
302
|
+
url: toPathString(localVarUrlObj),
|
|
303
|
+
options: localVarRequestOptions,
|
|
304
|
+
};
|
|
305
|
+
},
|
|
255
306
|
/**
|
|
256
307
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
257
308
|
* @summary Update the premium formula
|
|
@@ -366,6 +417,18 @@ export const PremiumFormulasApiFp = function(configuration?: Configuration) {
|
|
|
366
417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
367
418
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
419
|
},
|
|
420
|
+
/**
|
|
421
|
+
* Swaps premium formulas order.
|
|
422
|
+
* @summary Swaps premium formulas order
|
|
423
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
424
|
+
* @param {string} [authorization] Bearer Token
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
*/
|
|
428
|
+
async swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>> {
|
|
429
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options);
|
|
430
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
431
|
+
},
|
|
369
432
|
/**
|
|
370
433
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
371
434
|
* @summary Update the premium formula
|
|
@@ -438,6 +501,17 @@ export const PremiumFormulasApiFactory = function (configuration?: Configuration
|
|
|
438
501
|
listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPremiumFormulasResponseClass> {
|
|
439
502
|
return localVarFp.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
440
503
|
},
|
|
504
|
+
/**
|
|
505
|
+
* Swaps premium formulas order.
|
|
506
|
+
* @summary Swaps premium formulas order
|
|
507
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
508
|
+
* @param {string} [authorization] Bearer Token
|
|
509
|
+
* @param {*} [options] Override http request option.
|
|
510
|
+
* @throws {RequiredError}
|
|
511
|
+
*/
|
|
512
|
+
swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass> {
|
|
513
|
+
return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options).then((request) => request(axios, basePath));
|
|
514
|
+
},
|
|
441
515
|
/**
|
|
442
516
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
443
517
|
* @summary Update the premium formula
|
|
@@ -572,6 +646,27 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
|
|
|
572
646
|
readonly expand?: string
|
|
573
647
|
}
|
|
574
648
|
|
|
649
|
+
/**
|
|
650
|
+
* Request parameters for swapPremiumFormulasOrder operation in PremiumFormulasApi.
|
|
651
|
+
* @export
|
|
652
|
+
* @interface PremiumFormulasApiSwapPremiumFormulasOrderRequest
|
|
653
|
+
*/
|
|
654
|
+
export interface PremiumFormulasApiSwapPremiumFormulasOrderRequest {
|
|
655
|
+
/**
|
|
656
|
+
*
|
|
657
|
+
* @type {SwapPremiumFormulasOrderRequesttDto}
|
|
658
|
+
* @memberof PremiumFormulasApiSwapPremiumFormulasOrder
|
|
659
|
+
*/
|
|
660
|
+
readonly swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Bearer Token
|
|
664
|
+
* @type {string}
|
|
665
|
+
* @memberof PremiumFormulasApiSwapPremiumFormulasOrder
|
|
666
|
+
*/
|
|
667
|
+
readonly authorization?: string
|
|
668
|
+
}
|
|
669
|
+
|
|
575
670
|
/**
|
|
576
671
|
* Request parameters for updatePremiumFormula operation in PremiumFormulasApi.
|
|
577
672
|
* @export
|
|
@@ -655,6 +750,18 @@ export class PremiumFormulasApi extends BaseAPI {
|
|
|
655
750
|
return PremiumFormulasApiFp(this.configuration).listPremiumFormulas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
656
751
|
}
|
|
657
752
|
|
|
753
|
+
/**
|
|
754
|
+
* Swaps premium formulas order.
|
|
755
|
+
* @summary Swaps premium formulas order
|
|
756
|
+
* @param {PremiumFormulasApiSwapPremiumFormulasOrderRequest} requestParameters Request parameters.
|
|
757
|
+
* @param {*} [options] Override http request option.
|
|
758
|
+
* @throws {RequiredError}
|
|
759
|
+
* @memberof PremiumFormulasApi
|
|
760
|
+
*/
|
|
761
|
+
public swapPremiumFormulasOrder(requestParameters: PremiumFormulasApiSwapPremiumFormulasOrderRequest, options?: AxiosRequestConfig) {
|
|
762
|
+
return PremiumFormulasApiFp(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequesttDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
763
|
+
}
|
|
764
|
+
|
|
658
765
|
/**
|
|
659
766
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
660
767
|
* @summary Update the premium formula
|
|
@@ -15,8 +15,10 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CreatePremiumFormulaRequestDto } from '../models';
|
|
16
16
|
import { CreatePremiumFormulaResponseClass } from '../models';
|
|
17
17
|
import { DeleteResponseClass } from '../models';
|
|
18
|
+
import { EmptyResponseClass } from '../models';
|
|
18
19
|
import { GetPremiumFormulaResponseClass } from '../models';
|
|
19
20
|
import { ListPremiumFormulasResponseClass } from '../models';
|
|
21
|
+
import { SwapPremiumFormulasOrderRequesttDto } from '../models';
|
|
20
22
|
import { UpdatePremiumFormulaRequestDto } from '../models';
|
|
21
23
|
import { UpdatePremiumFormulaResponseClass } from '../models';
|
|
22
24
|
/**
|
|
@@ -65,6 +67,15 @@ export declare const PremiumFormulasApiAxiosParamCreator: (configuration?: Confi
|
|
|
65
67
|
* @throws {RequiredError}
|
|
66
68
|
*/
|
|
67
69
|
listPremiumFormulas: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
* Swaps premium formulas order.
|
|
72
|
+
* @summary Swaps premium formulas order
|
|
73
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
74
|
+
* @param {string} [authorization] Bearer Token
|
|
75
|
+
* @param {*} [options] Override http request option.
|
|
76
|
+
* @throws {RequiredError}
|
|
77
|
+
*/
|
|
78
|
+
swapPremiumFormulasOrder: (swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
79
|
/**
|
|
69
80
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
70
81
|
* @summary Update the premium formula
|
|
@@ -122,6 +133,15 @@ export declare const PremiumFormulasApiFp: (configuration?: Configuration) => {
|
|
|
122
133
|
* @throws {RequiredError}
|
|
123
134
|
*/
|
|
124
135
|
listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPremiumFormulasResponseClass>>;
|
|
136
|
+
/**
|
|
137
|
+
* Swaps premium formulas order.
|
|
138
|
+
* @summary Swaps premium formulas order
|
|
139
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
140
|
+
* @param {string} [authorization] Bearer Token
|
|
141
|
+
* @param {*} [options] Override http request option.
|
|
142
|
+
* @throws {RequiredError}
|
|
143
|
+
*/
|
|
144
|
+
swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EmptyResponseClass>>;
|
|
125
145
|
/**
|
|
126
146
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
127
147
|
* @summary Update the premium formula
|
|
@@ -179,6 +199,15 @@ export declare const PremiumFormulasApiFactory: (configuration?: Configuration,
|
|
|
179
199
|
* @throws {RequiredError}
|
|
180
200
|
*/
|
|
181
201
|
listPremiumFormulas(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPremiumFormulasResponseClass>;
|
|
202
|
+
/**
|
|
203
|
+
* Swaps premium formulas order.
|
|
204
|
+
* @summary Swaps premium formulas order
|
|
205
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
206
|
+
* @param {string} [authorization] Bearer Token
|
|
207
|
+
* @param {*} [options] Override http request option.
|
|
208
|
+
* @throws {RequiredError}
|
|
209
|
+
*/
|
|
210
|
+
swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto, authorization?: string, options?: any): AxiosPromise<EmptyResponseClass>;
|
|
182
211
|
/**
|
|
183
212
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
184
213
|
* @summary Update the premium formula
|
|
@@ -296,6 +325,25 @@ export interface PremiumFormulasApiListPremiumFormulasRequest {
|
|
|
296
325
|
*/
|
|
297
326
|
readonly expand?: string;
|
|
298
327
|
}
|
|
328
|
+
/**
|
|
329
|
+
* Request parameters for swapPremiumFormulasOrder operation in PremiumFormulasApi.
|
|
330
|
+
* @export
|
|
331
|
+
* @interface PremiumFormulasApiSwapPremiumFormulasOrderRequest
|
|
332
|
+
*/
|
|
333
|
+
export interface PremiumFormulasApiSwapPremiumFormulasOrderRequest {
|
|
334
|
+
/**
|
|
335
|
+
*
|
|
336
|
+
* @type {SwapPremiumFormulasOrderRequesttDto}
|
|
337
|
+
* @memberof PremiumFormulasApiSwapPremiumFormulasOrder
|
|
338
|
+
*/
|
|
339
|
+
readonly swapPremiumFormulasOrderRequesttDto: SwapPremiumFormulasOrderRequesttDto;
|
|
340
|
+
/**
|
|
341
|
+
* Bearer Token
|
|
342
|
+
* @type {string}
|
|
343
|
+
* @memberof PremiumFormulasApiSwapPremiumFormulasOrder
|
|
344
|
+
*/
|
|
345
|
+
readonly authorization?: string;
|
|
346
|
+
}
|
|
299
347
|
/**
|
|
300
348
|
* Request parameters for updatePremiumFormula operation in PremiumFormulasApi.
|
|
301
349
|
* @export
|
|
@@ -364,6 +412,15 @@ export declare class PremiumFormulasApi extends BaseAPI {
|
|
|
364
412
|
* @memberof PremiumFormulasApi
|
|
365
413
|
*/
|
|
366
414
|
listPremiumFormulas(requestParameters?: PremiumFormulasApiListPremiumFormulasRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPremiumFormulasResponseClass, any>>;
|
|
415
|
+
/**
|
|
416
|
+
* Swaps premium formulas order.
|
|
417
|
+
* @summary Swaps premium formulas order
|
|
418
|
+
* @param {PremiumFormulasApiSwapPremiumFormulasOrderRequest} requestParameters Request parameters.
|
|
419
|
+
* @param {*} [options] Override http request option.
|
|
420
|
+
* @throws {RequiredError}
|
|
421
|
+
* @memberof PremiumFormulasApi
|
|
422
|
+
*/
|
|
423
|
+
swapPremiumFormulasOrder(requestParameters: PremiumFormulasApiSwapPremiumFormulasOrderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EmptyResponseClass, any>>;
|
|
367
424
|
/**
|
|
368
425
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
369
426
|
* @summary Update the premium formula
|
|
@@ -309,6 +309,55 @@ var PremiumFormulasApiAxiosParamCreator = function (configuration) {
|
|
|
309
309
|
});
|
|
310
310
|
});
|
|
311
311
|
},
|
|
312
|
+
/**
|
|
313
|
+
* Swaps premium formulas order.
|
|
314
|
+
* @summary Swaps premium formulas order
|
|
315
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
316
|
+
* @param {string} [authorization] Bearer Token
|
|
317
|
+
* @param {*} [options] Override http request option.
|
|
318
|
+
* @throws {RequiredError}
|
|
319
|
+
*/
|
|
320
|
+
swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
|
|
321
|
+
if (options === void 0) { options = {}; }
|
|
322
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
323
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
324
|
+
return __generator(this, function (_a) {
|
|
325
|
+
switch (_a.label) {
|
|
326
|
+
case 0:
|
|
327
|
+
// verify required parameter 'swapPremiumFormulasOrderRequesttDto' is not null or undefined
|
|
328
|
+
(0, common_1.assertParamExists)('swapPremiumFormulasOrder', 'swapPremiumFormulasOrderRequesttDto', swapPremiumFormulasOrderRequesttDto);
|
|
329
|
+
localVarPath = "/insuranceservice/v1/premium-formulas/reorder";
|
|
330
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
331
|
+
if (configuration) {
|
|
332
|
+
baseOptions = configuration.baseOptions;
|
|
333
|
+
baseAccessToken = configuration.accessToken;
|
|
334
|
+
}
|
|
335
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
336
|
+
localVarHeaderParameter = {};
|
|
337
|
+
localVarQueryParameter = {};
|
|
338
|
+
// authentication bearer required
|
|
339
|
+
// http bearer authentication required
|
|
340
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
341
|
+
case 1:
|
|
342
|
+
// authentication bearer required
|
|
343
|
+
// http bearer authentication required
|
|
344
|
+
_a.sent();
|
|
345
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
346
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
347
|
+
}
|
|
348
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
349
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
350
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
351
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
352
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(swapPremiumFormulasOrderRequesttDto, localVarRequestOptions, configuration);
|
|
353
|
+
return [2 /*return*/, {
|
|
354
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
355
|
+
options: localVarRequestOptions,
|
|
356
|
+
}];
|
|
357
|
+
}
|
|
358
|
+
});
|
|
359
|
+
});
|
|
360
|
+
},
|
|
312
361
|
/**
|
|
313
362
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
314
363
|
* @summary Update the premium formula
|
|
@@ -461,6 +510,27 @@ var PremiumFormulasApiFp = function (configuration) {
|
|
|
461
510
|
});
|
|
462
511
|
});
|
|
463
512
|
},
|
|
513
|
+
/**
|
|
514
|
+
* Swaps premium formulas order.
|
|
515
|
+
* @summary Swaps premium formulas order
|
|
516
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
517
|
+
* @param {string} [authorization] Bearer Token
|
|
518
|
+
* @param {*} [options] Override http request option.
|
|
519
|
+
* @throws {RequiredError}
|
|
520
|
+
*/
|
|
521
|
+
swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
|
|
522
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
523
|
+
var localVarAxiosArgs;
|
|
524
|
+
return __generator(this, function (_a) {
|
|
525
|
+
switch (_a.label) {
|
|
526
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options)];
|
|
527
|
+
case 1:
|
|
528
|
+
localVarAxiosArgs = _a.sent();
|
|
529
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
530
|
+
}
|
|
531
|
+
});
|
|
532
|
+
});
|
|
533
|
+
},
|
|
464
534
|
/**
|
|
465
535
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
466
536
|
* @summary Update the premium formula
|
|
@@ -542,6 +612,17 @@ var PremiumFormulasApiFactory = function (configuration, basePath, axios) {
|
|
|
542
612
|
listPremiumFormulas: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
543
613
|
return localVarFp.listPremiumFormulas(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
544
614
|
},
|
|
615
|
+
/**
|
|
616
|
+
* Swaps premium formulas order.
|
|
617
|
+
* @summary Swaps premium formulas order
|
|
618
|
+
* @param {SwapPremiumFormulasOrderRequesttDto} swapPremiumFormulasOrderRequesttDto
|
|
619
|
+
* @param {string} [authorization] Bearer Token
|
|
620
|
+
* @param {*} [options] Override http request option.
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
*/
|
|
623
|
+
swapPremiumFormulasOrder: function (swapPremiumFormulasOrderRequesttDto, authorization, options) {
|
|
624
|
+
return localVarFp.swapPremiumFormulasOrder(swapPremiumFormulasOrderRequesttDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
625
|
+
},
|
|
545
626
|
/**
|
|
546
627
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
547
628
|
* @summary Update the premium formula
|
|
@@ -617,6 +698,18 @@ var PremiumFormulasApi = /** @class */ (function (_super) {
|
|
|
617
698
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
618
699
|
return (0, exports.PremiumFormulasApiFp)(this.configuration).listPremiumFormulas(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
700
|
};
|
|
701
|
+
/**
|
|
702
|
+
* Swaps premium formulas order.
|
|
703
|
+
* @summary Swaps premium formulas order
|
|
704
|
+
* @param {PremiumFormulasApiSwapPremiumFormulasOrderRequest} requestParameters Request parameters.
|
|
705
|
+
* @param {*} [options] Override http request option.
|
|
706
|
+
* @throws {RequiredError}
|
|
707
|
+
* @memberof PremiumFormulasApi
|
|
708
|
+
*/
|
|
709
|
+
PremiumFormulasApi.prototype.swapPremiumFormulasOrder = function (requestParameters, options) {
|
|
710
|
+
var _this = this;
|
|
711
|
+
return (0, exports.PremiumFormulasApiFp)(this.configuration).swapPremiumFormulasOrder(requestParameters.swapPremiumFormulasOrderRequesttDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
712
|
+
};
|
|
620
713
|
/**
|
|
621
714
|
* Updates the specified premium formula by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
622
715
|
* @summary Update the premium formula
|
|
@@ -42,7 +42,7 @@ export interface CreateLeadPolicyRequestDto {
|
|
|
42
42
|
*/
|
|
43
43
|
'policyObjects'?: Array<SharedLeadPolicyObjectDto>;
|
|
44
44
|
/**
|
|
45
|
-
* Premium Override is utilized to override the premium calculation.
|
|
45
|
+
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
46
46
|
* @type {PremiumOverrideRequestDto}
|
|
47
47
|
* @memberof CreateLeadPolicyRequestDto
|
|
48
48
|
*/
|
|
@@ -34,7 +34,7 @@ export interface CreateLeadRequestDto {
|
|
|
34
34
|
*/
|
|
35
35
|
'productVersionId'?: number;
|
|
36
36
|
/**
|
|
37
|
-
* The account code is used in cases where the account has been created before the lead.
|
|
37
|
+
* The account code is used in cases where the account has been created before the lead. The create lead request should include either the \'accountCode\' or \'account\'. The account code will be validated if the \'validate\' flag is set to true.
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof CreateLeadRequestDto
|
|
40
40
|
*/
|
|
@@ -52,31 +52,31 @@ export interface CreateLeadRequestDto {
|
|
|
52
52
|
*/
|
|
53
53
|
'policy': SharedCreateLeadPolicyRequestDto;
|
|
54
54
|
/**
|
|
55
|
-
* Bank account details, to be used for direct debit payments,
|
|
55
|
+
* Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
|
|
56
56
|
* @type {CreateBankAccountRequestDto}
|
|
57
57
|
* @memberof CreateLeadRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'bankAccount'?: CreateBankAccountRequestDto;
|
|
60
60
|
/**
|
|
61
|
-
* Optional custom data for the lead.
|
|
61
|
+
* Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
|
|
62
62
|
* @type {object}
|
|
63
63
|
* @memberof CreateLeadRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'customData'?: object;
|
|
66
66
|
/**
|
|
67
|
-
* Used to pass pre-uploaded documents to the lead.
|
|
67
|
+
* Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
|
|
68
68
|
* @type {UploadedDocumentDto}
|
|
69
69
|
* @memberof CreateLeadRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
72
72
|
/**
|
|
73
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\".
|
|
73
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof CreateLeadRequestDto
|
|
76
76
|
*/
|
|
77
77
|
'status'?: string;
|
|
78
78
|
/**
|
|
79
|
-
* Premium Override is utilized to override the premium calculation.
|
|
79
|
+
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
80
80
|
* @type {Array<PremiumOverrideRequestDto>}
|
|
81
81
|
* @memberof CreateLeadRequestDto
|
|
82
82
|
*/
|
|
@@ -88,7 +88,7 @@ export interface CreateLeadRequestDto {
|
|
|
88
88
|
*/
|
|
89
89
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
90
90
|
/**
|
|
91
|
-
* The validation indicator, with a default value of true, serves as a toggle.
|
|
91
|
+
* The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
|
|
92
92
|
* @type {boolean}
|
|
93
93
|
* @memberof CreateLeadRequestDto
|
|
94
94
|
*/
|
|
@@ -63,6 +63,18 @@ export interface CreatePremiumFormulaRequestDto {
|
|
|
63
63
|
* @memberof CreatePremiumFormulaRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'visibility'?: CreatePremiumFormulaRequestDtoVisibilityEnum;
|
|
66
|
+
/**
|
|
67
|
+
* Name of the variable this Premium item value is referenced by in the other items formulas.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
70
|
+
*/
|
|
71
|
+
'variableName'?: string;
|
|
72
|
+
/**
|
|
73
|
+
* order index for the Premium item, used to define the order the items are calculated in.
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof CreatePremiumFormulaRequestDto
|
|
76
|
+
*/
|
|
77
|
+
'order': number;
|
|
66
78
|
}
|
|
67
79
|
export declare const CreatePremiumFormulaRequestDtoTypeEnum: {
|
|
68
80
|
readonly Time: "time";
|
|
@@ -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 EmptyResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface EmptyResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {object}
|
|
21
|
+
* @memberof EmptyResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'response': 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 });
|
|
@@ -40,7 +40,7 @@ export interface GrpcPatchLeadRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'policy'?: CreateLeadPolicyRequestDto;
|
|
42
42
|
/**
|
|
43
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\".
|
|
43
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof GrpcPatchLeadRequestDto
|
|
46
46
|
*/
|
|
@@ -40,37 +40,37 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'policy': CreateLeadPolicyRequestDto;
|
|
42
42
|
/**
|
|
43
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\".
|
|
43
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof GrpcUpdateLeadRequestDto
|
|
46
46
|
*/
|
|
47
47
|
'status': string;
|
|
48
48
|
/**
|
|
49
|
-
* Bank account details, to be used for direct debit payments,
|
|
49
|
+
* Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
|
|
50
50
|
* @type {CreateBankAccountRequestDto}
|
|
51
51
|
* @memberof GrpcUpdateLeadRequestDto
|
|
52
52
|
*/
|
|
53
53
|
'bankAccount'?: CreateBankAccountRequestDto;
|
|
54
54
|
/**
|
|
55
|
-
* Optional custom data for the lead.
|
|
55
|
+
* Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
|
|
56
56
|
* @type {object}
|
|
57
57
|
* @memberof GrpcUpdateLeadRequestDto
|
|
58
58
|
*/
|
|
59
59
|
'customData'?: object;
|
|
60
60
|
/**
|
|
61
|
-
* Used to pass pre-uploaded documents to the lead.
|
|
61
|
+
* Used to pass pre-uploaded documents to the lead. By providing the codes of the uploaded documents, they will be attached to the lead. The uploaded document content will be validated if the \'validate\' flag is set to true.
|
|
62
62
|
* @type {UploadedDocumentDto}
|
|
63
63
|
* @memberof GrpcUpdateLeadRequestDto
|
|
64
64
|
*/
|
|
65
65
|
'uploadedDocument'?: UploadedDocumentDto;
|
|
66
66
|
/**
|
|
67
|
-
* Premium Override is utilized to override the premium calculation.
|
|
67
|
+
* Premium Override is utilized to override the premium calculation. The premium formulas will be disregarded when this object is present. The premium override content will be validated if the \'validate\' flag is set to true.
|
|
68
68
|
* @type {Array<PremiumOverrideRequestDto>}
|
|
69
69
|
* @memberof GrpcUpdateLeadRequestDto
|
|
70
70
|
*/
|
|
71
71
|
'premiumOverride'?: Array<PremiumOverrideRequestDto>;
|
|
72
72
|
/**
|
|
73
|
-
* The account code is used in cases where the account has been created before the lead.
|
|
73
|
+
* The account code is used in cases where the account has been created before the lead. The create lead request should include either the \'accountCode\' or \'account\'. The account code will be validated if the \'validate\' flag is set to true.
|
|
74
74
|
* @type {string}
|
|
75
75
|
* @memberof GrpcUpdateLeadRequestDto
|
|
76
76
|
*/
|
|
@@ -82,7 +82,7 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
82
82
|
*/
|
|
83
83
|
'paymentMethod'?: CreatePaymentMethodRequestDto;
|
|
84
84
|
/**
|
|
85
|
-
* The validation indicator, with a default value of true, serves as a toggle.
|
|
85
|
+
* The validation indicator, with a default value of true, serves as a toggle. When set to false, it allows the bypassing of validation—a useful option for saving leads for later processing. This feature provides flexibility by enabling users to choose whether to enforce validation checks during the current stage or defer them for a subsequent time.
|
|
86
86
|
* @type {boolean}
|
|
87
87
|
* @memberof GrpcUpdateLeadRequestDto
|
|
88
88
|
*/
|
package/dist/models/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ export * from './create-product-response-class';
|
|
|
27
27
|
export * from './csv-product-factor-dto';
|
|
28
28
|
export * from './delete-request-dto';
|
|
29
29
|
export * from './delete-response-class';
|
|
30
|
+
export * from './empty-response-class';
|
|
30
31
|
export * from './get-insured-object-response-class';
|
|
31
32
|
export * from './get-lead-response-class';
|
|
32
33
|
export * from './get-lead-status-response-class';
|
|
@@ -103,6 +104,7 @@ export * from './store-product-factors-request-dto';
|
|
|
103
104
|
export * from './store-product-factors-response-class';
|
|
104
105
|
export * from './suspend-policy-request-dto';
|
|
105
106
|
export * from './suspend-policy-response-class';
|
|
107
|
+
export * from './swap-premium-formulas-order-requestt-dto';
|
|
106
108
|
export * from './terminate-policy-request-dto';
|
|
107
109
|
export * from './terminate-policy-response-class';
|
|
108
110
|
export * from './timeslice-class';
|
package/dist/models/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __exportStar(require("./create-product-response-class"), exports);
|
|
|
43
43
|
__exportStar(require("./csv-product-factor-dto"), exports);
|
|
44
44
|
__exportStar(require("./delete-request-dto"), exports);
|
|
45
45
|
__exportStar(require("./delete-response-class"), exports);
|
|
46
|
+
__exportStar(require("./empty-response-class"), exports);
|
|
46
47
|
__exportStar(require("./get-insured-object-response-class"), exports);
|
|
47
48
|
__exportStar(require("./get-lead-response-class"), exports);
|
|
48
49
|
__exportStar(require("./get-lead-status-response-class"), exports);
|
|
@@ -119,6 +120,7 @@ __exportStar(require("./store-product-factors-request-dto"), exports);
|
|
|
119
120
|
__exportStar(require("./store-product-factors-response-class"), exports);
|
|
120
121
|
__exportStar(require("./suspend-policy-request-dto"), exports);
|
|
121
122
|
__exportStar(require("./suspend-policy-response-class"), exports);
|
|
123
|
+
__exportStar(require("./swap-premium-formulas-order-requestt-dto"), exports);
|
|
122
124
|
__exportStar(require("./terminate-policy-request-dto"), exports);
|
|
123
125
|
__exportStar(require("./terminate-policy-response-class"), exports);
|
|
124
126
|
__exportStar(require("./timeslice-class"), exports);
|
|
@@ -40,7 +40,7 @@ export interface PatchLeadRequestDto {
|
|
|
40
40
|
*/
|
|
41
41
|
'policy'?: CreateLeadPolicyRequestDto;
|
|
42
42
|
/**
|
|
43
|
-
* Lead status. Default values are \"created\", \"approved\" and \"declined\".
|
|
43
|
+
* Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PatchLeadRequestDto
|
|
46
46
|
*/
|