@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.1

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