@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 (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,1177 @@
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 = "/claimservice/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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
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
+ * @deprecated
151
+ * @throws {RequiredError}
152
+ */
153
+ createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
154
+ if (options === void 0) { options = {}; }
155
+ return __awaiter(_this, void 0, void 0, function () {
156
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
157
+ return __generator(this, function (_a) {
158
+ switch (_a.label) {
159
+ case 0:
160
+ // verify required parameter 'createClaimPositionRequestDto' is not null or undefined
161
+ (0, common_1.assertParamExists)('createClaimPosition1', 'createClaimPositionRequestDto', createClaimPositionRequestDto);
162
+ localVarPath = "/v1/claim-positions";
163
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
164
+ if (configuration) {
165
+ baseOptions = configuration.baseOptions;
166
+ baseAccessToken = configuration.accessToken;
167
+ }
168
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
169
+ localVarHeaderParameter = {};
170
+ localVarQueryParameter = {};
171
+ // authentication bearer required
172
+ // http bearer authentication required
173
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
174
+ case 1:
175
+ // authentication bearer required
176
+ // http bearer authentication required
177
+ _a.sent();
178
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
179
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
180
+ }
181
+ localVarHeaderParameter['Content-Type'] = 'application/json';
182
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
183
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
184
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
185
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createClaimPositionRequestDto, localVarRequestOptions, configuration);
186
+ return [2 /*return*/, {
187
+ url: (0, common_1.toPathString)(localVarUrlObj),
188
+ options: localVarRequestOptions,
189
+ }];
190
+ }
191
+ });
192
+ });
193
+ },
194
+ /**
195
+ * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
196
+ * @summary Delete the claim position
197
+ * @param {string} code Unique identifier for the object.
198
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
199
+ * @param {*} [options] Override http request option.
200
+ * @throws {RequiredError}
201
+ */
202
+ deleteClaimPosition: function (code, authorization, options) {
203
+ if (options === void 0) { options = {}; }
204
+ return __awaiter(_this, void 0, void 0, function () {
205
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
206
+ return __generator(this, function (_a) {
207
+ switch (_a.label) {
208
+ case 0:
209
+ // verify required parameter 'code' is not null or undefined
210
+ (0, common_1.assertParamExists)('deleteClaimPosition', 'code', code);
211
+ localVarPath = "/claimservice/v1/claim-positions/{code}"
212
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
213
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
214
+ if (configuration) {
215
+ baseOptions = configuration.baseOptions;
216
+ baseAccessToken = configuration.accessToken;
217
+ }
218
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
219
+ localVarHeaderParameter = {};
220
+ localVarQueryParameter = {};
221
+ // authentication bearer required
222
+ // http bearer authentication required
223
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
224
+ case 1:
225
+ // authentication bearer required
226
+ // http bearer authentication required
227
+ _a.sent();
228
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
229
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
230
+ }
231
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
232
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
234
+ return [2 /*return*/, {
235
+ url: (0, common_1.toPathString)(localVarUrlObj),
236
+ options: localVarRequestOptions,
237
+ }];
238
+ }
239
+ });
240
+ });
241
+ },
242
+ /**
243
+ * 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.
244
+ * @summary Delete the claim position
245
+ * @param {string} code Unique identifier for the object.
246
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
247
+ * @param {*} [options] Override http request option.
248
+ * @deprecated
249
+ * @throws {RequiredError}
250
+ */
251
+ deleteClaimPosition1: function (code, authorization, options) {
252
+ if (options === void 0) { options = {}; }
253
+ return __awaiter(_this, void 0, void 0, function () {
254
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
255
+ return __generator(this, function (_a) {
256
+ switch (_a.label) {
257
+ case 0:
258
+ // verify required parameter 'code' is not null or undefined
259
+ (0, common_1.assertParamExists)('deleteClaimPosition1', 'code', code);
260
+ localVarPath = "/v1/claim-positions/{code}"
261
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
262
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
263
+ if (configuration) {
264
+ baseOptions = configuration.baseOptions;
265
+ baseAccessToken = configuration.accessToken;
266
+ }
267
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
268
+ localVarHeaderParameter = {};
269
+ localVarQueryParameter = {};
270
+ // authentication bearer required
271
+ // http bearer authentication required
272
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
273
+ case 1:
274
+ // authentication bearer required
275
+ // http bearer authentication required
276
+ _a.sent();
277
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
278
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
279
+ }
280
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
281
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
282
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
283
+ return [2 /*return*/, {
284
+ url: (0, common_1.toPathString)(localVarUrlObj),
285
+ options: localVarRequestOptions,
286
+ }];
287
+ }
288
+ });
289
+ });
290
+ },
291
+ /**
292
+ * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
293
+ * @summary Retrieve the claim position
294
+ * @param {string} code
295
+ * @param {string} expand
296
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
297
+ * @param {*} [options] Override http request option.
298
+ * @throws {RequiredError}
299
+ */
300
+ getClaimPosition: function (code, expand, authorization, options) {
301
+ if (options === void 0) { options = {}; }
302
+ return __awaiter(_this, void 0, void 0, function () {
303
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
304
+ return __generator(this, function (_a) {
305
+ switch (_a.label) {
306
+ case 0:
307
+ // verify required parameter 'code' is not null or undefined
308
+ (0, common_1.assertParamExists)('getClaimPosition', 'code', code);
309
+ // verify required parameter 'expand' is not null or undefined
310
+ (0, common_1.assertParamExists)('getClaimPosition', 'expand', expand);
311
+ localVarPath = "/claimservice/v1/claim-positions/{code}"
312
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
313
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
314
+ if (configuration) {
315
+ baseOptions = configuration.baseOptions;
316
+ baseAccessToken = configuration.accessToken;
317
+ }
318
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
319
+ localVarHeaderParameter = {};
320
+ localVarQueryParameter = {};
321
+ // authentication bearer required
322
+ // http bearer authentication required
323
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
324
+ case 1:
325
+ // authentication bearer required
326
+ // http bearer authentication required
327
+ _a.sent();
328
+ if (expand !== undefined) {
329
+ localVarQueryParameter['expand'] = expand;
330
+ }
331
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
332
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
333
+ }
334
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
335
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
336
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
337
+ return [2 /*return*/, {
338
+ url: (0, common_1.toPathString)(localVarUrlObj),
339
+ options: localVarRequestOptions,
340
+ }];
341
+ }
342
+ });
343
+ });
344
+ },
345
+ /**
346
+ * 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.
347
+ * @summary Retrieve the claim position
348
+ * @param {string} code
349
+ * @param {string} expand
350
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
351
+ * @param {*} [options] Override http request option.
352
+ * @deprecated
353
+ * @throws {RequiredError}
354
+ */
355
+ getClaimPosition1: function (code, expand, authorization, options) {
356
+ if (options === void 0) { options = {}; }
357
+ return __awaiter(_this, void 0, void 0, function () {
358
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
359
+ return __generator(this, function (_a) {
360
+ switch (_a.label) {
361
+ case 0:
362
+ // verify required parameter 'code' is not null or undefined
363
+ (0, common_1.assertParamExists)('getClaimPosition1', 'code', code);
364
+ // verify required parameter 'expand' is not null or undefined
365
+ (0, common_1.assertParamExists)('getClaimPosition1', 'expand', expand);
366
+ localVarPath = "/v1/claim-positions/{code}"
367
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
368
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
369
+ if (configuration) {
370
+ baseOptions = configuration.baseOptions;
371
+ baseAccessToken = configuration.accessToken;
372
+ }
373
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
374
+ localVarHeaderParameter = {};
375
+ localVarQueryParameter = {};
376
+ // authentication bearer required
377
+ // http bearer authentication required
378
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
379
+ case 1:
380
+ // authentication bearer required
381
+ // http bearer authentication required
382
+ _a.sent();
383
+ if (expand !== undefined) {
384
+ localVarQueryParameter['expand'] = expand;
385
+ }
386
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
387
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
388
+ }
389
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
390
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
391
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
392
+ return [2 /*return*/, {
393
+ url: (0, common_1.toPathString)(localVarUrlObj),
394
+ options: localVarRequestOptions,
395
+ }];
396
+ }
397
+ });
398
+ });
399
+ },
400
+ /**
401
+ * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
402
+ * @summary List claim positions
403
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
404
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
405
+ * @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.
406
+ * @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;
407
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
408
+ * @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;
409
+ * @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;
410
+ * @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;
411
+ * @param {*} [options] Override http request option.
412
+ * @throws {RequiredError}
413
+ */
414
+ listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
415
+ if (options === void 0) { options = {}; }
416
+ return __awaiter(_this, void 0, void 0, function () {
417
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
418
+ return __generator(this, function (_a) {
419
+ switch (_a.label) {
420
+ case 0:
421
+ localVarPath = "/claimservice/v1/claim-positions";
422
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
423
+ if (configuration) {
424
+ baseOptions = configuration.baseOptions;
425
+ baseAccessToken = configuration.accessToken;
426
+ }
427
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
428
+ localVarHeaderParameter = {};
429
+ localVarQueryParameter = {};
430
+ // authentication bearer required
431
+ // http bearer authentication required
432
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
433
+ case 1:
434
+ // authentication bearer required
435
+ // http bearer authentication required
436
+ _a.sent();
437
+ if (pageSize !== undefined) {
438
+ localVarQueryParameter['pageSize'] = pageSize;
439
+ }
440
+ if (pageToken !== undefined) {
441
+ localVarQueryParameter['pageToken'] = pageToken;
442
+ }
443
+ if (filter !== undefined) {
444
+ localVarQueryParameter['filter'] = filter;
445
+ }
446
+ if (search !== undefined) {
447
+ localVarQueryParameter['search'] = search;
448
+ }
449
+ if (order !== undefined) {
450
+ localVarQueryParameter['order'] = order;
451
+ }
452
+ if (expand !== undefined) {
453
+ localVarQueryParameter['expand'] = expand;
454
+ }
455
+ if (filters !== undefined) {
456
+ localVarQueryParameter['filters'] = filters;
457
+ }
458
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
459
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
460
+ }
461
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
462
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
463
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
464
+ return [2 /*return*/, {
465
+ url: (0, common_1.toPathString)(localVarUrlObj),
466
+ options: localVarRequestOptions,
467
+ }];
468
+ }
469
+ });
470
+ });
471
+ },
472
+ /**
473
+ * 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.
474
+ * @summary List claim positions
475
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
476
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
477
+ * @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.
478
+ * @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;
479
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
480
+ * @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;
481
+ * @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;
482
+ * @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;
483
+ * @param {*} [options] Override http request option.
484
+ * @deprecated
485
+ * @throws {RequiredError}
486
+ */
487
+ listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
488
+ if (options === void 0) { options = {}; }
489
+ return __awaiter(_this, void 0, void 0, function () {
490
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
491
+ return __generator(this, function (_a) {
492
+ switch (_a.label) {
493
+ case 0:
494
+ localVarPath = "/v1/claim-positions";
495
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
496
+ if (configuration) {
497
+ baseOptions = configuration.baseOptions;
498
+ baseAccessToken = configuration.accessToken;
499
+ }
500
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
501
+ localVarHeaderParameter = {};
502
+ localVarQueryParameter = {};
503
+ // authentication bearer required
504
+ // http bearer authentication required
505
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
506
+ case 1:
507
+ // authentication bearer required
508
+ // http bearer authentication required
509
+ _a.sent();
510
+ if (pageSize !== undefined) {
511
+ localVarQueryParameter['pageSize'] = pageSize;
512
+ }
513
+ if (pageToken !== undefined) {
514
+ localVarQueryParameter['pageToken'] = pageToken;
515
+ }
516
+ if (filter !== undefined) {
517
+ localVarQueryParameter['filter'] = filter;
518
+ }
519
+ if (search !== undefined) {
520
+ localVarQueryParameter['search'] = search;
521
+ }
522
+ if (order !== undefined) {
523
+ localVarQueryParameter['order'] = order;
524
+ }
525
+ if (expand !== undefined) {
526
+ localVarQueryParameter['expand'] = expand;
527
+ }
528
+ if (filters !== undefined) {
529
+ localVarQueryParameter['filters'] = filters;
530
+ }
531
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
532
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
533
+ }
534
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
535
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
536
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
537
+ return [2 /*return*/, {
538
+ url: (0, common_1.toPathString)(localVarUrlObj),
539
+ options: localVarRequestOptions,
540
+ }];
541
+ }
542
+ });
543
+ });
544
+ },
545
+ /**
546
+ * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
547
+ * @summary Update the claim position
548
+ * @param {string} code
549
+ * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
550
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
551
+ * @param {*} [options] Override http request option.
552
+ * @throws {RequiredError}
553
+ */
554
+ updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
555
+ if (options === void 0) { options = {}; }
556
+ return __awaiter(_this, void 0, void 0, function () {
557
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
558
+ return __generator(this, function (_a) {
559
+ switch (_a.label) {
560
+ case 0:
561
+ // verify required parameter 'code' is not null or undefined
562
+ (0, common_1.assertParamExists)('updateClaimPosition', 'code', code);
563
+ // verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
564
+ (0, common_1.assertParamExists)('updateClaimPosition', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
565
+ localVarPath = "/claimservice/v1/claim-positions/{code}"
566
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
567
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
568
+ if (configuration) {
569
+ baseOptions = configuration.baseOptions;
570
+ baseAccessToken = configuration.accessToken;
571
+ }
572
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
573
+ localVarHeaderParameter = {};
574
+ localVarQueryParameter = {};
575
+ // authentication bearer required
576
+ // http bearer authentication required
577
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
578
+ case 1:
579
+ // authentication bearer required
580
+ // http bearer authentication required
581
+ _a.sent();
582
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
583
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
584
+ }
585
+ localVarHeaderParameter['Content-Type'] = 'application/json';
586
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
587
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
588
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
589
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimPositionRequestDto, localVarRequestOptions, configuration);
590
+ return [2 /*return*/, {
591
+ url: (0, common_1.toPathString)(localVarUrlObj),
592
+ options: localVarRequestOptions,
593
+ }];
594
+ }
595
+ });
596
+ });
597
+ },
598
+ /**
599
+ * 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.
600
+ * @summary Update the claim position
601
+ * @param {string} code
602
+ * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
603
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
604
+ * @param {*} [options] Override http request option.
605
+ * @deprecated
606
+ * @throws {RequiredError}
607
+ */
608
+ updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
609
+ if (options === void 0) { options = {}; }
610
+ return __awaiter(_this, void 0, void 0, function () {
611
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
612
+ return __generator(this, function (_a) {
613
+ switch (_a.label) {
614
+ case 0:
615
+ // verify required parameter 'code' is not null or undefined
616
+ (0, common_1.assertParamExists)('updateClaimPosition1', 'code', code);
617
+ // verify required parameter 'updateClaimPositionRequestDto' is not null or undefined
618
+ (0, common_1.assertParamExists)('updateClaimPosition1', 'updateClaimPositionRequestDto', updateClaimPositionRequestDto);
619
+ localVarPath = "/v1/claim-positions/{code}"
620
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
621
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
622
+ if (configuration) {
623
+ baseOptions = configuration.baseOptions;
624
+ baseAccessToken = configuration.accessToken;
625
+ }
626
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
627
+ localVarHeaderParameter = {};
628
+ localVarQueryParameter = {};
629
+ // authentication bearer required
630
+ // http bearer authentication required
631
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
632
+ case 1:
633
+ // authentication bearer required
634
+ // http bearer authentication required
635
+ _a.sent();
636
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
637
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
638
+ }
639
+ localVarHeaderParameter['Content-Type'] = 'application/json';
640
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
641
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
642
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
643
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimPositionRequestDto, localVarRequestOptions, configuration);
644
+ return [2 /*return*/, {
645
+ url: (0, common_1.toPathString)(localVarUrlObj),
646
+ options: localVarRequestOptions,
647
+ }];
648
+ }
649
+ });
650
+ });
651
+ },
652
+ };
653
+ };
654
+ exports.ClaimPositionsApiAxiosParamCreator = ClaimPositionsApiAxiosParamCreator;
655
+ /**
656
+ * ClaimPositionsApi - functional programming interface
657
+ * @export
658
+ */
659
+ var ClaimPositionsApiFp = function (configuration) {
660
+ var localVarAxiosParamCreator = (0, exports.ClaimPositionsApiAxiosParamCreator)(configuration);
661
+ return {
662
+ /**
663
+ * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
664
+ * @summary Create the claim position
665
+ * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
666
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
667
+ * @param {*} [options] Override http request option.
668
+ * @throws {RequiredError}
669
+ */
670
+ createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
671
+ return __awaiter(this, void 0, void 0, function () {
672
+ var localVarAxiosArgs;
673
+ return __generator(this, function (_a) {
674
+ switch (_a.label) {
675
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPosition(createClaimPositionRequestDto, authorization, options)];
676
+ case 1:
677
+ localVarAxiosArgs = _a.sent();
678
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
679
+ }
680
+ });
681
+ });
682
+ },
683
+ /**
684
+ * 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.
685
+ * @summary Create the claim position
686
+ * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
687
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
688
+ * @param {*} [options] Override http request option.
689
+ * @deprecated
690
+ * @throws {RequiredError}
691
+ */
692
+ createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
693
+ return __awaiter(this, void 0, void 0, function () {
694
+ var localVarAxiosArgs;
695
+ return __generator(this, function (_a) {
696
+ switch (_a.label) {
697
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createClaimPosition1(createClaimPositionRequestDto, authorization, options)];
698
+ case 1:
699
+ localVarAxiosArgs = _a.sent();
700
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
701
+ }
702
+ });
703
+ });
704
+ },
705
+ /**
706
+ * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
707
+ * @summary Delete the claim position
708
+ * @param {string} code Unique identifier for the object.
709
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
710
+ * @param {*} [options] Override http request option.
711
+ * @throws {RequiredError}
712
+ */
713
+ deleteClaimPosition: function (code, authorization, options) {
714
+ return __awaiter(this, void 0, void 0, function () {
715
+ var localVarAxiosArgs;
716
+ return __generator(this, function (_a) {
717
+ switch (_a.label) {
718
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPosition(code, authorization, options)];
719
+ case 1:
720
+ localVarAxiosArgs = _a.sent();
721
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
722
+ }
723
+ });
724
+ });
725
+ },
726
+ /**
727
+ * 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.
728
+ * @summary Delete the claim position
729
+ * @param {string} code Unique identifier for the object.
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
+ deleteClaimPosition1: function (code, authorization, options) {
736
+ return __awaiter(this, void 0, void 0, function () {
737
+ var localVarAxiosArgs;
738
+ return __generator(this, function (_a) {
739
+ switch (_a.label) {
740
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteClaimPosition1(code, authorization, options)];
741
+ case 1:
742
+ localVarAxiosArgs = _a.sent();
743
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
744
+ }
745
+ });
746
+ });
747
+ },
748
+ /**
749
+ * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
750
+ * @summary Retrieve the claim position
751
+ * @param {string} code
752
+ * @param {string} expand
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
+ getClaimPosition: function (code, expand, authorization, options) {
758
+ return __awaiter(this, void 0, void 0, function () {
759
+ var localVarAxiosArgs;
760
+ return __generator(this, function (_a) {
761
+ switch (_a.label) {
762
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPosition(code, expand, authorization, options)];
763
+ case 1:
764
+ localVarAxiosArgs = _a.sent();
765
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
766
+ }
767
+ });
768
+ });
769
+ },
770
+ /**
771
+ * 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.
772
+ * @summary Retrieve the claim position
773
+ * @param {string} code
774
+ * @param {string} expand
775
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
776
+ * @param {*} [options] Override http request option.
777
+ * @deprecated
778
+ * @throws {RequiredError}
779
+ */
780
+ getClaimPosition1: function (code, expand, authorization, options) {
781
+ return __awaiter(this, void 0, void 0, function () {
782
+ var localVarAxiosArgs;
783
+ return __generator(this, function (_a) {
784
+ switch (_a.label) {
785
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getClaimPosition1(code, expand, authorization, options)];
786
+ case 1:
787
+ localVarAxiosArgs = _a.sent();
788
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
789
+ }
790
+ });
791
+ });
792
+ },
793
+ /**
794
+ * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
795
+ * @summary List claim positions
796
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
797
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
798
+ * @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.
799
+ * @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;
800
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
801
+ * @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;
802
+ * @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;
803
+ * @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;
804
+ * @param {*} [options] Override http request option.
805
+ * @throws {RequiredError}
806
+ */
807
+ listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
808
+ return __awaiter(this, void 0, void 0, function () {
809
+ var localVarAxiosArgs;
810
+ return __generator(this, function (_a) {
811
+ switch (_a.label) {
812
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
813
+ case 1:
814
+ localVarAxiosArgs = _a.sent();
815
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
816
+ }
817
+ });
818
+ });
819
+ },
820
+ /**
821
+ * 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.
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
+ * @deprecated
833
+ * @throws {RequiredError}
834
+ */
835
+ listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
836
+ return __awaiter(this, void 0, void 0, function () {
837
+ var localVarAxiosArgs;
838
+ return __generator(this, function (_a) {
839
+ switch (_a.label) {
840
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listClaimPositions1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
841
+ case 1:
842
+ localVarAxiosArgs = _a.sent();
843
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
844
+ }
845
+ });
846
+ });
847
+ },
848
+ /**
849
+ * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
850
+ * @summary Update the claim position
851
+ * @param {string} code
852
+ * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
853
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
854
+ * @param {*} [options] Override http request option.
855
+ * @throws {RequiredError}
856
+ */
857
+ updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
858
+ return __awaiter(this, void 0, void 0, function () {
859
+ var localVarAxiosArgs;
860
+ return __generator(this, function (_a) {
861
+ switch (_a.label) {
862
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options)];
863
+ case 1:
864
+ localVarAxiosArgs = _a.sent();
865
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
866
+ }
867
+ });
868
+ });
869
+ },
870
+ /**
871
+ * 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.
872
+ * @summary Update the claim position
873
+ * @param {string} code
874
+ * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
875
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
876
+ * @param {*} [options] Override http request option.
877
+ * @deprecated
878
+ * @throws {RequiredError}
879
+ */
880
+ updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
881
+ return __awaiter(this, void 0, void 0, function () {
882
+ var localVarAxiosArgs;
883
+ return __generator(this, function (_a) {
884
+ switch (_a.label) {
885
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimPosition1(code, updateClaimPositionRequestDto, authorization, options)];
886
+ case 1:
887
+ localVarAxiosArgs = _a.sent();
888
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
889
+ }
890
+ });
891
+ });
892
+ },
893
+ };
894
+ };
895
+ exports.ClaimPositionsApiFp = ClaimPositionsApiFp;
896
+ /**
897
+ * ClaimPositionsApi - factory interface
898
+ * @export
899
+ */
900
+ var ClaimPositionsApiFactory = function (configuration, basePath, axios) {
901
+ var localVarFp = (0, exports.ClaimPositionsApiFp)(configuration);
902
+ return {
903
+ /**
904
+ * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
905
+ * @summary Create the claim position
906
+ * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
907
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ createClaimPosition: function (createClaimPositionRequestDto, authorization, options) {
912
+ return localVarFp.createClaimPosition(createClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
913
+ },
914
+ /**
915
+ * 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.
916
+ * @summary Create the claim position
917
+ * @param {CreateClaimPositionRequestDto} createClaimPositionRequestDto
918
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
919
+ * @param {*} [options] Override http request option.
920
+ * @deprecated
921
+ * @throws {RequiredError}
922
+ */
923
+ createClaimPosition1: function (createClaimPositionRequestDto, authorization, options) {
924
+ return localVarFp.createClaimPosition1(createClaimPositionRequestDto, 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
+ deleteClaimPosition: function (code, authorization, options) {
935
+ return localVarFp.deleteClaimPosition(code, authorization, options).then(function (request) { return request(axios, basePath); });
936
+ },
937
+ /**
938
+ * 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.
939
+ * @summary Delete the claim position
940
+ * @param {string} code Unique identifier for the object.
941
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
942
+ * @param {*} [options] Override http request option.
943
+ * @deprecated
944
+ * @throws {RequiredError}
945
+ */
946
+ deleteClaimPosition1: function (code, authorization, options) {
947
+ return localVarFp.deleteClaimPosition1(code, 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
+ getClaimPosition: function (code, expand, authorization, options) {
959
+ return localVarFp.getClaimPosition(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
960
+ },
961
+ /**
962
+ * 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.
963
+ * @summary Retrieve the claim position
964
+ * @param {string} code
965
+ * @param {string} expand
966
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
967
+ * @param {*} [options] Override http request option.
968
+ * @deprecated
969
+ * @throws {RequiredError}
970
+ */
971
+ getClaimPosition1: function (code, expand, authorization, options) {
972
+ return localVarFp.getClaimPosition1(code, expand, authorization, options).then(function (request) { return request(axios, basePath); });
973
+ },
974
+ /**
975
+ * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
976
+ * @summary List claim positions
977
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
978
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
979
+ * @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.
980
+ * @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;
981
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
982
+ * @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;
983
+ * @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;
984
+ * @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;
985
+ * @param {*} [options] Override http request option.
986
+ * @throws {RequiredError}
987
+ */
988
+ listClaimPositions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
989
+ return localVarFp.listClaimPositions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
990
+ },
991
+ /**
992
+ * 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.
993
+ * @summary List claim positions
994
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
995
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
996
+ * @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.
997
+ * @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;
998
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
999
+ * @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;
1000
+ * @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;
1001
+ * @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;
1002
+ * @param {*} [options] Override http request option.
1003
+ * @deprecated
1004
+ * @throws {RequiredError}
1005
+ */
1006
+ listClaimPositions1: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
1007
+ return localVarFp.listClaimPositions1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
1008
+ },
1009
+ /**
1010
+ * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
1011
+ * @summary Update the claim position
1012
+ * @param {string} code
1013
+ * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
1014
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1015
+ * @param {*} [options] Override http request option.
1016
+ * @throws {RequiredError}
1017
+ */
1018
+ updateClaimPosition: function (code, updateClaimPositionRequestDto, authorization, options) {
1019
+ return localVarFp.updateClaimPosition(code, updateClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1020
+ },
1021
+ /**
1022
+ * 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.
1023
+ * @summary Update the claim position
1024
+ * @param {string} code
1025
+ * @param {UpdateClaimPositionRequestDto} updateClaimPositionRequestDto
1026
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
1027
+ * @param {*} [options] Override http request option.
1028
+ * @deprecated
1029
+ * @throws {RequiredError}
1030
+ */
1031
+ updateClaimPosition1: function (code, updateClaimPositionRequestDto, authorization, options) {
1032
+ return localVarFp.updateClaimPosition1(code, updateClaimPositionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
1033
+ },
1034
+ };
1035
+ };
1036
+ exports.ClaimPositionsApiFactory = ClaimPositionsApiFactory;
1037
+ /**
1038
+ * ClaimPositionsApi - object-oriented interface
1039
+ * @export
1040
+ * @class ClaimPositionsApi
1041
+ * @extends {BaseAPI}
1042
+ */
1043
+ var ClaimPositionsApi = /** @class */ (function (_super) {
1044
+ __extends(ClaimPositionsApi, _super);
1045
+ function ClaimPositionsApi() {
1046
+ return _super !== null && _super.apply(this, arguments) || this;
1047
+ }
1048
+ /**
1049
+ * This will create claim position. **Required Permissions** \"claim-management.claims.create\"
1050
+ * @summary Create the claim position
1051
+ * @param {ClaimPositionsApiCreateClaimPositionRequest} requestParameters Request parameters.
1052
+ * @param {*} [options] Override http request option.
1053
+ * @throws {RequiredError}
1054
+ * @memberof ClaimPositionsApi
1055
+ */
1056
+ ClaimPositionsApi.prototype.createClaimPosition = function (requestParameters, options) {
1057
+ var _this = this;
1058
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).createClaimPosition(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1059
+ };
1060
+ /**
1061
+ * 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.
1062
+ * @summary Create the claim position
1063
+ * @param {ClaimPositionsApiCreateClaimPosition1Request} requestParameters Request parameters.
1064
+ * @param {*} [options] Override http request option.
1065
+ * @deprecated
1066
+ * @throws {RequiredError}
1067
+ * @memberof ClaimPositionsApi
1068
+ */
1069
+ ClaimPositionsApi.prototype.createClaimPosition1 = function (requestParameters, options) {
1070
+ var _this = this;
1071
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).createClaimPosition1(requestParameters.createClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1072
+ };
1073
+ /**
1074
+ * This will delete claim position. **Required Permissions** \"claim-management.claims.delete\"
1075
+ * @summary Delete the claim position
1076
+ * @param {ClaimPositionsApiDeleteClaimPositionRequest} requestParameters Request parameters.
1077
+ * @param {*} [options] Override http request option.
1078
+ * @throws {RequiredError}
1079
+ * @memberof ClaimPositionsApi
1080
+ */
1081
+ ClaimPositionsApi.prototype.deleteClaimPosition = function (requestParameters, options) {
1082
+ var _this = this;
1083
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).deleteClaimPosition(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1084
+ };
1085
+ /**
1086
+ * 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.
1087
+ * @summary Delete the claim position
1088
+ * @param {ClaimPositionsApiDeleteClaimPosition1Request} requestParameters Request parameters.
1089
+ * @param {*} [options] Override http request option.
1090
+ * @deprecated
1091
+ * @throws {RequiredError}
1092
+ * @memberof ClaimPositionsApi
1093
+ */
1094
+ ClaimPositionsApi.prototype.deleteClaimPosition1 = function (requestParameters, options) {
1095
+ var _this = this;
1096
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).deleteClaimPosition1(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1097
+ };
1098
+ /**
1099
+ * This will get claim position. **Required Permissions** \"claim-management.claims.view\"
1100
+ * @summary Retrieve the claim position
1101
+ * @param {ClaimPositionsApiGetClaimPositionRequest} requestParameters Request parameters.
1102
+ * @param {*} [options] Override http request option.
1103
+ * @throws {RequiredError}
1104
+ * @memberof ClaimPositionsApi
1105
+ */
1106
+ ClaimPositionsApi.prototype.getClaimPosition = function (requestParameters, options) {
1107
+ var _this = this;
1108
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).getClaimPosition(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1109
+ };
1110
+ /**
1111
+ * 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.
1112
+ * @summary Retrieve the claim position
1113
+ * @param {ClaimPositionsApiGetClaimPosition1Request} requestParameters Request parameters.
1114
+ * @param {*} [options] Override http request option.
1115
+ * @deprecated
1116
+ * @throws {RequiredError}
1117
+ * @memberof ClaimPositionsApi
1118
+ */
1119
+ ClaimPositionsApi.prototype.getClaimPosition1 = function (requestParameters, options) {
1120
+ var _this = this;
1121
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).getClaimPosition1(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1122
+ };
1123
+ /**
1124
+ * Retrieves a list of claim positions. **Required Permissions** \"claim-management.claims.view\"
1125
+ * @summary List claim positions
1126
+ * @param {ClaimPositionsApiListClaimPositionsRequest} requestParameters Request parameters.
1127
+ * @param {*} [options] Override http request option.
1128
+ * @throws {RequiredError}
1129
+ * @memberof ClaimPositionsApi
1130
+ */
1131
+ ClaimPositionsApi.prototype.listClaimPositions = function (requestParameters, options) {
1132
+ var _this = this;
1133
+ if (requestParameters === void 0) { requestParameters = {}; }
1134
+ 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); });
1135
+ };
1136
+ /**
1137
+ * 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.
1138
+ * @summary List claim positions
1139
+ * @param {ClaimPositionsApiListClaimPositions1Request} requestParameters Request parameters.
1140
+ * @param {*} [options] Override http request option.
1141
+ * @deprecated
1142
+ * @throws {RequiredError}
1143
+ * @memberof ClaimPositionsApi
1144
+ */
1145
+ ClaimPositionsApi.prototype.listClaimPositions1 = function (requestParameters, options) {
1146
+ var _this = this;
1147
+ if (requestParameters === void 0) { requestParameters = {}; }
1148
+ 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); });
1149
+ };
1150
+ /**
1151
+ * This will update claim position. **Required Permissions** \"claim-management.claims.update\"
1152
+ * @summary Update the claim position
1153
+ * @param {ClaimPositionsApiUpdateClaimPositionRequest} requestParameters Request parameters.
1154
+ * @param {*} [options] Override http request option.
1155
+ * @throws {RequiredError}
1156
+ * @memberof ClaimPositionsApi
1157
+ */
1158
+ ClaimPositionsApi.prototype.updateClaimPosition = function (requestParameters, options) {
1159
+ var _this = this;
1160
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).updateClaimPosition(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1161
+ };
1162
+ /**
1163
+ * 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.
1164
+ * @summary Update the claim position
1165
+ * @param {ClaimPositionsApiUpdateClaimPosition1Request} requestParameters Request parameters.
1166
+ * @param {*} [options] Override http request option.
1167
+ * @deprecated
1168
+ * @throws {RequiredError}
1169
+ * @memberof ClaimPositionsApi
1170
+ */
1171
+ ClaimPositionsApi.prototype.updateClaimPosition1 = function (requestParameters, options) {
1172
+ var _this = this;
1173
+ return (0, exports.ClaimPositionsApiFp)(this.configuration).updateClaimPosition1(requestParameters.code, requestParameters.updateClaimPositionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1174
+ };
1175
+ return ClaimPositionsApi;
1176
+ }(base_1.BaseAPI));
1177
+ exports.ClaimPositionsApi = ClaimPositionsApi;