@emilgroup/claim-sdk 1.33.1-beta.4 → 1.34.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.
@@ -93,7 +93,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
96
+ * This will create a claim in the database
97
97
  * @summary Create the claim
98
98
  * @param {CreateClaimRequestDto} createClaimRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
145
+ * This will delete the requested claim from the database.
146
146
  * @summary Delete the claim
147
147
  * @param {string} code
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,7 +190,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
193
+ * This will fetch the identified claim from the database by code
194
194
  * @summary Retrieve the claim
195
195
  * @param {string} code
196
196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -238,7 +238,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
238
238
  });
239
239
  },
240
240
  /**
241
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
241
+ * This endpoint will calculate and get the regulation summary for a claim.
242
242
  * @summary Retrieve the claim regulation summary
243
243
  * @param {string} code Unique identifier for the object.
244
244
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -286,7 +286,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
286
286
  });
287
287
  },
288
288
  /**
289
- * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
289
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
290
290
  * @summary List claims
291
291
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
292
292
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -358,7 +358,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
358
358
  });
359
359
  },
360
360
  /**
361
- * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
361
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
362
362
  * @summary Patch the claim
363
363
  * @param {string} code
364
364
  * @param {PatchClaimRequestDto} patchClaimRequestDto
@@ -411,7 +411,7 @@ var ClaimsApiAxiosParamCreator = function (configuration) {
411
411
  });
412
412
  },
413
413
  /**
414
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
414
+ * This will update the identified claim in the database
415
415
  * @summary Update the claim
416
416
  * @param {string} code
417
417
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
@@ -474,7 +474,7 @@ var ClaimsApiFp = function (configuration) {
474
474
  var localVarAxiosParamCreator = (0, exports.ClaimsApiAxiosParamCreator)(configuration);
475
475
  return {
476
476
  /**
477
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
477
+ * This will create a claim in the database
478
478
  * @summary Create the claim
479
479
  * @param {CreateClaimRequestDto} createClaimRequestDto
480
480
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -495,7 +495,7 @@ var ClaimsApiFp = function (configuration) {
495
495
  });
496
496
  },
497
497
  /**
498
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
498
+ * This will delete the requested claim from the database.
499
499
  * @summary Delete the claim
500
500
  * @param {string} code
501
501
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -516,7 +516,7 @@ var ClaimsApiFp = function (configuration) {
516
516
  });
517
517
  },
518
518
  /**
519
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
519
+ * This will fetch the identified claim from the database by code
520
520
  * @summary Retrieve the claim
521
521
  * @param {string} code
522
522
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -537,7 +537,7 @@ var ClaimsApiFp = function (configuration) {
537
537
  });
538
538
  },
539
539
  /**
540
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
540
+ * This endpoint will calculate and get the regulation summary for a claim.
541
541
  * @summary Retrieve the claim regulation summary
542
542
  * @param {string} code Unique identifier for the object.
543
543
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -558,7 +558,7 @@ var ClaimsApiFp = function (configuration) {
558
558
  });
559
559
  },
560
560
  /**
561
- * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
561
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
562
562
  * @summary List claims
563
563
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
564
564
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -585,7 +585,7 @@ var ClaimsApiFp = function (configuration) {
585
585
  });
586
586
  },
587
587
  /**
588
- * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
588
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
589
589
  * @summary Patch the claim
590
590
  * @param {string} code
591
591
  * @param {PatchClaimRequestDto} patchClaimRequestDto
@@ -607,7 +607,7 @@ var ClaimsApiFp = function (configuration) {
607
607
  });
608
608
  },
609
609
  /**
610
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
610
+ * This will update the identified claim in the database
611
611
  * @summary Update the claim
612
612
  * @param {string} code
613
613
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
@@ -639,7 +639,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
639
639
  var localVarFp = (0, exports.ClaimsApiFp)(configuration);
640
640
  return {
641
641
  /**
642
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
642
+ * This will create a claim in the database
643
643
  * @summary Create the claim
644
644
  * @param {CreateClaimRequestDto} createClaimRequestDto
645
645
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -650,7 +650,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
650
650
  return localVarFp.createClaim(createClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
651
651
  },
652
652
  /**
653
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
653
+ * This will delete the requested claim from the database.
654
654
  * @summary Delete the claim
655
655
  * @param {string} code
656
656
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -661,7 +661,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
661
661
  return localVarFp.deleteClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
662
662
  },
663
663
  /**
664
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
664
+ * This will fetch the identified claim from the database by code
665
665
  * @summary Retrieve the claim
666
666
  * @param {string} code
667
667
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -672,7 +672,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
672
672
  return localVarFp.getClaim(code, authorization, options).then(function (request) { return request(axios, basePath); });
673
673
  },
674
674
  /**
675
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
675
+ * This endpoint will calculate and get the regulation summary for a claim.
676
676
  * @summary Retrieve the claim regulation summary
677
677
  * @param {string} code Unique identifier for the object.
678
678
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -683,7 +683,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
683
683
  return localVarFp.getClaimRegulationSummary(code, authorization, options).then(function (request) { return request(axios, basePath); });
684
684
  },
685
685
  /**
686
- * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
686
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
687
687
  * @summary List claims
688
688
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
689
689
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -700,7 +700,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
700
700
  return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
701
701
  },
702
702
  /**
703
- * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
703
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
704
704
  * @summary Patch the claim
705
705
  * @param {string} code
706
706
  * @param {PatchClaimRequestDto} patchClaimRequestDto
@@ -712,7 +712,7 @@ var ClaimsApiFactory = function (configuration, basePath, axios) {
712
712
  return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
713
713
  },
714
714
  /**
715
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
715
+ * This will update the identified claim in the database
716
716
  * @summary Update the claim
717
717
  * @param {string} code
718
718
  * @param {UpdateClaimRequestDto} updateClaimRequestDto
@@ -738,7 +738,7 @@ var ClaimsApi = /** @class */ (function (_super) {
738
738
  return _super !== null && _super.apply(this, arguments) || this;
739
739
  }
740
740
  /**
741
- * This will create a claim in the database **Required Permissions** \"claim-management.claims.create\"
741
+ * This will create a claim in the database
742
742
  * @summary Create the claim
743
743
  * @param {ClaimsApiCreateClaimRequest} requestParameters Request parameters.
744
744
  * @param {*} [options] Override http request option.
@@ -750,7 +750,7 @@ var ClaimsApi = /** @class */ (function (_super) {
750
750
  return (0, exports.ClaimsApiFp)(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
751
751
  };
752
752
  /**
753
- * This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
753
+ * This will delete the requested claim from the database.
754
754
  * @summary Delete the claim
755
755
  * @param {ClaimsApiDeleteClaimRequest} requestParameters Request parameters.
756
756
  * @param {*} [options] Override http request option.
@@ -762,7 +762,7 @@ var ClaimsApi = /** @class */ (function (_super) {
762
762
  return (0, exports.ClaimsApiFp)(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
763
763
  };
764
764
  /**
765
- * This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
765
+ * This will fetch the identified claim from the database by code
766
766
  * @summary Retrieve the claim
767
767
  * @param {ClaimsApiGetClaimRequest} requestParameters Request parameters.
768
768
  * @param {*} [options] Override http request option.
@@ -774,7 +774,7 @@ var ClaimsApi = /** @class */ (function (_super) {
774
774
  return (0, exports.ClaimsApiFp)(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
775
775
  };
776
776
  /**
777
- * This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
777
+ * This endpoint will calculate and get the regulation summary for a claim.
778
778
  * @summary Retrieve the claim regulation summary
779
779
  * @param {ClaimsApiGetClaimRegulationSummaryRequest} requestParameters Request parameters.
780
780
  * @param {*} [options] Override http request option.
@@ -786,7 +786,7 @@ var ClaimsApi = /** @class */ (function (_super) {
786
786
  return (0, exports.ClaimsApiFp)(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
787
787
  };
788
788
  /**
789
- * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
789
+ * Returns a list of claims you have previously created. The claims are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
790
790
  * @summary List claims
791
791
  * @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
792
792
  * @param {*} [options] Override http request option.
@@ -799,7 +799,7 @@ var ClaimsApi = /** @class */ (function (_super) {
799
799
  return (0, exports.ClaimsApiFp)(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
800
800
  };
801
801
  /**
802
- * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
802
+ * Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
803
803
  * @summary Patch the claim
804
804
  * @param {ClaimsApiPatchClaimRequest} requestParameters Request parameters.
805
805
  * @param {*} [options] Override http request option.
@@ -811,7 +811,7 @@ var ClaimsApi = /** @class */ (function (_super) {
811
811
  return (0, exports.ClaimsApiFp)(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
812
812
  };
813
813
  /**
814
- * This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
814
+ * This will update the identified claim in the database
815
815
  * @summary Update the claim
816
816
  * @param {ClaimsApiUpdateClaimRequest} requestParameters Request parameters.
817
817
  * @param {*} [options] Override http request option.
@@ -24,7 +24,7 @@ import { UpdateSettlementResponseClass } from '../models';
24
24
  */
25
25
  export declare const SettlementsApiAxiosParamCreator: (configuration?: Configuration) => {
26
26
  /**
27
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
27
+ * This will create a settlement against a claim in the database
28
28
  * @summary Create the settlement
29
29
  * @param {CreateSettlementRequestDto} createSettlementRequestDto
30
30
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -33,7 +33,7 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
33
33
  */
34
34
  createSettlement: (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
35
  /**
36
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
36
+ * This will delete the requested settlement from the database.
37
37
  * @summary Delete the settlement
38
38
  * @param {string} code
39
39
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -42,7 +42,7 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
42
42
  */
43
43
  deleteSettlement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
44
  /**
45
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
45
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
46
46
  * @summary Retrieve the settlement
47
47
  * @param {string} code
48
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -51,7 +51,7 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
51
51
  */
52
52
  getSettlement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
53
53
  /**
54
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
54
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
55
55
  * @summary List settlements
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
57
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -66,7 +66,7 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
66
66
  */
67
67
  listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
68
  /**
69
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
69
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
70
70
  * @summary Update the settlement
71
71
  * @param {string} code
72
72
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -82,7 +82,7 @@ export declare const SettlementsApiAxiosParamCreator: (configuration?: Configura
82
82
  */
83
83
  export declare const SettlementsApiFp: (configuration?: Configuration) => {
84
84
  /**
85
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
85
+ * This will create a settlement against a claim in the database
86
86
  * @summary Create the settlement
87
87
  * @param {CreateSettlementRequestDto} createSettlementRequestDto
88
88
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -91,7 +91,7 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
91
91
  */
92
92
  createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>>;
93
93
  /**
94
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
94
+ * This will delete the requested settlement from the database.
95
95
  * @summary Delete the settlement
96
96
  * @param {string} code
97
97
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -100,7 +100,7 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
100
100
  */
101
101
  deleteSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
102
102
  /**
103
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
103
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
104
104
  * @summary Retrieve the settlement
105
105
  * @param {string} code
106
106
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -109,7 +109,7 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
109
109
  */
110
110
  getSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>>;
111
111
  /**
112
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
112
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
113
113
  * @summary List settlements
114
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
115
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -124,7 +124,7 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
124
124
  */
125
125
  listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>>;
126
126
  /**
127
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
127
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
128
128
  * @summary Update the settlement
129
129
  * @param {string} code
130
130
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -140,7 +140,7 @@ export declare const SettlementsApiFp: (configuration?: Configuration) => {
140
140
  */
141
141
  export declare const SettlementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
142
142
  /**
143
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
143
+ * This will create a settlement against a claim in the database
144
144
  * @summary Create the settlement
145
145
  * @param {CreateSettlementRequestDto} createSettlementRequestDto
146
146
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -149,7 +149,7 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
149
149
  */
150
150
  createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass>;
151
151
  /**
152
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
152
+ * This will delete the requested settlement from the database.
153
153
  * @summary Delete the settlement
154
154
  * @param {string} code
155
155
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -158,7 +158,7 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
158
158
  */
159
159
  deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void>;
160
160
  /**
161
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
161
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
162
162
  * @summary Retrieve the settlement
163
163
  * @param {string} code
164
164
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -167,7 +167,7 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
167
167
  */
168
168
  getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass>;
169
169
  /**
170
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
170
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
171
171
  * @summary List settlements
172
172
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
173
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -182,7 +182,7 @@ export declare const SettlementsApiFactory: (configuration?: Configuration, base
182
182
  */
183
183
  listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass>;
184
184
  /**
185
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
185
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
186
186
  * @summary Update the settlement
187
187
  * @param {string} code
188
188
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -337,7 +337,7 @@ export interface SettlementsApiUpdateSettlementRequest {
337
337
  */
338
338
  export declare class SettlementsApi extends BaseAPI {
339
339
  /**
340
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
340
+ * This will create a settlement against a claim in the database
341
341
  * @summary Create the settlement
342
342
  * @param {SettlementsApiCreateSettlementRequest} requestParameters Request parameters.
343
343
  * @param {*} [options] Override http request option.
@@ -346,7 +346,7 @@ export declare class SettlementsApi extends BaseAPI {
346
346
  */
347
347
  createSettlement(requestParameters: SettlementsApiCreateSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateSettlementResponseClass, any>>;
348
348
  /**
349
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
349
+ * This will delete the requested settlement from the database.
350
350
  * @summary Delete the settlement
351
351
  * @param {SettlementsApiDeleteSettlementRequest} requestParameters Request parameters.
352
352
  * @param {*} [options] Override http request option.
@@ -355,7 +355,7 @@ export declare class SettlementsApi extends BaseAPI {
355
355
  */
356
356
  deleteSettlement(requestParameters: SettlementsApiDeleteSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
357
357
  /**
358
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
358
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
359
359
  * @summary Retrieve the settlement
360
360
  * @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
361
361
  * @param {*} [options] Override http request option.
@@ -364,7 +364,7 @@ export declare class SettlementsApi extends BaseAPI {
364
364
  */
365
365
  getSettlement(requestParameters: SettlementsApiGetSettlementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetSettlementResponseClass, any>>;
366
366
  /**
367
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
367
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
368
368
  * @summary List settlements
369
369
  * @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
370
370
  * @param {*} [options] Override http request option.
@@ -373,7 +373,7 @@ export declare class SettlementsApi extends BaseAPI {
373
373
  */
374
374
  listSettlements(requestParameters?: SettlementsApiListSettlementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListSettlementsResponseClass, any>>;
375
375
  /**
376
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
376
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
377
377
  * @summary Update the settlement
378
378
  * @param {SettlementsApiUpdateSettlementRequest} requestParameters Request parameters.
379
379
  * @param {*} [options] Override http request option.
@@ -93,7 +93,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
96
+ * This will create a settlement against a claim in the database
97
97
  * @summary Create the settlement
98
98
  * @param {CreateSettlementRequestDto} createSettlementRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -142,7 +142,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
145
+ * This will delete the requested settlement from the database.
146
146
  * @summary Delete the settlement
147
147
  * @param {string} code
148
148
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -190,7 +190,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
190
190
  });
191
191
  },
192
192
  /**
193
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
193
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
194
194
  * @summary Retrieve the settlement
195
195
  * @param {string} code
196
196
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -238,7 +238,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
238
238
  });
239
239
  },
240
240
  /**
241
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
241
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
242
242
  * @summary List settlements
243
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
244
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -310,7 +310,7 @@ var SettlementsApiAxiosParamCreator = function (configuration) {
310
310
  });
311
311
  },
312
312
  /**
313
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
313
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
314
314
  * @summary Update the settlement
315
315
  * @param {string} code
316
316
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -373,7 +373,7 @@ var SettlementsApiFp = function (configuration) {
373
373
  var localVarAxiosParamCreator = (0, exports.SettlementsApiAxiosParamCreator)(configuration);
374
374
  return {
375
375
  /**
376
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
376
+ * This will create a settlement against a claim in the database
377
377
  * @summary Create the settlement
378
378
  * @param {CreateSettlementRequestDto} createSettlementRequestDto
379
379
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -394,7 +394,7 @@ var SettlementsApiFp = function (configuration) {
394
394
  });
395
395
  },
396
396
  /**
397
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
397
+ * This will delete the requested settlement from the database.
398
398
  * @summary Delete the settlement
399
399
  * @param {string} code
400
400
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -415,7 +415,7 @@ var SettlementsApiFp = function (configuration) {
415
415
  });
416
416
  },
417
417
  /**
418
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
418
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
419
419
  * @summary Retrieve the settlement
420
420
  * @param {string} code
421
421
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -436,7 +436,7 @@ var SettlementsApiFp = function (configuration) {
436
436
  });
437
437
  },
438
438
  /**
439
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
439
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
440
440
  * @summary List settlements
441
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
442
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -463,7 +463,7 @@ var SettlementsApiFp = function (configuration) {
463
463
  });
464
464
  },
465
465
  /**
466
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
466
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
467
467
  * @summary Update the settlement
468
468
  * @param {string} code
469
469
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -495,7 +495,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
495
495
  var localVarFp = (0, exports.SettlementsApiFp)(configuration);
496
496
  return {
497
497
  /**
498
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
498
+ * This will create a settlement against a claim in the database
499
499
  * @summary Create the settlement
500
500
  * @param {CreateSettlementRequestDto} createSettlementRequestDto
501
501
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -506,7 +506,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
506
506
  return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
507
507
  },
508
508
  /**
509
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
509
+ * This will delete the requested settlement from the database.
510
510
  * @summary Delete the settlement
511
511
  * @param {string} code
512
512
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -517,7 +517,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
517
517
  return localVarFp.deleteSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
518
518
  },
519
519
  /**
520
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
520
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
521
521
  * @summary Retrieve the settlement
522
522
  * @param {string} code
523
523
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -528,7 +528,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
528
528
  return localVarFp.getSettlement(code, authorization, options).then(function (request) { return request(axios, basePath); });
529
529
  },
530
530
  /**
531
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
531
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
532
532
  * @summary List settlements
533
533
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
534
534
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -545,7 +545,7 @@ var SettlementsApiFactory = function (configuration, basePath, axios) {
545
545
  return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
546
546
  },
547
547
  /**
548
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
548
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
549
549
  * @summary Update the settlement
550
550
  * @param {string} code
551
551
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -571,7 +571,7 @@ var SettlementsApi = /** @class */ (function (_super) {
571
571
  return _super !== null && _super.apply(this, arguments) || this;
572
572
  }
573
573
  /**
574
- * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
574
+ * This will create a settlement against a claim in the database
575
575
  * @summary Create the settlement
576
576
  * @param {SettlementsApiCreateSettlementRequest} requestParameters Request parameters.
577
577
  * @param {*} [options] Override http request option.
@@ -583,7 +583,7 @@ var SettlementsApi = /** @class */ (function (_super) {
583
583
  return (0, exports.SettlementsApiFp)(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
584
584
  };
585
585
  /**
586
- * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
586
+ * This will delete the requested settlement from the database.
587
587
  * @summary Delete the settlement
588
588
  * @param {SettlementsApiDeleteSettlementRequest} requestParameters Request parameters.
589
589
  * @param {*} [options] Override http request option.
@@ -595,7 +595,7 @@ var SettlementsApi = /** @class */ (function (_super) {
595
595
  return (0, exports.SettlementsApiFp)(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
596
596
  };
597
597
  /**
598
- * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
598
+ * Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information.
599
599
  * @summary Retrieve the settlement
600
600
  * @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
601
601
  * @param {*} [options] Override http request option.
@@ -607,7 +607,7 @@ var SettlementsApi = /** @class */ (function (_super) {
607
607
  return (0, exports.SettlementsApiFp)(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
608
608
  };
609
609
  /**
610
- * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
610
+ * Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
611
611
  * @summary List settlements
612
612
  * @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
613
613
  * @param {*} [options] Override http request option.
@@ -620,7 +620,7 @@ var SettlementsApi = /** @class */ (function (_super) {
620
620
  return (0, exports.SettlementsApiFp)(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
621
621
  };
622
622
  /**
623
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
623
+ * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
624
624
  * @summary Update the settlement
625
625
  * @param {SettlementsApiUpdateSettlementRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
package/dist/common.js CHANGED
@@ -140,7 +140,7 @@ var setBearerAuthToObject = function (object, configuration) {
140
140
  _b.label = 4;
141
141
  case 4:
142
142
  accessToken = _a;
143
- object["Authorization"] = "Bearer " + accessToken;
143
+ object["Authorization"] = configuration.getBearerToken(accessToken);
144
144
  _b.label = 5;
145
145
  case 5: return [2 /*return*/];
146
146
  }
@@ -170,7 +170,7 @@ var setOAuthToObject = function (object, name, scopes, configuration) {
170
170
  _b.label = 4;
171
171
  case 4:
172
172
  localVarAccessTokenValue = _a;
173
- object["Authorization"] = "Bearer " + localVarAccessTokenValue;
173
+ object["Authorization"] = configuration.getBearerToken(localVarAccessTokenValue);
174
174
  _b.label = 5;
175
175
  case 5: return [2 /*return*/];
176
176
  }