@emilgroup/customer-sdk-node 1.25.0 → 1.25.1
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/dist/api/authentication-api.d.ts +332 -0
- package/dist/api/authentication-api.js +604 -0
- package/dist/api/claims-api.d.ts +431 -0
- package/dist/api/claims-api.js +670 -0
- package/dist/api/customers-api.d.ts +271 -0
- package/dist/api/customers-api.js +425 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/documents-api.d.ts +262 -0
- package/dist/api/documents-api.js +417 -0
- package/dist/api/invites-api.d.ts +249 -0
- package/dist/api/invites-api.js +456 -0
- package/dist/api/invoices-api.d.ts +150 -0
- package/dist/api/invoices-api.js +253 -0
- package/dist/api/leads-api.d.ts +365 -0
- package/dist/api/leads-api.js +571 -0
- package/dist/api/payments-api.d.ts +162 -0
- package/dist/api/payments-api.js +306 -0
- package/dist/api/policies-api.d.ts +578 -0
- package/dist/api/policies-api.js +808 -0
- package/dist/api/products-api.d.ts +215 -0
- package/dist/api/products-api.js +341 -0
- package/dist/api.d.ts +22 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +82 -0
- package/dist/base.js +502 -0
- package/dist/common.d.ts +66 -0
- package/dist/common.js +244 -0
- package/dist/configuration.d.ts +98 -0
- package/dist/configuration.js +45 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/account-class.d.ts +169 -0
- package/dist/models/account-class.js +26 -0
- package/dist/models/account-policy-class.d.ts +30 -0
- package/dist/models/account-policy-class.js +15 -0
- package/dist/models/authentication-result-class.d.ts +30 -0
- package/dist/models/authentication-result-class.js +15 -0
- package/dist/models/claim-class.d.ts +156 -0
- package/dist/models/claim-class.js +15 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
- package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
- package/dist/models/complete-payment-setup-psp-request.d.ts +32 -0
- package/dist/models/complete-payment-setup-psp-request.js +15 -0
- package/dist/models/complete-payment-setup-response-class.d.ts +24 -0
- package/dist/models/complete-payment-setup-response-class.js +15 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
- package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +132 -0
- package/dist/models/create-account-request-dto.js +31 -0
- package/dist/models/create-bank-account-request-dto.d.ts +30 -0
- package/dist/models/create-bank-account-request-dto.js +15 -0
- package/dist/models/create-customer-claim-request-dto.d.ts +114 -0
- package/dist/models/create-customer-claim-request-dto.js +15 -0
- package/dist/models/create-customer-claim-response-class.d.ts +25 -0
- package/dist/models/create-customer-claim-response-class.js +15 -0
- package/dist/models/create-customer-request-dto.d.ts +43 -0
- package/dist/models/create-customer-request-dto.js +15 -0
- package/dist/models/create-customer-response-class.d.ts +25 -0
- package/dist/models/create-customer-response-class.js +15 -0
- package/dist/models/create-lead-request-dto.d.ts +83 -0
- package/dist/models/create-lead-request-dto.js +15 -0
- package/dist/models/create-lead-response-class.d.ts +25 -0
- package/dist/models/create-lead-response-class.js +15 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/create-payment-method-request-dto.js +15 -0
- package/dist/models/create-policy-request-dto.d.ts +56 -0
- package/dist/models/create-policy-request-dto.js +15 -0
- package/dist/models/create-presigned-post-response-class.d.ts +30 -0
- package/dist/models/create-presigned-post-response-class.js +15 -0
- package/dist/models/customer-class.d.ts +73 -0
- package/dist/models/customer-class.js +15 -0
- package/dist/models/customer-document-class.d.ts +99 -0
- package/dist/models/customer-document-class.js +36 -0
- package/dist/models/customer-product-class.d.ts +54 -0
- package/dist/models/customer-product-class.js +15 -0
- package/dist/models/forgot-password-request-dto.d.ts +30 -0
- package/dist/models/forgot-password-request-dto.js +15 -0
- package/dist/models/get-customer-claim-response-class.d.ts +25 -0
- package/dist/models/get-customer-claim-response-class.js +15 -0
- package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-customer-document-download-url-response-class.js +15 -0
- package/dist/models/get-customer-response-class.d.ts +25 -0
- package/dist/models/get-customer-response-class.js +15 -0
- package/dist/models/get-lead-response-class.d.ts +25 -0
- package/dist/models/get-lead-response-class.js +15 -0
- package/dist/models/get-policy-response-class.d.ts +25 -0
- package/dist/models/get-policy-response-class.js +15 -0
- package/dist/models/get-product-response-class.d.ts +25 -0
- package/dist/models/get-product-response-class.js +15 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +50 -0
- package/dist/models/grpc-update-lead-request-dto.js +15 -0
- package/dist/models/index.d.ts +85 -0
- package/dist/models/index.js +101 -0
- package/dist/models/initiate-auth-request-dto.d.ts +36 -0
- package/dist/models/initiate-auth-request-dto.js +15 -0
- package/dist/models/initiate-auth-response-class.d.ts +43 -0
- package/dist/models/initiate-auth-response-class.js +15 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
- package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
- package/dist/models/initiate-payment-setup-response-class.js +15 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
- package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/invite-by-customer-request-dto.d.ts +30 -0
- package/dist/models/invite-by-customer-request-dto.js +15 -0
- package/dist/models/invite-by-customer-response-class.d.ts +25 -0
- package/dist/models/invite-by-customer-response-class.js +15 -0
- package/dist/models/invite-by-tenant-request-dto.d.ts +24 -0
- package/dist/models/invite-by-tenant-request-dto.js +15 -0
- package/dist/models/invite-by-tenant-response-class.d.ts +25 -0
- package/dist/models/invite-by-tenant-response-class.js +15 -0
- package/dist/models/invite-class.d.ts +54 -0
- package/dist/models/invite-class.js +15 -0
- package/dist/models/invoice-class.d.ts +148 -0
- package/dist/models/invoice-class.js +28 -0
- package/dist/models/lead-bank-account-class.d.ts +30 -0
- package/dist/models/lead-bank-account-class.js +15 -0
- package/dist/models/lead-class.d.ts +121 -0
- package/dist/models/lead-class.js +15 -0
- package/dist/models/list-customer-claims-response-class.d.ts +31 -0
- package/dist/models/list-customer-claims-response-class.js +15 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-invoices-response-class.d.ts +31 -0
- package/dist/models/list-invoices-response-class.js +15 -0
- package/dist/models/list-leads-response-class.d.ts +43 -0
- package/dist/models/list-leads-response-class.js +15 -0
- package/dist/models/list-policies-response-class.d.ts +43 -0
- package/dist/models/list-policies-response-class.js +15 -0
- package/dist/models/list-products-response-class.d.ts +31 -0
- package/dist/models/list-products-response-class.js +15 -0
- package/dist/models/policy-class.d.ts +80 -0
- package/dist/models/policy-class.js +15 -0
- package/dist/models/policy-object-class.d.ts +54 -0
- package/dist/models/policy-object-class.js +15 -0
- package/dist/models/policy-object-dto.d.ts +42 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-class.d.ts +43 -0
- package/dist/models/policy-premium-class.js +15 -0
- package/dist/models/policy-premium-item-class.d.ts +36 -0
- package/dist/models/policy-premium-item-class.js +15 -0
- package/dist/models/policy-version-class.d.ts +49 -0
- package/dist/models/policy-version-class.js +15 -0
- package/dist/models/premium-override-dto.d.ts +55 -0
- package/dist/models/premium-override-dto.js +27 -0
- package/dist/models/premium-override-request-class.d.ts +25 -0
- package/dist/models/premium-override-request-class.js +15 -0
- package/dist/models/premium-override-request-dto.d.ts +25 -0
- package/dist/models/premium-override-request-dto.js +15 -0
- package/dist/models/refresh-token-dto.d.ts +30 -0
- package/dist/models/refresh-token-dto.js +15 -0
- package/dist/models/request-policy-update-request-dto.d.ts +43 -0
- package/dist/models/request-policy-update-request-dto.js +15 -0
- package/dist/models/request-policy-update-response-class.d.ts +25 -0
- package/dist/models/request-policy-update-response-class.js +15 -0
- package/dist/models/reset-password-by-customer-request-dto.d.ts +36 -0
- package/dist/models/reset-password-by-customer-request-dto.js +15 -0
- package/dist/models/respond-to-auth-challenge-class.d.ts +43 -0
- package/dist/models/respond-to-auth-challenge-class.js +15 -0
- package/dist/models/respond-to-auth-challenge-request-dto.d.ts +42 -0
- package/dist/models/respond-to-auth-challenge-request-dto.js +15 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +36 -0
- package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
- package/dist/models/shared-invoice-item-class.d.ts +129 -0
- package/dist/models/shared-invoice-item-class.js +24 -0
- package/dist/models/shared-invoice-status-class.d.ts +47 -0
- package/dist/models/shared-invoice-status-class.js +20 -0
- package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
- package/dist/models/terminate-customer-policy-request-dto.js +15 -0
- package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
- package/dist/models/terminate-customer-policy-response-class.js +15 -0
- package/dist/models/timeslice-class.d.ts +56 -0
- package/dist/models/timeslice-class.js +15 -0
- package/dist/models/update-account-request-dto.d.ts +113 -0
- package/dist/models/update-account-request-dto.js +25 -0
- package/dist/models/update-customer-claim-request-dto.d.ts +120 -0
- package/dist/models/update-customer-claim-request-dto.js +15 -0
- package/dist/models/update-customer-claim-response-class.d.ts +25 -0
- package/dist/models/update-customer-claim-response-class.js +15 -0
- package/dist/models/update-customer-request-dto.d.ts +31 -0
- package/dist/models/update-customer-request-dto.js +15 -0
- package/dist/models/update-customer-response-class.d.ts +25 -0
- package/dist/models/update-customer-response-class.js +15 -0
- package/dist/models/update-lead-request-dto.d.ts +44 -0
- package/dist/models/update-lead-request-dto.js +15 -0
- package/dist/models/update-lead-response-class.d.ts +25 -0
- package/dist/models/update-lead-response-class.js +15 -0
- package/dist/models/upload-customer-claim-documents-request-dto.d.ts +36 -0
- package/dist/models/upload-customer-claim-documents-request-dto.js +15 -0
- package/dist/models/upload-customer-policy-documents-request-dto.d.ts +47 -0
- package/dist/models/upload-customer-policy-documents-request-dto.js +20 -0
- package/dist/models/uploaded-document-dto.d.ts +24 -0
- package/dist/models/uploaded-document-dto.js +15 -0
- package/dist/models/verify-customer-invite-response-class.d.ts +36 -0
- package/dist/models/verify-customer-invite-response-class.js +15 -0
- package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
- package/dist/models/withdraw-customer-policy-response-class.js +15 -0
- package/package.json +2 -2
|
@@ -0,0 +1,578 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService 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 { CreatePresignedPostResponseClass } from '../models';
|
|
16
|
+
import { GetPolicyResponseClass } from '../models';
|
|
17
|
+
import { ListPoliciesResponseClass } from '../models';
|
|
18
|
+
import { RequestPolicyUpdateRequestDto } from '../models';
|
|
19
|
+
import { RequestPolicyUpdateResponseClass } from '../models';
|
|
20
|
+
import { TerminateCustomerPolicyRequestDto } from '../models';
|
|
21
|
+
import { TerminateCustomerPolicyResponseClass } from '../models';
|
|
22
|
+
import { UploadCustomerPolicyDocumentsRequestDto } from '../models';
|
|
23
|
+
import { WithdrawCustomerPolicyResponseClass } from '../models';
|
|
24
|
+
/**
|
|
25
|
+
* PoliciesApi - axios parameter creator
|
|
26
|
+
* @export
|
|
27
|
+
*/
|
|
28
|
+
export declare const PoliciesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
29
|
+
/**
|
|
30
|
+
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
31
|
+
* @summary Get current version details
|
|
32
|
+
* @param {string} policyCode The policy code.
|
|
33
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
34
|
+
* @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.
|
|
35
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
36
|
+
* @param {*} [options] Override http request option.
|
|
37
|
+
* @throws {RequiredError}
|
|
38
|
+
*/
|
|
39
|
+
getCustomerPolicyDataByDate: (policyCode: string, customerCode: string, timesliceDate?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
40
|
+
/**
|
|
41
|
+
* Get detailed policy that belongs to a customer; the details can be expanded using expand query parameter.
|
|
42
|
+
* @summary Get policy details
|
|
43
|
+
* @param {string} policyCode The policy code.
|
|
44
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
45
|
+
* @param {string} [expand] Fields to expand response by - [versions, premiumItems]
|
|
46
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
47
|
+
* @param {*} [options] Override http request option.
|
|
48
|
+
* @throws {RequiredError}
|
|
49
|
+
*/
|
|
50
|
+
getPolicy: (policyCode: string, customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
|
+
/**
|
|
52
|
+
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
53
|
+
* @summary List policies
|
|
54
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
55
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
56
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
57
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
58
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
59
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
60
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
61
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
listPolicies: (customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
|
+
/**
|
|
67
|
+
* Request to update an existing policy by customer.
|
|
68
|
+
* @summary Request policy update
|
|
69
|
+
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
70
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
71
|
+
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
72
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
73
|
+
* @param {*} [options] Override http request option.
|
|
74
|
+
* @throws {RequiredError}
|
|
75
|
+
*/
|
|
76
|
+
requestPolicyUpdate: (policyCode: string, customerCode: string, requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
/**
|
|
78
|
+
* Request to terminate an existing policy by customer.
|
|
79
|
+
* @summary Terminate a policy
|
|
80
|
+
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
81
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
82
|
+
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
83
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
84
|
+
* @param {*} [options] Override http request option.
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
terminateCustomerPolicy: (policyCode: string, customerCode: string, terminateCustomerPolicyRequestDto: TerminateCustomerPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
|
+
/**
|
|
89
|
+
* API to upload and attach documents to a policy.
|
|
90
|
+
* @summary Upload policy documents
|
|
91
|
+
* @param {string} customerCode
|
|
92
|
+
* @param {string} policyCode The policy code to identify a policy.
|
|
93
|
+
* @param {UploadCustomerPolicyDocumentsRequestDto} uploadCustomerPolicyDocumentsRequestDto
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
uploadCustomerPolicyDocuments: (customerCode: string, policyCode: string, uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
98
|
+
/**
|
|
99
|
+
* Withdraw policy by customer.
|
|
100
|
+
* @summary Withdraw the policy
|
|
101
|
+
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
102
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
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
|
+
withdrawCustomerPolicy: (policyCode: string, customerCode: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
108
|
+
};
|
|
109
|
+
/**
|
|
110
|
+
* PoliciesApi - functional programming interface
|
|
111
|
+
* @export
|
|
112
|
+
*/
|
|
113
|
+
export declare const PoliciesApiFp: (configuration?: Configuration) => {
|
|
114
|
+
/**
|
|
115
|
+
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
116
|
+
* @summary Get current version details
|
|
117
|
+
* @param {string} policyCode The policy code.
|
|
118
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
119
|
+
* @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.
|
|
120
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
121
|
+
* @param {*} [options] Override http request option.
|
|
122
|
+
* @throws {RequiredError}
|
|
123
|
+
*/
|
|
124
|
+
getCustomerPolicyDataByDate(policyCode: string, customerCode: string, timesliceDate?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
125
|
+
/**
|
|
126
|
+
* Get detailed policy that belongs to a customer; the details can be expanded using expand query parameter.
|
|
127
|
+
* @summary Get policy details
|
|
128
|
+
* @param {string} policyCode The policy code.
|
|
129
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
130
|
+
* @param {string} [expand] Fields to expand response by - [versions, premiumItems]
|
|
131
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
132
|
+
* @param {*} [options] Override http request option.
|
|
133
|
+
* @throws {RequiredError}
|
|
134
|
+
*/
|
|
135
|
+
getPolicy(policyCode: string, customerCode: string, expand?: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPolicyResponseClass>>;
|
|
136
|
+
/**
|
|
137
|
+
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
138
|
+
* @summary List policies
|
|
139
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
140
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
141
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
142
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
143
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
144
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
145
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
146
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
147
|
+
* @param {*} [options] Override http request option.
|
|
148
|
+
* @throws {RequiredError}
|
|
149
|
+
*/
|
|
150
|
+
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPoliciesResponseClass>>;
|
|
151
|
+
/**
|
|
152
|
+
* Request to update an existing policy by customer.
|
|
153
|
+
* @summary Request policy update
|
|
154
|
+
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
155
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
156
|
+
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
157
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
requestPolicyUpdate(policyCode: string, customerCode: string, requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RequestPolicyUpdateResponseClass>>;
|
|
162
|
+
/**
|
|
163
|
+
* Request to terminate an existing policy by customer.
|
|
164
|
+
* @summary Terminate a policy
|
|
165
|
+
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
166
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
167
|
+
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
168
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
169
|
+
* @param {*} [options] Override http request option.
|
|
170
|
+
* @throws {RequiredError}
|
|
171
|
+
*/
|
|
172
|
+
terminateCustomerPolicy(policyCode: string, customerCode: string, terminateCustomerPolicyRequestDto: TerminateCustomerPolicyRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerminateCustomerPolicyResponseClass>>;
|
|
173
|
+
/**
|
|
174
|
+
* API to upload and attach documents to a policy.
|
|
175
|
+
* @summary Upload policy documents
|
|
176
|
+
* @param {string} customerCode
|
|
177
|
+
* @param {string} policyCode The policy code to identify a policy.
|
|
178
|
+
* @param {UploadCustomerPolicyDocumentsRequestDto} uploadCustomerPolicyDocumentsRequestDto
|
|
179
|
+
* @param {*} [options] Override http request option.
|
|
180
|
+
* @throws {RequiredError}
|
|
181
|
+
*/
|
|
182
|
+
uploadCustomerPolicyDocuments(customerCode: string, policyCode: string, uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePresignedPostResponseClass>>;
|
|
183
|
+
/**
|
|
184
|
+
* Withdraw policy by customer.
|
|
185
|
+
* @summary Withdraw the policy
|
|
186
|
+
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
187
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
188
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
|
+
* @param {*} [options] Override http request option.
|
|
190
|
+
* @throws {RequiredError}
|
|
191
|
+
*/
|
|
192
|
+
withdrawCustomerPolicy(policyCode: string, customerCode: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WithdrawCustomerPolicyResponseClass>>;
|
|
193
|
+
};
|
|
194
|
+
/**
|
|
195
|
+
* PoliciesApi - factory interface
|
|
196
|
+
* @export
|
|
197
|
+
*/
|
|
198
|
+
export declare const PoliciesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
199
|
+
/**
|
|
200
|
+
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
201
|
+
* @summary Get current version details
|
|
202
|
+
* @param {string} policyCode The policy code.
|
|
203
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
204
|
+
* @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.
|
|
205
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
206
|
+
* @param {*} [options] Override http request option.
|
|
207
|
+
* @throws {RequiredError}
|
|
208
|
+
*/
|
|
209
|
+
getCustomerPolicyDataByDate(policyCode: string, customerCode: string, timesliceDate?: string, authorization?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
210
|
+
/**
|
|
211
|
+
* Get detailed policy that belongs to a customer; the details can be expanded using expand query parameter.
|
|
212
|
+
* @summary Get policy details
|
|
213
|
+
* @param {string} policyCode The policy code.
|
|
214
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
215
|
+
* @param {string} [expand] Fields to expand response by - [versions, premiumItems]
|
|
216
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
217
|
+
* @param {*} [options] Override http request option.
|
|
218
|
+
* @throws {RequiredError}
|
|
219
|
+
*/
|
|
220
|
+
getPolicy(policyCode: string, customerCode: string, expand?: string, authorization?: string, options?: any): AxiosPromise<GetPolicyResponseClass>;
|
|
221
|
+
/**
|
|
222
|
+
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
223
|
+
* @summary List policies
|
|
224
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
225
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
226
|
+
* @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
227
|
+
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
228
|
+
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
229
|
+
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
230
|
+
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
231
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
232
|
+
* @param {*} [options] Override http request option.
|
|
233
|
+
* @throws {RequiredError}
|
|
234
|
+
*/
|
|
235
|
+
listPolicies(customerCode: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, authorization?: string, options?: any): AxiosPromise<ListPoliciesResponseClass>;
|
|
236
|
+
/**
|
|
237
|
+
* Request to update an existing policy by customer.
|
|
238
|
+
* @summary Request policy update
|
|
239
|
+
* @param {string} policyCode The code of the policy that the customer wants to update.
|
|
240
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
241
|
+
* @param {RequestPolicyUpdateRequestDto} requestPolicyUpdateRequestDto
|
|
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
|
+
requestPolicyUpdate(policyCode: string, customerCode: string, requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto, authorization?: string, options?: any): AxiosPromise<RequestPolicyUpdateResponseClass>;
|
|
247
|
+
/**
|
|
248
|
+
* Request to terminate an existing policy by customer.
|
|
249
|
+
* @summary Terminate a policy
|
|
250
|
+
* @param {string} policyCode The code of the policy that the customer wants to terminate.
|
|
251
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
252
|
+
* @param {TerminateCustomerPolicyRequestDto} terminateCustomerPolicyRequestDto
|
|
253
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
254
|
+
* @param {*} [options] Override http request option.
|
|
255
|
+
* @throws {RequiredError}
|
|
256
|
+
*/
|
|
257
|
+
terminateCustomerPolicy(policyCode: string, customerCode: string, terminateCustomerPolicyRequestDto: TerminateCustomerPolicyRequestDto, authorization?: string, options?: any): AxiosPromise<TerminateCustomerPolicyResponseClass>;
|
|
258
|
+
/**
|
|
259
|
+
* API to upload and attach documents to a policy.
|
|
260
|
+
* @summary Upload policy documents
|
|
261
|
+
* @param {string} customerCode
|
|
262
|
+
* @param {string} policyCode The policy code to identify a policy.
|
|
263
|
+
* @param {UploadCustomerPolicyDocumentsRequestDto} uploadCustomerPolicyDocumentsRequestDto
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
uploadCustomerPolicyDocuments(customerCode: string, policyCode: string, uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto, options?: any): AxiosPromise<CreatePresignedPostResponseClass>;
|
|
268
|
+
/**
|
|
269
|
+
* Withdraw policy by customer.
|
|
270
|
+
* @summary Withdraw the policy
|
|
271
|
+
* @param {string} policyCode The code of the policy that the customer wants to withdraw.
|
|
272
|
+
* @param {string} customerCode The customer code or \"me\" for the currently logged in customer.
|
|
273
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
274
|
+
* @param {*} [options] Override http request option.
|
|
275
|
+
* @throws {RequiredError}
|
|
276
|
+
*/
|
|
277
|
+
withdrawCustomerPolicy(policyCode: string, customerCode: string, authorization?: string, options?: any): AxiosPromise<WithdrawCustomerPolicyResponseClass>;
|
|
278
|
+
};
|
|
279
|
+
/**
|
|
280
|
+
* Request parameters for getCustomerPolicyDataByDate operation in PoliciesApi.
|
|
281
|
+
* @export
|
|
282
|
+
* @interface PoliciesApiGetCustomerPolicyDataByDateRequest
|
|
283
|
+
*/
|
|
284
|
+
export interface PoliciesApiGetCustomerPolicyDataByDateRequest {
|
|
285
|
+
/**
|
|
286
|
+
* The policy code.
|
|
287
|
+
* @type {string}
|
|
288
|
+
* @memberof PoliciesApiGetCustomerPolicyDataByDate
|
|
289
|
+
*/
|
|
290
|
+
readonly policyCode: string;
|
|
291
|
+
/**
|
|
292
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
293
|
+
* @type {string}
|
|
294
|
+
* @memberof PoliciesApiGetCustomerPolicyDataByDate
|
|
295
|
+
*/
|
|
296
|
+
readonly customerCode: string;
|
|
297
|
+
/**
|
|
298
|
+
* 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.
|
|
299
|
+
* @type {string}
|
|
300
|
+
* @memberof PoliciesApiGetCustomerPolicyDataByDate
|
|
301
|
+
*/
|
|
302
|
+
readonly timesliceDate?: string;
|
|
303
|
+
/**
|
|
304
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
305
|
+
* @type {string}
|
|
306
|
+
* @memberof PoliciesApiGetCustomerPolicyDataByDate
|
|
307
|
+
*/
|
|
308
|
+
readonly authorization?: string;
|
|
309
|
+
}
|
|
310
|
+
/**
|
|
311
|
+
* Request parameters for getPolicy operation in PoliciesApi.
|
|
312
|
+
* @export
|
|
313
|
+
* @interface PoliciesApiGetPolicyRequest
|
|
314
|
+
*/
|
|
315
|
+
export interface PoliciesApiGetPolicyRequest {
|
|
316
|
+
/**
|
|
317
|
+
* The policy code.
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof PoliciesApiGetPolicy
|
|
320
|
+
*/
|
|
321
|
+
readonly policyCode: string;
|
|
322
|
+
/**
|
|
323
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
324
|
+
* @type {string}
|
|
325
|
+
* @memberof PoliciesApiGetPolicy
|
|
326
|
+
*/
|
|
327
|
+
readonly customerCode: string;
|
|
328
|
+
/**
|
|
329
|
+
* Fields to expand response by - [versions, premiumItems]
|
|
330
|
+
* @type {string}
|
|
331
|
+
* @memberof PoliciesApiGetPolicy
|
|
332
|
+
*/
|
|
333
|
+
readonly expand?: string;
|
|
334
|
+
/**
|
|
335
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
336
|
+
* @type {string}
|
|
337
|
+
* @memberof PoliciesApiGetPolicy
|
|
338
|
+
*/
|
|
339
|
+
readonly authorization?: string;
|
|
340
|
+
}
|
|
341
|
+
/**
|
|
342
|
+
* Request parameters for listPolicies operation in PoliciesApi.
|
|
343
|
+
* @export
|
|
344
|
+
* @interface PoliciesApiListPoliciesRequest
|
|
345
|
+
*/
|
|
346
|
+
export interface PoliciesApiListPoliciesRequest {
|
|
347
|
+
/**
|
|
348
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
349
|
+
* @type {string}
|
|
350
|
+
* @memberof PoliciesApiListPolicies
|
|
351
|
+
*/
|
|
352
|
+
readonly customerCode: string;
|
|
353
|
+
/**
|
|
354
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
|
|
355
|
+
* @type {any}
|
|
356
|
+
* @memberof PoliciesApiListPolicies
|
|
357
|
+
*/
|
|
358
|
+
readonly pageSize?: any;
|
|
359
|
+
/**
|
|
360
|
+
* A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
361
|
+
* @type {any}
|
|
362
|
+
* @memberof PoliciesApiListPolicies
|
|
363
|
+
*/
|
|
364
|
+
readonly pageToken?: any;
|
|
365
|
+
/**
|
|
366
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
367
|
+
* @type {any}
|
|
368
|
+
* @memberof PoliciesApiListPolicies
|
|
369
|
+
*/
|
|
370
|
+
readonly filter?: any;
|
|
371
|
+
/**
|
|
372
|
+
* Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
373
|
+
* @type {any}
|
|
374
|
+
* @memberof PoliciesApiListPolicies
|
|
375
|
+
*/
|
|
376
|
+
readonly search?: any;
|
|
377
|
+
/**
|
|
378
|
+
* The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
379
|
+
* @type {any}
|
|
380
|
+
* @memberof PoliciesApiListPolicies
|
|
381
|
+
*/
|
|
382
|
+
readonly order?: any;
|
|
383
|
+
/**
|
|
384
|
+
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
385
|
+
* @type {any}
|
|
386
|
+
* @memberof PoliciesApiListPolicies
|
|
387
|
+
*/
|
|
388
|
+
readonly expand?: any;
|
|
389
|
+
/**
|
|
390
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
391
|
+
* @type {string}
|
|
392
|
+
* @memberof PoliciesApiListPolicies
|
|
393
|
+
*/
|
|
394
|
+
readonly authorization?: string;
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Request parameters for requestPolicyUpdate operation in PoliciesApi.
|
|
398
|
+
* @export
|
|
399
|
+
* @interface PoliciesApiRequestPolicyUpdateRequest
|
|
400
|
+
*/
|
|
401
|
+
export interface PoliciesApiRequestPolicyUpdateRequest {
|
|
402
|
+
/**
|
|
403
|
+
* The code of the policy that the customer wants to update.
|
|
404
|
+
* @type {string}
|
|
405
|
+
* @memberof PoliciesApiRequestPolicyUpdate
|
|
406
|
+
*/
|
|
407
|
+
readonly policyCode: string;
|
|
408
|
+
/**
|
|
409
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
410
|
+
* @type {string}
|
|
411
|
+
* @memberof PoliciesApiRequestPolicyUpdate
|
|
412
|
+
*/
|
|
413
|
+
readonly customerCode: string;
|
|
414
|
+
/**
|
|
415
|
+
*
|
|
416
|
+
* @type {RequestPolicyUpdateRequestDto}
|
|
417
|
+
* @memberof PoliciesApiRequestPolicyUpdate
|
|
418
|
+
*/
|
|
419
|
+
readonly requestPolicyUpdateRequestDto: RequestPolicyUpdateRequestDto;
|
|
420
|
+
/**
|
|
421
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
422
|
+
* @type {string}
|
|
423
|
+
* @memberof PoliciesApiRequestPolicyUpdate
|
|
424
|
+
*/
|
|
425
|
+
readonly authorization?: string;
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* Request parameters for terminateCustomerPolicy operation in PoliciesApi.
|
|
429
|
+
* @export
|
|
430
|
+
* @interface PoliciesApiTerminateCustomerPolicyRequest
|
|
431
|
+
*/
|
|
432
|
+
export interface PoliciesApiTerminateCustomerPolicyRequest {
|
|
433
|
+
/**
|
|
434
|
+
* The code of the policy that the customer wants to terminate.
|
|
435
|
+
* @type {string}
|
|
436
|
+
* @memberof PoliciesApiTerminateCustomerPolicy
|
|
437
|
+
*/
|
|
438
|
+
readonly policyCode: string;
|
|
439
|
+
/**
|
|
440
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
441
|
+
* @type {string}
|
|
442
|
+
* @memberof PoliciesApiTerminateCustomerPolicy
|
|
443
|
+
*/
|
|
444
|
+
readonly customerCode: string;
|
|
445
|
+
/**
|
|
446
|
+
*
|
|
447
|
+
* @type {TerminateCustomerPolicyRequestDto}
|
|
448
|
+
* @memberof PoliciesApiTerminateCustomerPolicy
|
|
449
|
+
*/
|
|
450
|
+
readonly terminateCustomerPolicyRequestDto: TerminateCustomerPolicyRequestDto;
|
|
451
|
+
/**
|
|
452
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
453
|
+
* @type {string}
|
|
454
|
+
* @memberof PoliciesApiTerminateCustomerPolicy
|
|
455
|
+
*/
|
|
456
|
+
readonly authorization?: string;
|
|
457
|
+
}
|
|
458
|
+
/**
|
|
459
|
+
* Request parameters for uploadCustomerPolicyDocuments operation in PoliciesApi.
|
|
460
|
+
* @export
|
|
461
|
+
* @interface PoliciesApiUploadCustomerPolicyDocumentsRequest
|
|
462
|
+
*/
|
|
463
|
+
export interface PoliciesApiUploadCustomerPolicyDocumentsRequest {
|
|
464
|
+
/**
|
|
465
|
+
*
|
|
466
|
+
* @type {string}
|
|
467
|
+
* @memberof PoliciesApiUploadCustomerPolicyDocuments
|
|
468
|
+
*/
|
|
469
|
+
readonly customerCode: string;
|
|
470
|
+
/**
|
|
471
|
+
* The policy code to identify a policy.
|
|
472
|
+
* @type {string}
|
|
473
|
+
* @memberof PoliciesApiUploadCustomerPolicyDocuments
|
|
474
|
+
*/
|
|
475
|
+
readonly policyCode: string;
|
|
476
|
+
/**
|
|
477
|
+
*
|
|
478
|
+
* @type {UploadCustomerPolicyDocumentsRequestDto}
|
|
479
|
+
* @memberof PoliciesApiUploadCustomerPolicyDocuments
|
|
480
|
+
*/
|
|
481
|
+
readonly uploadCustomerPolicyDocumentsRequestDto: UploadCustomerPolicyDocumentsRequestDto;
|
|
482
|
+
}
|
|
483
|
+
/**
|
|
484
|
+
* Request parameters for withdrawCustomerPolicy operation in PoliciesApi.
|
|
485
|
+
* @export
|
|
486
|
+
* @interface PoliciesApiWithdrawCustomerPolicyRequest
|
|
487
|
+
*/
|
|
488
|
+
export interface PoliciesApiWithdrawCustomerPolicyRequest {
|
|
489
|
+
/**
|
|
490
|
+
* The code of the policy that the customer wants to withdraw.
|
|
491
|
+
* @type {string}
|
|
492
|
+
* @memberof PoliciesApiWithdrawCustomerPolicy
|
|
493
|
+
*/
|
|
494
|
+
readonly policyCode: string;
|
|
495
|
+
/**
|
|
496
|
+
* The customer code or \"me\" for the currently logged in customer.
|
|
497
|
+
* @type {string}
|
|
498
|
+
* @memberof PoliciesApiWithdrawCustomerPolicy
|
|
499
|
+
*/
|
|
500
|
+
readonly customerCode: string;
|
|
501
|
+
/**
|
|
502
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
503
|
+
* @type {string}
|
|
504
|
+
* @memberof PoliciesApiWithdrawCustomerPolicy
|
|
505
|
+
*/
|
|
506
|
+
readonly authorization?: string;
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* PoliciesApi - object-oriented interface
|
|
510
|
+
* @export
|
|
511
|
+
* @class PoliciesApi
|
|
512
|
+
* @extends {BaseAPI}
|
|
513
|
+
*/
|
|
514
|
+
export declare class PoliciesApi extends BaseAPI {
|
|
515
|
+
/**
|
|
516
|
+
* Get detailed policy that belongs to a customer; the details are filtered to return only the current version and the interval timeline that the provided date is included. If the date is not specified, the system will return the whole timeline.
|
|
517
|
+
* @summary Get current version details
|
|
518
|
+
* @param {PoliciesApiGetCustomerPolicyDataByDateRequest} requestParameters Request parameters.
|
|
519
|
+
* @param {*} [options] Override http request option.
|
|
520
|
+
* @throws {RequiredError}
|
|
521
|
+
* @memberof PoliciesApi
|
|
522
|
+
*/
|
|
523
|
+
getCustomerPolicyDataByDate(requestParameters: PoliciesApiGetCustomerPolicyDataByDateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
524
|
+
/**
|
|
525
|
+
* Get detailed policy that belongs to a customer; the details can be expanded using expand query parameter.
|
|
526
|
+
* @summary Get policy details
|
|
527
|
+
* @param {PoliciesApiGetPolicyRequest} requestParameters Request parameters.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
* @memberof PoliciesApi
|
|
531
|
+
*/
|
|
532
|
+
getPolicy(requestParameters: PoliciesApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPolicyResponseClass, any>>;
|
|
533
|
+
/**
|
|
534
|
+
* List all the policies that belong to a customer, the policies can be filtered by policy code, policy number.
|
|
535
|
+
* @summary List policies
|
|
536
|
+
* @param {PoliciesApiListPoliciesRequest} requestParameters Request parameters.
|
|
537
|
+
* @param {*} [options] Override http request option.
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
* @memberof PoliciesApi
|
|
540
|
+
*/
|
|
541
|
+
listPolicies(requestParameters: PoliciesApiListPoliciesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPoliciesResponseClass, any>>;
|
|
542
|
+
/**
|
|
543
|
+
* Request to update an existing policy by customer.
|
|
544
|
+
* @summary Request policy update
|
|
545
|
+
* @param {PoliciesApiRequestPolicyUpdateRequest} requestParameters Request parameters.
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
* @memberof PoliciesApi
|
|
549
|
+
*/
|
|
550
|
+
requestPolicyUpdate(requestParameters: PoliciesApiRequestPolicyUpdateRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<RequestPolicyUpdateResponseClass, any>>;
|
|
551
|
+
/**
|
|
552
|
+
* Request to terminate an existing policy by customer.
|
|
553
|
+
* @summary Terminate a policy
|
|
554
|
+
* @param {PoliciesApiTerminateCustomerPolicyRequest} requestParameters Request parameters.
|
|
555
|
+
* @param {*} [options] Override http request option.
|
|
556
|
+
* @throws {RequiredError}
|
|
557
|
+
* @memberof PoliciesApi
|
|
558
|
+
*/
|
|
559
|
+
terminateCustomerPolicy(requestParameters: PoliciesApiTerminateCustomerPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<TerminateCustomerPolicyResponseClass, any>>;
|
|
560
|
+
/**
|
|
561
|
+
* API to upload and attach documents to a policy.
|
|
562
|
+
* @summary Upload policy documents
|
|
563
|
+
* @param {PoliciesApiUploadCustomerPolicyDocumentsRequest} requestParameters Request parameters.
|
|
564
|
+
* @param {*} [options] Override http request option.
|
|
565
|
+
* @throws {RequiredError}
|
|
566
|
+
* @memberof PoliciesApi
|
|
567
|
+
*/
|
|
568
|
+
uploadCustomerPolicyDocuments(requestParameters: PoliciesApiUploadCustomerPolicyDocumentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePresignedPostResponseClass, any>>;
|
|
569
|
+
/**
|
|
570
|
+
* Withdraw policy by customer.
|
|
571
|
+
* @summary Withdraw the policy
|
|
572
|
+
* @param {PoliciesApiWithdrawCustomerPolicyRequest} requestParameters Request parameters.
|
|
573
|
+
* @param {*} [options] Override http request option.
|
|
574
|
+
* @throws {RequiredError}
|
|
575
|
+
* @memberof PoliciesApi
|
|
576
|
+
*/
|
|
577
|
+
withdrawCustomerPolicy(requestParameters: PoliciesApiWithdrawCustomerPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<WithdrawCustomerPolicyResponseClass, any>>;
|
|
578
|
+
}
|