@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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 +648 -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 +1340 -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 +585 -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 +1181 -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
@@ -53,6 +53,54 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
53
53
  createSettlement: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
54
  // verify required parameter 'createSettlementRequestDto' is not null or undefined
55
55
  assertParamExists('createSettlement', 'createSettlementRequestDto', createSettlementRequestDto)
56
+ const localVarPath = `/claimservice/v1/settlements`;
57
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
+ let baseOptions;
60
+ let baseAccessToken;
61
+ if (configuration) {
62
+ baseOptions = configuration.baseOptions;
63
+ baseAccessToken = configuration.accessToken;
64
+ }
65
+
66
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
67
+ const localVarHeaderParameter = {} as any;
68
+ const localVarQueryParameter = {} as any;
69
+
70
+ // authentication bearer required
71
+ // http bearer authentication required
72
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
+
74
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
75
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
76
+ }
77
+
78
+
79
+
80
+ localVarHeaderParameter['Content-Type'] = 'application/json';
81
+
82
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
+ localVarRequestOptions.data = serializeDataIfNeeded(createSettlementRequestDto, localVarRequestOptions, configuration)
86
+
87
+ return {
88
+ url: toPathString(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ },
92
+ /**
93
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
94
+ * @summary Create the settlement
95
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @deprecated
99
+ * @throws {RequiredError}
100
+ */
101
+ createSettlement1: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
102
+ // verify required parameter 'createSettlementRequestDto' is not null or undefined
103
+ assertParamExists('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto)
56
104
  const localVarPath = `/v1/settlements`;
57
105
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
106
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -100,6 +148,52 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
100
148
  deleteSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
149
  // verify required parameter 'code' is not null or undefined
102
150
  assertParamExists('deleteSettlement', 'code', code)
151
+ const localVarPath = `/claimservice/v1/settlements/{code}`
152
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
153
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
154
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
155
+ let baseOptions;
156
+ let baseAccessToken;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ baseAccessToken = configuration.accessToken;
160
+ }
161
+
162
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
163
+ const localVarHeaderParameter = {} as any;
164
+ const localVarQueryParameter = {} as any;
165
+
166
+ // authentication bearer required
167
+ // http bearer authentication required
168
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
169
+
170
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
171
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
172
+ }
173
+
174
+
175
+
176
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
177
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
178
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
179
+
180
+ return {
181
+ url: toPathString(localVarUrlObj),
182
+ options: localVarRequestOptions,
183
+ };
184
+ },
185
+ /**
186
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
187
+ * @summary Delete the settlement
188
+ * @param {string} code
189
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
190
+ * @param {*} [options] Override http request option.
191
+ * @deprecated
192
+ * @throws {RequiredError}
193
+ */
194
+ deleteSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ // verify required parameter 'code' is not null or undefined
196
+ assertParamExists('deleteSettlement1', 'code', code)
103
197
  const localVarPath = `/v1/settlements/{code}`
104
198
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
105
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -145,6 +239,52 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
145
239
  getSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
146
240
  // verify required parameter 'code' is not null or undefined
147
241
  assertParamExists('getSettlement', 'code', code)
242
+ const localVarPath = `/claimservice/v1/settlements/{code}`
243
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
244
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
245
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
246
+ let baseOptions;
247
+ let baseAccessToken;
248
+ if (configuration) {
249
+ baseOptions = configuration.baseOptions;
250
+ baseAccessToken = configuration.accessToken;
251
+ }
252
+
253
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
254
+ const localVarHeaderParameter = {} as any;
255
+ const localVarQueryParameter = {} as any;
256
+
257
+ // authentication bearer required
258
+ // http bearer authentication required
259
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
260
+
261
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
262
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
263
+ }
264
+
265
+
266
+
267
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
268
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
269
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
270
+
271
+ return {
272
+ url: toPathString(localVarUrlObj),
273
+ options: localVarRequestOptions,
274
+ };
275
+ },
276
+ /**
277
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **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.
278
+ * @summary Retrieve the settlement
279
+ * @param {string} code
280
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
281
+ * @param {*} [options] Override http request option.
282
+ * @deprecated
283
+ * @throws {RequiredError}
284
+ */
285
+ getSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
286
+ // verify required parameter 'code' is not null or undefined
287
+ assertParamExists('getSettlement1', 'code', code)
148
288
  const localVarPath = `/v1/settlements/{code}`
149
289
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
150
290
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -194,6 +334,83 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
194
334
  * @throws {RequiredError}
195
335
  */
196
336
  listSettlements: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
337
+ const localVarPath = `/claimservice/v1/settlements`;
338
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
339
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
340
+ let baseOptions;
341
+ let baseAccessToken;
342
+ if (configuration) {
343
+ baseOptions = configuration.baseOptions;
344
+ baseAccessToken = configuration.accessToken;
345
+ }
346
+
347
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
348
+ const localVarHeaderParameter = {} as any;
349
+ const localVarQueryParameter = {} as any;
350
+
351
+ // authentication bearer required
352
+ // http bearer authentication required
353
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
354
+
355
+ if (pageSize !== undefined) {
356
+ localVarQueryParameter['pageSize'] = pageSize;
357
+ }
358
+
359
+ if (pageToken !== undefined) {
360
+ localVarQueryParameter['pageToken'] = pageToken;
361
+ }
362
+
363
+ if (filter !== undefined) {
364
+ localVarQueryParameter['filter'] = filter;
365
+ }
366
+
367
+ if (search !== undefined) {
368
+ localVarQueryParameter['search'] = search;
369
+ }
370
+
371
+ if (order !== undefined) {
372
+ localVarQueryParameter['order'] = order;
373
+ }
374
+
375
+ if (expand !== undefined) {
376
+ localVarQueryParameter['expand'] = expand;
377
+ }
378
+
379
+ if (filters !== undefined) {
380
+ localVarQueryParameter['filters'] = filters;
381
+ }
382
+
383
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
384
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
385
+ }
386
+
387
+
388
+
389
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
390
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
391
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
392
+
393
+ return {
394
+ url: toPathString(localVarUrlObj),
395
+ options: localVarRequestOptions,
396
+ };
397
+ },
398
+ /**
399
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
400
+ * @summary List settlements
401
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
402
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
403
+ * @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.
404
+ * @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
405
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
406
+ * @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: insuredObject, reserve, payment, recourse&lt;/i&gt;
407
+ * @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; &lt;i&gt;Allowed values: claims&lt;i&gt;
408
+ * @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
409
+ * @param {*} [options] Override http request option.
410
+ * @deprecated
411
+ * @throws {RequiredError}
412
+ */
413
+ listSettlements1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
414
  const localVarPath = `/v1/settlements`;
198
415
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
416
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -269,6 +486,58 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
269
486
  assertParamExists('updateSettlement', 'code', code)
270
487
  // verify required parameter 'updateSettlementRequestDto' is not null or undefined
271
488
  assertParamExists('updateSettlement', 'updateSettlementRequestDto', updateSettlementRequestDto)
489
+ const localVarPath = `/claimservice/v1/settlements/{code}`
490
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
491
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
492
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
493
+ let baseOptions;
494
+ let baseAccessToken;
495
+ if (configuration) {
496
+ baseOptions = configuration.baseOptions;
497
+ baseAccessToken = configuration.accessToken;
498
+ }
499
+
500
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
501
+ const localVarHeaderParameter = {} as any;
502
+ const localVarQueryParameter = {} as any;
503
+
504
+ // authentication bearer required
505
+ // http bearer authentication required
506
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
507
+
508
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
509
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
510
+ }
511
+
512
+
513
+
514
+ localVarHeaderParameter['Content-Type'] = 'application/json';
515
+
516
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
517
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
518
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
519
+ localVarRequestOptions.data = serializeDataIfNeeded(updateSettlementRequestDto, localVarRequestOptions, configuration)
520
+
521
+ return {
522
+ url: toPathString(localVarUrlObj),
523
+ options: localVarRequestOptions,
524
+ };
525
+ },
526
+ /**
527
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **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.
528
+ * @summary Update the settlement
529
+ * @param {string} code
530
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
531
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
532
+ * @param {*} [options] Override http request option.
533
+ * @deprecated
534
+ * @throws {RequiredError}
535
+ */
536
+ updateSettlement1: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
537
+ // verify required parameter 'code' is not null or undefined
538
+ assertParamExists('updateSettlement1', 'code', code)
539
+ // verify required parameter 'updateSettlementRequestDto' is not null or undefined
540
+ assertParamExists('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto)
272
541
  const localVarPath = `/v1/settlements/{code}`
273
542
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
274
543
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -328,6 +597,19 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
328
597
  const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement(createSettlementRequestDto, authorization, options);
329
598
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
330
599
  },
600
+ /**
601
+ * This will create a settlement against a claim in the database **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.
602
+ * @summary Create the settlement
603
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
604
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
605
+ * @param {*} [options] Override http request option.
606
+ * @deprecated
607
+ * @throws {RequiredError}
608
+ */
609
+ async createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
610
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement1(createSettlementRequestDto, authorization, options);
611
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
612
+ },
331
613
  /**
332
614
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
333
615
  * @summary Delete the settlement
@@ -340,6 +622,19 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
340
622
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement(code, authorization, options);
341
623
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
342
624
  },
625
+ /**
626
+ * This will delete the requested settlement from the database. **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.
627
+ * @summary Delete the settlement
628
+ * @param {string} code
629
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
630
+ * @param {*} [options] Override http request option.
631
+ * @deprecated
632
+ * @throws {RequiredError}
633
+ */
634
+ async deleteSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
635
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement1(code, authorization, options);
636
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
637
+ },
343
638
  /**
344
639
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
345
640
  * @summary Retrieve the settlement
@@ -352,6 +647,19 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
352
647
  const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement(code, authorization, options);
353
648
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
649
  },
650
+ /**
651
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **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.
652
+ * @summary Retrieve the settlement
653
+ * @param {string} code
654
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
655
+ * @param {*} [options] Override http request option.
656
+ * @deprecated
657
+ * @throws {RequiredError}
658
+ */
659
+ async getSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
660
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement1(code, authorization, options);
661
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
662
+ },
355
663
  /**
356
664
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
357
665
  * @summary List settlements
@@ -370,6 +678,25 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
370
678
  const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
371
679
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
372
680
  },
681
+ /**
682
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
683
+ * @summary List settlements
684
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
685
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
686
+ * @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.
687
+ * @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
688
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
689
+ * @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: insuredObject, reserve, payment, recourse&lt;/i&gt;
690
+ * @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; &lt;i&gt;Allowed values: claims&lt;i&gt;
691
+ * @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
692
+ * @param {*} [options] Override http request option.
693
+ * @deprecated
694
+ * @throws {RequiredError}
695
+ */
696
+ async listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
697
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
698
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
699
+ },
373
700
  /**
374
701
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
375
702
  * @summary Update the settlement
@@ -383,6 +710,20 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
383
710
  const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement(code, updateSettlementRequestDto, authorization, options);
384
711
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
385
712
  },
713
+ /**
714
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **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.
715
+ * @summary Update the settlement
716
+ * @param {string} code
717
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
718
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
719
+ * @param {*} [options] Override http request option.
720
+ * @deprecated
721
+ * @throws {RequiredError}
722
+ */
723
+ async updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement1(code, updateSettlementRequestDto, authorization, options);
725
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
726
+ },
386
727
  }
387
728
  };
388
729
 
@@ -404,6 +745,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
404
745
  createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
405
746
  return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
406
747
  },
748
+ /**
749
+ * This will create a settlement against a claim in the database **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.
750
+ * @summary Create the settlement
751
+ * @param {CreateSettlementRequestDto} createSettlementRequestDto
752
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
753
+ * @param {*} [options] Override http request option.
754
+ * @deprecated
755
+ * @throws {RequiredError}
756
+ */
757
+ createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
758
+ return localVarFp.createSettlement1(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
759
+ },
407
760
  /**
408
761
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
409
762
  * @summary Delete the settlement
@@ -415,6 +768,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
415
768
  deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void> {
416
769
  return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
417
770
  },
771
+ /**
772
+ * This will delete the requested settlement from the database. **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.
773
+ * @summary Delete the settlement
774
+ * @param {string} code
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
+ deleteSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
781
+ return localVarFp.deleteSettlement1(code, authorization, options).then((request) => request(axios, basePath));
782
+ },
418
783
  /**
419
784
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
420
785
  * @summary Retrieve the settlement
@@ -426,6 +791,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
426
791
  getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
427
792
  return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
428
793
  },
794
+ /**
795
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **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.
796
+ * @summary Retrieve the settlement
797
+ * @param {string} code
798
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
799
+ * @param {*} [options] Override http request option.
800
+ * @deprecated
801
+ * @throws {RequiredError}
802
+ */
803
+ getSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
804
+ return localVarFp.getSettlement1(code, authorization, options).then((request) => request(axios, basePath));
805
+ },
429
806
  /**
430
807
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
431
808
  * @summary List settlements
@@ -443,6 +820,24 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
443
820
  listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
444
821
  return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
445
822
  },
823
+ /**
824
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
825
+ * @summary List settlements
826
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
827
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
828
+ * @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.
829
+ * @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
830
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
831
+ * @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: insuredObject, reserve, payment, recourse&lt;/i&gt;
832
+ * @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; &lt;i&gt;Allowed values: claims&lt;i&gt;
833
+ * @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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
834
+ * @param {*} [options] Override http request option.
835
+ * @deprecated
836
+ * @throws {RequiredError}
837
+ */
838
+ listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
839
+ return localVarFp.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
840
+ },
446
841
  /**
447
842
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
448
843
  * @summary Update the settlement
@@ -455,6 +850,19 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
455
850
  updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
456
851
  return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
457
852
  },
853
+ /**
854
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **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.
855
+ * @summary Update the settlement
856
+ * @param {string} code
857
+ * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
858
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
859
+ * @param {*} [options] Override http request option.
860
+ * @deprecated
861
+ * @throws {RequiredError}
862
+ */
863
+ updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
864
+ return localVarFp.updateSettlement1(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
865
+ },
458
866
  };
459
867
  };
460
868
 
@@ -479,6 +887,27 @@ export interface SettlementsApiCreateSettlementRequest {
479
887
  readonly authorization?: string
480
888
  }
481
889
 
890
+ /**
891
+ * Request parameters for createSettlement1 operation in SettlementsApi.
892
+ * @export
893
+ * @interface SettlementsApiCreateSettlement1Request
894
+ */
895
+ export interface SettlementsApiCreateSettlement1Request {
896
+ /**
897
+ *
898
+ * @type {CreateSettlementRequestDto}
899
+ * @memberof SettlementsApiCreateSettlement1
900
+ */
901
+ readonly createSettlementRequestDto: CreateSettlementRequestDto
902
+
903
+ /**
904
+ * Bearer Token: provided by the login endpoint under the name accessToken.
905
+ * @type {string}
906
+ * @memberof SettlementsApiCreateSettlement1
907
+ */
908
+ readonly authorization?: string
909
+ }
910
+
482
911
  /**
483
912
  * Request parameters for deleteSettlement operation in SettlementsApi.
484
913
  * @export
@@ -500,6 +929,27 @@ export interface SettlementsApiDeleteSettlementRequest {
500
929
  readonly authorization?: string
501
930
  }
502
931
 
932
+ /**
933
+ * Request parameters for deleteSettlement1 operation in SettlementsApi.
934
+ * @export
935
+ * @interface SettlementsApiDeleteSettlement1Request
936
+ */
937
+ export interface SettlementsApiDeleteSettlement1Request {
938
+ /**
939
+ *
940
+ * @type {string}
941
+ * @memberof SettlementsApiDeleteSettlement1
942
+ */
943
+ readonly code: string
944
+
945
+ /**
946
+ * Bearer Token: provided by the login endpoint under the name accessToken.
947
+ * @type {string}
948
+ * @memberof SettlementsApiDeleteSettlement1
949
+ */
950
+ readonly authorization?: string
951
+ }
952
+
503
953
  /**
504
954
  * Request parameters for getSettlement operation in SettlementsApi.
505
955
  * @export
@@ -521,6 +971,27 @@ export interface SettlementsApiGetSettlementRequest {
521
971
  readonly authorization?: string
522
972
  }
523
973
 
974
+ /**
975
+ * Request parameters for getSettlement1 operation in SettlementsApi.
976
+ * @export
977
+ * @interface SettlementsApiGetSettlement1Request
978
+ */
979
+ export interface SettlementsApiGetSettlement1Request {
980
+ /**
981
+ *
982
+ * @type {string}
983
+ * @memberof SettlementsApiGetSettlement1
984
+ */
985
+ readonly code: string
986
+
987
+ /**
988
+ * Bearer Token: provided by the login endpoint under the name accessToken.
989
+ * @type {string}
990
+ * @memberof SettlementsApiGetSettlement1
991
+ */
992
+ readonly authorization?: string
993
+ }
994
+
524
995
  /**
525
996
  * Request parameters for listSettlements operation in SettlementsApi.
526
997
  * @export
@@ -584,6 +1055,69 @@ export interface SettlementsApiListSettlementsRequest {
584
1055
  readonly filters?: string
585
1056
  }
586
1057
 
1058
+ /**
1059
+ * Request parameters for listSettlements1 operation in SettlementsApi.
1060
+ * @export
1061
+ * @interface SettlementsApiListSettlements1Request
1062
+ */
1063
+ export interface SettlementsApiListSettlements1Request {
1064
+ /**
1065
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1066
+ * @type {string}
1067
+ * @memberof SettlementsApiListSettlements1
1068
+ */
1069
+ readonly authorization?: string
1070
+
1071
+ /**
1072
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
1073
+ * @type {number}
1074
+ * @memberof SettlementsApiListSettlements1
1075
+ */
1076
+ readonly pageSize?: number
1077
+
1078
+ /**
1079
+ * 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.
1080
+ * @type {string}
1081
+ * @memberof SettlementsApiListSettlements1
1082
+ */
1083
+ readonly pageToken?: string
1084
+
1085
+ /**
1086
+ * 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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
1087
+ * @type {string}
1088
+ * @memberof SettlementsApiListSettlements1
1089
+ */
1090
+ readonly filter?: string
1091
+
1092
+ /**
1093
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
1094
+ * @type {string}
1095
+ * @memberof SettlementsApiListSettlements1
1096
+ */
1097
+ readonly search?: string
1098
+
1099
+ /**
1100
+ * 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: insuredObject, reserve, payment, recourse&lt;/i&gt;
1101
+ * @type {string}
1102
+ * @memberof SettlementsApiListSettlements1
1103
+ */
1104
+ readonly order?: string
1105
+
1106
+ /**
1107
+ * 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; &lt;i&gt;Allowed values: claims&lt;i&gt;
1108
+ * @type {string}
1109
+ * @memberof SettlementsApiListSettlements1
1110
+ */
1111
+ readonly expand?: string
1112
+
1113
+ /**
1114
+ * 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: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
1115
+ * @type {string}
1116
+ * @memberof SettlementsApiListSettlements1
1117
+ */
1118
+ readonly filters?: string
1119
+ }
1120
+
587
1121
  /**
588
1122
  * Request parameters for updateSettlement operation in SettlementsApi.
589
1123
  * @export
@@ -612,6 +1146,34 @@ export interface SettlementsApiUpdateSettlementRequest {
612
1146
  readonly authorization?: string
613
1147
  }
614
1148
 
1149
+ /**
1150
+ * Request parameters for updateSettlement1 operation in SettlementsApi.
1151
+ * @export
1152
+ * @interface SettlementsApiUpdateSettlement1Request
1153
+ */
1154
+ export interface SettlementsApiUpdateSettlement1Request {
1155
+ /**
1156
+ *
1157
+ * @type {string}
1158
+ * @memberof SettlementsApiUpdateSettlement1
1159
+ */
1160
+ readonly code: string
1161
+
1162
+ /**
1163
+ *
1164
+ * @type {UpdateSettlementRequestDto}
1165
+ * @memberof SettlementsApiUpdateSettlement1
1166
+ */
1167
+ readonly updateSettlementRequestDto: UpdateSettlementRequestDto
1168
+
1169
+ /**
1170
+ * Bearer Token: provided by the login endpoint under the name accessToken.
1171
+ * @type {string}
1172
+ * @memberof SettlementsApiUpdateSettlement1
1173
+ */
1174
+ readonly authorization?: string
1175
+ }
1176
+
615
1177
  /**
616
1178
  * SettlementsApi - object-oriented interface
617
1179
  * @export
@@ -631,6 +1193,19 @@ export class SettlementsApi extends BaseAPI {
631
1193
  return SettlementsApiFp(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
632
1194
  }
633
1195
 
1196
+ /**
1197
+ * This will create a settlement against a claim in the database **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.
1198
+ * @summary Create the settlement
1199
+ * @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
1200
+ * @param {*} [options] Override http request option.
1201
+ * @deprecated
1202
+ * @throws {RequiredError}
1203
+ * @memberof SettlementsApi
1204
+ */
1205
+ public createSettlement1(requestParameters: SettlementsApiCreateSettlement1Request, options?: AxiosRequestConfig) {
1206
+ return SettlementsApiFp(this.configuration).createSettlement1(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1207
+ }
1208
+
634
1209
  /**
635
1210
  * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
636
1211
  * @summary Delete the settlement
@@ -643,6 +1218,19 @@ export class SettlementsApi extends BaseAPI {
643
1218
  return SettlementsApiFp(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
644
1219
  }
645
1220
 
1221
+ /**
1222
+ * This will delete the requested settlement from the database. **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.
1223
+ * @summary Delete the settlement
1224
+ * @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
1225
+ * @param {*} [options] Override http request option.
1226
+ * @deprecated
1227
+ * @throws {RequiredError}
1228
+ * @memberof SettlementsApi
1229
+ */
1230
+ public deleteSettlement1(requestParameters: SettlementsApiDeleteSettlement1Request, options?: AxiosRequestConfig) {
1231
+ return SettlementsApiFp(this.configuration).deleteSettlement1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1232
+ }
1233
+
646
1234
  /**
647
1235
  * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
648
1236
  * @summary Retrieve the settlement
@@ -655,6 +1243,19 @@ export class SettlementsApi extends BaseAPI {
655
1243
  return SettlementsApiFp(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
656
1244
  }
657
1245
 
1246
+ /**
1247
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **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.
1248
+ * @summary Retrieve the settlement
1249
+ * @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
1250
+ * @param {*} [options] Override http request option.
1251
+ * @deprecated
1252
+ * @throws {RequiredError}
1253
+ * @memberof SettlementsApi
1254
+ */
1255
+ public getSettlement1(requestParameters: SettlementsApiGetSettlement1Request, options?: AxiosRequestConfig) {
1256
+ return SettlementsApiFp(this.configuration).getSettlement1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1257
+ }
1258
+
658
1259
  /**
659
1260
  * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
660
1261
  * @summary List settlements
@@ -667,6 +1268,19 @@ export class SettlementsApi extends BaseAPI {
667
1268
  return SettlementsApiFp(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
668
1269
  }
669
1270
 
1271
+ /**
1272
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **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.
1273
+ * @summary List settlements
1274
+ * @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
1275
+ * @param {*} [options] Override http request option.
1276
+ * @deprecated
1277
+ * @throws {RequiredError}
1278
+ * @memberof SettlementsApi
1279
+ */
1280
+ public listSettlements1(requestParameters: SettlementsApiListSettlements1Request = {}, options?: AxiosRequestConfig) {
1281
+ return SettlementsApiFp(this.configuration).listSettlements1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1282
+ }
1283
+
670
1284
  /**
671
1285
  * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
672
1286
  * @summary Update the settlement
@@ -678,4 +1292,17 @@ export class SettlementsApi extends BaseAPI {
678
1292
  public updateSettlement(requestParameters: SettlementsApiUpdateSettlementRequest, options?: AxiosRequestConfig) {
679
1293
  return SettlementsApiFp(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
680
1294
  }
1295
+
1296
+ /**
1297
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **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.
1298
+ * @summary Update the settlement
1299
+ * @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
1300
+ * @param {*} [options] Override http request option.
1301
+ * @deprecated
1302
+ * @throws {RequiredError}
1303
+ * @memberof SettlementsApi
1304
+ */
1305
+ public updateSettlement1(requestParameters: SettlementsApiUpdateSettlement1Request, options?: AxiosRequestConfig) {
1306
+ return SettlementsApiFp(this.configuration).updateSettlement1(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1307
+ }
681
1308
  }