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