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