@emilgroup/insurance-sdk-node 1.32.0 → 1.35.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/README.md +2 -2
- package/api/insured-objects-api.ts +8 -8
- package/api/policies-api.ts +23 -23
- package/api/product-fields-api.ts +24 -24
- package/api/products-api.ts +60 -12
- package/models/create-payment-method-request-dto.ts +1 -9
- package/models/get-product-request-dto.ts +4 -4
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/product-field-class.ts +1 -1
- package/models/shared-product-field-class.ts +1 -1
- package/models/terminate-policy-request-dto.ts +23 -0
- package/models/update-policy-request-dto.ts +8 -1
- package/package.json +2 -2
- package/dist/api/default-api.d.ts +0 -66
- package/dist/api/default-api.js +0 -200
- package/dist/api/insured-object-types-api.d.ts +0 -141
- package/dist/api/insured-object-types-api.js +0 -258
- package/dist/api/insured-objects-api.d.ts +0 -318
- package/dist/api/insured-objects-api.js +0 -539
- package/dist/api/lead-statuses-api.d.ts +0 -265
- package/dist/api/lead-statuses-api.js +0 -505
- package/dist/api/leads-api.d.ts +0 -626
- package/dist/api/leads-api.js +0 -1024
- package/dist/api/named-ranges-api.d.ts +0 -376
- package/dist/api/named-ranges-api.js +0 -634
- package/dist/api/policies-api.d.ts +0 -722
- package/dist/api/policies-api.js +0 -1141
- package/dist/api/premium-formulas-api.d.ts +0 -433
- package/dist/api/premium-formulas-api.js +0 -727
- package/dist/api/product-factors-api.d.ts +0 -493
- package/dist/api/product-factors-api.js +0 -788
- package/dist/api/product-fields-api.d.ts +0 -477
- package/dist/api/product-fields-api.js +0 -757
- package/dist/api/product-versions-api.d.ts +0 -189
- package/dist/api/product-versions-api.js +0 -346
- package/dist/api/products-api.d.ts +0 -458
- package/dist/api/products-api.js +0 -748
- package/dist/api.d.ts +0 -23
- package/dist/api.js +0 -41
- package/dist/base.d.ts +0 -78
- package/dist/base.js +0 -394
- package/dist/common.d.ts +0 -92
- package/dist/common.js +0 -277
- package/dist/configuration.d.ts +0 -90
- package/dist/configuration.js +0 -44
- package/dist/index.d.ts +0 -15
- package/dist/index.js +0 -36
- package/dist/models/activate-policy-request-dto.d.ts +0 -24
- package/dist/models/activate-policy-request-dto.js +0 -15
- package/dist/models/activate-policy-response-class.d.ts +0 -25
- package/dist/models/activate-policy-response-class.js +0 -15
- package/dist/models/calculate-custom-premium-request-dto.d.ts +0 -35
- package/dist/models/calculate-custom-premium-request-dto.js +0 -20
- package/dist/models/calculate-premium-request-dto.d.ts +0 -38
- package/dist/models/calculate-premium-request-dto.js +0 -15
- package/dist/models/calculate-product-fields-request-dto.d.ts +0 -31
- package/dist/models/calculate-product-fields-request-dto.js +0 -15
- package/dist/models/clone-product-version-request-dto.d.ts +0 -36
- package/dist/models/clone-product-version-request-dto.js +0 -15
- package/dist/models/create-account-request-dto.d.ts +0 -120
- package/dist/models/create-account-request-dto.js +0 -26
- package/dist/models/create-bank-account-request-dto.d.ts +0 -30
- package/dist/models/create-bank-account-request-dto.js +0 -15
- package/dist/models/create-custom-application-request-dto.d.ts +0 -41
- package/dist/models/create-custom-application-request-dto.js +0 -20
- package/dist/models/create-dummy-policy-request-dto.d.ts +0 -44
- package/dist/models/create-dummy-policy-request-dto.js +0 -15
- package/dist/models/create-insured-object-request-dto.d.ts +0 -60
- package/dist/models/create-insured-object-request-dto.js +0 -15
- package/dist/models/create-insured-object-response-class.d.ts +0 -25
- package/dist/models/create-insured-object-response-class.js +0 -15
- package/dist/models/create-lead-async-response-class.d.ts +0 -24
- package/dist/models/create-lead-async-response-class.js +0 -15
- package/dist/models/create-lead-policy-request-dto.d.ts +0 -56
- package/dist/models/create-lead-policy-request-dto.js +0 -15
- package/dist/models/create-lead-request-dto.d.ts +0 -96
- package/dist/models/create-lead-request-dto.js +0 -15
- package/dist/models/create-lead-response-class.d.ts +0 -25
- package/dist/models/create-lead-response-class.js +0 -15
- package/dist/models/create-lead-status-request-dto.d.ts +0 -30
- package/dist/models/create-lead-status-request-dto.js +0 -15
- package/dist/models/create-lead-status-response-class.d.ts +0 -25
- package/dist/models/create-lead-status-response-class.js +0 -15
- package/dist/models/create-named-range-request-dto.d.ts +0 -55
- package/dist/models/create-named-range-request-dto.js +0 -15
- package/dist/models/create-named-range-response-class.d.ts +0 -25
- package/dist/models/create-named-range-response-class.js +0 -15
- package/dist/models/create-named-request-s3-data-class.d.ts +0 -30
- package/dist/models/create-named-request-s3-data-class.js +0 -15
- package/dist/models/create-payment-method-request-dto.d.ts +0 -36
- package/dist/models/create-payment-method-request-dto.js +0 -20
- package/dist/models/create-policy-request-dto.d.ts +0 -62
- package/dist/models/create-policy-request-dto.js +0 -15
- package/dist/models/create-policy-response-class.d.ts +0 -25
- package/dist/models/create-policy-response-class.js +0 -15
- package/dist/models/create-premium-formula-request-dto.d.ts +0 -105
- package/dist/models/create-premium-formula-request-dto.js +0 -39
- package/dist/models/create-premium-formula-response-class.d.ts +0 -25
- package/dist/models/create-premium-formula-response-class.js +0 -15
- package/dist/models/create-product-field-request-dto.d.ts +0 -137
- package/dist/models/create-product-field-request-dto.js +0 -20
- package/dist/models/create-product-field-response-class.d.ts +0 -25
- package/dist/models/create-product-field-response-class.js +0 -15
- package/dist/models/create-product-request-dto.d.ts +0 -85
- package/dist/models/create-product-request-dto.js +0 -51
- package/dist/models/create-product-response-class.d.ts +0 -25
- package/dist/models/create-product-response-class.js +0 -15
- package/dist/models/csv-product-factor-dto.d.ts +0 -48
- package/dist/models/csv-product-factor-dto.js +0 -15
- package/dist/models/delete-request-dto.d.ts +0 -24
- package/dist/models/delete-request-dto.js +0 -15
- package/dist/models/delete-response-class.d.ts +0 -24
- package/dist/models/delete-response-class.js +0 -15
- package/dist/models/empty-response-class.d.ts +0 -24
- package/dist/models/empty-response-class.js +0 -15
- package/dist/models/get-insured-object-response-class.d.ts +0 -25
- package/dist/models/get-insured-object-response-class.js +0 -15
- package/dist/models/get-lead-response-class.d.ts +0 -25
- package/dist/models/get-lead-response-class.js +0 -15
- package/dist/models/get-lead-status-response-class.d.ts +0 -25
- package/dist/models/get-lead-status-response-class.js +0 -15
- package/dist/models/get-named-range-response-class.d.ts +0 -25
- package/dist/models/get-named-range-response-class.js +0 -15
- package/dist/models/get-policy-data-by-date-request-dto.d.ts +0 -30
- package/dist/models/get-policy-data-by-date-request-dto.js +0 -15
- package/dist/models/get-policy-request-dto.d.ts +0 -30
- package/dist/models/get-policy-request-dto.js +0 -15
- package/dist/models/get-policy-response-class.d.ts +0 -25
- package/dist/models/get-policy-response-class.js +0 -15
- package/dist/models/get-premium-formula-request-dto.d.ts +0 -24
- package/dist/models/get-premium-formula-request-dto.js +0 -15
- package/dist/models/get-premium-formula-response-class.d.ts +0 -25
- package/dist/models/get-premium-formula-response-class.js +0 -15
- package/dist/models/get-product-factor-response-class.d.ts +0 -32
- package/dist/models/get-product-factor-response-class.js +0 -15
- package/dist/models/get-product-factor-value-request-dto.d.ts +0 -42
- package/dist/models/get-product-factor-value-request-dto.js +0 -15
- package/dist/models/get-product-factor-value-response-class.d.ts +0 -25
- package/dist/models/get-product-factor-value-response-class.js +0 -15
- package/dist/models/get-product-factors-for-version-request-dto.d.ts +0 -36
- package/dist/models/get-product-factors-for-version-request-dto.js +0 -15
- package/dist/models/get-product-factors-for-version-response-class.d.ts +0 -25
- package/dist/models/get-product-factors-for-version-response-class.js +0 -15
- package/dist/models/get-product-field-request-dto.d.ts +0 -24
- package/dist/models/get-product-field-request-dto.js +0 -15
- package/dist/models/get-product-field-response-class.d.ts +0 -25
- package/dist/models/get-product-field-response-class.js +0 -15
- package/dist/models/get-product-request-dto.d.ts +0 -42
- package/dist/models/get-product-request-dto.js +0 -15
- package/dist/models/get-product-response-class.d.ts +0 -25
- package/dist/models/get-product-response-class.js +0 -15
- package/dist/models/get-product-version-request-dto.d.ts +0 -36
- package/dist/models/get-product-version-request-dto.js +0 -15
- package/dist/models/get-product-version-response-class.d.ts +0 -25
- package/dist/models/get-product-version-response-class.js +0 -15
- package/dist/models/grouped-product-factor-class.d.ts +0 -37
- package/dist/models/grouped-product-factor-class.js +0 -15
- package/dist/models/grouped-product-factor-value-class.d.ts +0 -42
- package/dist/models/grouped-product-factor-value-class.js +0 -15
- package/dist/models/grouped-product-factors-response-class.d.ts +0 -25
- package/dist/models/grouped-product-factors-response-class.js +0 -15
- package/dist/models/grpc-patch-lead-request-dto.d.ts +0 -102
- package/dist/models/grpc-patch-lead-request-dto.js +0 -15
- package/dist/models/grpc-update-lead-request-dto.d.ts +0 -102
- package/dist/models/grpc-update-lead-request-dto.js +0 -15
- package/dist/models/index.d.ts +0 -136
- package/dist/models/index.js +0 -152
- package/dist/models/inline-response200.d.ts +0 -54
- package/dist/models/inline-response200.js +0 -15
- package/dist/models/inline-response503.d.ts +0 -54
- package/dist/models/inline-response503.js +0 -15
- package/dist/models/insured-object-class.d.ts +0 -85
- package/dist/models/insured-object-class.js +0 -15
- package/dist/models/insured-object-type-class.d.ts +0 -48
- package/dist/models/insured-object-type-class.js +0 -15
- package/dist/models/invoice-item-class.d.ts +0 -117
- package/dist/models/invoice-item-class.js +0 -24
- package/dist/models/invoice-status-class.d.ts +0 -47
- package/dist/models/invoice-status-class.js +0 -20
- package/dist/models/lead-bank-account-class.d.ts +0 -30
- package/dist/models/lead-bank-account-class.js +0 -15
- package/dist/models/lead-class.d.ts +0 -133
- package/dist/models/lead-class.js +0 -15
- package/dist/models/lead-status-class.d.ts +0 -36
- package/dist/models/lead-status-class.js +0 -15
- package/dist/models/list-insured-object-types-response-class.d.ts +0 -31
- package/dist/models/list-insured-object-types-response-class.js +0 -15
- package/dist/models/list-insured-objects-response-class.d.ts +0 -31
- package/dist/models/list-insured-objects-response-class.js +0 -15
- package/dist/models/list-lead-statuses-response-class.d.ts +0 -31
- package/dist/models/list-lead-statuses-response-class.js +0 -15
- package/dist/models/list-leads-response-class.d.ts +0 -43
- package/dist/models/list-leads-response-class.js +0 -15
- package/dist/models/list-named-ranges-response-class.d.ts +0 -30
- package/dist/models/list-named-ranges-response-class.js +0 -15
- package/dist/models/list-policies-response-class.d.ts +0 -43
- package/dist/models/list-policies-response-class.js +0 -15
- package/dist/models/list-premium-formulas-response-class.d.ts +0 -31
- package/dist/models/list-premium-formulas-response-class.js +0 -15
- package/dist/models/list-product-factors-response-class.d.ts +0 -31
- package/dist/models/list-product-factors-response-class.js +0 -15
- package/dist/models/list-product-field-types-response-class.d.ts +0 -31
- package/dist/models/list-product-field-types-response-class.js +0 -15
- package/dist/models/list-product-fields-response-class.d.ts +0 -31
- package/dist/models/list-product-fields-response-class.js +0 -15
- package/dist/models/list-products-response-class.d.ts +0 -31
- package/dist/models/list-products-response-class.js +0 -15
- package/dist/models/list-request-dto.d.ts +0 -54
- package/dist/models/list-request-dto.js +0 -15
- package/dist/models/named-range-class.d.ts +0 -78
- package/dist/models/named-range-class.js +0 -15
- package/dist/models/patch-lead-request-dto.d.ts +0 -90
- package/dist/models/patch-lead-request-dto.js +0 -15
- package/dist/models/patch-lead-response-class.d.ts +0 -25
- package/dist/models/patch-lead-response-class.js +0 -15
- package/dist/models/patch-policy-request-dto.d.ts +0 -50
- package/dist/models/patch-policy-request-dto.js +0 -15
- package/dist/models/patch-policy-response-class.d.ts +0 -25
- package/dist/models/patch-policy-response-class.js +0 -15
- package/dist/models/policy-class.d.ts +0 -128
- package/dist/models/policy-class.js +0 -15
- package/dist/models/policy-object-class.d.ts +0 -60
- package/dist/models/policy-object-class.js +0 -15
- package/dist/models/policy-object-dto.d.ts +0 -42
- package/dist/models/policy-object-dto.js +0 -15
- package/dist/models/policy-premium-class.d.ts +0 -49
- package/dist/models/policy-premium-class.js +0 -15
- package/dist/models/policy-premium-item-class.d.ts +0 -55
- package/dist/models/policy-premium-item-class.js +0 -15
- package/dist/models/policy-version-class.d.ts +0 -55
- package/dist/models/policy-version-class.js +0 -15
- package/dist/models/premium-formula-class.d.ts +0 -96
- package/dist/models/premium-formula-class.js +0 -15
- package/dist/models/premium-override-dto.d.ts +0 -55
- package/dist/models/premium-override-dto.js +0 -27
- package/dist/models/premium-override-request-class.d.ts +0 -25
- package/dist/models/premium-override-request-class.js +0 -15
- package/dist/models/premium-override-request-dto.d.ts +0 -25
- package/dist/models/premium-override-request-dto.js +0 -15
- package/dist/models/product-class.d.ts +0 -80
- package/dist/models/product-class.js +0 -15
- package/dist/models/product-factor-class.d.ts +0 -61
- package/dist/models/product-factor-class.js +0 -15
- package/dist/models/product-factor-for-version-class.d.ts +0 -61
- package/dist/models/product-factor-for-version-class.js +0 -15
- package/dist/models/product-factor-value-class.d.ts +0 -60
- package/dist/models/product-factor-value-class.js +0 -15
- package/dist/models/product-factor-value-for-version-class.d.ts +0 -42
- package/dist/models/product-factor-value-for-version-class.js +0 -15
- package/dist/models/product-field-class.d.ts +0 -132
- package/dist/models/product-field-class.js +0 -15
- package/dist/models/product-field-type-class.d.ts +0 -48
- package/dist/models/product-field-type-class.js +0 -15
- package/dist/models/product-version-class.d.ts +0 -61
- package/dist/models/product-version-class.js +0 -22
- package/dist/models/sepa-dto.d.ts +0 -30
- package/dist/models/sepa-dto.js +0 -15
- package/dist/models/shared-create-lead-policy-request-dto.d.ts +0 -56
- package/dist/models/shared-create-lead-policy-request-dto.js +0 -15
- package/dist/models/shared-invoice-class.d.ts +0 -150
- package/dist/models/shared-invoice-class.js +0 -30
- package/dist/models/shared-lead-policy-object-dto.d.ts +0 -42
- package/dist/models/shared-lead-policy-object-dto.js +0 -15
- package/dist/models/shared-product-field-class.d.ts +0 -132
- package/dist/models/shared-product-field-class.js +0 -15
- package/dist/models/shared-update-named-range-request-dto.d.ts +0 -42
- package/dist/models/shared-update-named-range-request-dto.js +0 -15
- package/dist/models/shared-update-premium-formula-request-dto.d.ts +0 -111
- package/dist/models/shared-update-premium-formula-request-dto.js +0 -39
- package/dist/models/store-product-factors-request-dto.d.ts +0 -31
- package/dist/models/store-product-factors-request-dto.js +0 -15
- package/dist/models/store-product-factors-response-class.d.ts +0 -25
- package/dist/models/store-product-factors-response-class.js +0 -15
- package/dist/models/suspend-policy-request-dto.d.ts +0 -24
- package/dist/models/suspend-policy-request-dto.js +0 -15
- package/dist/models/suspend-policy-response-class.d.ts +0 -25
- package/dist/models/suspend-policy-response-class.js +0 -15
- package/dist/models/swap-premium-formulas-order-request-dto.d.ts +0 -30
- package/dist/models/swap-premium-formulas-order-request-dto.js +0 -15
- package/dist/models/terminate-policy-request-dto.d.ts +0 -24
- package/dist/models/terminate-policy-request-dto.js +0 -15
- package/dist/models/terminate-policy-response-class.d.ts +0 -25
- package/dist/models/terminate-policy-response-class.js +0 -15
- package/dist/models/timeslice-class.d.ts +0 -62
- package/dist/models/timeslice-class.js +0 -15
- package/dist/models/update-insured-object-request-dto.d.ts +0 -66
- package/dist/models/update-insured-object-request-dto.js +0 -15
- package/dist/models/update-lead-request-dto.d.ts +0 -90
- package/dist/models/update-lead-request-dto.js +0 -15
- package/dist/models/update-lead-response-class.d.ts +0 -25
- package/dist/models/update-lead-response-class.js +0 -15
- package/dist/models/update-named-range-request-dto.d.ts +0 -36
- package/dist/models/update-named-range-request-dto.js +0 -15
- package/dist/models/update-named-range-response-class.d.ts +0 -25
- package/dist/models/update-named-range-response-class.js +0 -15
- package/dist/models/update-policy-request-dto.d.ts +0 -69
- package/dist/models/update-policy-request-dto.js +0 -22
- package/dist/models/update-policy-response-class.d.ts +0 -25
- package/dist/models/update-policy-response-class.js +0 -15
- package/dist/models/update-premium-formula-request-dto.d.ts +0 -105
- package/dist/models/update-premium-formula-request-dto.js +0 -39
- package/dist/models/update-premium-formula-response-class.d.ts +0 -25
- package/dist/models/update-premium-formula-response-class.js +0 -15
- package/dist/models/update-product-field-request-dto.d.ts +0 -143
- package/dist/models/update-product-field-request-dto.js +0 -20
- package/dist/models/update-product-field-response-class.d.ts +0 -25
- package/dist/models/update-product-field-response-class.js +0 -15
- package/dist/models/update-product-request-dto.d.ts +0 -42
- package/dist/models/update-product-request-dto.js +0 -15
- package/dist/models/update-product-response-class.d.ts +0 -25
- package/dist/models/update-product-response-class.js +0 -15
- package/dist/models/update-product-version-request-dto.d.ts +0 -43
- package/dist/models/update-product-version-request-dto.js +0 -22
- package/dist/models/update-product-version-response-class.d.ts +0 -25
- package/dist/models/update-product-version-response-class.js +0 -15
- package/dist/models/uploaded-document-dto.d.ts +0 -24
- package/dist/models/uploaded-document-dto.js +0 -15
- package/dist/models/validate-product-factors-request-dto.d.ts +0 -31
- package/dist/models/validate-product-factors-request-dto.js +0 -15
- package/dist/models/withdraw-policy-response-class.d.ts +0 -25
- package/dist/models/withdraw-policy-response-class.js +0 -15
|
@@ -1,722 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL InsuranceService
|
|
3
|
-
* The EMIL InsuranceService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
-
import { Configuration } from '../configuration';
|
|
14
|
-
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
-
import { ActivatePolicyRequestDto } from '../models';
|
|
16
|
-
import { ActivatePolicyResponseClass } from '../models';
|
|
17
|
-
import { CreatePolicyRequestDto } from '../models';
|
|
18
|
-
import { CreatePolicyResponseClass } from '../models';
|
|
19
|
-
import { GetPolicyResponseClass } from '../models';
|
|
20
|
-
import { ListPoliciesResponseClass } from '../models';
|
|
21
|
-
import { PatchPolicyRequestDto } from '../models';
|
|
22
|
-
import { PatchPolicyResponseClass } from '../models';
|
|
23
|
-
import { SuspendPolicyRequestDto } from '../models';
|
|
24
|
-
import { SuspendPolicyResponseClass } from '../models';
|
|
25
|
-
import { TerminatePolicyRequestDto } from '../models';
|
|
26
|
-
import { TerminatePolicyResponseClass } from '../models';
|
|
27
|
-
import { UpdatePolicyRequestDto } from '../models';
|
|
28
|
-
import { UpdatePolicyResponseClass } from '../models';
|
|
29
|
-
import { WithdrawPolicyResponseClass } from '../models';
|
|
30
|
-
/**
|
|
31
|
-
* PoliciesApi - axios parameter creator
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
35
|
-
/**
|
|
36
|
-
* Request to activate an existing suspended policy by tenant.
|
|
37
|
-
* @summary Activate a suspended policy by tenant
|
|
38
|
-
* @param {string} policyCode The policy code.
|
|
39
|
-
* @param {ActivatePolicyRequestDto} activatePolicyRequestDto
|
|
40
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
41
|
-
* @param {*} [options] Override http request option.
|
|
42
|
-
* @throws {RequiredError}
|
|
43
|
-
*/
|
|
44
|
-
activatePolicy: (policyCode: string, activatePolicyRequestDto: ActivatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
45
|
-
/**
|
|
46
|
-
* 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.
|
|
47
|
-
* @summary Create the policy
|
|
48
|
-
* @param {CreatePolicyRequestDto} createPolicyRequestDto
|
|
49
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
createPolicy: (createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
|
-
/**
|
|
55
|
-
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
56
|
-
* @summary Retrieve the policy
|
|
57
|
-
* @param {string} code Unique identifier for the object.
|
|
58
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
|
-
* @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.
|
|
60
|
-
* @param {*} [options] Override http request option.
|
|
61
|
-
* @throws {RequiredError}
|
|
62
|
-
*/
|
|
63
|
-
getPolicy: (code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
|
-
/**
|
|
65
|
-
* 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.
|
|
66
|
-
* @summary Retrieve current policy version
|
|
67
|
-
* @param {string} code Unique identifier for the object.
|
|
68
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
69
|
-
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
70
|
-
* @param {*} [options] Override http request option.
|
|
71
|
-
* @throws {RequiredError}
|
|
72
|
-
*/
|
|
73
|
-
getPolicyDataByDate: (code: string, authorization?: string, timesliceDate?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
|
-
/**
|
|
75
|
-
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
76
|
-
* @summary List policies
|
|
77
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
78
|
-
* @param {number} [pageSize] Page size.
|
|
79
|
-
* @param {string} [pageToken] Page token.
|
|
80
|
-
* @param {'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
81
|
-
* @param {string} [search] Search query.
|
|
82
|
-
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
83
|
-
* @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.
|
|
84
|
-
* @param {*} [options] Override http request option.
|
|
85
|
-
* @throws {RequiredError}
|
|
86
|
-
*/
|
|
87
|
-
listPolicies: (authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
-
/**
|
|
89
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
90
|
-
* @summary Update the policy
|
|
91
|
-
* @param {string} code Unique identifier for the object.
|
|
92
|
-
* @param {PatchPolicyRequestDto} patchPolicyRequestDto
|
|
93
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
94
|
-
* @param {*} [options] Override http request option.
|
|
95
|
-
* @throws {RequiredError}
|
|
96
|
-
*/
|
|
97
|
-
patchPolicy: (code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
|
-
/**
|
|
99
|
-
* Request to suspend an existing policy by tenant.
|
|
100
|
-
* @summary Suspend a policy by tenant
|
|
101
|
-
* @param {string} policyCode The policy code.
|
|
102
|
-
* @param {SuspendPolicyRequestDto} suspendPolicyRequestDto
|
|
103
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
104
|
-
* @param {*} [options] Override http request option.
|
|
105
|
-
* @throws {RequiredError}
|
|
106
|
-
*/
|
|
107
|
-
suspendPolicy: (policyCode: string, suspendPolicyRequestDto: SuspendPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
-
/**
|
|
109
|
-
* Request to terminate an existing policy by tenant.
|
|
110
|
-
* @summary Terminate a policy by tenant
|
|
111
|
-
* @param {string} policyCode The policy code.
|
|
112
|
-
* @param {TerminatePolicyRequestDto} terminatePolicyRequestDto
|
|
113
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
114
|
-
* @param {*} [options] Override http request option.
|
|
115
|
-
* @throws {RequiredError}
|
|
116
|
-
*/
|
|
117
|
-
terminatePolicy: (policyCode: string, terminatePolicyRequestDto: TerminatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
118
|
-
/**
|
|
119
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
120
|
-
* @summary Update the policy
|
|
121
|
-
* @param {string} code Unique identifier for the object.
|
|
122
|
-
* @param {UpdatePolicyRequestDto} updatePolicyRequestDto
|
|
123
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
124
|
-
* @param {*} [options] Override http request option.
|
|
125
|
-
* @throws {RequiredError}
|
|
126
|
-
*/
|
|
127
|
-
updatePolicy: (code: string, updatePolicyRequestDto: UpdatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
128
|
-
/**
|
|
129
|
-
* Withdraw policy by tenant.
|
|
130
|
-
* @summary Withdraw policy by tenant
|
|
131
|
-
* @param {string} policyCode The policy code.
|
|
132
|
-
* @param {object} body
|
|
133
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
134
|
-
* @param {*} [options] Override http request option.
|
|
135
|
-
* @throws {RequiredError}
|
|
136
|
-
*/
|
|
137
|
-
withdrawPolicy: (policyCode: string, body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
138
|
-
};
|
|
139
|
-
/**
|
|
140
|
-
* PoliciesApi - functional programming interface
|
|
141
|
-
* @export
|
|
142
|
-
*/
|
|
143
|
-
export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
144
|
-
/**
|
|
145
|
-
* Request to activate an existing suspended policy by tenant.
|
|
146
|
-
* @summary Activate a suspended policy by tenant
|
|
147
|
-
* @param {string} policyCode The policy code.
|
|
148
|
-
* @param {ActivatePolicyRequestDto} activatePolicyRequestDto
|
|
149
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
150
|
-
* @param {*} [options] Override http request option.
|
|
151
|
-
* @throws {RequiredError}
|
|
152
|
-
*/
|
|
153
|
-
activatePolicy(policyCode: string, activatePolicyRequestDto: ActivatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ActivatePolicyResponseClass>>;
|
|
154
|
-
/**
|
|
155
|
-
* 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.
|
|
156
|
-
* @summary Create the policy
|
|
157
|
-
* @param {CreatePolicyRequestDto} createPolicyRequestDto
|
|
158
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
159
|
-
* @param {*} [options] Override http request option.
|
|
160
|
-
* @throws {RequiredError}
|
|
161
|
-
*/
|
|
162
|
-
createPolicy(createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePolicyResponseClass>>;
|
|
163
|
-
/**
|
|
164
|
-
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
165
|
-
* @summary Retrieve the policy
|
|
166
|
-
* @param {string} code Unique identifier for the object.
|
|
167
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
168
|
-
* @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.
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
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>>;
|
|
173
|
-
/**
|
|
174
|
-
* 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.
|
|
175
|
-
* @summary Retrieve current policy version
|
|
176
|
-
* @param {string} code Unique identifier for the object.
|
|
177
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
178
|
-
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
179
|
-
* @param {*} [options] Override http request option.
|
|
180
|
-
* @throws {RequiredError}
|
|
181
|
-
*/
|
|
182
|
-
getPolicyDataByDate(code: string, authorization?: string, timesliceDate?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
183
|
-
/**
|
|
184
|
-
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
185
|
-
* @summary List policies
|
|
186
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
187
|
-
* @param {number} [pageSize] Page size.
|
|
188
|
-
* @param {string} [pageToken] Page token.
|
|
189
|
-
* @param {'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
190
|
-
* @param {string} [search] Search query.
|
|
191
|
-
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
192
|
-
* @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.
|
|
193
|
-
* @param {*} [options] Override http request option.
|
|
194
|
-
* @throws {RequiredError}
|
|
195
|
-
*/
|
|
196
|
-
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
197
|
-
/**
|
|
198
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
199
|
-
* @summary Update the policy
|
|
200
|
-
* @param {string} code Unique identifier for the object.
|
|
201
|
-
* @param {PatchPolicyRequestDto} patchPolicyRequestDto
|
|
202
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
203
|
-
* @param {*} [options] Override http request option.
|
|
204
|
-
* @throws {RequiredError}
|
|
205
|
-
*/
|
|
206
|
-
patchPolicy(code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchPolicyResponseClass>>;
|
|
207
|
-
/**
|
|
208
|
-
* Request to suspend an existing policy by tenant.
|
|
209
|
-
* @summary Suspend a policy by tenant
|
|
210
|
-
* @param {string} policyCode The policy code.
|
|
211
|
-
* @param {SuspendPolicyRequestDto} suspendPolicyRequestDto
|
|
212
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
213
|
-
* @param {*} [options] Override http request option.
|
|
214
|
-
* @throws {RequiredError}
|
|
215
|
-
*/
|
|
216
|
-
suspendPolicy(policyCode: string, suspendPolicyRequestDto: SuspendPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SuspendPolicyResponseClass>>;
|
|
217
|
-
/**
|
|
218
|
-
* Request to terminate an existing policy by tenant.
|
|
219
|
-
* @summary Terminate a policy by tenant
|
|
220
|
-
* @param {string} policyCode The policy code.
|
|
221
|
-
* @param {TerminatePolicyRequestDto} terminatePolicyRequestDto
|
|
222
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
223
|
-
* @param {*} [options] Override http request option.
|
|
224
|
-
* @throws {RequiredError}
|
|
225
|
-
*/
|
|
226
|
-
terminatePolicy(policyCode: string, terminatePolicyRequestDto: TerminatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminatePolicyResponseClass>>;
|
|
227
|
-
/**
|
|
228
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
229
|
-
* @summary Update the policy
|
|
230
|
-
* @param {string} code Unique identifier for the object.
|
|
231
|
-
* @param {UpdatePolicyRequestDto} updatePolicyRequestDto
|
|
232
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
|
-
* @param {*} [options] Override http request option.
|
|
234
|
-
* @throws {RequiredError}
|
|
235
|
-
*/
|
|
236
|
-
updatePolicy(code: string, updatePolicyRequestDto: UpdatePolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdatePolicyResponseClass>>;
|
|
237
|
-
/**
|
|
238
|
-
* Withdraw policy by tenant.
|
|
239
|
-
* @summary Withdraw policy by tenant
|
|
240
|
-
* @param {string} policyCode The policy code.
|
|
241
|
-
* @param {object} body
|
|
242
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
243
|
-
* @param {*} [options] Override http request option.
|
|
244
|
-
* @throws {RequiredError}
|
|
245
|
-
*/
|
|
246
|
-
withdrawPolicy(policyCode: string, body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WithdrawPolicyResponseClass>>;
|
|
247
|
-
};
|
|
248
|
-
/**
|
|
249
|
-
* PoliciesApi - factory interface
|
|
250
|
-
* @export
|
|
251
|
-
*/
|
|
252
|
-
export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
253
|
-
/**
|
|
254
|
-
* Request to activate an existing suspended policy by tenant.
|
|
255
|
-
* @summary Activate a suspended policy by tenant
|
|
256
|
-
* @param {string} policyCode The policy code.
|
|
257
|
-
* @param {ActivatePolicyRequestDto} activatePolicyRequestDto
|
|
258
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
259
|
-
* @param {*} [options] Override http request option.
|
|
260
|
-
* @throws {RequiredError}
|
|
261
|
-
*/
|
|
262
|
-
activatePolicy(policyCode: string, activatePolicyRequestDto: ActivatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<ActivatePolicyResponseClass>;
|
|
263
|
-
/**
|
|
264
|
-
* 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.
|
|
265
|
-
* @summary Create the policy
|
|
266
|
-
* @param {CreatePolicyRequestDto} createPolicyRequestDto
|
|
267
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
268
|
-
* @param {*} [options] Override http request option.
|
|
269
|
-
* @throws {RequiredError}
|
|
270
|
-
*/
|
|
271
|
-
createPolicy(createPolicyRequestDto: CreatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePolicyResponseClass>;
|
|
272
|
-
/**
|
|
273
|
-
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
274
|
-
* @summary Retrieve the policy
|
|
275
|
-
* @param {string} code Unique identifier for the object.
|
|
276
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
|
-
* @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
|
-
* @param {*} [options] Override http request option.
|
|
279
|
-
* @throws {RequiredError}
|
|
280
|
-
*/
|
|
281
|
-
getPolicy(code: string, authorization?: string, expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
282
|
-
/**
|
|
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.
|
|
284
|
-
* @summary Retrieve current policy version
|
|
285
|
-
* @param {string} code Unique identifier for the object.
|
|
286
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
287
|
-
* @param {string} [timesliceDate] This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
288
|
-
* @param {*} [options] Override http request option.
|
|
289
|
-
* @throws {RequiredError}
|
|
290
|
-
*/
|
|
291
|
-
getPolicyDataByDate(code: string, authorization?: string, timesliceDate?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
292
|
-
/**
|
|
293
|
-
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
294
|
-
* @summary List policies
|
|
295
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
296
|
-
* @param {number} [pageSize] Page size.
|
|
297
|
-
* @param {string} [pageToken] Page token.
|
|
298
|
-
* @param {'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
299
|
-
* @param {string} [search] Search query.
|
|
300
|
-
* @param {'policyNumber' | 'createdAt'} [order] Order allowing you to specify the desired order of entities retrieved from the server.
|
|
301
|
-
* @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
|
-
* @param {*} [options] Override http request option.
|
|
303
|
-
* @throws {RequiredError}
|
|
304
|
-
*/
|
|
305
|
-
listPolicies(authorization?: string, pageSize?: number, pageToken?: string, filter?: 'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData', search?: string, order?: 'policyNumber' | 'createdAt', expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas', options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
306
|
-
/**
|
|
307
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
308
|
-
* @summary Update the policy
|
|
309
|
-
* @param {string} code Unique identifier for the object.
|
|
310
|
-
* @param {PatchPolicyRequestDto} patchPolicyRequestDto
|
|
311
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
312
|
-
* @param {*} [options] Override http request option.
|
|
313
|
-
* @throws {RequiredError}
|
|
314
|
-
*/
|
|
315
|
-
patchPolicy(code: string, patchPolicyRequestDto: PatchPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<PatchPolicyResponseClass>;
|
|
316
|
-
/**
|
|
317
|
-
* Request to suspend an existing policy by tenant.
|
|
318
|
-
* @summary Suspend a policy by tenant
|
|
319
|
-
* @param {string} policyCode The policy code.
|
|
320
|
-
* @param {SuspendPolicyRequestDto} suspendPolicyRequestDto
|
|
321
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
|
-
* @param {*} [options] Override http request option.
|
|
323
|
-
* @throws {RequiredError}
|
|
324
|
-
*/
|
|
325
|
-
suspendPolicy(policyCode: string, suspendPolicyRequestDto: SuspendPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<SuspendPolicyResponseClass>;
|
|
326
|
-
/**
|
|
327
|
-
* Request to terminate an existing policy by tenant.
|
|
328
|
-
* @summary Terminate a policy by tenant
|
|
329
|
-
* @param {string} policyCode The policy code.
|
|
330
|
-
* @param {TerminatePolicyRequestDto} terminatePolicyRequestDto
|
|
331
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
332
|
-
* @param {*} [options] Override http request option.
|
|
333
|
-
* @throws {RequiredError}
|
|
334
|
-
*/
|
|
335
|
-
terminatePolicy(policyCode: string, terminatePolicyRequestDto: TerminatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<TerminatePolicyResponseClass>;
|
|
336
|
-
/**
|
|
337
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
338
|
-
* @summary Update the policy
|
|
339
|
-
* @param {string} code Unique identifier for the object.
|
|
340
|
-
* @param {UpdatePolicyRequestDto} updatePolicyRequestDto
|
|
341
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
342
|
-
* @param {*} [options] Override http request option.
|
|
343
|
-
* @throws {RequiredError}
|
|
344
|
-
*/
|
|
345
|
-
updatePolicy(code: string, updatePolicyRequestDto: UpdatePolicyRequestDto, authorization?: string, options?: any): AxiosPromise<UpdatePolicyResponseClass>;
|
|
346
|
-
/**
|
|
347
|
-
* Withdraw policy by tenant.
|
|
348
|
-
* @summary Withdraw policy by tenant
|
|
349
|
-
* @param {string} policyCode The policy code.
|
|
350
|
-
* @param {object} body
|
|
351
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
352
|
-
* @param {*} [options] Override http request option.
|
|
353
|
-
* @throws {RequiredError}
|
|
354
|
-
*/
|
|
355
|
-
withdrawPolicy(policyCode: string, body: object, authorization?: string, options?: any): AxiosPromise<WithdrawPolicyResponseClass>;
|
|
356
|
-
};
|
|
357
|
-
/**
|
|
358
|
-
* Request parameters for activatePolicy operation in PoliciesApi.
|
|
359
|
-
* @export
|
|
360
|
-
* @interface PoliciesApiActivatePolicyRequest
|
|
361
|
-
*/
|
|
362
|
-
export interface PoliciesApiActivatePolicyRequest {
|
|
363
|
-
/**
|
|
364
|
-
* The policy code.
|
|
365
|
-
* @type {string}
|
|
366
|
-
* @memberof PoliciesApiActivatePolicy
|
|
367
|
-
*/
|
|
368
|
-
readonly policyCode: string;
|
|
369
|
-
/**
|
|
370
|
-
*
|
|
371
|
-
* @type {ActivatePolicyRequestDto}
|
|
372
|
-
* @memberof PoliciesApiActivatePolicy
|
|
373
|
-
*/
|
|
374
|
-
readonly activatePolicyRequestDto: ActivatePolicyRequestDto;
|
|
375
|
-
/**
|
|
376
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
377
|
-
* @type {string}
|
|
378
|
-
* @memberof PoliciesApiActivatePolicy
|
|
379
|
-
*/
|
|
380
|
-
readonly authorization?: string;
|
|
381
|
-
}
|
|
382
|
-
/**
|
|
383
|
-
* Request parameters for createPolicy operation in PoliciesApi.
|
|
384
|
-
* @export
|
|
385
|
-
* @interface PoliciesApiCreatePolicyRequest
|
|
386
|
-
*/
|
|
387
|
-
export interface PoliciesApiCreatePolicyRequest {
|
|
388
|
-
/**
|
|
389
|
-
*
|
|
390
|
-
* @type {CreatePolicyRequestDto}
|
|
391
|
-
* @memberof PoliciesApiCreatePolicy
|
|
392
|
-
*/
|
|
393
|
-
readonly createPolicyRequestDto: CreatePolicyRequestDto;
|
|
394
|
-
/**
|
|
395
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
396
|
-
* @type {string}
|
|
397
|
-
* @memberof PoliciesApiCreatePolicy
|
|
398
|
-
*/
|
|
399
|
-
readonly authorization?: string;
|
|
400
|
-
}
|
|
401
|
-
/**
|
|
402
|
-
* Request parameters for getPolicy operation in PoliciesApi.
|
|
403
|
-
* @export
|
|
404
|
-
* @interface PoliciesApiGetPolicyRequest
|
|
405
|
-
*/
|
|
406
|
-
export interface PoliciesApiGetPolicyRequest {
|
|
407
|
-
/**
|
|
408
|
-
* Unique identifier for the object.
|
|
409
|
-
* @type {string}
|
|
410
|
-
* @memberof PoliciesApiGetPolicy
|
|
411
|
-
*/
|
|
412
|
-
readonly code: string;
|
|
413
|
-
/**
|
|
414
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
415
|
-
* @type {string}
|
|
416
|
-
* @memberof PoliciesApiGetPolicy
|
|
417
|
-
*/
|
|
418
|
-
readonly authorization?: string;
|
|
419
|
-
/**
|
|
420
|
-
* You can expand policy in this endpoint. By default, versions will be an empty array.
|
|
421
|
-
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
422
|
-
* @memberof PoliciesApiGetPolicy
|
|
423
|
-
*/
|
|
424
|
-
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
|
|
425
|
-
}
|
|
426
|
-
/**
|
|
427
|
-
* Request parameters for getPolicyDataByDate operation in PoliciesApi.
|
|
428
|
-
* @export
|
|
429
|
-
* @interface PoliciesApiGetPolicyDataByDateRequest
|
|
430
|
-
*/
|
|
431
|
-
export interface PoliciesApiGetPolicyDataByDateRequest {
|
|
432
|
-
/**
|
|
433
|
-
* Unique identifier for the object.
|
|
434
|
-
* @type {string}
|
|
435
|
-
* @memberof PoliciesApiGetPolicyDataByDate
|
|
436
|
-
*/
|
|
437
|
-
readonly code: string;
|
|
438
|
-
/**
|
|
439
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
440
|
-
* @type {string}
|
|
441
|
-
* @memberof PoliciesApiGetPolicyDataByDate
|
|
442
|
-
*/
|
|
443
|
-
readonly authorization?: string;
|
|
444
|
-
/**
|
|
445
|
-
* This date is used to filter data of the policy, to select the appropriate timeslice. If no date is specified, the system returns all the timeslices available.
|
|
446
|
-
* @type {string}
|
|
447
|
-
* @memberof PoliciesApiGetPolicyDataByDate
|
|
448
|
-
*/
|
|
449
|
-
readonly timesliceDate?: string;
|
|
450
|
-
}
|
|
451
|
-
/**
|
|
452
|
-
* Request parameters for listPolicies operation in PoliciesApi.
|
|
453
|
-
* @export
|
|
454
|
-
* @interface PoliciesApiListPoliciesRequest
|
|
455
|
-
*/
|
|
456
|
-
export interface PoliciesApiListPoliciesRequest {
|
|
457
|
-
/**
|
|
458
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
459
|
-
* @type {string}
|
|
460
|
-
* @memberof PoliciesApiListPolicies
|
|
461
|
-
*/
|
|
462
|
-
readonly authorization?: string;
|
|
463
|
-
/**
|
|
464
|
-
* Page size.
|
|
465
|
-
* @type {number}
|
|
466
|
-
* @memberof PoliciesApiListPolicies
|
|
467
|
-
*/
|
|
468
|
-
readonly pageSize?: number;
|
|
469
|
-
/**
|
|
470
|
-
* Page token.
|
|
471
|
-
* @type {string}
|
|
472
|
-
* @memberof PoliciesApiListPolicies
|
|
473
|
-
*/
|
|
474
|
-
readonly pageToken?: string;
|
|
475
|
-
/**
|
|
476
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
477
|
-
* @type {'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData'}
|
|
478
|
-
* @memberof PoliciesApiListPolicies
|
|
479
|
-
*/
|
|
480
|
-
readonly filter?: 'code' | 'leadCode' | 'policyNumber' | 'accountCode' | 'statuses' | 'productName' | 'productType' | 'createdAt' | 'policyStartDate' | 'policyData';
|
|
481
|
-
/**
|
|
482
|
-
* Search query.
|
|
483
|
-
* @type {string}
|
|
484
|
-
* @memberof PoliciesApiListPolicies
|
|
485
|
-
*/
|
|
486
|
-
readonly search?: string;
|
|
487
|
-
/**
|
|
488
|
-
* Order allowing you to specify the desired order of entities retrieved from the server.
|
|
489
|
-
* @type {'policyNumber' | 'createdAt'}
|
|
490
|
-
* @memberof PoliciesApiListPolicies
|
|
491
|
-
*/
|
|
492
|
-
readonly order?: 'policyNumber' | 'createdAt';
|
|
493
|
-
/**
|
|
494
|
-
* You can expand policy versions list in this endpoint. By default, versions will be an empty array.
|
|
495
|
-
* @type {'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas'}
|
|
496
|
-
* @memberof PoliciesApiListPolicies
|
|
497
|
-
*/
|
|
498
|
-
readonly expand?: 'versions' | 'product' | 'timelines' | 'premiums' | 'premiumItems' | 'premiumFormulas' | 'currentVersion' | 'currentTimelines' | 'currentPremiums' | 'currentPremiumItems' | 'currentPremiumFormulas';
|
|
499
|
-
}
|
|
500
|
-
/**
|
|
501
|
-
* Request parameters for patchPolicy operation in PoliciesApi.
|
|
502
|
-
* @export
|
|
503
|
-
* @interface PoliciesApiPatchPolicyRequest
|
|
504
|
-
*/
|
|
505
|
-
export interface PoliciesApiPatchPolicyRequest {
|
|
506
|
-
/**
|
|
507
|
-
* Unique identifier for the object.
|
|
508
|
-
* @type {string}
|
|
509
|
-
* @memberof PoliciesApiPatchPolicy
|
|
510
|
-
*/
|
|
511
|
-
readonly code: string;
|
|
512
|
-
/**
|
|
513
|
-
*
|
|
514
|
-
* @type {PatchPolicyRequestDto}
|
|
515
|
-
* @memberof PoliciesApiPatchPolicy
|
|
516
|
-
*/
|
|
517
|
-
readonly patchPolicyRequestDto: PatchPolicyRequestDto;
|
|
518
|
-
/**
|
|
519
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
520
|
-
* @type {string}
|
|
521
|
-
* @memberof PoliciesApiPatchPolicy
|
|
522
|
-
*/
|
|
523
|
-
readonly authorization?: string;
|
|
524
|
-
}
|
|
525
|
-
/**
|
|
526
|
-
* Request parameters for suspendPolicy operation in PoliciesApi.
|
|
527
|
-
* @export
|
|
528
|
-
* @interface PoliciesApiSuspendPolicyRequest
|
|
529
|
-
*/
|
|
530
|
-
export interface PoliciesApiSuspendPolicyRequest {
|
|
531
|
-
/**
|
|
532
|
-
* The policy code.
|
|
533
|
-
* @type {string}
|
|
534
|
-
* @memberof PoliciesApiSuspendPolicy
|
|
535
|
-
*/
|
|
536
|
-
readonly policyCode: string;
|
|
537
|
-
/**
|
|
538
|
-
*
|
|
539
|
-
* @type {SuspendPolicyRequestDto}
|
|
540
|
-
* @memberof PoliciesApiSuspendPolicy
|
|
541
|
-
*/
|
|
542
|
-
readonly suspendPolicyRequestDto: SuspendPolicyRequestDto;
|
|
543
|
-
/**
|
|
544
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
545
|
-
* @type {string}
|
|
546
|
-
* @memberof PoliciesApiSuspendPolicy
|
|
547
|
-
*/
|
|
548
|
-
readonly authorization?: string;
|
|
549
|
-
}
|
|
550
|
-
/**
|
|
551
|
-
* Request parameters for terminatePolicy operation in PoliciesApi.
|
|
552
|
-
* @export
|
|
553
|
-
* @interface PoliciesApiTerminatePolicyRequest
|
|
554
|
-
*/
|
|
555
|
-
export interface PoliciesApiTerminatePolicyRequest {
|
|
556
|
-
/**
|
|
557
|
-
* The policy code.
|
|
558
|
-
* @type {string}
|
|
559
|
-
* @memberof PoliciesApiTerminatePolicy
|
|
560
|
-
*/
|
|
561
|
-
readonly policyCode: string;
|
|
562
|
-
/**
|
|
563
|
-
*
|
|
564
|
-
* @type {TerminatePolicyRequestDto}
|
|
565
|
-
* @memberof PoliciesApiTerminatePolicy
|
|
566
|
-
*/
|
|
567
|
-
readonly terminatePolicyRequestDto: TerminatePolicyRequestDto;
|
|
568
|
-
/**
|
|
569
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
570
|
-
* @type {string}
|
|
571
|
-
* @memberof PoliciesApiTerminatePolicy
|
|
572
|
-
*/
|
|
573
|
-
readonly authorization?: string;
|
|
574
|
-
}
|
|
575
|
-
/**
|
|
576
|
-
* Request parameters for updatePolicy operation in PoliciesApi.
|
|
577
|
-
* @export
|
|
578
|
-
* @interface PoliciesApiUpdatePolicyRequest
|
|
579
|
-
*/
|
|
580
|
-
export interface PoliciesApiUpdatePolicyRequest {
|
|
581
|
-
/**
|
|
582
|
-
* Unique identifier for the object.
|
|
583
|
-
* @type {string}
|
|
584
|
-
* @memberof PoliciesApiUpdatePolicy
|
|
585
|
-
*/
|
|
586
|
-
readonly code: string;
|
|
587
|
-
/**
|
|
588
|
-
*
|
|
589
|
-
* @type {UpdatePolicyRequestDto}
|
|
590
|
-
* @memberof PoliciesApiUpdatePolicy
|
|
591
|
-
*/
|
|
592
|
-
readonly updatePolicyRequestDto: UpdatePolicyRequestDto;
|
|
593
|
-
/**
|
|
594
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
595
|
-
* @type {string}
|
|
596
|
-
* @memberof PoliciesApiUpdatePolicy
|
|
597
|
-
*/
|
|
598
|
-
readonly authorization?: string;
|
|
599
|
-
}
|
|
600
|
-
/**
|
|
601
|
-
* Request parameters for withdrawPolicy operation in PoliciesApi.
|
|
602
|
-
* @export
|
|
603
|
-
* @interface PoliciesApiWithdrawPolicyRequest
|
|
604
|
-
*/
|
|
605
|
-
export interface PoliciesApiWithdrawPolicyRequest {
|
|
606
|
-
/**
|
|
607
|
-
* The policy code.
|
|
608
|
-
* @type {string}
|
|
609
|
-
* @memberof PoliciesApiWithdrawPolicy
|
|
610
|
-
*/
|
|
611
|
-
readonly policyCode: string;
|
|
612
|
-
/**
|
|
613
|
-
*
|
|
614
|
-
* @type {object}
|
|
615
|
-
* @memberof PoliciesApiWithdrawPolicy
|
|
616
|
-
*/
|
|
617
|
-
readonly body: object;
|
|
618
|
-
/**
|
|
619
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
620
|
-
* @type {string}
|
|
621
|
-
* @memberof PoliciesApiWithdrawPolicy
|
|
622
|
-
*/
|
|
623
|
-
readonly authorization?: string;
|
|
624
|
-
}
|
|
625
|
-
/**
|
|
626
|
-
* PoliciesApi - object-oriented interface
|
|
627
|
-
* @export
|
|
628
|
-
* @class PoliciesApi
|
|
629
|
-
* @extends {BaseAPI}
|
|
630
|
-
*/
|
|
631
|
-
export declare class PoliciesApi extends BaseAPI {
|
|
632
|
-
/**
|
|
633
|
-
* Request to activate an existing suspended policy by tenant.
|
|
634
|
-
* @summary Activate a suspended policy by tenant
|
|
635
|
-
* @param {PoliciesApiActivatePolicyRequest} requestParameters Request parameters.
|
|
636
|
-
* @param {*} [options] Override http request option.
|
|
637
|
-
* @throws {RequiredError}
|
|
638
|
-
* @memberof PoliciesApi
|
|
639
|
-
*/
|
|
640
|
-
activatePolicy(requestParameters: PoliciesApiActivatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ActivatePolicyResponseClass, any>>;
|
|
641
|
-
/**
|
|
642
|
-
* 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.
|
|
643
|
-
* @summary Create the policy
|
|
644
|
-
* @param {PoliciesApiCreatePolicyRequest} requestParameters Request parameters.
|
|
645
|
-
* @param {*} [options] Override http request option.
|
|
646
|
-
* @throws {RequiredError}
|
|
647
|
-
* @memberof PoliciesApi
|
|
648
|
-
*/
|
|
649
|
-
createPolicy(requestParameters: PoliciesApiCreatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePolicyResponseClass, any>>;
|
|
650
|
-
/**
|
|
651
|
-
* Retrieves the details of the policy that was previously created. Supply the unique policy code that was returned when you created it and Emil Api will return the corresponding policy information.
|
|
652
|
-
* @summary Retrieve the policy
|
|
653
|
-
* @param {PoliciesApiGetPolicyRequest} requestParameters Request parameters.
|
|
654
|
-
* @param {*} [options] Override http request option.
|
|
655
|
-
* @throws {RequiredError}
|
|
656
|
-
* @memberof PoliciesApi
|
|
657
|
-
*/
|
|
658
|
-
getPolicy(requestParameters: PoliciesApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
659
|
-
/**
|
|
660
|
-
* 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.
|
|
661
|
-
* @summary Retrieve current policy version
|
|
662
|
-
* @param {PoliciesApiGetPolicyDataByDateRequest} requestParameters Request parameters.
|
|
663
|
-
* @param {*} [options] Override http request option.
|
|
664
|
-
* @throws {RequiredError}
|
|
665
|
-
* @memberof PoliciesApi
|
|
666
|
-
*/
|
|
667
|
-
getPolicyDataByDate(requestParameters: PoliciesApiGetPolicyDataByDateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
668
|
-
/**
|
|
669
|
-
* Returns a list of policies you have previously created. The policies are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
670
|
-
* @summary List policies
|
|
671
|
-
* @param {PoliciesApiListPoliciesRequest} requestParameters Request parameters.
|
|
672
|
-
* @param {*} [options] Override http request option.
|
|
673
|
-
* @throws {RequiredError}
|
|
674
|
-
* @memberof PoliciesApi
|
|
675
|
-
*/
|
|
676
|
-
listPolicies(requestParameters?: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any>>;
|
|
677
|
-
/**
|
|
678
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
679
|
-
* @summary Update the policy
|
|
680
|
-
* @param {PoliciesApiPatchPolicyRequest} requestParameters Request parameters.
|
|
681
|
-
* @param {*} [options] Override http request option.
|
|
682
|
-
* @throws {RequiredError}
|
|
683
|
-
* @memberof PoliciesApi
|
|
684
|
-
*/
|
|
685
|
-
patchPolicy(requestParameters: PoliciesApiPatchPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchPolicyResponseClass, any>>;
|
|
686
|
-
/**
|
|
687
|
-
* Request to suspend an existing policy by tenant.
|
|
688
|
-
* @summary Suspend a policy by tenant
|
|
689
|
-
* @param {PoliciesApiSuspendPolicyRequest} requestParameters Request parameters.
|
|
690
|
-
* @param {*} [options] Override http request option.
|
|
691
|
-
* @throws {RequiredError}
|
|
692
|
-
* @memberof PoliciesApi
|
|
693
|
-
*/
|
|
694
|
-
suspendPolicy(requestParameters: PoliciesApiSuspendPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<SuspendPolicyResponseClass, any>>;
|
|
695
|
-
/**
|
|
696
|
-
* Request to terminate an existing policy by tenant.
|
|
697
|
-
* @summary Terminate a policy by tenant
|
|
698
|
-
* @param {PoliciesApiTerminatePolicyRequest} requestParameters Request parameters.
|
|
699
|
-
* @param {*} [options] Override http request option.
|
|
700
|
-
* @throws {RequiredError}
|
|
701
|
-
* @memberof PoliciesApi
|
|
702
|
-
*/
|
|
703
|
-
terminatePolicy(requestParameters: PoliciesApiTerminatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminatePolicyResponseClass, any>>;
|
|
704
|
-
/**
|
|
705
|
-
* Updates the specified policy by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
706
|
-
* @summary Update the policy
|
|
707
|
-
* @param {PoliciesApiUpdatePolicyRequest} requestParameters Request parameters.
|
|
708
|
-
* @param {*} [options] Override http request option.
|
|
709
|
-
* @throws {RequiredError}
|
|
710
|
-
* @memberof PoliciesApi
|
|
711
|
-
*/
|
|
712
|
-
updatePolicy(requestParameters: PoliciesApiUpdatePolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdatePolicyResponseClass, any>>;
|
|
713
|
-
/**
|
|
714
|
-
* Withdraw policy by tenant.
|
|
715
|
-
* @summary Withdraw policy by tenant
|
|
716
|
-
* @param {PoliciesApiWithdrawPolicyRequest} requestParameters Request parameters.
|
|
717
|
-
* @param {*} [options] Override http request option.
|
|
718
|
-
* @throws {RequiredError}
|
|
719
|
-
* @memberof PoliciesApi
|
|
720
|
-
*/
|
|
721
|
-
withdrawPolicy(requestParameters: PoliciesApiWithdrawPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WithdrawPolicyResponseClass, any>>;
|
|
722
|
-
}
|