@emilgroup/insurance-sdk-node 1.48.1-beta.2 → 1.49.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 +8 -21
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +4 -4
- package/api/default-api.ts +4 -8
- package/api/insured-object-types-api.ts +4 -4
- package/api/insured-objects-api.ts +6 -9
- package/api/lead-statuses-api.ts +12 -96
- package/api/named-ranges-api.ts +4 -4
- package/api/policies-api.ts +180 -167
- package/api/policy-partner-roles-api.ts +683 -0
- package/api/premium-formulas-api.ts +4 -4
- package/api/product-factors-api.ts +4 -4
- package/api/product-fields-api.ts +8 -8
- package/api/products-api.ts +12 -12
- package/api.ts +2 -4
- package/dist/api/booking-funnels-api.d.ts +4 -4
- package/dist/api/booking-funnels-api.js +4 -4
- package/dist/api/default-api.d.ts +4 -8
- package/dist/api/default-api.js +4 -8
- package/dist/api/insured-object-types-api.d.ts +4 -4
- package/dist/api/insured-object-types-api.js +3 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +5 -7
- package/dist/api/lead-statuses-api.d.ts +9 -63
- package/dist/api/lead-statuses-api.js +9 -45
- package/dist/api/named-ranges-api.d.ts +4 -4
- package/dist/api/named-ranges-api.js +3 -3
- package/dist/api/policies-api.d.ts +140 -131
- package/dist/api/policies-api.js +120 -114
- package/dist/api/policy-partner-roles-api.d.ts +385 -0
- package/dist/api/{partner-roles-api.js → policy-partner-roles-api.js} +139 -139
- package/dist/api/premium-formulas-api.d.ts +4 -4
- package/dist/api/premium-formulas-api.js +3 -3
- package/dist/api/product-factors-api.d.ts +4 -4
- package/dist/api/product-factors-api.js +3 -3
- package/dist/api/product-fields-api.d.ts +8 -8
- package/dist/api/product-fields-api.js +6 -6
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/api.d.ts +1 -2
- package/dist/api.js +1 -2
- package/dist/models/booking-funnel-class.d.ts +1 -1
- package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
- package/dist/models/{update-partner-role-request-dto.d.ts → create-policy-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{emil-function-secret-class.d.ts → create-policy-partner-role-response-class.d.ts} +7 -12
- package/dist/models/create-product-request-dto.d.ts +1 -1
- package/dist/models/{create-partner-role-response-class.d.ts → get-policy-partner-role-response-class.d.ts} +7 -7
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +7 -19
- package/dist/models/index.js +7 -19
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/invoice-item-class.d.ts +0 -12
- package/dist/models/lead-class.d.ts +1 -8
- package/dist/models/lead-status-class.d.ts +1 -1
- package/dist/models/{list-emil-functions-response-class.d.ts → list-policy-partner-roles-response-class.d.ts} +8 -8
- package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
- package/dist/models/list-request-dto.d.ts +1 -1
- package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/policy-class.d.ts +0 -7
- package/dist/models/{partner-role-class.d.ts → policy-partner-role-class.d.ts} +10 -10
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
- package/dist/models/status-transition-rule-class.d.ts +1 -1
- package/dist/models/update-named-range-request-dto.d.ts +1 -1
- package/dist/models/{create-partner-role-request-dto.d.ts → update-policy-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{execute-emil-function-request-dto.d.ts → update-policy-partner-role-response-class.d.ts} +7 -6
- package/dist/models/update-product-request-dto.d.ts +1 -1
- package/models/booking-funnel-class.ts +1 -1
- package/models/create-booking-funnel-request-dto.ts +1 -1
- package/models/{update-partner-role-request-dto.ts → create-policy-partner-role-request-dto.ts} +6 -6
- package/models/{emil-function-secret-class.ts → create-policy-partner-role-response-class.ts} +7 -12
- package/models/create-product-request-dto.ts +1 -1
- package/models/{create-partner-role-response-class.ts → get-policy-partner-role-response-class.ts} +7 -7
- package/models/get-product-request-dto.ts +1 -1
- package/models/index.ts +7 -19
- package/models/insured-object-type-class.ts +1 -1
- package/models/invoice-item-class.ts +0 -12
- package/models/lead-class.ts +1 -8
- package/models/lead-status-class.ts +1 -1
- package/models/{list-emil-functions-response-class.ts → list-policy-partner-roles-response-class.ts} +8 -8
- package/models/list-policy-versions-request-dto.ts +1 -1
- package/models/list-request-dto.ts +1 -1
- package/models/patch-draft-policy-request-dto.ts +1 -1
- package/models/policy-class.ts +0 -7
- package/models/{partner-role-class.ts → policy-partner-role-class.ts} +10 -10
- package/models/product-class.ts +1 -1
- package/models/shared-update-named-range-request-dto.ts +1 -1
- package/models/status-transition-rule-class.ts +1 -1
- package/models/update-named-range-request-dto.ts +1 -1
- package/models/{create-partner-role-request-dto.ts → update-policy-partner-role-request-dto.ts} +6 -6
- package/models/{execute-emil-function-request-dto.ts → update-policy-partner-role-response-class.ts} +7 -6
- package/models/update-product-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/emil-functions-api.ts +0 -1314
- package/api/partner-roles-api.ts +0 -683
- package/dist/api/emil-functions-api.d.ts +0 -727
- package/dist/api/emil-functions-api.js +0 -1202
- package/dist/api/partner-roles-api.d.ts +0 -385
- package/dist/models/create-emil-function-request-dto.d.ts +0 -42
- package/dist/models/create-emil-function-secret-request-dto.d.ts +0 -36
- package/dist/models/emil-function-class.d.ts +0 -60
- package/dist/models/get-emil-function-secret-response-class.d.ts +0 -24
- package/dist/models/get-emil-function-secret-response-class.js +0 -15
- package/dist/models/get-partner-role-response-class.d.ts +0 -25
- package/dist/models/get-partner-role-response-class.js +0 -15
- package/dist/models/list-emil-function-secrets-response-class.d.ts +0 -25
- package/dist/models/list-emil-function-secrets-response-class.js +0 -15
- package/dist/models/list-emil-functions-response-class.js +0 -15
- package/dist/models/list-partner-roles-response-class.d.ts +0 -31
- package/dist/models/list-partner-roles-response-class.js +0 -15
- package/dist/models/partner-class.d.ts +0 -60
- package/dist/models/partner-class.js +0 -15
- package/dist/models/partner-link-class.d.ts +0 -86
- package/dist/models/partner-link-class.js +0 -15
- package/dist/models/partner-role-class.js +0 -15
- package/dist/models/update-emil-function-request-dto.d.ts +0 -42
- package/dist/models/update-emil-function-request-dto.js +0 -15
- package/dist/models/update-emil-function-secret-request-dto.d.ts +0 -30
- package/dist/models/update-emil-function-secret-request-dto.js +0 -15
- package/dist/models/update-partner-role-request-dto.js +0 -15
- package/dist/models/update-partner-role-response-class.d.ts +0 -25
- package/dist/models/update-partner-role-response-class.js +0 -15
- package/models/create-emil-function-request-dto.ts +0 -48
- package/models/create-emil-function-secret-request-dto.ts +0 -42
- package/models/emil-function-class.ts +0 -66
- package/models/get-emil-function-secret-response-class.ts +0 -30
- package/models/get-partner-role-response-class.ts +0 -31
- package/models/list-emil-function-secrets-response-class.ts +0 -31
- package/models/list-partner-roles-response-class.ts +0 -37
- package/models/partner-class.ts +0 -66
- package/models/partner-link-class.ts +0 -92
- package/models/update-emil-function-request-dto.ts +0 -48
- package/models/update-emil-function-secret-request-dto.ts +0 -36
- package/models/update-partner-role-response-class.ts +0 -31
- /package/dist/models/{create-emil-function-request-dto.js → create-policy-partner-role-request-dto.js} +0 -0
- /package/dist/models/{create-emil-function-secret-request-dto.js → create-policy-partner-role-response-class.js} +0 -0
- /package/dist/models/{create-partner-role-request-dto.js → get-policy-partner-role-response-class.js} +0 -0
- /package/dist/models/{create-partner-role-response-class.js → list-policy-partner-roles-response-class.js} +0 -0
- /package/dist/models/{emil-function-class.js → policy-partner-role-class.js} +0 -0
- /package/dist/models/{emil-function-secret-class.js → update-policy-partner-role-request-dto.js} +0 -0
- /package/dist/models/{execute-emil-function-request-dto.js → update-policy-partner-role-response-class.js} +0 -0
|
@@ -48,24 +48,24 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
48
48
|
*/
|
|
49
49
|
activatePolicy: (policyCode: string, activatePolicyRequestDto: ActivatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
50
|
/**
|
|
51
|
-
* This will create a
|
|
52
|
-
* @summary Create the
|
|
53
|
-
* @param {
|
|
54
|
-
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
51
|
+
* This will create a policy in the database. Policy creation is usually part of a complex workflow that starts with lead creation. Creating directly a policy without prior knowledge might result in an unusable policy. Look into lead creation for more information.
|
|
52
|
+
* @summary Create the policy
|
|
53
|
+
* @param {CreatePolicyRequestDto} createPolicyRequestDto
|
|
55
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
56
55
|
* @param {*} [options] Override http request option.
|
|
57
56
|
* @throws {RequiredError}
|
|
58
57
|
*/
|
|
59
|
-
|
|
58
|
+
createPolicy: (createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
60
59
|
/**
|
|
61
|
-
* This will create a policy in the database.
|
|
62
|
-
* @summary Create the policy
|
|
63
|
-
* @param {
|
|
60
|
+
* This will create a draft policy in the database.
|
|
61
|
+
* @summary Create the draft-policy
|
|
62
|
+
* @param {string} policyCode
|
|
63
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
64
64
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
65
65
|
* @param {*} [options] Override http request option.
|
|
66
66
|
* @throws {RequiredError}
|
|
67
67
|
*/
|
|
68
|
-
|
|
68
|
+
createPolicy_1: (policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
69
69
|
/**
|
|
70
70
|
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
71
71
|
* @summary Delete the draft-policy
|
|
@@ -92,11 +92,11 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
92
92
|
* @summary Retrieve the policy
|
|
93
93
|
* @param {string} code Unique identifier for the object.
|
|
94
94
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
95
|
-
* @param {
|
|
95
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
96
96
|
* @param {*} [options] Override http request option.
|
|
97
97
|
* @throws {RequiredError}
|
|
98
98
|
*/
|
|
99
|
-
getPolicy: (code: string, authorization?: string, expand?:
|
|
99
|
+
getPolicy: (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
100
100
|
/**
|
|
101
101
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
102
102
|
* @summary Retrieve current policy version
|
|
@@ -116,12 +116,12 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
116
116
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
117
117
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
118
118
|
* @param {any} [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>
|
|
119
|
-
* @param {
|
|
119
|
+
* @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.
|
|
120
120
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
121
121
|
* @param {*} [options] Override http request option.
|
|
122
122
|
* @throws {RequiredError}
|
|
123
123
|
*/
|
|
124
|
-
listPolicies: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
124
|
+
listPolicies: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
125
125
|
/**
|
|
126
126
|
* This will return a policy objects for the given policy. You may filter the objects to return by the insured object, or return only the objects that exists for a particular date (providing the object code or ID).
|
|
127
127
|
* @summary List policy objects
|
|
@@ -153,16 +153,6 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
155
155
|
listPolicyVersions: (policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
156
|
-
/**
|
|
157
|
-
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
158
|
-
* @summary Update the draft-policy
|
|
159
|
-
* @param {string} policyCode The policy code of the draft policy to
|
|
160
|
-
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
161
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
162
|
-
* @param {*} [options] Override http request option.
|
|
163
|
-
* @throws {RequiredError}
|
|
164
|
-
*/
|
|
165
|
-
patchDraftPolicy: (policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
166
156
|
/**
|
|
167
157
|
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
168
158
|
* @summary Update the policy
|
|
@@ -173,6 +163,17 @@ export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
173
163
|
* @throws {RequiredError}
|
|
174
164
|
*/
|
|
175
165
|
patchPolicy: (code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
166
|
+
/**
|
|
167
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
168
|
+
* @summary Update the draft-policy
|
|
169
|
+
* @param {string} policyCode
|
|
170
|
+
* @param {any} code Unique identifier for the object.
|
|
171
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
172
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
173
|
+
* @param {*} [options] Override http request option.
|
|
174
|
+
* @throws {RequiredError}
|
|
175
|
+
*/
|
|
176
|
+
patchPolicy_2: (policyCode: string, code: any, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
176
177
|
/**
|
|
177
178
|
* Request to suspend an existing policy by tenant.
|
|
178
179
|
* @summary Suspend a policy by tenant
|
|
@@ -230,24 +231,24 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
230
231
|
*/
|
|
231
232
|
activatePolicy(policyCode: string, activatePolicyRequestDto: ActivatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivatePolicyResponseClass>>;
|
|
232
233
|
/**
|
|
233
|
-
* This will create a
|
|
234
|
-
* @summary Create the
|
|
235
|
-
* @param {
|
|
236
|
-
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
234
|
+
* This will create a policy in the database. Policy creation is usually part of a complex workflow that starts with lead creation. Creating directly a policy without prior knowledge might result in an unusable policy. Look into lead creation for more information.
|
|
235
|
+
* @summary Create the policy
|
|
236
|
+
* @param {CreatePolicyRequestDto} createPolicyRequestDto
|
|
237
237
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
238
238
|
* @param {*} [options] Override http request option.
|
|
239
239
|
* @throws {RequiredError}
|
|
240
240
|
*/
|
|
241
|
-
|
|
241
|
+
createPolicy(createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>>;
|
|
242
242
|
/**
|
|
243
|
-
* This will create a policy in the database.
|
|
244
|
-
* @summary Create the policy
|
|
245
|
-
* @param {
|
|
243
|
+
* This will create a draft policy in the database.
|
|
244
|
+
* @summary Create the draft-policy
|
|
245
|
+
* @param {string} policyCode
|
|
246
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
246
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
247
248
|
* @param {*} [options] Override http request option.
|
|
248
249
|
* @throws {RequiredError}
|
|
249
250
|
*/
|
|
250
|
-
|
|
251
|
+
createPolicy_1(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>>;
|
|
251
252
|
/**
|
|
252
253
|
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
253
254
|
* @summary Delete the draft-policy
|
|
@@ -274,11 +275,11 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
274
275
|
* @summary Retrieve the policy
|
|
275
276
|
* @param {string} code Unique identifier for the object.
|
|
276
277
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
|
-
* @param {
|
|
278
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
278
279
|
* @param {*} [options] Override http request option.
|
|
279
280
|
* @throws {RequiredError}
|
|
280
281
|
*/
|
|
281
|
-
getPolicy(code: string, authorization?: string, expand?:
|
|
282
|
+
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
282
283
|
/**
|
|
283
284
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
284
285
|
* @summary Retrieve current policy version
|
|
@@ -298,12 +299,12 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
298
299
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
299
300
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
300
301
|
* @param {any} [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>
|
|
301
|
-
* @param {
|
|
302
|
+
* @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.
|
|
302
303
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
303
304
|
* @param {*} [options] Override http request option.
|
|
304
305
|
* @throws {RequiredError}
|
|
305
306
|
*/
|
|
306
|
-
listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
307
|
+
listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
307
308
|
/**
|
|
308
309
|
* This will return a policy objects for the given policy. You may filter the objects to return by the insured object, or return only the objects that exists for a particular date (providing the object code or ID).
|
|
309
310
|
* @summary List policy objects
|
|
@@ -335,16 +336,6 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
335
336
|
* @throws {RequiredError}
|
|
336
337
|
*/
|
|
337
338
|
listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPolicyVersionResponseClass>>;
|
|
338
|
-
/**
|
|
339
|
-
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
340
|
-
* @summary Update the draft-policy
|
|
341
|
-
* @param {string} policyCode The policy code of the draft policy to
|
|
342
|
-
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
343
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
344
|
-
* @param {*} [options] Override http request option.
|
|
345
|
-
* @throws {RequiredError}
|
|
346
|
-
*/
|
|
347
|
-
patchDraftPolicy(policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>>;
|
|
348
339
|
/**
|
|
349
340
|
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
350
341
|
* @summary Update the policy
|
|
@@ -355,6 +346,17 @@ export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
|
355
346
|
* @throws {RequiredError}
|
|
356
347
|
*/
|
|
357
348
|
patchPolicy(code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>>;
|
|
349
|
+
/**
|
|
350
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
351
|
+
* @summary Update the draft-policy
|
|
352
|
+
* @param {string} policyCode
|
|
353
|
+
* @param {any} code Unique identifier for the object.
|
|
354
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
355
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
356
|
+
* @param {*} [options] Override http request option.
|
|
357
|
+
* @throws {RequiredError}
|
|
358
|
+
*/
|
|
359
|
+
patchPolicy_2(policyCode: string, code: any, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>>;
|
|
358
360
|
/**
|
|
359
361
|
* Request to suspend an existing policy by tenant.
|
|
360
362
|
* @summary Suspend a policy by tenant
|
|
@@ -412,24 +414,24 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
412
414
|
*/
|
|
413
415
|
activatePolicy(policyCode: string, activatePolicyRequestDto: ActivatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<ActivatePolicyResponseClass>;
|
|
414
416
|
/**
|
|
415
|
-
* This will create a
|
|
416
|
-
* @summary Create the
|
|
417
|
-
* @param {
|
|
418
|
-
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
417
|
+
* This will create a policy in the database. Policy creation is usually part of a complex workflow that starts with lead creation. Creating directly a policy without prior knowledge might result in an unusable policy. Look into lead creation for more information.
|
|
418
|
+
* @summary Create the policy
|
|
419
|
+
* @param {CreatePolicyRequestDto} createPolicyRequestDto
|
|
419
420
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
420
421
|
* @param {*} [options] Override http request option.
|
|
421
422
|
* @throws {RequiredError}
|
|
422
423
|
*/
|
|
423
|
-
|
|
424
|
+
createPolicy(createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass>;
|
|
424
425
|
/**
|
|
425
|
-
* This will create a policy in the database.
|
|
426
|
-
* @summary Create the policy
|
|
427
|
-
* @param {
|
|
426
|
+
* This will create a draft policy in the database.
|
|
427
|
+
* @summary Create the draft-policy
|
|
428
|
+
* @param {string} policyCode
|
|
429
|
+
* @param {CreateDraftPolicyRequestDto} createDraftPolicyRequestDto
|
|
428
430
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
429
431
|
* @param {*} [options] Override http request option.
|
|
430
432
|
* @throws {RequiredError}
|
|
431
433
|
*/
|
|
432
|
-
|
|
434
|
+
createPolicy_1(policyCode: string, createDraftPolicyRequestDto: CreateDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass>;
|
|
433
435
|
/**
|
|
434
436
|
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
435
437
|
* @summary Delete the draft-policy
|
|
@@ -456,11 +458,11 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
456
458
|
* @summary Retrieve the policy
|
|
457
459
|
* @param {string} code Unique identifier for the object.
|
|
458
460
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
459
|
-
* @param {
|
|
461
|
+
* @param {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'} [expand] You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
460
462
|
* @param {*} [options] Override http request option.
|
|
461
463
|
* @throws {RequiredError}
|
|
462
464
|
*/
|
|
463
|
-
getPolicy(code: string, authorization?: string, expand?:
|
|
465
|
+
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
464
466
|
/**
|
|
465
467
|
* This endpoint will return the current version of the policy. It is possible to filter the response by a specific date and the system will return the valid data that was (or will be) at the provided date.
|
|
466
468
|
* @summary Retrieve current policy version
|
|
@@ -480,12 +482,12 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
480
482
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, leadCode, policyNumber, holder, policyStartDate, productSlug, productVersionId, productId, accountCode, productName, status, statuses, createdAt, policyData</i>
|
|
481
483
|
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
482
484
|
* @param {any} [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>
|
|
483
|
-
* @param {
|
|
485
|
+
* @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.
|
|
484
486
|
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
485
487
|
* @param {*} [options] Override http request option.
|
|
486
488
|
* @throws {RequiredError}
|
|
487
489
|
*/
|
|
488
|
-
listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?:
|
|
490
|
+
listPolicies(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', filters?: any, options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
489
491
|
/**
|
|
490
492
|
* This will return a policy objects for the given policy. You may filter the objects to return by the insured object, or return only the objects that exists for a particular date (providing the object code or ID).
|
|
491
493
|
* @summary List policy objects
|
|
@@ -517,16 +519,6 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
517
519
|
* @throws {RequiredError}
|
|
518
520
|
*/
|
|
519
521
|
listPolicyVersions(policyCode: string, authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPolicyVersionResponseClass>;
|
|
520
|
-
/**
|
|
521
|
-
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
522
|
-
* @summary Update the draft-policy
|
|
523
|
-
* @param {string} policyCode The policy code of the draft policy to
|
|
524
|
-
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
525
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
526
|
-
* @param {*} [options] Override http request option.
|
|
527
|
-
* @throws {RequiredError}
|
|
528
|
-
*/
|
|
529
|
-
patchDraftPolicy(policyCode: string, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass>;
|
|
530
522
|
/**
|
|
531
523
|
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
532
524
|
* @summary Update the policy
|
|
@@ -537,6 +529,17 @@ export declare const PoliciesApiFactory: (configuration?: Configuration, basePat
|
|
|
537
529
|
* @throws {RequiredError}
|
|
538
530
|
*/
|
|
539
531
|
patchPolicy(code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass>;
|
|
532
|
+
/**
|
|
533
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
534
|
+
* @summary Update the draft-policy
|
|
535
|
+
* @param {string} policyCode
|
|
536
|
+
* @param {any} code Unique identifier for the object.
|
|
537
|
+
* @param {PatchDraftPolicyRequestDto} patchDraftPolicyRequestDto
|
|
538
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
539
|
+
* @param {*} [options] Override http request option.
|
|
540
|
+
* @throws {RequiredError}
|
|
541
|
+
*/
|
|
542
|
+
patchPolicy_2(policyCode: string, code: any, patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass>;
|
|
540
543
|
/**
|
|
541
544
|
* Request to suspend an existing policy by tenant.
|
|
542
545
|
* @summary Suspend a policy by tenant
|
|
@@ -604,46 +607,46 @@ export interface PoliciesApiActivatePolicyRequest {
|
|
|
604
607
|
readonly authorization?: string;
|
|
605
608
|
}
|
|
606
609
|
/**
|
|
607
|
-
* Request parameters for
|
|
610
|
+
* Request parameters for createPolicy operation in PoliciesApi.
|
|
608
611
|
* @export
|
|
609
|
-
* @interface
|
|
612
|
+
* @interface PoliciesApiCreatePolicyRequest
|
|
610
613
|
*/
|
|
611
|
-
export interface
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @type {string}
|
|
615
|
-
* @memberof PoliciesApiCreateDraftPolicy
|
|
616
|
-
*/
|
|
617
|
-
readonly policyCode: string;
|
|
614
|
+
export interface PoliciesApiCreatePolicyRequest {
|
|
618
615
|
/**
|
|
619
616
|
*
|
|
620
|
-
* @type {
|
|
621
|
-
* @memberof
|
|
617
|
+
* @type {CreatePolicyRequestDto}
|
|
618
|
+
* @memberof PoliciesApiCreatePolicy
|
|
622
619
|
*/
|
|
623
|
-
readonly
|
|
620
|
+
readonly createPolicyRequestDto: CreatePolicyRequestDto;
|
|
624
621
|
/**
|
|
625
622
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
623
|
* @type {string}
|
|
627
|
-
* @memberof
|
|
624
|
+
* @memberof PoliciesApiCreatePolicy
|
|
628
625
|
*/
|
|
629
626
|
readonly authorization?: string;
|
|
630
627
|
}
|
|
631
628
|
/**
|
|
632
|
-
* Request parameters for
|
|
629
|
+
* Request parameters for createPolicy_1 operation in PoliciesApi.
|
|
633
630
|
* @export
|
|
634
|
-
* @interface
|
|
631
|
+
* @interface PoliciesApiCreatePolicy0Request
|
|
635
632
|
*/
|
|
636
|
-
export interface
|
|
633
|
+
export interface PoliciesApiCreatePolicy0Request {
|
|
637
634
|
/**
|
|
638
635
|
*
|
|
639
|
-
* @type {
|
|
640
|
-
* @memberof
|
|
636
|
+
* @type {string}
|
|
637
|
+
* @memberof PoliciesApiCreatePolicy0
|
|
641
638
|
*/
|
|
642
|
-
readonly
|
|
639
|
+
readonly policyCode: string;
|
|
640
|
+
/**
|
|
641
|
+
*
|
|
642
|
+
* @type {CreateDraftPolicyRequestDto}
|
|
643
|
+
* @memberof PoliciesApiCreatePolicy0
|
|
644
|
+
*/
|
|
645
|
+
readonly createDraftPolicyRequestDto: CreateDraftPolicyRequestDto;
|
|
643
646
|
/**
|
|
644
647
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
645
648
|
* @type {string}
|
|
646
|
-
* @memberof
|
|
649
|
+
* @memberof PoliciesApiCreatePolicy0
|
|
647
650
|
*/
|
|
648
651
|
readonly authorization?: string;
|
|
649
652
|
}
|
|
@@ -722,11 +725,11 @@ export interface PoliciesApiGetPolicyRequest {
|
|
|
722
725
|
*/
|
|
723
726
|
readonly authorization?: string;
|
|
724
727
|
/**
|
|
725
|
-
* You can expand policy in this endpoint.
|
|
726
|
-
* @type {
|
|
728
|
+
* You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
729
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
727
730
|
* @memberof PoliciesApiGetPolicy
|
|
728
731
|
*/
|
|
729
|
-
readonly expand?:
|
|
732
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
|
|
730
733
|
}
|
|
731
734
|
/**
|
|
732
735
|
* Request parameters for getPolicyDataByDate operation in PoliciesApi.
|
|
@@ -796,11 +799,11 @@ export interface PoliciesApiListPoliciesRequest {
|
|
|
796
799
|
*/
|
|
797
800
|
readonly order?: any;
|
|
798
801
|
/**
|
|
799
|
-
* You can expand policy versions list in this endpoint.
|
|
800
|
-
* @type {
|
|
802
|
+
* You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
803
|
+
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
801
804
|
* @memberof PoliciesApiListPolicies
|
|
802
805
|
*/
|
|
803
|
-
readonly expand?:
|
|
806
|
+
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
|
|
804
807
|
/**
|
|
805
808
|
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
806
809
|
* @type {any}
|
|
@@ -925,52 +928,58 @@ export interface PoliciesApiListPolicyVersionsRequest {
|
|
|
925
928
|
readonly filters?: any;
|
|
926
929
|
}
|
|
927
930
|
/**
|
|
928
|
-
* Request parameters for
|
|
931
|
+
* Request parameters for patchPolicy operation in PoliciesApi.
|
|
929
932
|
* @export
|
|
930
|
-
* @interface
|
|
933
|
+
* @interface PoliciesApiPatchPolicyRequest
|
|
931
934
|
*/
|
|
932
|
-
export interface
|
|
935
|
+
export interface PoliciesApiPatchPolicyRequest {
|
|
933
936
|
/**
|
|
934
|
-
*
|
|
937
|
+
* Unique identifier for the object.
|
|
935
938
|
* @type {string}
|
|
936
|
-
* @memberof
|
|
939
|
+
* @memberof PoliciesApiPatchPolicy
|
|
937
940
|
*/
|
|
938
|
-
readonly
|
|
941
|
+
readonly code: string;
|
|
939
942
|
/**
|
|
940
943
|
*
|
|
941
|
-
* @type {
|
|
942
|
-
* @memberof
|
|
944
|
+
* @type {PatchPolicyRequestDto}
|
|
945
|
+
* @memberof PoliciesApiPatchPolicy
|
|
943
946
|
*/
|
|
944
|
-
readonly
|
|
947
|
+
readonly patchPolicyRequestDto: PatchPolicyRequestDto;
|
|
945
948
|
/**
|
|
946
949
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
947
950
|
* @type {string}
|
|
948
|
-
* @memberof
|
|
951
|
+
* @memberof PoliciesApiPatchPolicy
|
|
949
952
|
*/
|
|
950
953
|
readonly authorization?: string;
|
|
951
954
|
}
|
|
952
955
|
/**
|
|
953
|
-
* Request parameters for
|
|
956
|
+
* Request parameters for patchPolicy_2 operation in PoliciesApi.
|
|
954
957
|
* @export
|
|
955
|
-
* @interface
|
|
958
|
+
* @interface PoliciesApiPatchPolicy0Request
|
|
956
959
|
*/
|
|
957
|
-
export interface
|
|
960
|
+
export interface PoliciesApiPatchPolicy0Request {
|
|
958
961
|
/**
|
|
959
|
-
*
|
|
962
|
+
*
|
|
960
963
|
* @type {string}
|
|
961
|
-
* @memberof
|
|
964
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
962
965
|
*/
|
|
963
|
-
readonly
|
|
966
|
+
readonly policyCode: string;
|
|
967
|
+
/**
|
|
968
|
+
* Unique identifier for the object.
|
|
969
|
+
* @type {any}
|
|
970
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
971
|
+
*/
|
|
972
|
+
readonly code: any;
|
|
964
973
|
/**
|
|
965
974
|
*
|
|
966
|
-
* @type {
|
|
967
|
-
* @memberof
|
|
975
|
+
* @type {PatchDraftPolicyRequestDto}
|
|
976
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
968
977
|
*/
|
|
969
|
-
readonly
|
|
978
|
+
readonly patchDraftPolicyRequestDto: PatchDraftPolicyRequestDto;
|
|
970
979
|
/**
|
|
971
980
|
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
972
981
|
* @type {string}
|
|
973
|
-
* @memberof
|
|
982
|
+
* @memberof PoliciesApiPatchPolicy0
|
|
974
983
|
*/
|
|
975
984
|
readonly authorization?: string;
|
|
976
985
|
}
|
|
@@ -1091,23 +1100,23 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
1091
1100
|
*/
|
|
1092
1101
|
activatePolicy(requestParameters: PoliciesApiActivatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ActivatePolicyResponseClass, any>>;
|
|
1093
1102
|
/**
|
|
1094
|
-
* This will create a
|
|
1095
|
-
* @summary Create the
|
|
1096
|
-
* @param {
|
|
1103
|
+
* This will create a policy in the database. Policy creation is usually part of a complex workflow that starts with lead creation. Creating directly a policy without prior knowledge might result in an unusable policy. Look into lead creation for more information.
|
|
1104
|
+
* @summary Create the policy
|
|
1105
|
+
* @param {PoliciesApiCreatePolicyRequest} requestParameters Request parameters.
|
|
1097
1106
|
* @param {*} [options] Override http request option.
|
|
1098
1107
|
* @throws {RequiredError}
|
|
1099
1108
|
* @memberof PoliciesApi
|
|
1100
1109
|
*/
|
|
1101
|
-
|
|
1110
|
+
createPolicy(requestParameters: PoliciesApiCreatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyResponseClass, any>>;
|
|
1102
1111
|
/**
|
|
1103
|
-
* This will create a policy in the database.
|
|
1104
|
-
* @summary Create the policy
|
|
1105
|
-
* @param {
|
|
1112
|
+
* This will create a draft policy in the database.
|
|
1113
|
+
* @summary Create the draft-policy
|
|
1114
|
+
* @param {PoliciesApiCreatePolicy0Request} requestParameters Request parameters.
|
|
1106
1115
|
* @param {*} [options] Override http request option.
|
|
1107
1116
|
* @throws {RequiredError}
|
|
1108
1117
|
* @memberof PoliciesApi
|
|
1109
1118
|
*/
|
|
1110
|
-
|
|
1119
|
+
createPolicy_1(requestParameters: PoliciesApiCreatePolicy0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyResponseClass, any>>;
|
|
1111
1120
|
/**
|
|
1112
1121
|
* Permanently deletes the draft-policy. Supply the unique code that was returned when you created the draft-policy and this will delete it.
|
|
1113
1122
|
* @summary Delete the draft-policy
|
|
@@ -1172,23 +1181,23 @@ export declare class PoliciesApi extends BaseAPI {
|
|
|
1172
1181
|
*/
|
|
1173
1182
|
listPolicyVersions(requestParameters: PoliciesApiListPolicyVersionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPolicyVersionResponseClass, any>>;
|
|
1174
1183
|
/**
|
|
1175
|
-
* Updates the specified
|
|
1176
|
-
* @summary Update the
|
|
1177
|
-
* @param {
|
|
1184
|
+
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1185
|
+
* @summary Update the policy
|
|
1186
|
+
* @param {PoliciesApiPatchPolicyRequest} requestParameters Request parameters.
|
|
1178
1187
|
* @param {*} [options] Override http request option.
|
|
1179
1188
|
* @throws {RequiredError}
|
|
1180
1189
|
* @memberof PoliciesApi
|
|
1181
1190
|
*/
|
|
1182
|
-
|
|
1191
|
+
patchPolicy(requestParameters: PoliciesApiPatchPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchPolicyResponseClass, any>>;
|
|
1183
1192
|
/**
|
|
1184
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1185
|
-
* @summary Update the policy
|
|
1186
|
-
* @param {
|
|
1193
|
+
* Updates the specified draft-policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
1194
|
+
* @summary Update the draft-policy
|
|
1195
|
+
* @param {PoliciesApiPatchPolicy0Request} requestParameters Request parameters.
|
|
1187
1196
|
* @param {*} [options] Override http request option.
|
|
1188
1197
|
* @throws {RequiredError}
|
|
1189
1198
|
* @memberof PoliciesApi
|
|
1190
1199
|
*/
|
|
1191
|
-
|
|
1200
|
+
patchPolicy_2(requestParameters: PoliciesApiPatchPolicy0Request, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchPolicyResponseClass, any>>;
|
|
1192
1201
|
/**
|
|
1193
1202
|
* Request to suspend an existing policy by tenant.
|
|
1194
1203
|
* @summary Suspend a policy by tenant
|