@emilgroup/claim-sdk 1.40.1-beta.7 → 1.41.0

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