@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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/.openapi-generator/FILES +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +644 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1336 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +581 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1177 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
|
@@ -0,0 +1,644 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
+
import { Configuration } from '../configuration';
|
|
18
|
+
// Some imports not used depending on template conditions
|
|
19
|
+
// @ts-ignore
|
|
20
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
+
// @ts-ignore
|
|
22
|
+
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
+
// @ts-ignore
|
|
24
|
+
import { GetClaimLimitUsageResponseClass } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { ListClaimLimitUsagesResponseClass } from '../models';
|
|
27
|
+
/**
|
|
28
|
+
* ClaimLimitUsagesApi - axios parameter creator
|
|
29
|
+
* @export
|
|
30
|
+
*/
|
|
31
|
+
export const ClaimLimitUsagesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
32
|
+
return {
|
|
33
|
+
/**
|
|
34
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
35
|
+
* @summary Retrieve the claim limit usage
|
|
36
|
+
* @param {string} code
|
|
37
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
38
|
+
* @param {*} [options] Override http request option.
|
|
39
|
+
* @throws {RequiredError}
|
|
40
|
+
*/
|
|
41
|
+
getClaimLimitUsage: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42
|
+
// verify required parameter 'code' is not null or undefined
|
|
43
|
+
assertParamExists('getClaimLimitUsage', 'code', code)
|
|
44
|
+
const localVarPath = `/claimservice/v1/claim-limit-usages/{code}`
|
|
45
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
46
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
47
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
48
|
+
let baseOptions;
|
|
49
|
+
let baseAccessToken;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
baseAccessToken = configuration.accessToken;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
56
|
+
const localVarHeaderParameter = {} as any;
|
|
57
|
+
const localVarQueryParameter = {} as any;
|
|
58
|
+
|
|
59
|
+
// authentication bearer required
|
|
60
|
+
// http bearer authentication required
|
|
61
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
62
|
+
|
|
63
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
64
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
70
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
71
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
72
|
+
|
|
73
|
+
return {
|
|
74
|
+
url: toPathString(localVarUrlObj),
|
|
75
|
+
options: localVarRequestOptions,
|
|
76
|
+
};
|
|
77
|
+
},
|
|
78
|
+
/**
|
|
79
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
80
|
+
* @summary Retrieve the claim limit usage
|
|
81
|
+
* @param {string} code
|
|
82
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @deprecated
|
|
85
|
+
* @throws {RequiredError}
|
|
86
|
+
*/
|
|
87
|
+
getClaimLimitUsage1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
88
|
+
// verify required parameter 'code' is not null or undefined
|
|
89
|
+
assertParamExists('getClaimLimitUsage1', 'code', code)
|
|
90
|
+
const localVarPath = `/v1/claim-limit-usages/{code}`
|
|
91
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
92
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
93
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
94
|
+
let baseOptions;
|
|
95
|
+
let baseAccessToken;
|
|
96
|
+
if (configuration) {
|
|
97
|
+
baseOptions = configuration.baseOptions;
|
|
98
|
+
baseAccessToken = configuration.accessToken;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
102
|
+
const localVarHeaderParameter = {} as any;
|
|
103
|
+
const localVarQueryParameter = {} as any;
|
|
104
|
+
|
|
105
|
+
// authentication bearer required
|
|
106
|
+
// http bearer authentication required
|
|
107
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
108
|
+
|
|
109
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
110
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
116
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
117
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
118
|
+
|
|
119
|
+
return {
|
|
120
|
+
url: toPathString(localVarUrlObj),
|
|
121
|
+
options: localVarRequestOptions,
|
|
122
|
+
};
|
|
123
|
+
},
|
|
124
|
+
/**
|
|
125
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
126
|
+
* @summary List claim limit usages
|
|
127
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
128
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
129
|
+
* @param {string} [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.
|
|
130
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
131
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
132
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
133
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
134
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
135
|
+
* @param {*} [options] Override http request option.
|
|
136
|
+
* @throws {RequiredError}
|
|
137
|
+
*/
|
|
138
|
+
listClaimLimitUsages: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
|
+
const localVarPath = `/claimservice/v1/claim-limit-usages`;
|
|
140
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
141
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
142
|
+
let baseOptions;
|
|
143
|
+
let baseAccessToken;
|
|
144
|
+
if (configuration) {
|
|
145
|
+
baseOptions = configuration.baseOptions;
|
|
146
|
+
baseAccessToken = configuration.accessToken;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
150
|
+
const localVarHeaderParameter = {} as any;
|
|
151
|
+
const localVarQueryParameter = {} as any;
|
|
152
|
+
|
|
153
|
+
// authentication bearer required
|
|
154
|
+
// http bearer authentication required
|
|
155
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
156
|
+
|
|
157
|
+
if (pageSize !== undefined) {
|
|
158
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
if (pageToken !== undefined) {
|
|
162
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
if (filter !== undefined) {
|
|
166
|
+
localVarQueryParameter['filter'] = filter;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
if (search !== undefined) {
|
|
170
|
+
localVarQueryParameter['search'] = search;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
if (order !== undefined) {
|
|
174
|
+
localVarQueryParameter['order'] = order;
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
if (expand !== undefined) {
|
|
178
|
+
localVarQueryParameter['expand'] = expand;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
if (filters !== undefined) {
|
|
182
|
+
localVarQueryParameter['filters'] = filters;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
186
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
|
|
191
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
192
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
193
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
194
|
+
|
|
195
|
+
return {
|
|
196
|
+
url: toPathString(localVarUrlObj),
|
|
197
|
+
options: localVarRequestOptions,
|
|
198
|
+
};
|
|
199
|
+
},
|
|
200
|
+
/**
|
|
201
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
202
|
+
* @summary List claim limit usages
|
|
203
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
204
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
205
|
+
* @param {string} [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.
|
|
206
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
207
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
208
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
209
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
210
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
211
|
+
* @param {*} [options] Override http request option.
|
|
212
|
+
* @deprecated
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
listClaimLimitUsages1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
216
|
+
const localVarPath = `/v1/claim-limit-usages`;
|
|
217
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
218
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
219
|
+
let baseOptions;
|
|
220
|
+
let baseAccessToken;
|
|
221
|
+
if (configuration) {
|
|
222
|
+
baseOptions = configuration.baseOptions;
|
|
223
|
+
baseAccessToken = configuration.accessToken;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
227
|
+
const localVarHeaderParameter = {} as any;
|
|
228
|
+
const localVarQueryParameter = {} as any;
|
|
229
|
+
|
|
230
|
+
// authentication bearer required
|
|
231
|
+
// http bearer authentication required
|
|
232
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
233
|
+
|
|
234
|
+
if (pageSize !== undefined) {
|
|
235
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
if (pageToken !== undefined) {
|
|
239
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (filter !== undefined) {
|
|
243
|
+
localVarQueryParameter['filter'] = filter;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
if (search !== undefined) {
|
|
247
|
+
localVarQueryParameter['search'] = search;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
if (order !== undefined) {
|
|
251
|
+
localVarQueryParameter['order'] = order;
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
if (expand !== undefined) {
|
|
255
|
+
localVarQueryParameter['expand'] = expand;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (filters !== undefined) {
|
|
259
|
+
localVarQueryParameter['filters'] = filters;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
263
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
269
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
270
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
271
|
+
|
|
272
|
+
return {
|
|
273
|
+
url: toPathString(localVarUrlObj),
|
|
274
|
+
options: localVarRequestOptions,
|
|
275
|
+
};
|
|
276
|
+
},
|
|
277
|
+
}
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* ClaimLimitUsagesApi - functional programming interface
|
|
282
|
+
* @export
|
|
283
|
+
*/
|
|
284
|
+
export const ClaimLimitUsagesApiFp = function(configuration?: Configuration) {
|
|
285
|
+
const localVarAxiosParamCreator = ClaimLimitUsagesApiAxiosParamCreator(configuration)
|
|
286
|
+
return {
|
|
287
|
+
/**
|
|
288
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
289
|
+
* @summary Retrieve the claim limit usage
|
|
290
|
+
* @param {string} code
|
|
291
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
async getClaimLimitUsage(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimLimitUsageResponseClass>> {
|
|
296
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimLimitUsage(code, authorization, options);
|
|
297
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
298
|
+
},
|
|
299
|
+
/**
|
|
300
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
301
|
+
* @summary Retrieve the claim limit usage
|
|
302
|
+
* @param {string} code
|
|
303
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
304
|
+
* @param {*} [options] Override http request option.
|
|
305
|
+
* @deprecated
|
|
306
|
+
* @throws {RequiredError}
|
|
307
|
+
*/
|
|
308
|
+
async getClaimLimitUsage1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimLimitUsageResponseClass>> {
|
|
309
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimLimitUsage1(code, authorization, options);
|
|
310
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
311
|
+
},
|
|
312
|
+
/**
|
|
313
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
314
|
+
* @summary List claim limit usages
|
|
315
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
316
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
317
|
+
* @param {string} [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.
|
|
318
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
319
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
320
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
321
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
322
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
323
|
+
* @param {*} [options] Override http request option.
|
|
324
|
+
* @throws {RequiredError}
|
|
325
|
+
*/
|
|
326
|
+
async listClaimLimitUsages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimLimitUsagesResponseClass>> {
|
|
327
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimLimitUsages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
328
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
329
|
+
},
|
|
330
|
+
/**
|
|
331
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
332
|
+
* @summary List claim limit usages
|
|
333
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
334
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
335
|
+
* @param {string} [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.
|
|
336
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
337
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
338
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
339
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
340
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
341
|
+
* @param {*} [options] Override http request option.
|
|
342
|
+
* @deprecated
|
|
343
|
+
* @throws {RequiredError}
|
|
344
|
+
*/
|
|
345
|
+
async listClaimLimitUsages1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimLimitUsagesResponseClass>> {
|
|
346
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimLimitUsages1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
347
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
348
|
+
},
|
|
349
|
+
}
|
|
350
|
+
};
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* ClaimLimitUsagesApi - factory interface
|
|
354
|
+
* @export
|
|
355
|
+
*/
|
|
356
|
+
export const ClaimLimitUsagesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
357
|
+
const localVarFp = ClaimLimitUsagesApiFp(configuration)
|
|
358
|
+
return {
|
|
359
|
+
/**
|
|
360
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
361
|
+
* @summary Retrieve the claim limit usage
|
|
362
|
+
* @param {string} code
|
|
363
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
364
|
+
* @param {*} [options] Override http request option.
|
|
365
|
+
* @throws {RequiredError}
|
|
366
|
+
*/
|
|
367
|
+
getClaimLimitUsage(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimLimitUsageResponseClass> {
|
|
368
|
+
return localVarFp.getClaimLimitUsage(code, authorization, options).then((request) => request(axios, basePath));
|
|
369
|
+
},
|
|
370
|
+
/**
|
|
371
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
372
|
+
* @summary Retrieve the claim limit usage
|
|
373
|
+
* @param {string} code
|
|
374
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @deprecated
|
|
377
|
+
* @throws {RequiredError}
|
|
378
|
+
*/
|
|
379
|
+
getClaimLimitUsage1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimLimitUsageResponseClass> {
|
|
380
|
+
return localVarFp.getClaimLimitUsage1(code, authorization, options).then((request) => request(axios, basePath));
|
|
381
|
+
},
|
|
382
|
+
/**
|
|
383
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
384
|
+
* @summary List claim limit usages
|
|
385
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
386
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
387
|
+
* @param {string} [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.
|
|
388
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
389
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
390
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
391
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
392
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
393
|
+
* @param {*} [options] Override http request option.
|
|
394
|
+
* @throws {RequiredError}
|
|
395
|
+
*/
|
|
396
|
+
listClaimLimitUsages(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimLimitUsagesResponseClass> {
|
|
397
|
+
return localVarFp.listClaimLimitUsages(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
398
|
+
},
|
|
399
|
+
/**
|
|
400
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
401
|
+
* @summary List claim limit usages
|
|
402
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
403
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
404
|
+
* @param {string} [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.
|
|
405
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
406
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
407
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
408
|
+
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
409
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
410
|
+
* @param {*} [options] Override http request option.
|
|
411
|
+
* @deprecated
|
|
412
|
+
* @throws {RequiredError}
|
|
413
|
+
*/
|
|
414
|
+
listClaimLimitUsages1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimLimitUsagesResponseClass> {
|
|
415
|
+
return localVarFp.listClaimLimitUsages1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
416
|
+
},
|
|
417
|
+
};
|
|
418
|
+
};
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Request parameters for getClaimLimitUsage operation in ClaimLimitUsagesApi.
|
|
422
|
+
* @export
|
|
423
|
+
* @interface ClaimLimitUsagesApiGetClaimLimitUsageRequest
|
|
424
|
+
*/
|
|
425
|
+
export interface ClaimLimitUsagesApiGetClaimLimitUsageRequest {
|
|
426
|
+
/**
|
|
427
|
+
*
|
|
428
|
+
* @type {string}
|
|
429
|
+
* @memberof ClaimLimitUsagesApiGetClaimLimitUsage
|
|
430
|
+
*/
|
|
431
|
+
readonly code: string
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
435
|
+
* @type {string}
|
|
436
|
+
* @memberof ClaimLimitUsagesApiGetClaimLimitUsage
|
|
437
|
+
*/
|
|
438
|
+
readonly authorization?: string
|
|
439
|
+
}
|
|
440
|
+
|
|
441
|
+
/**
|
|
442
|
+
* Request parameters for getClaimLimitUsage1 operation in ClaimLimitUsagesApi.
|
|
443
|
+
* @export
|
|
444
|
+
* @interface ClaimLimitUsagesApiGetClaimLimitUsage1Request
|
|
445
|
+
*/
|
|
446
|
+
export interface ClaimLimitUsagesApiGetClaimLimitUsage1Request {
|
|
447
|
+
/**
|
|
448
|
+
*
|
|
449
|
+
* @type {string}
|
|
450
|
+
* @memberof ClaimLimitUsagesApiGetClaimLimitUsage1
|
|
451
|
+
*/
|
|
452
|
+
readonly code: string
|
|
453
|
+
|
|
454
|
+
/**
|
|
455
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
456
|
+
* @type {string}
|
|
457
|
+
* @memberof ClaimLimitUsagesApiGetClaimLimitUsage1
|
|
458
|
+
*/
|
|
459
|
+
readonly authorization?: string
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
/**
|
|
463
|
+
* Request parameters for listClaimLimitUsages operation in ClaimLimitUsagesApi.
|
|
464
|
+
* @export
|
|
465
|
+
* @interface ClaimLimitUsagesApiListClaimLimitUsagesRequest
|
|
466
|
+
*/
|
|
467
|
+
export interface ClaimLimitUsagesApiListClaimLimitUsagesRequest {
|
|
468
|
+
/**
|
|
469
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
470
|
+
* @type {string}
|
|
471
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
472
|
+
*/
|
|
473
|
+
readonly authorization?: string
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
477
|
+
* @type {number}
|
|
478
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
479
|
+
*/
|
|
480
|
+
readonly pageSize?: number
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* 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.
|
|
484
|
+
* @type {string}
|
|
485
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
486
|
+
*/
|
|
487
|
+
readonly pageToken?: string
|
|
488
|
+
|
|
489
|
+
/**
|
|
490
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
491
|
+
* @type {string}
|
|
492
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
493
|
+
*/
|
|
494
|
+
readonly filter?: string
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
498
|
+
* @type {string}
|
|
499
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
500
|
+
*/
|
|
501
|
+
readonly search?: string
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
505
|
+
* @type {string}
|
|
506
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
507
|
+
*/
|
|
508
|
+
readonly order?: string
|
|
509
|
+
|
|
510
|
+
/**
|
|
511
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
512
|
+
* @type {string}
|
|
513
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
514
|
+
*/
|
|
515
|
+
readonly expand?: string
|
|
516
|
+
|
|
517
|
+
/**
|
|
518
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
519
|
+
* @type {string}
|
|
520
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages
|
|
521
|
+
*/
|
|
522
|
+
readonly filters?: string
|
|
523
|
+
}
|
|
524
|
+
|
|
525
|
+
/**
|
|
526
|
+
* Request parameters for listClaimLimitUsages1 operation in ClaimLimitUsagesApi.
|
|
527
|
+
* @export
|
|
528
|
+
* @interface ClaimLimitUsagesApiListClaimLimitUsages1Request
|
|
529
|
+
*/
|
|
530
|
+
export interface ClaimLimitUsagesApiListClaimLimitUsages1Request {
|
|
531
|
+
/**
|
|
532
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
533
|
+
* @type {string}
|
|
534
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
535
|
+
*/
|
|
536
|
+
readonly authorization?: string
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
540
|
+
* @type {number}
|
|
541
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
542
|
+
*/
|
|
543
|
+
readonly pageSize?: number
|
|
544
|
+
|
|
545
|
+
/**
|
|
546
|
+
* 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.
|
|
547
|
+
* @type {string}
|
|
548
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
549
|
+
*/
|
|
550
|
+
readonly pageToken?: string
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
554
|
+
* @type {string}
|
|
555
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
556
|
+
*/
|
|
557
|
+
readonly filter?: string
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
561
|
+
* @type {string}
|
|
562
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
563
|
+
*/
|
|
564
|
+
readonly search?: string
|
|
565
|
+
|
|
566
|
+
/**
|
|
567
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, code, createdAt, updatedAt, periodStart, periodEnd, remainingAmount</i>
|
|
568
|
+
* @type {string}
|
|
569
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
570
|
+
*/
|
|
571
|
+
readonly order?: string
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
|
|
575
|
+
* @type {string}
|
|
576
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
577
|
+
*/
|
|
578
|
+
readonly expand?: string
|
|
579
|
+
|
|
580
|
+
/**
|
|
581
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, policyCode, type, tariffKey, categoryKey, period, claimCode, deductibleKey, periodStart, periodEnd, createdAt, updatedAt</i>
|
|
582
|
+
* @type {string}
|
|
583
|
+
* @memberof ClaimLimitUsagesApiListClaimLimitUsages1
|
|
584
|
+
*/
|
|
585
|
+
readonly filters?: string
|
|
586
|
+
}
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* ClaimLimitUsagesApi - object-oriented interface
|
|
590
|
+
* @export
|
|
591
|
+
* @class ClaimLimitUsagesApi
|
|
592
|
+
* @extends {BaseAPI}
|
|
593
|
+
*/
|
|
594
|
+
export class ClaimLimitUsagesApi extends BaseAPI {
|
|
595
|
+
/**
|
|
596
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\"
|
|
597
|
+
* @summary Retrieve the claim limit usage
|
|
598
|
+
* @param {ClaimLimitUsagesApiGetClaimLimitUsageRequest} requestParameters Request parameters.
|
|
599
|
+
* @param {*} [options] Override http request option.
|
|
600
|
+
* @throws {RequiredError}
|
|
601
|
+
* @memberof ClaimLimitUsagesApi
|
|
602
|
+
*/
|
|
603
|
+
public getClaimLimitUsage(requestParameters: ClaimLimitUsagesApiGetClaimLimitUsageRequest, options?: AxiosRequestConfig) {
|
|
604
|
+
return ClaimLimitUsagesApiFp(this.configuration).getClaimLimitUsage(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* This will get claim limit usage. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
609
|
+
* @summary Retrieve the claim limit usage
|
|
610
|
+
* @param {ClaimLimitUsagesApiGetClaimLimitUsage1Request} requestParameters Request parameters.
|
|
611
|
+
* @param {*} [options] Override http request option.
|
|
612
|
+
* @deprecated
|
|
613
|
+
* @throws {RequiredError}
|
|
614
|
+
* @memberof ClaimLimitUsagesApi
|
|
615
|
+
*/
|
|
616
|
+
public getClaimLimitUsage1(requestParameters: ClaimLimitUsagesApiGetClaimLimitUsage1Request, options?: AxiosRequestConfig) {
|
|
617
|
+
return ClaimLimitUsagesApiFp(this.configuration).getClaimLimitUsage1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\"
|
|
622
|
+
* @summary List claim limit usages
|
|
623
|
+
* @param {ClaimLimitUsagesApiListClaimLimitUsagesRequest} requestParameters Request parameters.
|
|
624
|
+
* @param {*} [options] Override http request option.
|
|
625
|
+
* @throws {RequiredError}
|
|
626
|
+
* @memberof ClaimLimitUsagesApi
|
|
627
|
+
*/
|
|
628
|
+
public listClaimLimitUsages(requestParameters: ClaimLimitUsagesApiListClaimLimitUsagesRequest = {}, options?: AxiosRequestConfig) {
|
|
629
|
+
return ClaimLimitUsagesApiFp(this.configuration).listClaimLimitUsages(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
630
|
+
}
|
|
631
|
+
|
|
632
|
+
/**
|
|
633
|
+
* Retrieves a list of claim limit usages. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
634
|
+
* @summary List claim limit usages
|
|
635
|
+
* @param {ClaimLimitUsagesApiListClaimLimitUsages1Request} requestParameters Request parameters.
|
|
636
|
+
* @param {*} [options] Override http request option.
|
|
637
|
+
* @deprecated
|
|
638
|
+
* @throws {RequiredError}
|
|
639
|
+
* @memberof ClaimLimitUsagesApi
|
|
640
|
+
*/
|
|
641
|
+
public listClaimLimitUsages1(requestParameters: ClaimLimitUsagesApiListClaimLimitUsages1Request = {}, options?: AxiosRequestConfig) {
|
|
642
|
+
return ClaimLimitUsagesApiFp(this.configuration).listClaimLimitUsages1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
643
|
+
}
|
|
644
|
+
}
|