@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,1157 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * EMIL ClaimService
6
- * The EMIL ClaimService API description
7
- *
8
- * The version of the OpenAPI document: 1.0
9
- * Contact: kontakt@emil.de
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- var __extends = (this && this.__extends) || (function () {
16
- var extendStatics = function (d, b) {
17
- extendStatics = Object.setPrototypeOf ||
18
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
19
- function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
20
- return extendStatics(d, b);
21
- };
22
- return function (d, b) {
23
- if (typeof b !== "function" && b !== null)
24
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
25
- extendStatics(d, b);
26
- function __() { this.constructor = d; }
27
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
28
- };
29
- })();
30
- var __assign = (this && this.__assign) || function () {
31
- __assign = Object.assign || function(t) {
32
- for (var s, i = 1, n = arguments.length; i < n; i++) {
33
- s = arguments[i];
34
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
35
- t[p] = s[p];
36
- }
37
- return t;
38
- };
39
- return __assign.apply(this, arguments);
40
- };
41
- var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
42
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
43
- return new (P || (P = Promise))(function (resolve, reject) {
44
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
45
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
46
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
47
- step((generator = generator.apply(thisArg, _arguments || [])).next());
48
- });
49
- };
50
- var __generator = (this && this.__generator) || function (thisArg, body) {
51
- var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
52
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
53
- function verb(n) { return function (v) { return step([n, v]); }; }
54
- function step(op) {
55
- if (f) throw new TypeError("Generator is already executing.");
56
- while (g && (g = 0, op[0] && (_ = 0)), _) try {
57
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
58
- if (y = 0, t) op = [op[0] & 2, t.value];
59
- switch (op[0]) {
60
- case 0: case 1: t = op; break;
61
- case 4: _.label++; return { value: op[1], done: false };
62
- case 5: _.label++; y = op[1]; op = [0]; continue;
63
- case 7: op = _.ops.pop(); _.trys.pop(); continue;
64
- default:
65
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
66
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
67
- if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
68
- if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
69
- if (t[2]) _.ops.pop();
70
- _.trys.pop(); continue;
71
- }
72
- op = body.call(thisArg, _);
73
- } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
74
- if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
75
- }
76
- };
77
- var __importDefault = (this && this.__importDefault) || function (mod) {
78
- return (mod && mod.__esModule) ? mod : { "default": mod };
79
- };
80
- Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.ClaimPositionsApi = exports.ClaimPositionsApiFactory = exports.ClaimPositionsApiFp = exports.ClaimPositionsApiAxiosParamCreator = void 0;
82
- var axios_1 = __importDefault(require("axios"));
83
- // Some imports not used depending on template conditions
84
- // @ts-ignore
85
- var common_1 = require("../common");
86
- // @ts-ignore
87
- var base_1 = require("../base");
88
- /**
89
- * ClaimPositionsApi - axios parameter creator
90
- * @export
91
- */
92
- var ClaimPositionsApiAxiosParamCreator = function (configuration) {
93
- var _this = this;
94
- return {
95
- /**
96
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
97
- * @summary Create the claim position
98
- * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
99
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
- * @param {*} [options] Override http request option.
101
- * @throws {RequiredError}
102
- */
103
- createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
104
- if (options === void 0) { options = {}; }
105
- return __awaiter(_this, void 0, void 0, function () {
106
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
- return __generator(this, function (_a) {
108
- switch (_a.label) {
109
- case 0:
110
- // verify required parameter 'createClaimPositionRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createClaimPosition', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
112
- localVarPath = "/v1/claim-positions";
113
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
- if (configuration) {
115
- baseOptions = configuration.baseOptions;
116
- baseAccessToken = configuration.accessToken;
117
- }
118
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
119
- localVarHeaderParameter = {};
120
- localVarQueryParameter = {};
121
- // authentication bearer required
122
- // http bearer authentication required
123
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
124
- case 1:
125
- // authentication bearer required
126
- // http bearer authentication required
127
- _a.sent();
128
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
129
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
130
- }
131
- localVarHeaderParameter['Content-Type'] = 'application/json';
132
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPositionRequestDto, localVarRequestOptions, configuration);
136
- return [2 /*return*/, {
137
- url: (0, common_1.toPathString)(localVarUrlObj),
138
- options: localVarRequestOptions,
139
- }];
140
- }
141
- });
142
- });
143
- },
144
- /**
145
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
146
- * @summary Create the claim position
147
- * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
148
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
149
- * @param {*} [options] Override http request option.
150
- * @throws {RequiredError}
151
- */
152
- createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
153
- if (options === void 0) { options = {}; }
154
- return __awaiter(_this, void 0, void 0, function () {
155
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
156
- return __generator(this, function (_a) {
157
- switch (_a.label) {
158
- case 0:
159
- // verify required parameter 'createClaimPositionRequestDto' is not null or undefined
160
- (0, common_1.assertParamExists)('createClaimPosition1', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
161
- localVarPath = "/claimservice/v1/claim-positions";
162
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
163
- if (configuration) {
164
- baseOptions = configuration.baseOptions;
165
- baseAccessToken = configuration.accessToken;
166
- }
167
- localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
168
- localVarHeaderParameter = {};
169
- localVarQueryParameter = {};
170
- // authentication bearer required
171
- // http bearer authentication required
172
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
173
- case 1:
174
- // authentication bearer required
175
- // http bearer authentication required
176
- _a.sent();
177
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
178
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
179
- }
180
- localVarHeaderParameter['Content-Type'] = 'application/json';
181
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
182
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
183
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
184
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPositionRequestDto, localVarRequestOptions, configuration);
185
- return [2 /*return*/, {
186
- url: (0, common_1.toPathString)(localVarUrlObj),
187
- options: localVarRequestOptions,
188
- }];
189
- }
190
- });
191
- });
192
- },
193
- /**
194
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
195
- * @summary Delete the claim position
196
- * @param {string} code Unique identifier for the object.
197
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
198
- * @param {*} [options] Override http request option.
199
- * @throws {RequiredError}
200
- */
201
- deleteClaimPosition: function (code, authorization, options) {
202
- if (options === void 0) { options = {}; }
203
- return __awaiter(_this, void 0, void 0, function () {
204
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
205
- return __generator(this, function (_a) {
206
- switch (_a.label) {
207
- case 0:
208
- // verify required parameter 'code' is not null or undefined
209
- (0, common_1.assertParamExists)('deleteClaimPosition', 'code', code);
210
- localVarPath = "/v1/claim-positions/{code}"
211
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
212
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
213
- if (configuration) {
214
- baseOptions = configuration.baseOptions;
215
- baseAccessToken = configuration.accessToken;
216
- }
217
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
218
- localVarHeaderParameter = {};
219
- localVarQueryParameter = {};
220
- // authentication bearer required
221
- // http bearer authentication required
222
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
223
- case 1:
224
- // authentication bearer required
225
- // http bearer authentication required
226
- _a.sent();
227
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
228
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
229
- }
230
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
231
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
232
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
233
- return [2 /*return*/, {
234
- url: (0, common_1.toPathString)(localVarUrlObj),
235
- options: localVarRequestOptions,
236
- }];
237
- }
238
- });
239
- });
240
- },
241
- /**
242
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
243
- * @summary Delete the claim position
244
- * @param {string} code Unique identifier for the object.
245
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
246
- * @param {*} [options] Override http request option.
247
- * @throws {RequiredError}
248
- */
249
- deleteClaimPosition1: function (code, authorization, options) {
250
- if (options === void 0) { options = {}; }
251
- return __awaiter(_this, void 0, void 0, function () {
252
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
253
- return __generator(this, function (_a) {
254
- switch (_a.label) {
255
- case 0:
256
- // verify required parameter 'code' is not null or undefined
257
- (0, common_1.assertParamExists)('deleteClaimPosition1', 'code', code);
258
- localVarPath = "/claimservice/v1/claim-positions/{code}"
259
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
260
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
261
- if (configuration) {
262
- baseOptions = configuration.baseOptions;
263
- baseAccessToken = configuration.accessToken;
264
- }
265
- localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
266
- localVarHeaderParameter = {};
267
- localVarQueryParameter = {};
268
- // authentication bearer required
269
- // http bearer authentication required
270
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
271
- case 1:
272
- // authentication bearer required
273
- // http bearer authentication required
274
- _a.sent();
275
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
276
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
277
- }
278
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
279
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
280
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
281
- return [2 /*return*/, {
282
- url: (0, common_1.toPathString)(localVarUrlObj),
283
- options: localVarRequestOptions,
284
- }];
285
- }
286
- });
287
- });
288
- },
289
- /**
290
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
291
- * @summary Retrieve the claim position
292
- * @param {string} code
293
- * @param {string} expand
294
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
295
- * @param {*} [options] Override http request option.
296
- * @throws {RequiredError}
297
- */
298
- getClaimPosition: function (code, expand, authorization, options) {
299
- if (options === void 0) { options = {}; }
300
- return __awaiter(_this, void 0, void 0, function () {
301
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
302
- return __generator(this, function (_a) {
303
- switch (_a.label) {
304
- case 0:
305
- // verify required parameter 'code' is not null or undefined
306
- (0, common_1.assertParamExists)('getClaimPosition', 'code', code);
307
- // verify required parameter 'expand' is not null or undefined
308
- (0, common_1.assertParamExists)('getClaimPosition', 'expand', expand);
309
- localVarPath = "/v1/claim-positions/{code}"
310
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
311
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
312
- if (configuration) {
313
- baseOptions = configuration.baseOptions;
314
- baseAccessToken = configuration.accessToken;
315
- }
316
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
317
- localVarHeaderParameter = {};
318
- localVarQueryParameter = {};
319
- // authentication bearer required
320
- // http bearer authentication required
321
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
322
- case 1:
323
- // authentication bearer required
324
- // http bearer authentication required
325
- _a.sent();
326
- if (expand !== undefined) {
327
- localVarQueryParameter['expand'] = expand;
328
- }
329
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
330
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
331
- }
332
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
333
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
334
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
335
- return [2 /*return*/, {
336
- url: (0, common_1.toPathString)(localVarUrlObj),
337
- options: localVarRequestOptions,
338
- }];
339
- }
340
- });
341
- });
342
- },
343
- /**
344
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
345
- * @summary Retrieve the claim position
346
- * @param {string} code
347
- * @param {string} expand
348
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
349
- * @param {*} [options] Override http request option.
350
- * @throws {RequiredError}
351
- */
352
- getClaimPosition1: function (code, expand, authorization, options) {
353
- if (options === void 0) { options = {}; }
354
- return __awaiter(_this, void 0, void 0, function () {
355
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
356
- return __generator(this, function (_a) {
357
- switch (_a.label) {
358
- case 0:
359
- // verify required parameter 'code' is not null or undefined
360
- (0, common_1.assertParamExists)('getClaimPosition1', 'code', code);
361
- // verify required parameter 'expand' is not null or undefined
362
- (0, common_1.assertParamExists)('getClaimPosition1', 'expand', expand);
363
- localVarPath = "/claimservice/v1/claim-positions/{code}"
364
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
365
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
366
- if (configuration) {
367
- baseOptions = configuration.baseOptions;
368
- baseAccessToken = configuration.accessToken;
369
- }
370
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
371
- localVarHeaderParameter = {};
372
- localVarQueryParameter = {};
373
- // authentication bearer required
374
- // http bearer authentication required
375
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
376
- case 1:
377
- // authentication bearer required
378
- // http bearer authentication required
379
- _a.sent();
380
- if (expand !== undefined) {
381
- localVarQueryParameter['expand'] = expand;
382
- }
383
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
384
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
385
- }
386
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
387
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
388
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
389
- return [2 /*return*/, {
390
- url: (0, common_1.toPathString)(localVarUrlObj),
391
- options: localVarRequestOptions,
392
- }];
393
- }
394
- });
395
- });
396
- },
397
- /**
398
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
399
- * @summary List claim positions
400
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
401
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
402
- * @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.
403
- * @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;
404
- * @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;
405
- * @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;
406
- * @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;
407
- * @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;
408
- * @param {*} [options] Override http request option.
409
- * @throws {RequiredError}
410
- */
411
- listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
412
- if (options === void 0) { options = {}; }
413
- return __awaiter(_this, void 0, void 0, function () {
414
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
415
- return __generator(this, function (_a) {
416
- switch (_a.label) {
417
- case 0:
418
- localVarPath = "/v1/claim-positions";
419
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
420
- if (configuration) {
421
- baseOptions = configuration.baseOptions;
422
- baseAccessToken = configuration.accessToken;
423
- }
424
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
425
- localVarHeaderParameter = {};
426
- localVarQueryParameter = {};
427
- // authentication bearer required
428
- // http bearer authentication required
429
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
430
- case 1:
431
- // authentication bearer required
432
- // http bearer authentication required
433
- _a.sent();
434
- if (pageSize !== undefined) {
435
- localVarQueryParameter['pageSize'] = pageSize;
436
- }
437
- if (pageToken !== undefined) {
438
- localVarQueryParameter['pageToken'] = pageToken;
439
- }
440
- if (filter !== undefined) {
441
- localVarQueryParameter['filter'] = filter;
442
- }
443
- if (search !== undefined) {
444
- localVarQueryParameter['search'] = search;
445
- }
446
- if (order !== undefined) {
447
- localVarQueryParameter['order'] = order;
448
- }
449
- if (expand !== undefined) {
450
- localVarQueryParameter['expand'] = expand;
451
- }
452
- if (filters !== undefined) {
453
- localVarQueryParameter['filters'] = filters;
454
- }
455
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
456
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
457
- }
458
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
459
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
460
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
461
- return [2 /*return*/, {
462
- url: (0, common_1.toPathString)(localVarUrlObj),
463
- options: localVarRequestOptions,
464
- }];
465
- }
466
- });
467
- });
468
- },
469
- /**
470
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
471
- * @summary List claim positions
472
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
473
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
474
- * @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.
475
- * @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;
476
- * @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;
477
- * @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;
478
- * @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;
479
- * @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;
480
- * @param {*} [options] Override http request option.
481
- * @throws {RequiredError}
482
- */
483
- listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
484
- if (options === void 0) { options = {}; }
485
- return __awaiter(_this, void 0, void 0, function () {
486
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
487
- return __generator(this, function (_a) {
488
- switch (_a.label) {
489
- case 0:
490
- localVarPath = "/claimservice/v1/claim-positions";
491
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
492
- if (configuration) {
493
- baseOptions = configuration.baseOptions;
494
- baseAccessToken = configuration.accessToken;
495
- }
496
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
497
- localVarHeaderParameter = {};
498
- localVarQueryParameter = {};
499
- // authentication bearer required
500
- // http bearer authentication required
501
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
502
- case 1:
503
- // authentication bearer required
504
- // http bearer authentication required
505
- _a.sent();
506
- if (pageSize !== undefined) {
507
- localVarQueryParameter['pageSize'] = pageSize;
508
- }
509
- if (pageToken !== undefined) {
510
- localVarQueryParameter['pageToken'] = pageToken;
511
- }
512
- if (filter !== undefined) {
513
- localVarQueryParameter['filter'] = filter;
514
- }
515
- if (search !== undefined) {
516
- localVarQueryParameter['search'] = search;
517
- }
518
- if (order !== undefined) {
519
- localVarQueryParameter['order'] = order;
520
- }
521
- if (expand !== undefined) {
522
- localVarQueryParameter['expand'] = expand;
523
- }
524
- if (filters !== undefined) {
525
- localVarQueryParameter['filters'] = filters;
526
- }
527
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
528
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
529
- }
530
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
531
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
532
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
533
- return [2 /*return*/, {
534
- url: (0, common_1.toPathString)(localVarUrlObj),
535
- options: localVarRequestOptions,
536
- }];
537
- }
538
- });
539
- });
540
- },
541
- /**
542
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
543
- * @summary Update the claim position
544
- * @param {string} code
545
- * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
546
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
547
- * @param {*} [options] Override http request option.
548
- * @throws {RequiredError}
549
- */
550
- updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
551
- if (options === void 0) { options = {}; }
552
- return __awaiter(_this, void 0, void 0, function () {
553
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
554
- return __generator(this, function (_a) {
555
- switch (_a.label) {
556
- case 0:
557
- // verify required parameter 'code' is not null or undefined
558
- (0, common_1.assertParamExists)('updateClaimPosition', 'code', code);
559
- // verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
560
- (0, common_1.assertParamExists)('updateClaimPosition', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
561
- localVarPath = "/v1/claim-positions/{code}"
562
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
563
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
564
- if (configuration) {
565
- baseOptions = configuration.baseOptions;
566
- baseAccessToken = configuration.accessToken;
567
- }
568
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
569
- localVarHeaderParameter = {};
570
- localVarQueryParameter = {};
571
- // authentication bearer required
572
- // http bearer authentication required
573
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
574
- case 1:
575
- // authentication bearer required
576
- // http bearer authentication required
577
- _a.sent();
578
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
579
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
580
- }
581
- localVarHeaderParameter['Content-Type'] = 'application/json';
582
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
583
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
584
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
585
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimPositionRequestDto, localVarRequestOptions, configuration);
586
- return [2 /*return*/, {
587
- url: (0, common_1.toPathString)(localVarUrlObj),
588
- options: localVarRequestOptions,
589
- }];
590
- }
591
- });
592
- });
593
- },
594
- /**
595
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
596
- * @summary Update the claim position
597
- * @param {string} code
598
- * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
599
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
600
- * @param {*} [options] Override http request option.
601
- * @throws {RequiredError}
602
- */
603
- updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
604
- if (options === void 0) { options = {}; }
605
- return __awaiter(_this, void 0, void 0, function () {
606
- var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
607
- return __generator(this, function (_a) {
608
- switch (_a.label) {
609
- case 0:
610
- // verify required parameter 'code' is not null or undefined
611
- (0, common_1.assertParamExists)('updateClaimPosition1', 'code', code);
612
- // verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
613
- (0, common_1.assertParamExists)('updateClaimPosition1', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
614
- localVarPath = "/claimservice/v1/claim-positions/{code}"
615
- .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
616
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
617
- if (configuration) {
618
- baseOptions = configuration.baseOptions;
619
- baseAccessToken = configuration.accessToken;
620
- }
621
- localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
622
- localVarHeaderParameter = {};
623
- localVarQueryParameter = {};
624
- // authentication bearer required
625
- // http bearer authentication required
626
- return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
627
- case 1:
628
- // authentication bearer required
629
- // http bearer authentication required
630
- _a.sent();
631
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
632
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
633
- }
634
- localVarHeaderParameter['Content-Type'] = 'application/json';
635
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
636
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
637
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
638
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimPositionRequestDto, localVarRequestOptions, configuration);
639
- return [2 /*return*/, {
640
- url: (0, common_1.toPathString)(localVarUrlObj),
641
- options: localVarRequestOptions,
642
- }];
643
- }
644
- });
645
- });
646
- },
647
- };
648
- };
649
- exports.ClaimPositionsApiAxiosParamCreator = ClaimPositionsApiAxiosParamCreator;
650
- /**
651
- * ClaimPositionsApi - functional programming interface
652
- * @export
653
- */
654
- var ClaimPositionsApiFp = function (configuration) {
655
- var localVarAxiosParamCreator = (0, exports.ClaimPositionsApiAxiosParamCreator)(configuration);
656
- return {
657
- /**
658
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
659
- * @summary Create the claim position
660
- * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
661
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
662
- * @param {*} [options] Override http request option.
663
- * @throws {RequiredError}
664
- */
665
- createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
666
- return __awaiter(this, void 0, void 0, function () {
667
- var localVarAxiosArgs;
668
- return __generator(this, function (_a) {
669
- switch (_a.label) {
670
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPosition(createClaimPositionRequestDto, authorization, options)];
671
- case 1:
672
- localVarAxiosArgs = _a.sent();
673
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
674
- }
675
- });
676
- });
677
- },
678
- /**
679
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
680
- * @summary Create the claim position
681
- * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
682
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
683
- * @param {*} [options] Override http request option.
684
- * @throws {RequiredError}
685
- */
686
- createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
687
- return __awaiter(this, void 0, void 0, function () {
688
- var localVarAxiosArgs;
689
- return __generator(this, function (_a) {
690
- switch (_a.label) {
691
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPosition1(createClaimPositionRequestDto, authorization, options)];
692
- case 1:
693
- localVarAxiosArgs = _a.sent();
694
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
695
- }
696
- });
697
- });
698
- },
699
- /**
700
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
701
- * @summary Delete the claim position
702
- * @param {string} code Unique identifier for the object.
703
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
704
- * @param {*} [options] Override http request option.
705
- * @throws {RequiredError}
706
- */
707
- deleteClaimPosition: function (code, authorization, options) {
708
- return __awaiter(this, void 0, void 0, function () {
709
- var localVarAxiosArgs;
710
- return __generator(this, function (_a) {
711
- switch (_a.label) {
712
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPosition(code, authorization, options)];
713
- case 1:
714
- localVarAxiosArgs = _a.sent();
715
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
716
- }
717
- });
718
- });
719
- },
720
- /**
721
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
722
- * @summary Delete the claim position
723
- * @param {string} code Unique identifier for the object.
724
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
725
- * @param {*} [options] Override http request option.
726
- * @throws {RequiredError}
727
- */
728
- deleteClaimPosition1: function (code, authorization, options) {
729
- return __awaiter(this, void 0, void 0, function () {
730
- var localVarAxiosArgs;
731
- return __generator(this, function (_a) {
732
- switch (_a.label) {
733
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPosition1(code, authorization, options)];
734
- case 1:
735
- localVarAxiosArgs = _a.sent();
736
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
737
- }
738
- });
739
- });
740
- },
741
- /**
742
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
743
- * @summary Retrieve the claim position
744
- * @param {string} code
745
- * @param {string} expand
746
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
747
- * @param {*} [options] Override http request option.
748
- * @throws {RequiredError}
749
- */
750
- getClaimPosition: function (code, expand, authorization, options) {
751
- return __awaiter(this, void 0, void 0, function () {
752
- var localVarAxiosArgs;
753
- return __generator(this, function (_a) {
754
- switch (_a.label) {
755
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPosition(code, expand, authorization, options)];
756
- case 1:
757
- localVarAxiosArgs = _a.sent();
758
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
759
- }
760
- });
761
- });
762
- },
763
- /**
764
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
765
- * @summary Retrieve the claim position
766
- * @param {string} code
767
- * @param {string} expand
768
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
769
- * @param {*} [options] Override http request option.
770
- * @throws {RequiredError}
771
- */
772
- getClaimPosition1: function (code, expand, authorization, options) {
773
- return __awaiter(this, void 0, void 0, function () {
774
- var localVarAxiosArgs;
775
- return __generator(this, function (_a) {
776
- switch (_a.label) {
777
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPosition1(code, expand, authorization, options)];
778
- case 1:
779
- localVarAxiosArgs = _a.sent();
780
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
781
- }
782
- });
783
- });
784
- },
785
- /**
786
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
787
- * @summary List claim positions
788
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
789
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
790
- * @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.
791
- * @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;
792
- * @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;
793
- * @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;
794
- * @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;
795
- * @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;
796
- * @param {*} [options] Override http request option.
797
- * @throws {RequiredError}
798
- */
799
- listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
800
- return __awaiter(this, void 0, void 0, function () {
801
- var localVarAxiosArgs;
802
- return __generator(this, function (_a) {
803
- switch (_a.label) {
804
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
805
- case 1:
806
- localVarAxiosArgs = _a.sent();
807
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
808
- }
809
- });
810
- });
811
- },
812
- /**
813
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
814
- * @summary List claim positions
815
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
816
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
817
- * @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.
818
- * @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;
819
- * @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;
820
- * @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;
821
- * @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;
822
- * @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;
823
- * @param {*} [options] Override http request option.
824
- * @throws {RequiredError}
825
- */
826
- listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
827
- return __awaiter(this, void 0, void 0, function () {
828
- var localVarAxiosArgs;
829
- return __generator(this, function (_a) {
830
- switch (_a.label) {
831
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPositions1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
832
- case 1:
833
- localVarAxiosArgs = _a.sent();
834
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
835
- }
836
- });
837
- });
838
- },
839
- /**
840
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
841
- * @summary Update the claim position
842
- * @param {string} code
843
- * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
844
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
845
- * @param {*} [options] Override http request option.
846
- * @throws {RequiredError}
847
- */
848
- updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
849
- return __awaiter(this, void 0, void 0, function () {
850
- var localVarAxiosArgs;
851
- return __generator(this, function (_a) {
852
- switch (_a.label) {
853
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options)];
854
- case 1:
855
- localVarAxiosArgs = _a.sent();
856
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
857
- }
858
- });
859
- });
860
- },
861
- /**
862
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
863
- * @summary Update the claim position
864
- * @param {string} code
865
- * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
866
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
867
- * @param {*} [options] Override http request option.
868
- * @throws {RequiredError}
869
- */
870
- updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
871
- return __awaiter(this, void 0, void 0, function () {
872
- var localVarAxiosArgs;
873
- return __generator(this, function (_a) {
874
- switch (_a.label) {
875
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPosition1(code, updateClaimPositionRequestDto, authorization, options)];
876
- case 1:
877
- localVarAxiosArgs = _a.sent();
878
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
879
- }
880
- });
881
- });
882
- },
883
- };
884
- };
885
- exports.ClaimPositionsApiFp = ClaimPositionsApiFp;
886
- /**
887
- * ClaimPositionsApi - factory interface
888
- * @export
889
- */
890
- var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
891
- var localVarFp = (0, exports.ClaimPositionsApiFp)(configuration);
892
- return {
893
- /**
894
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
895
- * @summary Create the claim position
896
- * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
897
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
898
- * @param {*} [options] Override http request option.
899
- * @throws {RequiredError}
900
- */
901
- createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
902
- return localVarFp.createClaimPosition(createClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
903
- },
904
- /**
905
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
906
- * @summary Create the claim position
907
- * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
908
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
909
- * @param {*} [options] Override http request option.
910
- * @throws {RequiredError}
911
- */
912
- createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
913
- return localVarFp.createClaimPosition1(createClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
914
- },
915
- /**
916
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
917
- * @summary Delete the claim position
918
- * @param {string} code Unique identifier for the object.
919
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
920
- * @param {*} [options] Override http request option.
921
- * @throws {RequiredError}
922
- */
923
- deleteClaimPosition: function (code, authorization, options) {
924
- return localVarFp.deleteClaimPosition(code, authorization, options).then(function (request) { return request(axios, basePath); });
925
- },
926
- /**
927
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
928
- * @summary Delete the claim position
929
- * @param {string} code Unique identifier for the object.
930
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
931
- * @param {*} [options] Override http request option.
932
- * @throws {RequiredError}
933
- */
934
- deleteClaimPosition1: function (code, authorization, options) {
935
- return localVarFp.deleteClaimPosition1(code, authorization, options).then(function (request) { return request(axios, basePath); });
936
- },
937
- /**
938
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
939
- * @summary Retrieve the claim position
940
- * @param {string} code
941
- * @param {string} expand
942
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
943
- * @param {*} [options] Override http request option.
944
- * @throws {RequiredError}
945
- */
946
- getClaimPosition: function (code, expand, authorization, options) {
947
- return localVarFp.getClaimPosition(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
948
- },
949
- /**
950
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
951
- * @summary Retrieve the claim position
952
- * @param {string} code
953
- * @param {string} expand
954
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
955
- * @param {*} [options] Override http request option.
956
- * @throws {RequiredError}
957
- */
958
- getClaimPosition1: function (code, expand, authorization, options) {
959
- return localVarFp.getClaimPosition1(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
960
- },
961
- /**
962
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
963
- * @summary List claim positions
964
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
965
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
966
- * @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.
967
- * @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;
968
- * @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;
969
- * @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;
970
- * @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;
971
- * @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;
972
- * @param {*} [options] Override http request option.
973
- * @throws {RequiredError}
974
- */
975
- listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
976
- return localVarFp.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
977
- },
978
- /**
979
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
980
- * @summary List claim positions
981
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
982
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
983
- * @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.
984
- * @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;
985
- * @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;
986
- * @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;
987
- * @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;
988
- * @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;
989
- * @param {*} [options] Override http request option.
990
- * @throws {RequiredError}
991
- */
992
- listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
993
- return localVarFp.listClaimPositions1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
994
- },
995
- /**
996
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
997
- * @summary Update the claim position
998
- * @param {string} code
999
- * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
1000
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1001
- * @param {*} [options] Override http request option.
1002
- * @throws {RequiredError}
1003
- */
1004
- updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
1005
- return localVarFp.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1006
- },
1007
- /**
1008
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
1009
- * @summary Update the claim position
1010
- * @param {string} code
1011
- * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
1012
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1013
- * @param {*} [options] Override http request option.
1014
- * @throws {RequiredError}
1015
- */
1016
- updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
1017
- return localVarFp.updateClaimPosition1(code, updateClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1018
- },
1019
- };
1020
- };
1021
- exports.ClaimPositionsApiFactory = ClaimPositionsApiFactory;
1022
- /**
1023
- * ClaimPositionsApi - object-oriented interface
1024
- * @export
1025
- * @class ClaimPositionsApi
1026
- * @extends {BaseAPI}
1027
- */
1028
- var ClaimPositionsApi = /** @class */ (function (_super) {
1029
- __extends(ClaimPositionsApi, _super);
1030
- function ClaimPositionsApi() {
1031
- return _super !== null && _super.apply(this, arguments) || this;
1032
- }
1033
- /**
1034
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
1035
- * @summary Create the claim position
1036
- * @param {ClaimPositionsApiCreateClaimPositionRequest} requestParameters Request parameters.
1037
- * @param {*} [options] Override http request option.
1038
- * @throws {RequiredError}
1039
- * @memberof ClaimPositionsApi
1040
- */
1041
- ClaimPositionsApi.prototype.createClaimPosition = function (requestParameters, options) {
1042
- var _this = this;
1043
- return (0, exports.ClaimPositionsApiFp)(this.configuration).createClaimPosition(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1044
- };
1045
- /**
1046
- * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
1047
- * @summary Create the claim position
1048
- * @param {ClaimPositionsApiCreateClaimPosition1Request} requestParameters Request parameters.
1049
- * @param {*} [options] Override http request option.
1050
- * @throws {RequiredError}
1051
- * @memberof ClaimPositionsApi
1052
- */
1053
- ClaimPositionsApi.prototype.createClaimPosition1 = function (requestParameters, options) {
1054
- var _this = this;
1055
- return (0, exports.ClaimPositionsApiFp)(this.configuration).createClaimPosition1(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1056
- };
1057
- /**
1058
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
1059
- * @summary Delete the claim position
1060
- * @param {ClaimPositionsApiDeleteClaimPositionRequest} requestParameters Request parameters.
1061
- * @param {*} [options] Override http request option.
1062
- * @throws {RequiredError}
1063
- * @memberof ClaimPositionsApi
1064
- */
1065
- ClaimPositionsApi.prototype.deleteClaimPosition = function (requestParameters, options) {
1066
- var _this = this;
1067
- return (0, exports.ClaimPositionsApiFp)(this.configuration).deleteClaimPosition(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1068
- };
1069
- /**
1070
- * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
1071
- * @summary Delete the claim position
1072
- * @param {ClaimPositionsApiDeleteClaimPosition1Request} requestParameters Request parameters.
1073
- * @param {*} [options] Override http request option.
1074
- * @throws {RequiredError}
1075
- * @memberof ClaimPositionsApi
1076
- */
1077
- ClaimPositionsApi.prototype.deleteClaimPosition1 = function (requestParameters, options) {
1078
- var _this = this;
1079
- return (0, exports.ClaimPositionsApiFp)(this.configuration).deleteClaimPosition1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1080
- };
1081
- /**
1082
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
1083
- * @summary Retrieve the claim position
1084
- * @param {ClaimPositionsApiGetClaimPositionRequest} requestParameters Request parameters.
1085
- * @param {*} [options] Override http request option.
1086
- * @throws {RequiredError}
1087
- * @memberof ClaimPositionsApi
1088
- */
1089
- ClaimPositionsApi.prototype.getClaimPosition = function (requestParameters, options) {
1090
- var _this = this;
1091
- return (0, exports.ClaimPositionsApiFp)(this.configuration).getClaimPosition(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1092
- };
1093
- /**
1094
- * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
1095
- * @summary Retrieve the claim position
1096
- * @param {ClaimPositionsApiGetClaimPosition1Request} requestParameters Request parameters.
1097
- * @param {*} [options] Override http request option.
1098
- * @throws {RequiredError}
1099
- * @memberof ClaimPositionsApi
1100
- */
1101
- ClaimPositionsApi.prototype.getClaimPosition1 = function (requestParameters, options) {
1102
- var _this = this;
1103
- return (0, exports.ClaimPositionsApiFp)(this.configuration).getClaimPosition1(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1104
- };
1105
- /**
1106
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
1107
- * @summary List claim positions
1108
- * @param {ClaimPositionsApiListClaimPositionsRequest} requestParameters Request parameters.
1109
- * @param {*} [options] Override http request option.
1110
- * @throws {RequiredError}
1111
- * @memberof ClaimPositionsApi
1112
- */
1113
- ClaimPositionsApi.prototype.listClaimPositions = function (requestParameters, options) {
1114
- var _this = this;
1115
- if (requestParameters === void 0) { requestParameters = {}; }
1116
- return (0, exports.ClaimPositionsApiFp)(this.configuration).listClaimPositions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1117
- };
1118
- /**
1119
- * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
1120
- * @summary List claim positions
1121
- * @param {ClaimPositionsApiListClaimPositions1Request} requestParameters Request parameters.
1122
- * @param {*} [options] Override http request option.
1123
- * @throws {RequiredError}
1124
- * @memberof ClaimPositionsApi
1125
- */
1126
- ClaimPositionsApi.prototype.listClaimPositions1 = function (requestParameters, options) {
1127
- var _this = this;
1128
- if (requestParameters === void 0) { requestParameters = {}; }
1129
- return (0, exports.ClaimPositionsApiFp)(this.configuration).listClaimPositions1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
1130
- };
1131
- /**
1132
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
1133
- * @summary Update the claim position
1134
- * @param {ClaimPositionsApiUpdateClaimPositionRequest} requestParameters Request parameters.
1135
- * @param {*} [options] Override http request option.
1136
- * @throws {RequiredError}
1137
- * @memberof ClaimPositionsApi
1138
- */
1139
- ClaimPositionsApi.prototype.updateClaimPosition = function (requestParameters, options) {
1140
- var _this = this;
1141
- return (0, exports.ClaimPositionsApiFp)(this.configuration).updateClaimPosition(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1142
- };
1143
- /**
1144
- * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
1145
- * @summary Update the claim position
1146
- * @param {ClaimPositionsApiUpdateClaimPosition1Request} requestParameters Request parameters.
1147
- * @param {*} [options] Override http request option.
1148
- * @throws {RequiredError}
1149
- * @memberof ClaimPositionsApi
1150
- */
1151
- ClaimPositionsApi.prototype.updateClaimPosition1 = function (requestParameters, options) {
1152
- var _this = this;
1153
- return (0, exports.ClaimPositionsApiFp)(this.configuration).updateClaimPosition1(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1154
- };
1155
- return ClaimPositionsApi;
1156
- }(base_1.BaseAPI));
1157
- exports.ClaimPositionsApi = ClaimPositionsApi;