@emilgroup/claim-sdk-node 1.39.0 → 1.39.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 +648 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1340 -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 +585 -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 +1181 -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,1340 @@
|
|
|
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 { CreateClaimPositionRequestDto } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CreateClaimPositionResponseClass } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { GetClaimPositionResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { ListClaimPositionsResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { UpdateClaimPositionRequestDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { UpdateClaimPositionResponseClass } from '../models';
|
|
35
|
+
// URLSearchParams not necessarily used
|
|
36
|
+
// @ts-ignore
|
|
37
|
+
import { URL, URLSearchParams } from 'url';
|
|
38
|
+
const FormData = require('form-data');
|
|
39
|
+
/**
|
|
40
|
+
* ClaimPositionsApi - axios parameter creator
|
|
41
|
+
* @export
|
|
42
|
+
*/
|
|
43
|
+
export const ClaimPositionsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
|
+
return {
|
|
45
|
+
/**
|
|
46
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
47
|
+
* @summary Create the claim position
|
|
48
|
+
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
49
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
50
|
+
* @param {*} [options] Override http request option.
|
|
51
|
+
* @throws {RequiredError}
|
|
52
|
+
*/
|
|
53
|
+
createClaimPosition: async (createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
+
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
55
|
+
assertParamExists('createClaimPosition', 'createClaimPositionRequestDto', createClaimPositionRequestDto)
|
|
56
|
+
const localVarPath = `/claimservice/v1/claim-positions`;
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
let baseAccessToken;
|
|
61
|
+
if (configuration) {
|
|
62
|
+
baseOptions = configuration.baseOptions;
|
|
63
|
+
baseAccessToken = configuration.accessToken;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
67
|
+
const localVarHeaderParameter = {} as any;
|
|
68
|
+
const localVarQueryParameter = {} as any;
|
|
69
|
+
|
|
70
|
+
// authentication bearer required
|
|
71
|
+
// http bearer authentication required
|
|
72
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
|
+
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
|
+
|
|
82
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimPositionRequestDto, localVarRequestOptions, configuration)
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
url: toPathString(localVarUrlObj),
|
|
89
|
+
options: localVarRequestOptions,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
94
|
+
* @summary Create the claim position
|
|
95
|
+
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
96
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @deprecated
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
createClaimPosition1: async (createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
+
// verify required parameter 'createClaimPositionRequestDto' is not null or undefined
|
|
103
|
+
assertParamExists('createClaimPosition1', 'createClaimPositionRequestDto', createClaimPositionRequestDto)
|
|
104
|
+
const localVarPath = `/v1/claim-positions`;
|
|
105
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
106
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
107
|
+
let baseOptions;
|
|
108
|
+
let baseAccessToken;
|
|
109
|
+
if (configuration) {
|
|
110
|
+
baseOptions = configuration.baseOptions;
|
|
111
|
+
baseAccessToken = configuration.accessToken;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
115
|
+
const localVarHeaderParameter = {} as any;
|
|
116
|
+
const localVarQueryParameter = {} as any;
|
|
117
|
+
|
|
118
|
+
// authentication bearer required
|
|
119
|
+
// http bearer authentication required
|
|
120
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
121
|
+
|
|
122
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
123
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
129
|
+
|
|
130
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
133
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimPositionRequestDto, localVarRequestOptions, configuration)
|
|
134
|
+
|
|
135
|
+
return {
|
|
136
|
+
url: toPathString(localVarUrlObj),
|
|
137
|
+
options: localVarRequestOptions,
|
|
138
|
+
};
|
|
139
|
+
},
|
|
140
|
+
/**
|
|
141
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
142
|
+
* @summary Delete the claim position
|
|
143
|
+
* @param {string} code Unique identifier for the object.
|
|
144
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
*/
|
|
148
|
+
deleteClaimPosition: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
149
|
+
// verify required parameter 'code' is not null or undefined
|
|
150
|
+
assertParamExists('deleteClaimPosition', 'code', code)
|
|
151
|
+
const localVarPath = `/claimservice/v1/claim-positions/{code}`
|
|
152
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
155
|
+
let baseOptions;
|
|
156
|
+
let baseAccessToken;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
baseAccessToken = configuration.accessToken;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
163
|
+
const localVarHeaderParameter = {} as any;
|
|
164
|
+
const localVarQueryParameter = {} as any;
|
|
165
|
+
|
|
166
|
+
// authentication bearer required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
169
|
+
|
|
170
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
url: toPathString(localVarUrlObj),
|
|
182
|
+
options: localVarRequestOptions,
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
187
|
+
* @summary Delete the claim position
|
|
188
|
+
* @param {string} code Unique identifier for the object.
|
|
189
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @deprecated
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
deleteClaimPosition1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
195
|
+
// verify required parameter 'code' is not null or undefined
|
|
196
|
+
assertParamExists('deleteClaimPosition1', 'code', code)
|
|
197
|
+
const localVarPath = `/v1/claim-positions/{code}`
|
|
198
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
199
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
201
|
+
let baseOptions;
|
|
202
|
+
let baseAccessToken;
|
|
203
|
+
if (configuration) {
|
|
204
|
+
baseOptions = configuration.baseOptions;
|
|
205
|
+
baseAccessToken = configuration.accessToken;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
209
|
+
const localVarHeaderParameter = {} as any;
|
|
210
|
+
const localVarQueryParameter = {} as any;
|
|
211
|
+
|
|
212
|
+
// authentication bearer required
|
|
213
|
+
// http bearer authentication required
|
|
214
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
215
|
+
|
|
216
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
217
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
223
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
224
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
225
|
+
|
|
226
|
+
return {
|
|
227
|
+
url: toPathString(localVarUrlObj),
|
|
228
|
+
options: localVarRequestOptions,
|
|
229
|
+
};
|
|
230
|
+
},
|
|
231
|
+
/**
|
|
232
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
233
|
+
* @summary Retrieve the claim position
|
|
234
|
+
* @param {string} code
|
|
235
|
+
* @param {string} expand
|
|
236
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
237
|
+
* @param {*} [options] Override http request option.
|
|
238
|
+
* @throws {RequiredError}
|
|
239
|
+
*/
|
|
240
|
+
getClaimPosition: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
241
|
+
// verify required parameter 'code' is not null or undefined
|
|
242
|
+
assertParamExists('getClaimPosition', 'code', code)
|
|
243
|
+
// verify required parameter 'expand' is not null or undefined
|
|
244
|
+
assertParamExists('getClaimPosition', 'expand', expand)
|
|
245
|
+
const localVarPath = `/claimservice/v1/claim-positions/{code}`
|
|
246
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
247
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
248
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
249
|
+
let baseOptions;
|
|
250
|
+
let baseAccessToken;
|
|
251
|
+
if (configuration) {
|
|
252
|
+
baseOptions = configuration.baseOptions;
|
|
253
|
+
baseAccessToken = configuration.accessToken;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
257
|
+
const localVarHeaderParameter = {} as any;
|
|
258
|
+
const localVarQueryParameter = {} as any;
|
|
259
|
+
|
|
260
|
+
// authentication bearer required
|
|
261
|
+
// http bearer authentication required
|
|
262
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
263
|
+
|
|
264
|
+
if (expand !== undefined) {
|
|
265
|
+
localVarQueryParameter['expand'] = expand;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
269
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
275
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
276
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
277
|
+
|
|
278
|
+
return {
|
|
279
|
+
url: toPathString(localVarUrlObj),
|
|
280
|
+
options: localVarRequestOptions,
|
|
281
|
+
};
|
|
282
|
+
},
|
|
283
|
+
/**
|
|
284
|
+
* This will get claim position. **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.
|
|
285
|
+
* @summary Retrieve the claim position
|
|
286
|
+
* @param {string} code
|
|
287
|
+
* @param {string} expand
|
|
288
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
289
|
+
* @param {*} [options] Override http request option.
|
|
290
|
+
* @deprecated
|
|
291
|
+
* @throws {RequiredError}
|
|
292
|
+
*/
|
|
293
|
+
getClaimPosition1: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
294
|
+
// verify required parameter 'code' is not null or undefined
|
|
295
|
+
assertParamExists('getClaimPosition1', 'code', code)
|
|
296
|
+
// verify required parameter 'expand' is not null or undefined
|
|
297
|
+
assertParamExists('getClaimPosition1', 'expand', expand)
|
|
298
|
+
const localVarPath = `/v1/claim-positions/{code}`
|
|
299
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
300
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
301
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
302
|
+
let baseOptions;
|
|
303
|
+
let baseAccessToken;
|
|
304
|
+
if (configuration) {
|
|
305
|
+
baseOptions = configuration.baseOptions;
|
|
306
|
+
baseAccessToken = configuration.accessToken;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
310
|
+
const localVarHeaderParameter = {} as any;
|
|
311
|
+
const localVarQueryParameter = {} as any;
|
|
312
|
+
|
|
313
|
+
// authentication bearer required
|
|
314
|
+
// http bearer authentication required
|
|
315
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
316
|
+
|
|
317
|
+
if (expand !== undefined) {
|
|
318
|
+
localVarQueryParameter['expand'] = expand;
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
322
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
323
|
+
}
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
328
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
329
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
330
|
+
|
|
331
|
+
return {
|
|
332
|
+
url: toPathString(localVarUrlObj),
|
|
333
|
+
options: localVarRequestOptions,
|
|
334
|
+
};
|
|
335
|
+
},
|
|
336
|
+
/**
|
|
337
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
338
|
+
* @summary List claim positions
|
|
339
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
340
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
341
|
+
* @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.
|
|
342
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
343
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
344
|
+
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
345
|
+
* @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/>
|
|
346
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
347
|
+
* @param {*} [options] Override http request option.
|
|
348
|
+
* @throws {RequiredError}
|
|
349
|
+
*/
|
|
350
|
+
listClaimPositions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
351
|
+
const localVarPath = `/claimservice/v1/claim-positions`;
|
|
352
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
353
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
354
|
+
let baseOptions;
|
|
355
|
+
let baseAccessToken;
|
|
356
|
+
if (configuration) {
|
|
357
|
+
baseOptions = configuration.baseOptions;
|
|
358
|
+
baseAccessToken = configuration.accessToken;
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
362
|
+
const localVarHeaderParameter = {} as any;
|
|
363
|
+
const localVarQueryParameter = {} as any;
|
|
364
|
+
|
|
365
|
+
// authentication bearer required
|
|
366
|
+
// http bearer authentication required
|
|
367
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
368
|
+
|
|
369
|
+
if (pageSize !== undefined) {
|
|
370
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
if (pageToken !== undefined) {
|
|
374
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
if (filter !== undefined) {
|
|
378
|
+
localVarQueryParameter['filter'] = filter;
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
if (search !== undefined) {
|
|
382
|
+
localVarQueryParameter['search'] = search;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
if (order !== undefined) {
|
|
386
|
+
localVarQueryParameter['order'] = order;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
if (expand !== undefined) {
|
|
390
|
+
localVarQueryParameter['expand'] = expand;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
if (filters !== undefined) {
|
|
394
|
+
localVarQueryParameter['filters'] = filters;
|
|
395
|
+
}
|
|
396
|
+
|
|
397
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
398
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
399
|
+
}
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
404
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
405
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
406
|
+
|
|
407
|
+
return {
|
|
408
|
+
url: toPathString(localVarUrlObj),
|
|
409
|
+
options: localVarRequestOptions,
|
|
410
|
+
};
|
|
411
|
+
},
|
|
412
|
+
/**
|
|
413
|
+
* Retrieves a list of claim positions. **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.
|
|
414
|
+
* @summary List claim positions
|
|
415
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
416
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
417
|
+
* @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.
|
|
418
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
419
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
420
|
+
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
421
|
+
* @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/>
|
|
422
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
423
|
+
* @param {*} [options] Override http request option.
|
|
424
|
+
* @deprecated
|
|
425
|
+
* @throws {RequiredError}
|
|
426
|
+
*/
|
|
427
|
+
listClaimPositions1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
428
|
+
const localVarPath = `/v1/claim-positions`;
|
|
429
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
430
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
431
|
+
let baseOptions;
|
|
432
|
+
let baseAccessToken;
|
|
433
|
+
if (configuration) {
|
|
434
|
+
baseOptions = configuration.baseOptions;
|
|
435
|
+
baseAccessToken = configuration.accessToken;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
439
|
+
const localVarHeaderParameter = {} as any;
|
|
440
|
+
const localVarQueryParameter = {} as any;
|
|
441
|
+
|
|
442
|
+
// authentication bearer required
|
|
443
|
+
// http bearer authentication required
|
|
444
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
445
|
+
|
|
446
|
+
if (pageSize !== undefined) {
|
|
447
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
if (pageToken !== undefined) {
|
|
451
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
if (filter !== undefined) {
|
|
455
|
+
localVarQueryParameter['filter'] = filter;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
if (search !== undefined) {
|
|
459
|
+
localVarQueryParameter['search'] = search;
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
if (order !== undefined) {
|
|
463
|
+
localVarQueryParameter['order'] = order;
|
|
464
|
+
}
|
|
465
|
+
|
|
466
|
+
if (expand !== undefined) {
|
|
467
|
+
localVarQueryParameter['expand'] = expand;
|
|
468
|
+
}
|
|
469
|
+
|
|
470
|
+
if (filters !== undefined) {
|
|
471
|
+
localVarQueryParameter['filters'] = filters;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
475
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
481
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
482
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
483
|
+
|
|
484
|
+
return {
|
|
485
|
+
url: toPathString(localVarUrlObj),
|
|
486
|
+
options: localVarRequestOptions,
|
|
487
|
+
};
|
|
488
|
+
},
|
|
489
|
+
/**
|
|
490
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
491
|
+
* @summary Update the claim position
|
|
492
|
+
* @param {string} code
|
|
493
|
+
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
494
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
495
|
+
* @param {*} [options] Override http request option.
|
|
496
|
+
* @throws {RequiredError}
|
|
497
|
+
*/
|
|
498
|
+
updateClaimPosition: async (code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
499
|
+
// verify required parameter 'code' is not null or undefined
|
|
500
|
+
assertParamExists('updateClaimPosition', 'code', code)
|
|
501
|
+
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
502
|
+
assertParamExists('updateClaimPosition', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto)
|
|
503
|
+
const localVarPath = `/claimservice/v1/claim-positions/{code}`
|
|
504
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
505
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
506
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
507
|
+
let baseOptions;
|
|
508
|
+
let baseAccessToken;
|
|
509
|
+
if (configuration) {
|
|
510
|
+
baseOptions = configuration.baseOptions;
|
|
511
|
+
baseAccessToken = configuration.accessToken;
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
515
|
+
const localVarHeaderParameter = {} as any;
|
|
516
|
+
const localVarQueryParameter = {} as any;
|
|
517
|
+
|
|
518
|
+
// authentication bearer required
|
|
519
|
+
// http bearer authentication required
|
|
520
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
521
|
+
|
|
522
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
523
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
529
|
+
|
|
530
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
531
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
532
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
533
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimPositionRequestDto, localVarRequestOptions, configuration)
|
|
534
|
+
|
|
535
|
+
return {
|
|
536
|
+
url: toPathString(localVarUrlObj),
|
|
537
|
+
options: localVarRequestOptions,
|
|
538
|
+
};
|
|
539
|
+
},
|
|
540
|
+
/**
|
|
541
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
542
|
+
* @summary Update the claim position
|
|
543
|
+
* @param {string} code
|
|
544
|
+
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
545
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @deprecated
|
|
548
|
+
* @throws {RequiredError}
|
|
549
|
+
*/
|
|
550
|
+
updateClaimPosition1: async (code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
551
|
+
// verify required parameter 'code' is not null or undefined
|
|
552
|
+
assertParamExists('updateClaimPosition1', 'code', code)
|
|
553
|
+
// verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
|
|
554
|
+
assertParamExists('updateClaimPosition1', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto)
|
|
555
|
+
const localVarPath = `/v1/claim-positions/{code}`
|
|
556
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
557
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
558
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
559
|
+
let baseOptions;
|
|
560
|
+
let baseAccessToken;
|
|
561
|
+
if (configuration) {
|
|
562
|
+
baseOptions = configuration.baseOptions;
|
|
563
|
+
baseAccessToken = configuration.accessToken;
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
567
|
+
const localVarHeaderParameter = {} as any;
|
|
568
|
+
const localVarQueryParameter = {} as any;
|
|
569
|
+
|
|
570
|
+
// authentication bearer required
|
|
571
|
+
// http bearer authentication required
|
|
572
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
573
|
+
|
|
574
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
575
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
581
|
+
|
|
582
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
583
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
584
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
585
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimPositionRequestDto, localVarRequestOptions, configuration)
|
|
586
|
+
|
|
587
|
+
return {
|
|
588
|
+
url: toPathString(localVarUrlObj),
|
|
589
|
+
options: localVarRequestOptions,
|
|
590
|
+
};
|
|
591
|
+
},
|
|
592
|
+
}
|
|
593
|
+
};
|
|
594
|
+
|
|
595
|
+
/**
|
|
596
|
+
* ClaimPositionsApi - functional programming interface
|
|
597
|
+
* @export
|
|
598
|
+
*/
|
|
599
|
+
export const ClaimPositionsApiFp = function(configuration?: Configuration) {
|
|
600
|
+
const localVarAxiosParamCreator = ClaimPositionsApiAxiosParamCreator(configuration)
|
|
601
|
+
return {
|
|
602
|
+
/**
|
|
603
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
604
|
+
* @summary Create the claim position
|
|
605
|
+
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
606
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
607
|
+
* @param {*} [options] Override http request option.
|
|
608
|
+
* @throws {RequiredError}
|
|
609
|
+
*/
|
|
610
|
+
async createClaimPosition(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPositionResponseClass>> {
|
|
611
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPosition(createClaimPositionRequestDto, authorization, options);
|
|
612
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
613
|
+
},
|
|
614
|
+
/**
|
|
615
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
616
|
+
* @summary Create the claim position
|
|
617
|
+
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
618
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
619
|
+
* @param {*} [options] Override http request option.
|
|
620
|
+
* @deprecated
|
|
621
|
+
* @throws {RequiredError}
|
|
622
|
+
*/
|
|
623
|
+
async createClaimPosition1(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPositionResponseClass>> {
|
|
624
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPosition1(createClaimPositionRequestDto, authorization, options);
|
|
625
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
626
|
+
},
|
|
627
|
+
/**
|
|
628
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
629
|
+
* @summary Delete the claim position
|
|
630
|
+
* @param {string} code Unique identifier for the object.
|
|
631
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
async deleteClaimPosition(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
636
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPosition(code, authorization, options);
|
|
637
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
638
|
+
},
|
|
639
|
+
/**
|
|
640
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
641
|
+
* @summary Delete the claim position
|
|
642
|
+
* @param {string} code Unique identifier for the object.
|
|
643
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
644
|
+
* @param {*} [options] Override http request option.
|
|
645
|
+
* @deprecated
|
|
646
|
+
* @throws {RequiredError}
|
|
647
|
+
*/
|
|
648
|
+
async deleteClaimPosition1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPosition1(code, authorization, options);
|
|
650
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
651
|
+
},
|
|
652
|
+
/**
|
|
653
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
654
|
+
* @summary Retrieve the claim position
|
|
655
|
+
* @param {string} code
|
|
656
|
+
* @param {string} expand
|
|
657
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
658
|
+
* @param {*} [options] Override http request option.
|
|
659
|
+
* @throws {RequiredError}
|
|
660
|
+
*/
|
|
661
|
+
async getClaimPosition(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPositionResponseClass>> {
|
|
662
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPosition(code, expand, authorization, options);
|
|
663
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
664
|
+
},
|
|
665
|
+
/**
|
|
666
|
+
* This will get claim position. **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.
|
|
667
|
+
* @summary Retrieve the claim position
|
|
668
|
+
* @param {string} code
|
|
669
|
+
* @param {string} expand
|
|
670
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
671
|
+
* @param {*} [options] Override http request option.
|
|
672
|
+
* @deprecated
|
|
673
|
+
* @throws {RequiredError}
|
|
674
|
+
*/
|
|
675
|
+
async getClaimPosition1(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPositionResponseClass>> {
|
|
676
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPosition1(code, expand, authorization, options);
|
|
677
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
678
|
+
},
|
|
679
|
+
/**
|
|
680
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
681
|
+
* @summary List claim positions
|
|
682
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
683
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
684
|
+
* @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.
|
|
685
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
686
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
687
|
+
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
688
|
+
* @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/>
|
|
689
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
690
|
+
* @param {*} [options] Override http request option.
|
|
691
|
+
* @throws {RequiredError}
|
|
692
|
+
*/
|
|
693
|
+
async listClaimPositions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPositionsResponseClass>> {
|
|
694
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
695
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
696
|
+
},
|
|
697
|
+
/**
|
|
698
|
+
* Retrieves a list of claim positions. **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.
|
|
699
|
+
* @summary List claim positions
|
|
700
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
701
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
702
|
+
* @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.
|
|
703
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
704
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
705
|
+
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
706
|
+
* @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/>
|
|
707
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @deprecated
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
async listClaimPositions1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPositionsResponseClass>> {
|
|
713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPositions1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
714
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
715
|
+
},
|
|
716
|
+
/**
|
|
717
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
718
|
+
* @summary Update the claim position
|
|
719
|
+
* @param {string} code
|
|
720
|
+
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
721
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
722
|
+
* @param {*} [options] Override http request option.
|
|
723
|
+
* @throws {RequiredError}
|
|
724
|
+
*/
|
|
725
|
+
async updateClaimPosition(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPositionResponseClass>> {
|
|
726
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options);
|
|
727
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
728
|
+
},
|
|
729
|
+
/**
|
|
730
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
731
|
+
* @summary Update the claim position
|
|
732
|
+
* @param {string} code
|
|
733
|
+
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
734
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
735
|
+
* @param {*} [options] Override http request option.
|
|
736
|
+
* @deprecated
|
|
737
|
+
* @throws {RequiredError}
|
|
738
|
+
*/
|
|
739
|
+
async updateClaimPosition1(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimPositionResponseClass>> {
|
|
740
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimPosition1(code, updateClaimPositionRequestDto, authorization, options);
|
|
741
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
742
|
+
},
|
|
743
|
+
}
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
/**
|
|
747
|
+
* ClaimPositionsApi - factory interface
|
|
748
|
+
* @export
|
|
749
|
+
*/
|
|
750
|
+
export const ClaimPositionsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
751
|
+
const localVarFp = ClaimPositionsApiFp(configuration)
|
|
752
|
+
return {
|
|
753
|
+
/**
|
|
754
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
755
|
+
* @summary Create the claim position
|
|
756
|
+
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
757
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @throws {RequiredError}
|
|
760
|
+
*/
|
|
761
|
+
createClaimPosition(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPositionResponseClass> {
|
|
762
|
+
return localVarFp.createClaimPosition(createClaimPositionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
763
|
+
},
|
|
764
|
+
/**
|
|
765
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
766
|
+
* @summary Create the claim position
|
|
767
|
+
* @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
|
|
768
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @deprecated
|
|
771
|
+
* @throws {RequiredError}
|
|
772
|
+
*/
|
|
773
|
+
createClaimPosition1(createClaimPositionRequestDto: CreateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPositionResponseClass> {
|
|
774
|
+
return localVarFp.createClaimPosition1(createClaimPositionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
775
|
+
},
|
|
776
|
+
/**
|
|
777
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
778
|
+
* @summary Delete the claim position
|
|
779
|
+
* @param {string} code Unique identifier for the object.
|
|
780
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
781
|
+
* @param {*} [options] Override http request option.
|
|
782
|
+
* @throws {RequiredError}
|
|
783
|
+
*/
|
|
784
|
+
deleteClaimPosition(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
785
|
+
return localVarFp.deleteClaimPosition(code, authorization, options).then((request) => request(axios, basePath));
|
|
786
|
+
},
|
|
787
|
+
/**
|
|
788
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
789
|
+
* @summary Delete the claim position
|
|
790
|
+
* @param {string} code Unique identifier for the object.
|
|
791
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
792
|
+
* @param {*} [options] Override http request option.
|
|
793
|
+
* @deprecated
|
|
794
|
+
* @throws {RequiredError}
|
|
795
|
+
*/
|
|
796
|
+
deleteClaimPosition1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
797
|
+
return localVarFp.deleteClaimPosition1(code, authorization, options).then((request) => request(axios, basePath));
|
|
798
|
+
},
|
|
799
|
+
/**
|
|
800
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
801
|
+
* @summary Retrieve the claim position
|
|
802
|
+
* @param {string} code
|
|
803
|
+
* @param {string} expand
|
|
804
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
805
|
+
* @param {*} [options] Override http request option.
|
|
806
|
+
* @throws {RequiredError}
|
|
807
|
+
*/
|
|
808
|
+
getClaimPosition(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetClaimPositionResponseClass> {
|
|
809
|
+
return localVarFp.getClaimPosition(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
810
|
+
},
|
|
811
|
+
/**
|
|
812
|
+
* This will get claim position. **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.
|
|
813
|
+
* @summary Retrieve the claim position
|
|
814
|
+
* @param {string} code
|
|
815
|
+
* @param {string} expand
|
|
816
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
817
|
+
* @param {*} [options] Override http request option.
|
|
818
|
+
* @deprecated
|
|
819
|
+
* @throws {RequiredError}
|
|
820
|
+
*/
|
|
821
|
+
getClaimPosition1(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetClaimPositionResponseClass> {
|
|
822
|
+
return localVarFp.getClaimPosition1(code, expand, authorization, options).then((request) => request(axios, basePath));
|
|
823
|
+
},
|
|
824
|
+
/**
|
|
825
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
826
|
+
* @summary List claim positions
|
|
827
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
828
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
829
|
+
* @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.
|
|
830
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
831
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
832
|
+
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
833
|
+
* @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/>
|
|
834
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
835
|
+
* @param {*} [options] Override http request option.
|
|
836
|
+
* @throws {RequiredError}
|
|
837
|
+
*/
|
|
838
|
+
listClaimPositions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPositionsResponseClass> {
|
|
839
|
+
return localVarFp.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
840
|
+
},
|
|
841
|
+
/**
|
|
842
|
+
* Retrieves a list of claim positions. **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.
|
|
843
|
+
* @summary List claim positions
|
|
844
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
845
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
846
|
+
* @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.
|
|
847
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
848
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
849
|
+
* @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, order, createdAt, updatedAt, procedureDate</i>
|
|
850
|
+
* @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/>
|
|
851
|
+
* @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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
852
|
+
* @param {*} [options] Override http request option.
|
|
853
|
+
* @deprecated
|
|
854
|
+
* @throws {RequiredError}
|
|
855
|
+
*/
|
|
856
|
+
listClaimPositions1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPositionsResponseClass> {
|
|
857
|
+
return localVarFp.listClaimPositions1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
858
|
+
},
|
|
859
|
+
/**
|
|
860
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
861
|
+
* @summary Update the claim position
|
|
862
|
+
* @param {string} code
|
|
863
|
+
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
864
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
865
|
+
* @param {*} [options] Override http request option.
|
|
866
|
+
* @throws {RequiredError}
|
|
867
|
+
*/
|
|
868
|
+
updateClaimPosition(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPositionResponseClass> {
|
|
869
|
+
return localVarFp.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
870
|
+
},
|
|
871
|
+
/**
|
|
872
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
873
|
+
* @summary Update the claim position
|
|
874
|
+
* @param {string} code
|
|
875
|
+
* @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
|
|
876
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
877
|
+
* @param {*} [options] Override http request option.
|
|
878
|
+
* @deprecated
|
|
879
|
+
* @throws {RequiredError}
|
|
880
|
+
*/
|
|
881
|
+
updateClaimPosition1(code: string, updateClaimPositionRequestDto: UpdateClaimPositionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimPositionResponseClass> {
|
|
882
|
+
return localVarFp.updateClaimPosition1(code, updateClaimPositionRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
883
|
+
},
|
|
884
|
+
};
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* Request parameters for createClaimPosition operation in ClaimPositionsApi.
|
|
889
|
+
* @export
|
|
890
|
+
* @interface ClaimPositionsApiCreateClaimPositionRequest
|
|
891
|
+
*/
|
|
892
|
+
export interface ClaimPositionsApiCreateClaimPositionRequest {
|
|
893
|
+
/**
|
|
894
|
+
*
|
|
895
|
+
* @type {CreateClaimPositionRequestDto}
|
|
896
|
+
* @memberof ClaimPositionsApiCreateClaimPosition
|
|
897
|
+
*/
|
|
898
|
+
readonly createClaimPositionRequestDto: CreateClaimPositionRequestDto
|
|
899
|
+
|
|
900
|
+
/**
|
|
901
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
902
|
+
* @type {string}
|
|
903
|
+
* @memberof ClaimPositionsApiCreateClaimPosition
|
|
904
|
+
*/
|
|
905
|
+
readonly authorization?: string
|
|
906
|
+
}
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* Request parameters for createClaimPosition1 operation in ClaimPositionsApi.
|
|
910
|
+
* @export
|
|
911
|
+
* @interface ClaimPositionsApiCreateClaimPosition1Request
|
|
912
|
+
*/
|
|
913
|
+
export interface ClaimPositionsApiCreateClaimPosition1Request {
|
|
914
|
+
/**
|
|
915
|
+
*
|
|
916
|
+
* @type {CreateClaimPositionRequestDto}
|
|
917
|
+
* @memberof ClaimPositionsApiCreateClaimPosition1
|
|
918
|
+
*/
|
|
919
|
+
readonly createClaimPositionRequestDto: CreateClaimPositionRequestDto
|
|
920
|
+
|
|
921
|
+
/**
|
|
922
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
923
|
+
* @type {string}
|
|
924
|
+
* @memberof ClaimPositionsApiCreateClaimPosition1
|
|
925
|
+
*/
|
|
926
|
+
readonly authorization?: string
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
/**
|
|
930
|
+
* Request parameters for deleteClaimPosition operation in ClaimPositionsApi.
|
|
931
|
+
* @export
|
|
932
|
+
* @interface ClaimPositionsApiDeleteClaimPositionRequest
|
|
933
|
+
*/
|
|
934
|
+
export interface ClaimPositionsApiDeleteClaimPositionRequest {
|
|
935
|
+
/**
|
|
936
|
+
* Unique identifier for the object.
|
|
937
|
+
* @type {string}
|
|
938
|
+
* @memberof ClaimPositionsApiDeleteClaimPosition
|
|
939
|
+
*/
|
|
940
|
+
readonly code: string
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
944
|
+
* @type {string}
|
|
945
|
+
* @memberof ClaimPositionsApiDeleteClaimPosition
|
|
946
|
+
*/
|
|
947
|
+
readonly authorization?: string
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* Request parameters for deleteClaimPosition1 operation in ClaimPositionsApi.
|
|
952
|
+
* @export
|
|
953
|
+
* @interface ClaimPositionsApiDeleteClaimPosition1Request
|
|
954
|
+
*/
|
|
955
|
+
export interface ClaimPositionsApiDeleteClaimPosition1Request {
|
|
956
|
+
/**
|
|
957
|
+
* Unique identifier for the object.
|
|
958
|
+
* @type {string}
|
|
959
|
+
* @memberof ClaimPositionsApiDeleteClaimPosition1
|
|
960
|
+
*/
|
|
961
|
+
readonly code: string
|
|
962
|
+
|
|
963
|
+
/**
|
|
964
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
965
|
+
* @type {string}
|
|
966
|
+
* @memberof ClaimPositionsApiDeleteClaimPosition1
|
|
967
|
+
*/
|
|
968
|
+
readonly authorization?: string
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
/**
|
|
972
|
+
* Request parameters for getClaimPosition operation in ClaimPositionsApi.
|
|
973
|
+
* @export
|
|
974
|
+
* @interface ClaimPositionsApiGetClaimPositionRequest
|
|
975
|
+
*/
|
|
976
|
+
export interface ClaimPositionsApiGetClaimPositionRequest {
|
|
977
|
+
/**
|
|
978
|
+
*
|
|
979
|
+
* @type {string}
|
|
980
|
+
* @memberof ClaimPositionsApiGetClaimPosition
|
|
981
|
+
*/
|
|
982
|
+
readonly code: string
|
|
983
|
+
|
|
984
|
+
/**
|
|
985
|
+
*
|
|
986
|
+
* @type {string}
|
|
987
|
+
* @memberof ClaimPositionsApiGetClaimPosition
|
|
988
|
+
*/
|
|
989
|
+
readonly expand: string
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
993
|
+
* @type {string}
|
|
994
|
+
* @memberof ClaimPositionsApiGetClaimPosition
|
|
995
|
+
*/
|
|
996
|
+
readonly authorization?: string
|
|
997
|
+
}
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* Request parameters for getClaimPosition1 operation in ClaimPositionsApi.
|
|
1001
|
+
* @export
|
|
1002
|
+
* @interface ClaimPositionsApiGetClaimPosition1Request
|
|
1003
|
+
*/
|
|
1004
|
+
export interface ClaimPositionsApiGetClaimPosition1Request {
|
|
1005
|
+
/**
|
|
1006
|
+
*
|
|
1007
|
+
* @type {string}
|
|
1008
|
+
* @memberof ClaimPositionsApiGetClaimPosition1
|
|
1009
|
+
*/
|
|
1010
|
+
readonly code: string
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
*
|
|
1014
|
+
* @type {string}
|
|
1015
|
+
* @memberof ClaimPositionsApiGetClaimPosition1
|
|
1016
|
+
*/
|
|
1017
|
+
readonly expand: string
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1021
|
+
* @type {string}
|
|
1022
|
+
* @memberof ClaimPositionsApiGetClaimPosition1
|
|
1023
|
+
*/
|
|
1024
|
+
readonly authorization?: string
|
|
1025
|
+
}
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* Request parameters for listClaimPositions operation in ClaimPositionsApi.
|
|
1029
|
+
* @export
|
|
1030
|
+
* @interface ClaimPositionsApiListClaimPositionsRequest
|
|
1031
|
+
*/
|
|
1032
|
+
export interface ClaimPositionsApiListClaimPositionsRequest {
|
|
1033
|
+
/**
|
|
1034
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1035
|
+
* @type {string}
|
|
1036
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1037
|
+
*/
|
|
1038
|
+
readonly authorization?: string
|
|
1039
|
+
|
|
1040
|
+
/**
|
|
1041
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1042
|
+
* @type {number}
|
|
1043
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1044
|
+
*/
|
|
1045
|
+
readonly pageSize?: number
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* 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.
|
|
1049
|
+
* @type {string}
|
|
1050
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1051
|
+
*/
|
|
1052
|
+
readonly pageToken?: string
|
|
1053
|
+
|
|
1054
|
+
/**
|
|
1055
|
+
* 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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1056
|
+
* @type {string}
|
|
1057
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1058
|
+
*/
|
|
1059
|
+
readonly filter?: string
|
|
1060
|
+
|
|
1061
|
+
/**
|
|
1062
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1063
|
+
* @type {string}
|
|
1064
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1065
|
+
*/
|
|
1066
|
+
readonly search?: string
|
|
1067
|
+
|
|
1068
|
+
/**
|
|
1069
|
+
* 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, order, createdAt, updatedAt, procedureDate</i>
|
|
1070
|
+
* @type {string}
|
|
1071
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1072
|
+
*/
|
|
1073
|
+
readonly order?: string
|
|
1074
|
+
|
|
1075
|
+
/**
|
|
1076
|
+
* 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/>
|
|
1077
|
+
* @type {string}
|
|
1078
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1079
|
+
*/
|
|
1080
|
+
readonly expand?: string
|
|
1081
|
+
|
|
1082
|
+
/**
|
|
1083
|
+
* 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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1084
|
+
* @type {string}
|
|
1085
|
+
* @memberof ClaimPositionsApiListClaimPositions
|
|
1086
|
+
*/
|
|
1087
|
+
readonly filters?: string
|
|
1088
|
+
}
|
|
1089
|
+
|
|
1090
|
+
/**
|
|
1091
|
+
* Request parameters for listClaimPositions1 operation in ClaimPositionsApi.
|
|
1092
|
+
* @export
|
|
1093
|
+
* @interface ClaimPositionsApiListClaimPositions1Request
|
|
1094
|
+
*/
|
|
1095
|
+
export interface ClaimPositionsApiListClaimPositions1Request {
|
|
1096
|
+
/**
|
|
1097
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1098
|
+
* @type {string}
|
|
1099
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1100
|
+
*/
|
|
1101
|
+
readonly authorization?: string
|
|
1102
|
+
|
|
1103
|
+
/**
|
|
1104
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1105
|
+
* @type {number}
|
|
1106
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1107
|
+
*/
|
|
1108
|
+
readonly pageSize?: number
|
|
1109
|
+
|
|
1110
|
+
/**
|
|
1111
|
+
* 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.
|
|
1112
|
+
* @type {string}
|
|
1113
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1114
|
+
*/
|
|
1115
|
+
readonly pageToken?: string
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* 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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1119
|
+
* @type {string}
|
|
1120
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1121
|
+
*/
|
|
1122
|
+
readonly filter?: string
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1126
|
+
* @type {string}
|
|
1127
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1128
|
+
*/
|
|
1129
|
+
readonly search?: string
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* 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, order, createdAt, updatedAt, procedureDate</i>
|
|
1133
|
+
* @type {string}
|
|
1134
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1135
|
+
*/
|
|
1136
|
+
readonly order?: string
|
|
1137
|
+
|
|
1138
|
+
/**
|
|
1139
|
+
* 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/>
|
|
1140
|
+
* @type {string}
|
|
1141
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1142
|
+
*/
|
|
1143
|
+
readonly expand?: string
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* 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, claimCode, positionNumber, category, status, createdAt, updatedAt</i>
|
|
1147
|
+
* @type {string}
|
|
1148
|
+
* @memberof ClaimPositionsApiListClaimPositions1
|
|
1149
|
+
*/
|
|
1150
|
+
readonly filters?: string
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Request parameters for updateClaimPosition operation in ClaimPositionsApi.
|
|
1155
|
+
* @export
|
|
1156
|
+
* @interface ClaimPositionsApiUpdateClaimPositionRequest
|
|
1157
|
+
*/
|
|
1158
|
+
export interface ClaimPositionsApiUpdateClaimPositionRequest {
|
|
1159
|
+
/**
|
|
1160
|
+
*
|
|
1161
|
+
* @type {string}
|
|
1162
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition
|
|
1163
|
+
*/
|
|
1164
|
+
readonly code: string
|
|
1165
|
+
|
|
1166
|
+
/**
|
|
1167
|
+
*
|
|
1168
|
+
* @type {UpdateClaimPositionRequestDto}
|
|
1169
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition
|
|
1170
|
+
*/
|
|
1171
|
+
readonly updateClaimPositionRequestDto: UpdateClaimPositionRequestDto
|
|
1172
|
+
|
|
1173
|
+
/**
|
|
1174
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1175
|
+
* @type {string}
|
|
1176
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition
|
|
1177
|
+
*/
|
|
1178
|
+
readonly authorization?: string
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
/**
|
|
1182
|
+
* Request parameters for updateClaimPosition1 operation in ClaimPositionsApi.
|
|
1183
|
+
* @export
|
|
1184
|
+
* @interface ClaimPositionsApiUpdateClaimPosition1Request
|
|
1185
|
+
*/
|
|
1186
|
+
export interface ClaimPositionsApiUpdateClaimPosition1Request {
|
|
1187
|
+
/**
|
|
1188
|
+
*
|
|
1189
|
+
* @type {string}
|
|
1190
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition1
|
|
1191
|
+
*/
|
|
1192
|
+
readonly code: string
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
*
|
|
1196
|
+
* @type {UpdateClaimPositionRequestDto}
|
|
1197
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition1
|
|
1198
|
+
*/
|
|
1199
|
+
readonly updateClaimPositionRequestDto: UpdateClaimPositionRequestDto
|
|
1200
|
+
|
|
1201
|
+
/**
|
|
1202
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1203
|
+
* @type {string}
|
|
1204
|
+
* @memberof ClaimPositionsApiUpdateClaimPosition1
|
|
1205
|
+
*/
|
|
1206
|
+
readonly authorization?: string
|
|
1207
|
+
}
|
|
1208
|
+
|
|
1209
|
+
/**
|
|
1210
|
+
* ClaimPositionsApi - object-oriented interface
|
|
1211
|
+
* @export
|
|
1212
|
+
* @class ClaimPositionsApi
|
|
1213
|
+
* @extends {BaseAPI}
|
|
1214
|
+
*/
|
|
1215
|
+
export class ClaimPositionsApi extends BaseAPI {
|
|
1216
|
+
/**
|
|
1217
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\"
|
|
1218
|
+
* @summary Create the claim position
|
|
1219
|
+
* @param {ClaimPositionsApiCreateClaimPositionRequest} requestParameters Request parameters.
|
|
1220
|
+
* @param {*} [options] Override http request option.
|
|
1221
|
+
* @throws {RequiredError}
|
|
1222
|
+
* @memberof ClaimPositionsApi
|
|
1223
|
+
*/
|
|
1224
|
+
public createClaimPosition(requestParameters: ClaimPositionsApiCreateClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1225
|
+
return ClaimPositionsApiFp(this.configuration).createClaimPosition(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1226
|
+
}
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* This will create claim position. **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1230
|
+
* @summary Create the claim position
|
|
1231
|
+
* @param {ClaimPositionsApiCreateClaimPosition1Request} requestParameters Request parameters.
|
|
1232
|
+
* @param {*} [options] Override http request option.
|
|
1233
|
+
* @deprecated
|
|
1234
|
+
* @throws {RequiredError}
|
|
1235
|
+
* @memberof ClaimPositionsApi
|
|
1236
|
+
*/
|
|
1237
|
+
public createClaimPosition1(requestParameters: ClaimPositionsApiCreateClaimPosition1Request, options?: AxiosRequestConfig) {
|
|
1238
|
+
return ClaimPositionsApiFp(this.configuration).createClaimPosition1(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1239
|
+
}
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
|
|
1243
|
+
* @summary Delete the claim position
|
|
1244
|
+
* @param {ClaimPositionsApiDeleteClaimPositionRequest} requestParameters Request parameters.
|
|
1245
|
+
* @param {*} [options] Override http request option.
|
|
1246
|
+
* @throws {RequiredError}
|
|
1247
|
+
* @memberof ClaimPositionsApi
|
|
1248
|
+
*/
|
|
1249
|
+
public deleteClaimPosition(requestParameters: ClaimPositionsApiDeleteClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1250
|
+
return ClaimPositionsApiFp(this.configuration).deleteClaimPosition(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* This will delete claim position. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1255
|
+
* @summary Delete the claim position
|
|
1256
|
+
* @param {ClaimPositionsApiDeleteClaimPosition1Request} requestParameters Request parameters.
|
|
1257
|
+
* @param {*} [options] Override http request option.
|
|
1258
|
+
* @deprecated
|
|
1259
|
+
* @throws {RequiredError}
|
|
1260
|
+
* @memberof ClaimPositionsApi
|
|
1261
|
+
*/
|
|
1262
|
+
public deleteClaimPosition1(requestParameters: ClaimPositionsApiDeleteClaimPosition1Request, options?: AxiosRequestConfig) {
|
|
1263
|
+
return ClaimPositionsApiFp(this.configuration).deleteClaimPosition1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* This will get claim position. **Required Permissions** \"claim-management.claims.view\"
|
|
1268
|
+
* @summary Retrieve the claim position
|
|
1269
|
+
* @param {ClaimPositionsApiGetClaimPositionRequest} requestParameters Request parameters.
|
|
1270
|
+
* @param {*} [options] Override http request option.
|
|
1271
|
+
* @throws {RequiredError}
|
|
1272
|
+
* @memberof ClaimPositionsApi
|
|
1273
|
+
*/
|
|
1274
|
+
public getClaimPosition(requestParameters: ClaimPositionsApiGetClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1275
|
+
return ClaimPositionsApiFp(this.configuration).getClaimPosition(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1276
|
+
}
|
|
1277
|
+
|
|
1278
|
+
/**
|
|
1279
|
+
* This will get claim position. **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.
|
|
1280
|
+
* @summary Retrieve the claim position
|
|
1281
|
+
* @param {ClaimPositionsApiGetClaimPosition1Request} requestParameters Request parameters.
|
|
1282
|
+
* @param {*} [options] Override http request option.
|
|
1283
|
+
* @deprecated
|
|
1284
|
+
* @throws {RequiredError}
|
|
1285
|
+
* @memberof ClaimPositionsApi
|
|
1286
|
+
*/
|
|
1287
|
+
public getClaimPosition1(requestParameters: ClaimPositionsApiGetClaimPosition1Request, options?: AxiosRequestConfig) {
|
|
1288
|
+
return ClaimPositionsApiFp(this.configuration).getClaimPosition1(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1289
|
+
}
|
|
1290
|
+
|
|
1291
|
+
/**
|
|
1292
|
+
* Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
|
|
1293
|
+
* @summary List claim positions
|
|
1294
|
+
* @param {ClaimPositionsApiListClaimPositionsRequest} requestParameters Request parameters.
|
|
1295
|
+
* @param {*} [options] Override http request option.
|
|
1296
|
+
* @throws {RequiredError}
|
|
1297
|
+
* @memberof ClaimPositionsApi
|
|
1298
|
+
*/
|
|
1299
|
+
public listClaimPositions(requestParameters: ClaimPositionsApiListClaimPositionsRequest = {}, options?: AxiosRequestConfig) {
|
|
1300
|
+
return ClaimPositionsApiFp(this.configuration).listClaimPositions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1301
|
+
}
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* Retrieves a list of claim positions. **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.
|
|
1305
|
+
* @summary List claim positions
|
|
1306
|
+
* @param {ClaimPositionsApiListClaimPositions1Request} requestParameters Request parameters.
|
|
1307
|
+
* @param {*} [options] Override http request option.
|
|
1308
|
+
* @deprecated
|
|
1309
|
+
* @throws {RequiredError}
|
|
1310
|
+
* @memberof ClaimPositionsApi
|
|
1311
|
+
*/
|
|
1312
|
+
public listClaimPositions1(requestParameters: ClaimPositionsApiListClaimPositions1Request = {}, options?: AxiosRequestConfig) {
|
|
1313
|
+
return ClaimPositionsApiFp(this.configuration).listClaimPositions1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1316
|
+
/**
|
|
1317
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\"
|
|
1318
|
+
* @summary Update the claim position
|
|
1319
|
+
* @param {ClaimPositionsApiUpdateClaimPositionRequest} requestParameters Request parameters.
|
|
1320
|
+
* @param {*} [options] Override http request option.
|
|
1321
|
+
* @throws {RequiredError}
|
|
1322
|
+
* @memberof ClaimPositionsApi
|
|
1323
|
+
*/
|
|
1324
|
+
public updateClaimPosition(requestParameters: ClaimPositionsApiUpdateClaimPositionRequest, options?: AxiosRequestConfig) {
|
|
1325
|
+
return ClaimPositionsApiFp(this.configuration).updateClaimPosition(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1326
|
+
}
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* This will update claim position. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1330
|
+
* @summary Update the claim position
|
|
1331
|
+
* @param {ClaimPositionsApiUpdateClaimPosition1Request} requestParameters Request parameters.
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @deprecated
|
|
1334
|
+
* @throws {RequiredError}
|
|
1335
|
+
* @memberof ClaimPositionsApi
|
|
1336
|
+
*/
|
|
1337
|
+
public updateClaimPosition1(requestParameters: ClaimPositionsApiUpdateClaimPosition1Request, options?: AxiosRequestConfig) {
|
|
1338
|
+
return ClaimPositionsApiFp(this.configuration).updateClaimPosition1(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1339
|
+
}
|
|
1340
|
+
}
|