@emilgroup/claim-sdk 1.43.1-beta.0 → 1.43.1-beta.2

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.
@@ -43,12 +43,12 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
43
43
  * @param {*} [options] Override http request option.
44
44
  * @throws {RequiredError}
45
45
  */
46
- createClaimPartner0: async (claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
+ createClaimPartner: async (claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
47
47
  // verify required parameter 'claimCode' is not null or undefined
48
- assertParamExists('createClaimPartner0', 'claimCode', claimCode)
48
+ assertParamExists('createClaimPartner', 'claimCode', claimCode)
49
49
  // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
50
- assertParamExists('createClaimPartner0', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
51
- const localVarPath = `/v1/claims/{claimCode}/partner`
50
+ assertParamExists('createClaimPartner', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
51
+ const localVarPath = `/claimservice/v1/claims/{claimCode}/partner`
52
52
  .replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
53
53
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
54
54
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -86,12 +86,13 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
86
86
  };
87
87
  },
88
88
  /**
89
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
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
90
  * @summary Create the claim partner
91
91
  * @param {string} claimCode Unique identifier for the claim object.
92
92
  * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
93
93
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
94
94
  * @param {*} [options] Override http request option.
95
+ * @deprecated
95
96
  * @throws {RequiredError}
96
97
  */
97
98
  createClaimPartner1: async (claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -99,7 +100,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
99
100
  assertParamExists('createClaimPartner1', 'claimCode', claimCode)
100
101
  // verify required parameter 'createClaimPartnerRequestDto' is not null or undefined
101
102
  assertParamExists('createClaimPartner1', 'createClaimPartnerRequestDto', createClaimPartnerRequestDto)
102
- const localVarPath = `/claimservice/v1/claims/{claimCode}/partner`
103
+ const localVarPath = `/v1/claims/{claimCode}/partner`
103
104
  .replace(`{${"claimCode"}}`, encodeURIComponent(String(claimCode)));
104
105
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
105
106
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -144,10 +145,10 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
144
145
  * @param {*} [options] Override http request option.
145
146
  * @throws {RequiredError}
146
147
  */
147
- deleteClaimPartner0: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
148
+ deleteClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
148
149
  // verify required parameter 'id' is not null or undefined
149
- assertParamExists('deleteClaimPartner0', 'id', id)
150
- const localVarPath = `/v1/claim-partners/{id}`
150
+ assertParamExists('deleteClaimPartner', 'id', id)
151
+ const localVarPath = `/claimservice/v1/claim-partners/{id}`
151
152
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
152
153
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
153
154
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -182,17 +183,18 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
182
183
  };
183
184
  },
184
185
  /**
185
- * 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\"
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.
186
187
  * @summary Delete the claim partner
187
188
  * @param {number} id
188
189
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
190
  * @param {*} [options] Override http request option.
191
+ * @deprecated
190
192
  * @throws {RequiredError}
191
193
  */
192
194
  deleteClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
195
  // verify required parameter 'id' is not null or undefined
194
196
  assertParamExists('deleteClaimPartner1', 'id', id)
195
- const localVarPath = `/claimservice/v1/claim-partners/{id}`
197
+ const localVarPath = `/v1/claim-partners/{id}`
196
198
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
197
199
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
200
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -234,10 +236,10 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
234
236
  * @param {*} [options] Override http request option.
235
237
  * @throws {RequiredError}
236
238
  */
237
- getClaimPartner0: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
239
+ getClaimPartner: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
238
240
  // verify required parameter 'id' is not null or undefined
239
- assertParamExists('getClaimPartner0', 'id', id)
240
- const localVarPath = `/v1/claim-partners/{id}`
241
+ assertParamExists('getClaimPartner', 'id', id)
242
+ const localVarPath = `/claimservice/v1/claim-partners/{id}`
241
243
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
242
244
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
243
245
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -272,17 +274,18 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
272
274
  };
273
275
  },
274
276
  /**
275
- * 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\"
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.
276
278
  * @summary Retrieve the claim partner
277
279
  * @param {number} id
278
280
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
279
281
  * @param {*} [options] Override http request option.
282
+ * @deprecated
280
283
  * @throws {RequiredError}
281
284
  */
282
285
  getClaimPartner1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
283
286
  // verify required parameter 'id' is not null or undefined
284
287
  assertParamExists('getClaimPartner1', 'id', id)
285
- const localVarPath = `/claimservice/v1/claim-partners/{id}`
288
+ const localVarPath = `/v1/claim-partners/{id}`
286
289
  .replace(`{${"id"}}`, encodeURIComponent(String(id)));
287
290
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
288
291
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -330,8 +333,8 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
330
333
  * @param {*} [options] Override http request option.
331
334
  * @throws {RequiredError}
332
335
  */
333
- listClaimPartners0: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
334
- const localVarPath = `/v1/claim-partners`;
336
+ 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`;
335
338
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
336
339
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
337
340
  let baseOptions;
@@ -393,7 +396,7 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
393
396
  };
394
397
  },
395
398
  /**
396
- * 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\"
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.
397
400
  * @summary List claim partners
398
401
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
399
402
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -404,10 +407,11 @@ export const ClaimPartnersApiAxiosParamCreator = function (configuration?: Confi
404
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;
405
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;
406
409
  * @param {*} [options] Override http request option.
410
+ * @deprecated
407
411
  * @throws {RequiredError}
408
412
  */
409
413
  listClaimPartners1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
410
- const localVarPath = `/claimservice/v1/claim-partners`;
414
+ const localVarPath = `/v1/claim-partners`;
411
415
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
412
416
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
413
417
  let baseOptions;
@@ -487,17 +491,18 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
487
491
  * @param {*} [options] Override http request option.
488
492
  * @throws {RequiredError}
489
493
  */
490
- async createClaimPartner0(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerResponseClass>> {
491
- const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner0(claimCode, createClaimPartnerRequestDto, authorization, options);
494
+ async createClaimPartner(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerResponseClass>> {
495
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options);
492
496
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
493
497
  },
494
498
  /**
495
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
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.
496
500
  * @summary Create the claim partner
497
501
  * @param {string} claimCode Unique identifier for the claim object.
498
502
  * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
499
503
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
500
504
  * @param {*} [options] Override http request option.
505
+ * @deprecated
501
506
  * @throws {RequiredError}
502
507
  */
503
508
  async createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimPartnerResponseClass>> {
@@ -512,16 +517,17 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
512
517
  * @param {*} [options] Override http request option.
513
518
  * @throws {RequiredError}
514
519
  */
515
- async deleteClaimPartner0(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
516
- const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner0(id, authorization, options);
520
+ async deleteClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
521
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimPartner(id, authorization, options);
517
522
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
518
523
  },
519
524
  /**
520
- * 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\"
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.
521
526
  * @summary Delete the claim partner
522
527
  * @param {number} id
523
528
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
524
529
  * @param {*} [options] Override http request option.
530
+ * @deprecated
525
531
  * @throws {RequiredError}
526
532
  */
527
533
  async deleteClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -536,16 +542,17 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
536
542
  * @param {*} [options] Override http request option.
537
543
  * @throws {RequiredError}
538
544
  */
539
- async getClaimPartner0(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
540
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner0(id, authorization, options);
545
+ async getClaimPartner(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
546
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimPartner(id, authorization, options);
541
547
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
542
548
  },
543
549
  /**
544
- * 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\"
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.
545
551
  * @summary Retrieve the claim partner
546
552
  * @param {number} id
547
553
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
548
554
  * @param {*} [options] Override http request option.
555
+ * @deprecated
549
556
  * @throws {RequiredError}
550
557
  */
551
558
  async getClaimPartner1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimPartnerResponseClass>> {
@@ -566,12 +573,12 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
566
573
  * @param {*} [options] Override http request option.
567
574
  * @throws {RequiredError}
568
575
  */
569
- async listClaimPartners0(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>> {
570
- const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners0(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
576
+ async listClaimPartners(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>> {
577
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
571
578
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
572
579
  },
573
580
  /**
574
- * 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\"
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.
575
582
  * @summary List claim partners
576
583
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
577
584
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -582,6 +589,7 @@ export const ClaimPartnersApiFp = function(configuration?: Configuration) {
582
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;
583
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;
584
591
  * @param {*} [options] Override http request option.
592
+ * @deprecated
585
593
  * @throws {RequiredError}
586
594
  */
587
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>> {
@@ -607,16 +615,17 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
607
615
  * @param {*} [options] Override http request option.
608
616
  * @throws {RequiredError}
609
617
  */
610
- createClaimPartner0(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
611
- return localVarFp.createClaimPartner0(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
618
+ createClaimPartner(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
619
+ return localVarFp.createClaimPartner(claimCode, createClaimPartnerRequestDto, authorization, options).then((request) => request(axios, basePath));
612
620
  },
613
621
  /**
614
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
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.
615
623
  * @summary Create the claim partner
616
624
  * @param {string} claimCode Unique identifier for the claim object.
617
625
  * @param {CreateClaimPartnerRequestDto} createClaimPartnerRequestDto
618
626
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
619
627
  * @param {*} [options] Override http request option.
628
+ * @deprecated
620
629
  * @throws {RequiredError}
621
630
  */
622
631
  createClaimPartner1(claimCode: string, createClaimPartnerRequestDto: CreateClaimPartnerRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimPartnerResponseClass> {
@@ -630,15 +639,16 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
630
639
  * @param {*} [options] Override http request option.
631
640
  * @throws {RequiredError}
632
641
  */
633
- deleteClaimPartner0(id: number, authorization?: string, options?: any): AxiosPromise<void> {
634
- return localVarFp.deleteClaimPartner0(id, authorization, options).then((request) => request(axios, basePath));
642
+ deleteClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<void> {
643
+ return localVarFp.deleteClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
635
644
  },
636
645
  /**
637
- * 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\"
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.
638
647
  * @summary Delete the claim partner
639
648
  * @param {number} id
640
649
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
641
650
  * @param {*} [options] Override http request option.
651
+ * @deprecated
642
652
  * @throws {RequiredError}
643
653
  */
644
654
  deleteClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
@@ -652,15 +662,16 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
652
662
  * @param {*} [options] Override http request option.
653
663
  * @throws {RequiredError}
654
664
  */
655
- getClaimPartner0(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
656
- return localVarFp.getClaimPartner0(id, authorization, options).then((request) => request(axios, basePath));
665
+ getClaimPartner(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
666
+ return localVarFp.getClaimPartner(id, authorization, options).then((request) => request(axios, basePath));
657
667
  },
658
668
  /**
659
- * 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\"
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.
660
670
  * @summary Retrieve the claim partner
661
671
  * @param {number} id
662
672
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
663
673
  * @param {*} [options] Override http request option.
674
+ * @deprecated
664
675
  * @throws {RequiredError}
665
676
  */
666
677
  getClaimPartner1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimPartnerResponseClass> {
@@ -680,11 +691,11 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
680
691
  * @param {*} [options] Override http request option.
681
692
  * @throws {RequiredError}
682
693
  */
683
- listClaimPartners0(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
684
- return localVarFp.listClaimPartners0(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
694
+ listClaimPartners(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
695
+ return localVarFp.listClaimPartners(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
685
696
  },
686
697
  /**
687
- * 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\"
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.
688
699
  * @summary List claim partners
689
700
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
690
701
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -695,6 +706,7 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
695
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;
696
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;
697
708
  * @param {*} [options] Override http request option.
709
+ * @deprecated
698
710
  * @throws {RequiredError}
699
711
  */
700
712
  listClaimPartners1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimPartnersResponseClass> {
@@ -704,29 +716,29 @@ export const ClaimPartnersApiFactory = function (configuration?: Configuration,
704
716
  };
705
717
 
706
718
  /**
707
- * Request parameters for createClaimPartner0 operation in ClaimPartnersApi.
719
+ * Request parameters for createClaimPartner operation in ClaimPartnersApi.
708
720
  * @export
709
- * @interface ClaimPartnersApiCreateClaimPartner0Request
721
+ * @interface ClaimPartnersApiCreateClaimPartnerRequest
710
722
  */
711
- export interface ClaimPartnersApiCreateClaimPartner0Request {
723
+ export interface ClaimPartnersApiCreateClaimPartnerRequest {
712
724
  /**
713
725
  * Unique identifier for the claim object.
714
726
  * @type {string}
715
- * @memberof ClaimPartnersApiCreateClaimPartner0
727
+ * @memberof ClaimPartnersApiCreateClaimPartner
716
728
  */
717
729
  readonly claimCode: string
718
730
 
719
731
  /**
720
732
  *
721
733
  * @type {CreateClaimPartnerRequestDto}
722
- * @memberof ClaimPartnersApiCreateClaimPartner0
734
+ * @memberof ClaimPartnersApiCreateClaimPartner
723
735
  */
724
736
  readonly createClaimPartnerRequestDto: CreateClaimPartnerRequestDto
725
737
 
726
738
  /**
727
739
  * Bearer Token: provided by the login endpoint under the name accessToken.
728
740
  * @type {string}
729
- * @memberof ClaimPartnersApiCreateClaimPartner0
741
+ * @memberof ClaimPartnersApiCreateClaimPartner
730
742
  */
731
743
  readonly authorization?: string
732
744
  }
@@ -760,22 +772,22 @@ export interface ClaimPartnersApiCreateClaimPartner1Request {
760
772
  }
761
773
 
762
774
  /**
763
- * Request parameters for deleteClaimPartner0 operation in ClaimPartnersApi.
775
+ * Request parameters for deleteClaimPartner operation in ClaimPartnersApi.
764
776
  * @export
765
- * @interface ClaimPartnersApiDeleteClaimPartner0Request
777
+ * @interface ClaimPartnersApiDeleteClaimPartnerRequest
766
778
  */
767
- export interface ClaimPartnersApiDeleteClaimPartner0Request {
779
+ export interface ClaimPartnersApiDeleteClaimPartnerRequest {
768
780
  /**
769
781
  *
770
782
  * @type {number}
771
- * @memberof ClaimPartnersApiDeleteClaimPartner0
783
+ * @memberof ClaimPartnersApiDeleteClaimPartner
772
784
  */
773
785
  readonly id: number
774
786
 
775
787
  /**
776
788
  * Bearer Token: provided by the login endpoint under the name accessToken.
777
789
  * @type {string}
778
- * @memberof ClaimPartnersApiDeleteClaimPartner0
790
+ * @memberof ClaimPartnersApiDeleteClaimPartner
779
791
  */
780
792
  readonly authorization?: string
781
793
  }
@@ -802,22 +814,22 @@ export interface ClaimPartnersApiDeleteClaimPartner1Request {
802
814
  }
803
815
 
804
816
  /**
805
- * Request parameters for getClaimPartner0 operation in ClaimPartnersApi.
817
+ * Request parameters for getClaimPartner operation in ClaimPartnersApi.
806
818
  * @export
807
- * @interface ClaimPartnersApiGetClaimPartner0Request
819
+ * @interface ClaimPartnersApiGetClaimPartnerRequest
808
820
  */
809
- export interface ClaimPartnersApiGetClaimPartner0Request {
821
+ export interface ClaimPartnersApiGetClaimPartnerRequest {
810
822
  /**
811
823
  *
812
824
  * @type {number}
813
- * @memberof ClaimPartnersApiGetClaimPartner0
825
+ * @memberof ClaimPartnersApiGetClaimPartner
814
826
  */
815
827
  readonly id: number
816
828
 
817
829
  /**
818
830
  * Bearer Token: provided by the login endpoint under the name accessToken.
819
831
  * @type {string}
820
- * @memberof ClaimPartnersApiGetClaimPartner0
832
+ * @memberof ClaimPartnersApiGetClaimPartner
821
833
  */
822
834
  readonly authorization?: string
823
835
  }
@@ -844,64 +856,64 @@ export interface ClaimPartnersApiGetClaimPartner1Request {
844
856
  }
845
857
 
846
858
  /**
847
- * Request parameters for listClaimPartners0 operation in ClaimPartnersApi.
859
+ * Request parameters for listClaimPartners operation in ClaimPartnersApi.
848
860
  * @export
849
- * @interface ClaimPartnersApiListClaimPartners0Request
861
+ * @interface ClaimPartnersApiListClaimPartnersRequest
850
862
  */
851
- export interface ClaimPartnersApiListClaimPartners0Request {
863
+ export interface ClaimPartnersApiListClaimPartnersRequest {
852
864
  /**
853
865
  * Bearer Token: provided by the login endpoint under the name accessToken.
854
866
  * @type {string}
855
- * @memberof ClaimPartnersApiListClaimPartners0
867
+ * @memberof ClaimPartnersApiListClaimPartners
856
868
  */
857
869
  readonly authorization?: string
858
870
 
859
871
  /**
860
872
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
861
873
  * @type {number}
862
- * @memberof ClaimPartnersApiListClaimPartners0
874
+ * @memberof ClaimPartnersApiListClaimPartners
863
875
  */
864
876
  readonly pageSize?: number
865
877
 
866
878
  /**
867
879
  * 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.
868
880
  * @type {string}
869
- * @memberof ClaimPartnersApiListClaimPartners0
881
+ * @memberof ClaimPartnersApiListClaimPartners
870
882
  */
871
883
  readonly pageToken?: string
872
884
 
873
885
  /**
874
886
  * 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;
875
887
  * @type {string}
876
- * @memberof ClaimPartnersApiListClaimPartners0
888
+ * @memberof ClaimPartnersApiListClaimPartners
877
889
  */
878
890
  readonly filter?: string
879
891
 
880
892
  /**
881
893
  * 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;
882
894
  * @type {string}
883
- * @memberof ClaimPartnersApiListClaimPartners0
895
+ * @memberof ClaimPartnersApiListClaimPartners
884
896
  */
885
897
  readonly search?: string
886
898
 
887
899
  /**
888
900
  * 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;
889
901
  * @type {string}
890
- * @memberof ClaimPartnersApiListClaimPartners0
902
+ * @memberof ClaimPartnersApiListClaimPartners
891
903
  */
892
904
  readonly order?: string
893
905
 
894
906
  /**
895
907
  * 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;
896
908
  * @type {string}
897
- * @memberof ClaimPartnersApiListClaimPartners0
909
+ * @memberof ClaimPartnersApiListClaimPartners
898
910
  */
899
911
  readonly expand?: string
900
912
 
901
913
  /**
902
914
  * 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;
903
915
  * @type {string}
904
- * @memberof ClaimPartnersApiListClaimPartners0
916
+ * @memberof ClaimPartnersApiListClaimPartners
905
917
  */
906
918
  readonly filters?: string
907
919
  }
@@ -979,20 +991,21 @@ export class ClaimPartnersApi extends BaseAPI {
979
991
  /**
980
992
  * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
981
993
  * @summary Create the claim partner
982
- * @param {ClaimPartnersApiCreateClaimPartner0Request} requestParameters Request parameters.
994
+ * @param {ClaimPartnersApiCreateClaimPartnerRequest} requestParameters Request parameters.
983
995
  * @param {*} [options] Override http request option.
984
996
  * @throws {RequiredError}
985
997
  * @memberof ClaimPartnersApi
986
998
  */
987
- public createClaimPartner0(requestParameters: ClaimPartnersApiCreateClaimPartner0Request, options?: AxiosRequestConfig) {
988
- return ClaimPartnersApiFp(this.configuration).createClaimPartner0(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
999
+ public createClaimPartner(requestParameters: ClaimPartnersApiCreateClaimPartnerRequest, options?: AxiosRequestConfig) {
1000
+ return ClaimPartnersApiFp(this.configuration).createClaimPartner(requestParameters.claimCode, requestParameters.createClaimPartnerRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
989
1001
  }
990
1002
 
991
1003
  /**
992
- * This will create a claim partner. **Required Permissions** \"claim-management.partners.create\"
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.
993
1005
  * @summary Create the claim partner
994
1006
  * @param {ClaimPartnersApiCreateClaimPartner1Request} requestParameters Request parameters.
995
1007
  * @param {*} [options] Override http request option.
1008
+ * @deprecated
996
1009
  * @throws {RequiredError}
997
1010
  * @memberof ClaimPartnersApi
998
1011
  */
@@ -1003,20 +1016,21 @@ export class ClaimPartnersApi extends BaseAPI {
1003
1016
  /**
1004
1017
  * 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\"
1005
1018
  * @summary Delete the claim partner
1006
- * @param {ClaimPartnersApiDeleteClaimPartner0Request} requestParameters Request parameters.
1019
+ * @param {ClaimPartnersApiDeleteClaimPartnerRequest} requestParameters Request parameters.
1007
1020
  * @param {*} [options] Override http request option.
1008
1021
  * @throws {RequiredError}
1009
1022
  * @memberof ClaimPartnersApi
1010
1023
  */
1011
- public deleteClaimPartner0(requestParameters: ClaimPartnersApiDeleteClaimPartner0Request, options?: AxiosRequestConfig) {
1012
- return ClaimPartnersApiFp(this.configuration).deleteClaimPartner0(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1024
+ public deleteClaimPartner(requestParameters: ClaimPartnersApiDeleteClaimPartnerRequest, options?: AxiosRequestConfig) {
1025
+ return ClaimPartnersApiFp(this.configuration).deleteClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1013
1026
  }
1014
1027
 
1015
1028
  /**
1016
- * 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\"
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.
1017
1030
  * @summary Delete the claim partner
1018
1031
  * @param {ClaimPartnersApiDeleteClaimPartner1Request} requestParameters Request parameters.
1019
1032
  * @param {*} [options] Override http request option.
1033
+ * @deprecated
1020
1034
  * @throws {RequiredError}
1021
1035
  * @memberof ClaimPartnersApi
1022
1036
  */
@@ -1027,20 +1041,21 @@ export class ClaimPartnersApi extends BaseAPI {
1027
1041
  /**
1028
1042
  * 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\"
1029
1043
  * @summary Retrieve the claim partner
1030
- * @param {ClaimPartnersApiGetClaimPartner0Request} requestParameters Request parameters.
1044
+ * @param {ClaimPartnersApiGetClaimPartnerRequest} requestParameters Request parameters.
1031
1045
  * @param {*} [options] Override http request option.
1032
1046
  * @throws {RequiredError}
1033
1047
  * @memberof ClaimPartnersApi
1034
1048
  */
1035
- public getClaimPartner0(requestParameters: ClaimPartnersApiGetClaimPartner0Request, options?: AxiosRequestConfig) {
1036
- return ClaimPartnersApiFp(this.configuration).getClaimPartner0(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1049
+ public getClaimPartner(requestParameters: ClaimPartnersApiGetClaimPartnerRequest, options?: AxiosRequestConfig) {
1050
+ return ClaimPartnersApiFp(this.configuration).getClaimPartner(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
1037
1051
  }
1038
1052
 
1039
1053
  /**
1040
- * 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\"
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.
1041
1055
  * @summary Retrieve the claim partner
1042
1056
  * @param {ClaimPartnersApiGetClaimPartner1Request} requestParameters Request parameters.
1043
1057
  * @param {*} [options] Override http request option.
1058
+ * @deprecated
1044
1059
  * @throws {RequiredError}
1045
1060
  * @memberof ClaimPartnersApi
1046
1061
  */
@@ -1051,20 +1066,21 @@ export class ClaimPartnersApi extends BaseAPI {
1051
1066
  /**
1052
1067
  * 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\"
1053
1068
  * @summary List claim partners
1054
- * @param {ClaimPartnersApiListClaimPartners0Request} requestParameters Request parameters.
1069
+ * @param {ClaimPartnersApiListClaimPartnersRequest} requestParameters Request parameters.
1055
1070
  * @param {*} [options] Override http request option.
1056
1071
  * @throws {RequiredError}
1057
1072
  * @memberof ClaimPartnersApi
1058
1073
  */
1059
- public listClaimPartners0(requestParameters: ClaimPartnersApiListClaimPartners0Request = {}, options?: AxiosRequestConfig) {
1060
- return ClaimPartnersApiFp(this.configuration).listClaimPartners0(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
1074
+ public listClaimPartners(requestParameters: ClaimPartnersApiListClaimPartnersRequest = {}, options?: AxiosRequestConfig) {
1075
+ 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));
1061
1076
  }
1062
1077
 
1063
1078
  /**
1064
- * 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\"
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.
1065
1080
  * @summary List claim partners
1066
1081
  * @param {ClaimPartnersApiListClaimPartners1Request} requestParameters Request parameters.
1067
1082
  * @param {*} [options] Override http request option.
1083
+ * @deprecated
1068
1084
  * @throws {RequiredError}
1069
1085
  * @memberof ClaimPartnersApi
1070
1086
  */