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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (72) hide show
  1. package/.openapi-generator/FILES +0 -10
  2. package/README.md +2 -2
  3. package/api/claim-partner-roles-api.ts +0 -627
  4. package/api/claim-partners-api.ts +0 -520
  5. package/api/claim-regulations-api.ts +5 -646
  6. package/api/claim-statuses-api.ts +6 -753
  7. package/api/claims-api.ts +6 -858
  8. package/api/health-check-api.ts +0 -66
  9. package/api/settlements-api.ts +0 -627
  10. package/api.ts +0 -2
  11. package/dist/api/claim-partner-roles-api.d.ts +0 -358
  12. package/dist/api/claim-partner-roles-api.js +0 -525
  13. package/dist/api/claim-partners-api.d.ts +0 -299
  14. package/dist/api/claim-partners-api.js +0 -428
  15. package/dist/api/claim-regulations-api.d.ts +0 -367
  16. package/dist/api/claim-regulations-api.js +0 -531
  17. package/dist/api/claim-statuses-api.d.ts +0 -426
  18. package/dist/api/claim-statuses-api.js +14 -642
  19. package/dist/api/claims-api.d.ts +0 -485
  20. package/dist/api/claims-api.js +1 -725
  21. package/dist/api/health-check-api.d.ts +0 -33
  22. package/dist/api/health-check-api.js +0 -73
  23. package/dist/api/settlements-api.d.ts +0 -358
  24. package/dist/api/settlements-api.js +0 -525
  25. package/dist/api.d.ts +0 -1
  26. package/dist/api.js +0 -1
  27. package/dist/models/claim-class.d.ts +0 -6
  28. package/dist/models/index.d.ts +0 -9
  29. package/dist/models/index.js +0 -9
  30. package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
  31. package/dist/models/list-claim-partners-response-class.d.ts +0 -12
  32. package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
  33. package/dist/models/list-claims-response-class.d.ts +0 -12
  34. package/dist/models/list-regulations-response-class.d.ts +0 -12
  35. package/models/claim-class.ts +0 -6
  36. package/models/index.ts +0 -9
  37. package/models/list-claim-partner-roles-response-class.ts +0 -12
  38. package/models/list-claim-partners-response-class.ts +0 -12
  39. package/models/list-claim-statuses-response-class.ts +1 -13
  40. package/models/list-claims-response-class.ts +0 -12
  41. package/models/list-regulations-response-class.ts +0 -12
  42. package/package.json +1 -1
  43. package/api/claim-positions-api.ts +0 -1336
  44. package/dist/api/claim-positions-api.d.ts +0 -760
  45. package/dist/api/claim-positions-api.js +0 -1177
  46. package/dist/models/claim-position-class.d.ts +0 -121
  47. package/dist/models/claim-position-class.js +0 -15
  48. package/dist/models/coverage-class.d.ts +0 -72
  49. package/dist/models/coverage-class.js +0 -21
  50. package/dist/models/coverage-request-dto.d.ts +0 -41
  51. package/dist/models/coverage-request-dto.js +0 -20
  52. package/dist/models/create-claim-position-request-dto.d.ts +0 -73
  53. package/dist/models/create-claim-position-request-dto.js +0 -15
  54. package/dist/models/create-claim-position-response-class.d.ts +0 -25
  55. package/dist/models/create-claim-position-response-class.js +0 -15
  56. package/dist/models/get-claim-position-response-class.d.ts +0 -25
  57. package/dist/models/get-claim-position-response-class.js +0 -15
  58. package/dist/models/list-claim-positions-response-class.d.ts +0 -43
  59. package/dist/models/list-claim-positions-response-class.js +0 -15
  60. package/dist/models/update-claim-position-request-dto.d.ts +0 -73
  61. package/dist/models/update-claim-position-request-dto.js +0 -15
  62. package/dist/models/update-claim-position-response-class.d.ts +0 -25
  63. package/dist/models/update-claim-position-response-class.js +0 -15
  64. package/models/claim-position-class.ts +0 -127
  65. package/models/coverage-class.ts +0 -81
  66. package/models/coverage-request-dto.ts +0 -50
  67. package/models/create-claim-position-request-dto.ts +0 -79
  68. package/models/create-claim-position-response-class.ts +0 -31
  69. package/models/get-claim-position-response-class.ts +0 -31
  70. package/models/list-claim-positions-response-class.ts +0 -49
  71. package/models/update-claim-position-request-dto.ts +0 -79
  72. package/models/update-claim-position-response-class.ts +0 -31
@@ -48,58 +48,6 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
48
48
  assertParamExists('createClaimPartner', 'claimCode', claimCode)
49
49
  // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
50
50
  assertParamExists('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
51
- const localVarPath = `/claimservice/v1/claims/{claimCode}/partner`
52
- .replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
53
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
55
- let baseOptions;
56
- let baseAccessToken;
57
- if (configuration) {
58
- baseOptions = configuration.baseOptions;
59
- baseAccessToken = configuration.accessToken;
60
- }
61
-
62
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
63
- const localVarHeaderParameter = {} as any;
64
- const localVarQueryParameter = {} as any;
65
-
66
- // authentication bearer required
67
- // http bearer authentication required
68
- await setBearerAuthToObject(localVarHeaderParameter, configuration)
69
-
70
- if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
71
- localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
72
- }
73
-
74
-
75
-
76
- localVarHeaderParameter['Content-Type'] = 'application/json';
77
-
78
- setSearchParams(localVarUrlObj, localVarQueryParameter);
79
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
80
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
81
- localVarRequestOptions.data = serializeDataIfNeeded(createClaimPartnerRequestDto, localVarRequestOptions, configuration)
82
-
83
- return {
84
- url: toPathString(localVarUrlObj),
85
- options: localVarRequestOptions,
86
- };
87
- },
88
- /**
89
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
90
- * @summary Create the claim partner
91
- * @param {string} claimCode Unique identifier for the claim object.
92
- * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
93
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
94
- * @param {*} [options] Override http request option.
95
- * @deprecated
96
- * @throws {RequiredError}
97
- */
98
- createClaimPartner1: async (claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
99
- // verify required parameter 'claimCode' is not null or undefined
100
- assertParamExists('createClaimPartner1', 'claimCode', claimCode)
101
- // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
102
- assertParamExists('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
103
51
  const localVarPath = `/v1/claims/{claimCode}/partner`
104
52
  .replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
105
53
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -148,52 +96,6 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
148
96
  deleteClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
149
97
  // verify required parameter 'id' is not null or undefined
150
98
  assertParamExists('deleteClaimPartner', 'id', id)
151
- const localVarPath = `/claimservice/v1/claim-partners/{id}`
152
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
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
- * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.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 claim partner
188
- * @param {number} id
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
- deleteClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
- // verify required parameter 'id' is not null or undefined
196
- assertParamExists('deleteClaimPartner1', 'id', id)
197
99
  const localVarPath = `/v1/claim-partners/{id}`
198
100
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
199
101
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -239,52 +141,6 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
239
141
  getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
240
142
  // verify required parameter 'id' is not null or undefined
241
143
  assertParamExists('getClaimPartner', 'id', id)
242
- const localVarPath = `/claimservice/v1/claim-partners/{id}`
243
- .replace(`{${"id"}}`, encodeURIComponent(String(id)));
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 claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.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 claim partner
279
- * @param {number} id
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
- getClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
286
- // verify required parameter 'id' is not null or undefined
287
- assertParamExists('getClaimPartner1', 'id', id)
288
144
  const localVarPath = `/v1/claim-partners/{id}`
289
145
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
290
146
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -334,83 +190,6 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
334
190
  * @throws {RequiredError}
335
191
  */
336
192
  listClaimPartners: 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/claim-partners`;
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 claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
400
- * @summary List claim partners
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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
405
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
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: id, createdAt, updatedAt&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: role, partner&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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
409
- * @param {*} [options] Override http request option.
410
- * @deprecated
411
- * @throws {RequiredError}
412
- */
413
- listClaimPartners1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
414
193
  const localVarPath = `/v1/claim-partners`;
415
194
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
416
195
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -495,20 +274,6 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
495
274
  const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options);
496
275
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
497
276
  },
498
- /**
499
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
500
- * @summary Create the claim partner
501
- * @param {string} claimCode Unique identifier for the claim object.
502
- * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
503
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
504
- * @param {*} [options] Override http request option.
505
- * @deprecated
506
- * @throws {RequiredError}
507
- */
508
- async createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerResponseClass>> {
509
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options);
510
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
511
- },
512
277
  /**
513
278
  * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
514
279
  * @summary Delete the claim partner
@@ -521,19 +286,6 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
521
286
  const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner(id, authorization, options);
522
287
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
523
288
  },
524
- /**
525
- * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
526
- * @summary Delete the claim partner
527
- * @param {number} id
528
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
529
- * @param {*} [options] Override http request option.
530
- * @deprecated
531
- * @throws {RequiredError}
532
- */
533
- async deleteClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
534
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner1(id, authorization, options);
535
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
536
- },
537
289
  /**
538
290
  * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
539
291
  * @summary Retrieve the claim partner
@@ -546,19 +298,6 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
546
298
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
547
299
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
548
300
  },
549
- /**
550
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
551
- * @summary Retrieve the claim partner
552
- * @param {number} id
553
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
554
- * @param {*} [options] Override http request option.
555
- * @deprecated
556
- * @throws {RequiredError}
557
- */
558
- async getClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
559
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner1(id, authorization, options);
560
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
561
- },
562
301
  /**
563
302
  * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
564
303
  * @summary List claim partners
@@ -577,25 +316,6 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
577
316
  const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
578
317
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
579
318
  },
580
- /**
581
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
582
- * @summary List claim partners
583
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
584
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
585
- * @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.
586
- * @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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
587
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
588
- * @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, createdAt, updatedAt&lt;/i&gt;
589
- * @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: role, partner&lt;i&gt;
590
- * @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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
591
- * @param {*} [options] Override http request option.
592
- * @deprecated
593
- * @throws {RequiredError}
594
- */
595
- async listClaimPartners1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimPartnersResponseClass>> {
596
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
597
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
598
- },
599
319
  }
600
320
  };
601
321
 
@@ -618,19 +338,6 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
618
338
  createClaimPartner(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
619
339
  return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
620
340
  },
621
- /**
622
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
623
- * @summary Create the claim partner
624
- * @param {string} claimCode Unique identifier for the claim object.
625
- * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
626
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
627
- * @param {*} [options] Override http request option.
628
- * @deprecated
629
- * @throws {RequiredError}
630
- */
631
- createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
632
- return localVarFp.createClaimPartner1(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
633
- },
634
341
  /**
635
342
  * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
636
343
  * @summary Delete the claim partner
@@ -642,18 +349,6 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
642
349
  deleteClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<void> {
643
350
  return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
644
351
  },
645
- /**
646
- * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
647
- * @summary Delete the claim partner
648
- * @param {number} id
649
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
650
- * @param {*} [options] Override http request option.
651
- * @deprecated
652
- * @throws {RequiredError}
653
- */
654
- deleteClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
655
- return localVarFp.deleteClaimPartner1(id, authorization, options).then((request) => request(axios, basePath));
656
- },
657
352
  /**
658
353
  * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
659
354
  * @summary Retrieve the claim partner
@@ -665,18 +360,6 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
665
360
  getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
666
361
  return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
667
362
  },
668
- /**
669
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
670
- * @summary Retrieve the claim partner
671
- * @param {number} id
672
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
673
- * @param {*} [options] Override http request option.
674
- * @deprecated
675
- * @throws {RequiredError}
676
- */
677
- getClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
678
- return localVarFp.getClaimPartner1(id, authorization, options).then((request) => request(axios, basePath));
679
- },
680
363
  /**
681
364
  * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
682
365
  * @summary List claim partners
@@ -694,24 +377,6 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
694
377
  listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
695
378
  return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
696
379
  },
697
- /**
698
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
699
- * @summary List claim partners
700
- * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
701
- * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
702
- * @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.
703
- * @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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
704
- * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
705
- * @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, createdAt, updatedAt&lt;/i&gt;
706
- * @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: role, partner&lt;i&gt;
707
- * @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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
708
- * @param {*} [options] Override http request option.
709
- * @deprecated
710
- * @throws {RequiredError}
711
- */
712
- listClaimPartners1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
713
- return localVarFp.listClaimPartners1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
714
- },
715
380
  };
716
381
  };
717
382
 
@@ -743,34 +408,6 @@ export interface ClaimPartnersApiCreateClaimPartnerRequest {
743
408
  readonly authorization?: string
744
409
  }
745
410
 
746
- /**
747
- * Request parameters for createClaimPartner1 operation in ClaimPartnersApi.
748
- * @export
749
- * @interface ClaimPartnersApiCreateClaimPartner1Request
750
- */
751
- export interface ClaimPartnersApiCreateClaimPartner1Request {
752
- /**
753
- * Unique identifier for the claim object.
754
- * @type {string}
755
- * @memberof ClaimPartnersApiCreateClaimPartner1
756
- */
757
- readonly claimCode: string
758
-
759
- /**
760
- *
761
- * @type {CreateClaimPartnerRequestDto}
762
- * @memberof ClaimPartnersApiCreateClaimPartner1
763
- */
764
- readonly createClaimPartnerRequestDto: CreateClaimPartnerRequestDto
765
-
766
- /**
767
- * Bearer Token: provided by the login endpoint under the name accessToken.
768
- * @type {string}
769
- * @memberof ClaimPartnersApiCreateClaimPartner1
770
- */
771
- readonly authorization?: string
772
- }
773
-
774
411
  /**
775
412
  * Request parameters for deleteClaimPartner operation in ClaimPartnersApi.
776
413
  * @export
@@ -792,27 +429,6 @@ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
792
429
  readonly authorization?: string
793
430
  }
794
431
 
795
- /**
796
- * Request parameters for deleteClaimPartner1 operation in ClaimPartnersApi.
797
- * @export
798
- * @interface ClaimPartnersApiDeleteClaimPartner1Request
799
- */
800
- export interface ClaimPartnersApiDeleteClaimPartner1Request {
801
- /**
802
- *
803
- * @type {number}
804
- * @memberof ClaimPartnersApiDeleteClaimPartner1
805
- */
806
- readonly id: number
807
-
808
- /**
809
- * Bearer Token: provided by the login endpoint under the name accessToken.
810
- * @type {string}
811
- * @memberof ClaimPartnersApiDeleteClaimPartner1
812
- */
813
- readonly authorization?: string
814
- }
815
-
816
432
  /**
817
433
  * Request parameters for getClaimPartner operation in ClaimPartnersApi.
818
434
  * @export
@@ -834,27 +450,6 @@ export interface ClaimPartnersApiGetClaimPartnerRequest {
834
450
  readonly authorization?: string
835
451
  }
836
452
 
837
- /**
838
- * Request parameters for getClaimPartner1 operation in ClaimPartnersApi.
839
- * @export
840
- * @interface ClaimPartnersApiGetClaimPartner1Request
841
- */
842
- export interface ClaimPartnersApiGetClaimPartner1Request {
843
- /**
844
- *
845
- * @type {number}
846
- * @memberof ClaimPartnersApiGetClaimPartner1
847
- */
848
- readonly id: number
849
-
850
- /**
851
- * Bearer Token: provided by the login endpoint under the name accessToken.
852
- * @type {string}
853
- * @memberof ClaimPartnersApiGetClaimPartner1
854
- */
855
- readonly authorization?: string
856
- }
857
-
858
453
  /**
859
454
  * Request parameters for listClaimPartners operation in ClaimPartnersApi.
860
455
  * @export
@@ -918,69 +513,6 @@ export interface ClaimPartnersApiListClaimPartnersRequest {
918
513
  readonly filters?: string
919
514
  }
920
515
 
921
- /**
922
- * Request parameters for listClaimPartners1 operation in ClaimPartnersApi.
923
- * @export
924
- * @interface ClaimPartnersApiListClaimPartners1Request
925
- */
926
- export interface ClaimPartnersApiListClaimPartners1Request {
927
- /**
928
- * Bearer Token: provided by the login endpoint under the name accessToken.
929
- * @type {string}
930
- * @memberof ClaimPartnersApiListClaimPartners1
931
- */
932
- readonly authorization?: string
933
-
934
- /**
935
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
936
- * @type {number}
937
- * @memberof ClaimPartnersApiListClaimPartners1
938
- */
939
- readonly pageSize?: number
940
-
941
- /**
942
- * 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.
943
- * @type {string}
944
- * @memberof ClaimPartnersApiListClaimPartners1
945
- */
946
- readonly pageToken?: string
947
-
948
- /**
949
- * 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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
950
- * @type {string}
951
- * @memberof ClaimPartnersApiListClaimPartners1
952
- */
953
- readonly filter?: string
954
-
955
- /**
956
- * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
957
- * @type {string}
958
- * @memberof ClaimPartnersApiListClaimPartners1
959
- */
960
- readonly search?: string
961
-
962
- /**
963
- * 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, createdAt, updatedAt&lt;/i&gt;
964
- * @type {string}
965
- * @memberof ClaimPartnersApiListClaimPartners1
966
- */
967
- readonly order?: string
968
-
969
- /**
970
- * 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: role, partner&lt;i&gt;
971
- * @type {string}
972
- * @memberof ClaimPartnersApiListClaimPartners1
973
- */
974
- readonly expand?: string
975
-
976
- /**
977
- * 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: partnerCode, claimPartnerRoleCode, claimCode&lt;/i&gt;
978
- * @type {string}
979
- * @memberof ClaimPartnersApiListClaimPartners1
980
- */
981
- readonly filters?: string
982
- }
983
-
984
516
  /**
985
517
  * ClaimPartnersApi - object-oriented interface
986
518
  * @export
@@ -1000,19 +532,6 @@ export class ClaimPartnersApi extends BaseAPI {
1000
532
  return ClaimPartnersApiFp(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1001
533
  }
1002
534
 
1003
- /**
1004
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1005
- * @summary Create the claim partner
1006
- * @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
1007
- * @param {*} [options] Override http request option.
1008
- * @deprecated
1009
- * @throws {RequiredError}
1010
- * @memberof ClaimPartnersApi
1011
- */
1012
- public createClaimPartner1(requestParameters: ClaimPartnersApiCreateClaimPartner1Request, options?: AxiosRequestConfig) {
1013
- return ClaimPartnersApiFp(this.configuration).createClaimPartner1(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1014
- }
1015
-
1016
535
  /**
1017
536
  * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\"
1018
537
  * @summary Delete the claim partner
@@ -1025,19 +544,6 @@ export class ClaimPartnersApi extends BaseAPI {
1025
544
  return ClaimPartnersApiFp(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1026
545
  }
1027
546
 
1028
- /**
1029
- * Permanently deletes the claim partner. Supply the unique id that was returned when you created the claim partner and this will delete it. **Required Permissions** \"claim-management.partners.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1030
- * @summary Delete the claim partner
1031
- * @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
1032
- * @param {*} [options] Override http request option.
1033
- * @deprecated
1034
- * @throws {RequiredError}
1035
- * @memberof ClaimPartnersApi
1036
- */
1037
- public deleteClaimPartner1(requestParameters: ClaimPartnersApiDeleteClaimPartner1Request, options?: AxiosRequestConfig) {
1038
- return ClaimPartnersApiFp(this.configuration).deleteClaimPartner1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1039
- }
1040
-
1041
547
  /**
1042
548
  * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\"
1043
549
  * @summary Retrieve the claim partner
@@ -1050,19 +556,6 @@ export class ClaimPartnersApi extends BaseAPI {
1050
556
  return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1051
557
  }
1052
558
 
1053
- /**
1054
- * Retrieves the details of the claim partner that was previously created. Supply the unique claim partner id that was returned when you created it and Emil Api will return the corresponding claim partner information. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1055
- * @summary Retrieve the claim partner
1056
- * @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
1057
- * @param {*} [options] Override http request option.
1058
- * @deprecated
1059
- * @throws {RequiredError}
1060
- * @memberof ClaimPartnersApi
1061
- */
1062
- public getClaimPartner1(requestParameters: ClaimPartnersApiGetClaimPartner1Request, options?: AxiosRequestConfig) {
1063
- return ClaimPartnersApiFp(this.configuration).getClaimPartner1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1064
- }
1065
-
1066
559
  /**
1067
560
  * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\"
1068
561
  * @summary List claim partners
@@ -1074,17 +567,4 @@ export class ClaimPartnersApi extends BaseAPI {
1074
567
  public listClaimPartners(requestParameters: ClaimPartnersApiListClaimPartnersRequest = {}, options?: AxiosRequestConfig) {
1075
568
  return ClaimPartnersApiFp(this.configuration).listClaimPartners(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1076
569
  }
1077
-
1078
- /**
1079
- * Returns a list of claim partners you have previously created. The claim partners are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.partners.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
1080
- * @summary List claim partners
1081
- * @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
1082
- * @param {*} [options] Override http request option.
1083
- * @deprecated
1084
- * @throws {RequiredError}
1085
- * @memberof ClaimPartnersApi
1086
- */
1087
- public listClaimPartners1(requestParameters: ClaimPartnersApiListClaimPartners1Request = {}, options?: AxiosRequestConfig) {
1088
- return ClaimPartnersApiFp(this.configuration).listClaimPartners1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1089
- }
1090
570
  }