@emilgroup/insurance-sdk-node 1.44.0 → 1.46.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 +10 -0
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +791 -0
- package/api/lead-versions-api.ts +24 -10
- package/api/leads-api.ts +24 -10
- package/api/policies-api.ts +507 -8
- package/api/product-factors-api.ts +2 -0
- package/api/status-transition-rules-api.ts +24 -10
- package/api.ts +2 -0
- package/dist/api/booking-funnels-api.d.ts +443 -0
- package/dist/api/booking-funnels-api.js +735 -0
- package/dist/api/lead-versions-api.d.ts +16 -7
- package/dist/api/lead-versions-api.js +15 -9
- package/dist/api/leads-api.d.ts +16 -7
- package/dist/api/leads-api.js +15 -9
- package/dist/api/policies-api.d.ts +285 -8
- package/dist/api/policies-api.js +416 -6
- package/dist/api/status-transition-rules-api.d.ts +16 -7
- package/dist/api/status-transition-rules-api.js +15 -9
- package/dist/api.d.ts +1 -0
- package/dist/api.js +1 -0
- package/dist/models/booking-funnel-class.d.ts +84 -0
- package/dist/models/booking-funnel-class.js +15 -0
- package/dist/models/create-booking-funnel-request-dto.d.ts +66 -0
- package/dist/models/create-booking-funnel-request-dto.js +15 -0
- package/dist/models/create-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/create-draft-policy-request-dto.js +23 -0
- package/dist/models/delete-draft-policy-request-dto.d.ts +24 -0
- package/dist/models/delete-draft-policy-request-dto.js +15 -0
- package/dist/models/get-draft-policy-request-dto.d.ts +30 -0
- package/dist/models/get-draft-policy-request-dto.js +15 -0
- package/dist/models/index.d.ts +9 -0
- package/dist/models/index.js +9 -0
- package/dist/models/list-booking-funnels-response-class.d.ts +31 -0
- package/dist/models/list-booking-funnels-response-class.js +15 -0
- package/dist/models/patch-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/patch-booking-funnel-request-dto.js +15 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +70 -0
- package/dist/models/patch-draft-policy-request-dto.js +23 -0
- package/dist/models/patch-policy-request-dto.d.ts +0 -6
- package/dist/models/policy-version-class.d.ts +12 -0
- package/dist/models/update-booking-funnel-request-dto.d.ts +60 -0
- package/dist/models/update-booking-funnel-request-dto.js +15 -0
- package/dist/models/update-policy-request-dto.d.ts +0 -6
- package/models/booking-funnel-class.ts +90 -0
- package/models/create-booking-funnel-request-dto.ts +72 -0
- package/models/create-draft-policy-request-dto.ts +79 -0
- package/models/delete-draft-policy-request-dto.ts +30 -0
- package/models/get-draft-policy-request-dto.ts +36 -0
- package/models/index.ts +9 -0
- package/models/list-booking-funnels-response-class.ts +37 -0
- package/models/patch-booking-funnel-request-dto.ts +66 -0
- package/models/patch-draft-policy-request-dto.ts +79 -0
- package/models/patch-policy-request-dto.ts +0 -6
- package/models/policy-version-class.ts +12 -0
- package/models/update-booking-funnel-request-dto.ts +66 -0
- package/models/update-policy-request-dto.ts +0 -6
- package/package.json +1 -1
|
@@ -14,11 +14,14 @@ import { Configuration } from '../configuration';
|
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { ActivatePolicyRequestDto } from '../models';
|
|
16
16
|
import { ActivatePolicyResponseClass } from '../models';
|
|
17
|
+
import { CreateDraftPolicyRequestDto } from '../models';
|
|
17
18
|
import { CreatePolicyRequestDto } from '../models';
|
|
18
19
|
import { CreatePolicyResponseClass } from '../models';
|
|
20
|
+
import { DeleteResponseClass } from '../models';
|
|
19
21
|
import { GetPolicyResponseClass } from '../models';
|
|
20
22
|
import { ListPoliciesResponseClass } from '../models';
|
|
21
23
|
import { ListPolicyObjectsResponseClass } from '../models';
|
|
24
|
+
import { PatchDraftPolicyRequestDto } from '../models';
|
|
22
25
|
import { PatchPolicyRequestDto } from '../models';
|
|
23
26
|
import { PatchPolicyResponseClass } from '../models';
|
|
24
27
|
import { SuspendPolicyRequestDto } from '../models';
|
|
@@ -52,6 +55,37 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
52
55
|
* @throws {RequiredError}
|
|
53
56
|
*/
|
|
54
57
|
createPolicy: (createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
|
+
/**
|
|
59
|
+
* This will create a draft policy in the database.
|
|
60
|
+
* @summary Create the draft-policy
|
|
61
|
+
* @param {string} policyCode
|
|
62
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
63
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
64
|
+
* @param {*} [options] Override http request option.
|
|
65
|
+
* @throws {RequiredError}
|
|
66
|
+
*/
|
|
67
|
+
createPolicy_1: (policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
|
+
/**
|
|
69
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
70
|
+
* @summary Delete the draft-policy
|
|
71
|
+
* @param {string} policyCode
|
|
72
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
73
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
deleteDraftPolicy: (policyCode: string, policyCode2: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
|
+
/**
|
|
79
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
80
|
+
* @summary Retrieve the draft-policy
|
|
81
|
+
* @param {string} policyCode
|
|
82
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
83
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
84
|
+
* @param {string} [expand] Fields to expand response by.
|
|
85
|
+
* @param {*} [options] Override http request option.
|
|
86
|
+
* @throws {RequiredError}
|
|
87
|
+
*/
|
|
88
|
+
getDraftPolicy: (policyCode: string, policyCode2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
89
|
/**
|
|
56
90
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
57
91
|
* @summary Retrieve the policy
|
|
@@ -78,7 +112,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
78
112
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
79
113
|
* @param {number} [pageSize] Page size.
|
|
80
114
|
* @param {string} [pageToken] Page token.
|
|
81
|
-
* @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: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
115
|
+
* @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, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
82
116
|
* @param {string} [search] Search query.
|
|
83
117
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
84
118
|
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -94,7 +128,7 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
94
128
|
* @param {number} [pageSize] Page size.
|
|
95
129
|
* @param {string} [pageToken] Page token.
|
|
96
130
|
* @param {string} [search] Search query.
|
|
97
|
-
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
131
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
98
132
|
* @param {string} [expand] No expanding supported
|
|
99
133
|
* @param {*} [options] Override http request option.
|
|
100
134
|
* @throws {RequiredError}
|
|
@@ -110,6 +144,17 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
110
144
|
* @throws {RequiredError}
|
|
111
145
|
*/
|
|
112
146
|
patchPolicy: (code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
147
|
+
/**
|
|
148
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
149
|
+
* @summary Update the draft-policy
|
|
150
|
+
* @param {string} policyCode
|
|
151
|
+
* @param {any} code Unique identifier for the object.
|
|
152
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
patchPolicy_2: (policyCode: string, code: any, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
113
158
|
/**
|
|
114
159
|
* Request to suspend an existing policy by tenant.
|
|
115
160
|
* @summary Suspend a policy by tenant
|
|
@@ -175,6 +220,37 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
175
220
|
* @throws {RequiredError}
|
|
176
221
|
*/
|
|
177
222
|
createPolicy(createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>>;
|
|
223
|
+
/**
|
|
224
|
+
* This will create a draft policy in the database.
|
|
225
|
+
* @summary Create the draft-policy
|
|
226
|
+
* @param {string} policyCode
|
|
227
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
228
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
createPolicy_1(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>>;
|
|
233
|
+
/**
|
|
234
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
235
|
+
* @summary Delete the draft-policy
|
|
236
|
+
* @param {string} policyCode
|
|
237
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
238
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
239
|
+
* @param {*} [options] Override http request option.
|
|
240
|
+
* @throws {RequiredError}
|
|
241
|
+
*/
|
|
242
|
+
deleteDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeleteResponseClass>>;
|
|
243
|
+
/**
|
|
244
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
245
|
+
* @summary Retrieve the draft-policy
|
|
246
|
+
* @param {string} policyCode
|
|
247
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
248
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
249
|
+
* @param {string} [expand] Fields to expand response by.
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
getDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
178
254
|
/**
|
|
179
255
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
180
256
|
* @summary Retrieve the policy
|
|
@@ -201,7 +277,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
201
277
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
202
278
|
* @param {number} [pageSize] Page size.
|
|
203
279
|
* @param {string} [pageToken] Page token.
|
|
204
|
-
* @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: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
280
|
+
* @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, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
205
281
|
* @param {string} [search] Search query.
|
|
206
282
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
207
283
|
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -217,7 +293,7 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
217
293
|
* @param {number} [pageSize] Page size.
|
|
218
294
|
* @param {string} [pageToken] Page token.
|
|
219
295
|
* @param {string} [search] Search query.
|
|
220
|
-
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
296
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
221
297
|
* @param {string} [expand] No expanding supported
|
|
222
298
|
* @param {*} [options] Override http request option.
|
|
223
299
|
* @throws {RequiredError}
|
|
@@ -233,6 +309,17 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
233
309
|
* @throws {RequiredError}
|
|
234
310
|
*/
|
|
235
311
|
patchPolicy(code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>>;
|
|
312
|
+
/**
|
|
313
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
314
|
+
* @summary Update the draft-policy
|
|
315
|
+
* @param {string} policyCode
|
|
316
|
+
* @param {any} code Unique identifier for the object.
|
|
317
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
318
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
patchPolicy_2(policyCode: string, code: any, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>>;
|
|
236
323
|
/**
|
|
237
324
|
* Request to suspend an existing policy by tenant.
|
|
238
325
|
* @summary Suspend a policy by tenant
|
|
@@ -298,6 +385,37 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
298
385
|
* @throws {RequiredError}
|
|
299
386
|
*/
|
|
300
387
|
createPolicy(createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass>;
|
|
388
|
+
/**
|
|
389
|
+
* This will create a draft policy in the database.
|
|
390
|
+
* @summary Create the draft-policy
|
|
391
|
+
* @param {string} policyCode
|
|
392
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
393
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
394
|
+
* @param {*} [options] Override http request option.
|
|
395
|
+
* @throws {RequiredError}
|
|
396
|
+
*/
|
|
397
|
+
createPolicy_1(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass>;
|
|
398
|
+
/**
|
|
399
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
400
|
+
* @summary Delete the draft-policy
|
|
401
|
+
* @param {string} policyCode
|
|
402
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
403
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
404
|
+
* @param {*} [options] Override http request option.
|
|
405
|
+
* @throws {RequiredError}
|
|
406
|
+
*/
|
|
407
|
+
deleteDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, options?: any): AxiosPromise<DeleteResponseClass>;
|
|
408
|
+
/**
|
|
409
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
410
|
+
* @summary Retrieve the draft-policy
|
|
411
|
+
* @param {string} policyCode
|
|
412
|
+
* @param {string} policyCode2 Unique identifier of the Draft Policy that this object belongs to.
|
|
413
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
414
|
+
* @param {string} [expand] Fields to expand response by.
|
|
415
|
+
* @param {*} [options] Override http request option.
|
|
416
|
+
* @throws {RequiredError}
|
|
417
|
+
*/
|
|
418
|
+
getDraftPolicy(policyCode: string, policyCode2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
301
419
|
/**
|
|
302
420
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
303
421
|
* @summary Retrieve the policy
|
|
@@ -324,7 +442,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
324
442
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
325
443
|
* @param {number} [pageSize] Page size.
|
|
326
444
|
* @param {string} [pageToken] Page token.
|
|
327
|
-
* @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: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
445
|
+
* @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, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
328
446
|
* @param {string} [search] Search query.
|
|
329
447
|
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, policyNumber, createdAt, updatedAt, policyStartDate, productVersionId, productId</i>
|
|
330
448
|
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
@@ -340,7 +458,7 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
340
458
|
* @param {number} [pageSize] Page size.
|
|
341
459
|
* @param {string} [pageToken] Page token.
|
|
342
460
|
* @param {string} [search] Search query.
|
|
343
|
-
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
461
|
+
* @param {string} [order] Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
344
462
|
* @param {string} [expand] No expanding supported
|
|
345
463
|
* @param {*} [options] Override http request option.
|
|
346
464
|
* @throws {RequiredError}
|
|
@@ -356,6 +474,17 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
356
474
|
* @throws {RequiredError}
|
|
357
475
|
*/
|
|
358
476
|
patchPolicy(code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass>;
|
|
477
|
+
/**
|
|
478
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
479
|
+
* @summary Update the draft-policy
|
|
480
|
+
* @param {string} policyCode
|
|
481
|
+
* @param {any} code Unique identifier for the object.
|
|
482
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
483
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
484
|
+
* @param {*} [options] Override http request option.
|
|
485
|
+
* @throws {RequiredError}
|
|
486
|
+
*/
|
|
487
|
+
patchPolicy_2(policyCode: string, code: any, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass>;
|
|
359
488
|
/**
|
|
360
489
|
* Request to suspend an existing policy by tenant.
|
|
361
490
|
* @summary Suspend a policy by tenant
|
|
@@ -441,6 +570,87 @@ export interface PoliciesApiCreatePolicyRequest {
|
|
|
441
570
|
*/
|
|
442
571
|
readonly authorization?: string;
|
|
443
572
|
}
|
|
573
|
+
/**
|
|
574
|
+
* Request parameters for createPolicy_1 operation in PoliciesApi.
|
|
575
|
+
* @export
|
|
576
|
+
* @interface PoliciesApiCreatePolicy0Request
|
|
577
|
+
*/
|
|
578
|
+
export interface PoliciesApiCreatePolicy0Request {
|
|
579
|
+
/**
|
|
580
|
+
*
|
|
581
|
+
* @type {string}
|
|
582
|
+
* @memberof PoliciesApiCreatePolicy0
|
|
583
|
+
*/
|
|
584
|
+
readonly policyCode: string;
|
|
585
|
+
/**
|
|
586
|
+
*
|
|
587
|
+
* @type {CreateDraftPolicyRequestDto}
|
|
588
|
+
* @memberof PoliciesApiCreatePolicy0
|
|
589
|
+
*/
|
|
590
|
+
readonly createDraftPolicyRequestDto: CreateDraftPolicyRequestDto;
|
|
591
|
+
/**
|
|
592
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
593
|
+
* @type {string}
|
|
594
|
+
* @memberof PoliciesApiCreatePolicy0
|
|
595
|
+
*/
|
|
596
|
+
readonly authorization?: string;
|
|
597
|
+
}
|
|
598
|
+
/**
|
|
599
|
+
* Request parameters for deleteDraftPolicy operation in PoliciesApi.
|
|
600
|
+
* @export
|
|
601
|
+
* @interface PoliciesApiDeleteDraftPolicyRequest
|
|
602
|
+
*/
|
|
603
|
+
export interface PoliciesApiDeleteDraftPolicyRequest {
|
|
604
|
+
/**
|
|
605
|
+
*
|
|
606
|
+
* @type {string}
|
|
607
|
+
* @memberof PoliciesApiDeleteDraftPolicy
|
|
608
|
+
*/
|
|
609
|
+
readonly policyCode: string;
|
|
610
|
+
/**
|
|
611
|
+
* Unique identifier of the Draft Policy that this object belongs to.
|
|
612
|
+
* @type {string}
|
|
613
|
+
* @memberof PoliciesApiDeleteDraftPolicy
|
|
614
|
+
*/
|
|
615
|
+
readonly policyCode2: string;
|
|
616
|
+
/**
|
|
617
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
618
|
+
* @type {string}
|
|
619
|
+
* @memberof PoliciesApiDeleteDraftPolicy
|
|
620
|
+
*/
|
|
621
|
+
readonly authorization?: string;
|
|
622
|
+
}
|
|
623
|
+
/**
|
|
624
|
+
* Request parameters for getDraftPolicy operation in PoliciesApi.
|
|
625
|
+
* @export
|
|
626
|
+
* @interface PoliciesApiGetDraftPolicyRequest
|
|
627
|
+
*/
|
|
628
|
+
export interface PoliciesApiGetDraftPolicyRequest {
|
|
629
|
+
/**
|
|
630
|
+
*
|
|
631
|
+
* @type {string}
|
|
632
|
+
* @memberof PoliciesApiGetDraftPolicy
|
|
633
|
+
*/
|
|
634
|
+
readonly policyCode: string;
|
|
635
|
+
/**
|
|
636
|
+
* Unique identifier of the Draft Policy that this object belongs to.
|
|
637
|
+
* @type {string}
|
|
638
|
+
* @memberof PoliciesApiGetDraftPolicy
|
|
639
|
+
*/
|
|
640
|
+
readonly policyCode2: string;
|
|
641
|
+
/**
|
|
642
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
643
|
+
* @type {string}
|
|
644
|
+
* @memberof PoliciesApiGetDraftPolicy
|
|
645
|
+
*/
|
|
646
|
+
readonly authorization?: string;
|
|
647
|
+
/**
|
|
648
|
+
* Fields to expand response by.
|
|
649
|
+
* @type {string}
|
|
650
|
+
* @memberof PoliciesApiGetDraftPolicy
|
|
651
|
+
*/
|
|
652
|
+
readonly expand?: string;
|
|
653
|
+
}
|
|
444
654
|
/**
|
|
445
655
|
* Request parameters for getPolicy operation in PoliciesApi.
|
|
446
656
|
* @export
|
|
@@ -516,7 +726,7 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
516
726
|
*/
|
|
517
727
|
readonly pageToken?: string;
|
|
518
728
|
/**
|
|
519
|
-
* 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: code, leadCode, policyNumber, holder, policyStartDate, productVersionId, productId, accountCode, productName, statuses, createdAt, policyData</i>
|
|
729
|
+
* 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, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
520
730
|
* @type {string}
|
|
521
731
|
* @memberof PoliciesApiListPolicies
|
|
522
732
|
*/
|
|
@@ -577,7 +787,7 @@ export interface PoliciesApiListPolicyObjectsRequest {
|
|
|
577
787
|
*/
|
|
578
788
|
readonly search?: string;
|
|
579
789
|
/**
|
|
580
|
-
* Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId,
|
|
790
|
+
* Order allowing you to specify the desired order of entities retrieved from the server.<br/> <br/> <i>Allowed values: id, code, timesliceId, insuredObjectId, createdAt, updatedAt</i>
|
|
581
791
|
* @type {string}
|
|
582
792
|
* @memberof PoliciesApiListPolicyObjects
|
|
583
793
|
*/
|
|
@@ -614,6 +824,37 @@ export interface PoliciesApiPatchPolicyRequest {
|
|
|
614
824
|
*/
|
|
615
825
|
readonly authorization?: string;
|
|
616
826
|
}
|
|
827
|
+
/**
|
|
828
|
+
* Request parameters for patchPolicy_2 operation in PoliciesApi.
|
|
829
|
+
* @export
|
|
830
|
+
* @interface PoliciesApiPatchPolicy0Request
|
|
831
|
+
*/
|
|
832
|
+
export interface PoliciesApiPatchPolicy0Request {
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {string}
|
|
836
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
837
|
+
*/
|
|
838
|
+
readonly policyCode: string;
|
|
839
|
+
/**
|
|
840
|
+
* Unique identifier for the object.
|
|
841
|
+
* @type {any}
|
|
842
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
843
|
+
*/
|
|
844
|
+
readonly code: any;
|
|
845
|
+
/**
|
|
846
|
+
*
|
|
847
|
+
* @type {PatchDraftPolicyRequestDto}
|
|
848
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
849
|
+
*/
|
|
850
|
+
readonly patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto;
|
|
851
|
+
/**
|
|
852
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
853
|
+
* @type {string}
|
|
854
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
855
|
+
*/
|
|
856
|
+
readonly authorization?: string;
|
|
857
|
+
}
|
|
617
858
|
/**
|
|
618
859
|
* Request parameters for suspendPolicy operation in PoliciesApi.
|
|
619
860
|
* @export
|
|
@@ -739,6 +980,33 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
739
980
|
* @memberof PoliciesApi
|
|
740
981
|
*/
|
|
741
982
|
createPolicy(requestParameters: PoliciesApiCreatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyResponseClass, any>>;
|
|
983
|
+
/**
|
|
984
|
+
* This will create a draft policy in the database.
|
|
985
|
+
* @summary Create the draft-policy
|
|
986
|
+
* @param {PoliciesApiCreatePolicy0Request} requestParameters Request parameters.
|
|
987
|
+
* @param {*} [options] Override http request option.
|
|
988
|
+
* @throws {RequiredError}
|
|
989
|
+
* @memberof PoliciesApi
|
|
990
|
+
*/
|
|
991
|
+
createPolicy_1(requestParameters: PoliciesApiCreatePolicy0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyResponseClass, any>>;
|
|
992
|
+
/**
|
|
993
|
+
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
994
|
+
* @summary Delete the draft-policy
|
|
995
|
+
* @param {PoliciesApiDeleteDraftPolicyRequest} requestParameters Request parameters.
|
|
996
|
+
* @param {*} [options] Override http request option.
|
|
997
|
+
* @throws {RequiredError}
|
|
998
|
+
* @memberof PoliciesApi
|
|
999
|
+
*/
|
|
1000
|
+
deleteDraftPolicy(requestParameters: PoliciesApiDeleteDraftPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeleteResponseClass, any>>;
|
|
1001
|
+
/**
|
|
1002
|
+
* Retrieves the details of the draft-policy that was previously created. Supply the unique draft-policy code that was returned when you created it and Emil Api will return the corresponding draft-policy information.
|
|
1003
|
+
* @summary Retrieve the draft-policy
|
|
1004
|
+
* @param {PoliciesApiGetDraftPolicyRequest} requestParameters Request parameters.
|
|
1005
|
+
* @param {*} [options] Override http request option.
|
|
1006
|
+
* @throws {RequiredError}
|
|
1007
|
+
* @memberof PoliciesApi
|
|
1008
|
+
*/
|
|
1009
|
+
getDraftPolicy(requestParameters: PoliciesApiGetDraftPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
742
1010
|
/**
|
|
743
1011
|
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
744
1012
|
* @summary Retrieve the policy
|
|
@@ -784,6 +1052,15 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
784
1052
|
* @memberof PoliciesApi
|
|
785
1053
|
*/
|
|
786
1054
|
patchPolicy(requestParameters: PoliciesApiPatchPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchPolicyResponseClass, any>>;
|
|
1055
|
+
/**
|
|
1056
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1057
|
+
* @summary Update the draft-policy
|
|
1058
|
+
* @param {PoliciesApiPatchPolicy0Request} requestParameters Request parameters.
|
|
1059
|
+
* @param {*} [options] Override http request option.
|
|
1060
|
+
* @throws {RequiredError}
|
|
1061
|
+
* @memberof PoliciesApi
|
|
1062
|
+
*/
|
|
1063
|
+
patchPolicy_2(requestParameters: PoliciesApiPatchPolicy0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchPolicyResponseClass, any>>;
|
|
787
1064
|
/**
|
|
788
1065
|
* Request to suspend an existing policy by tenant.
|
|
789
1066
|
* @summary Suspend a policy by tenant
|