@emilgroup/claim-sdk 1.34.0 → 1.34.1-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -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
27
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
36
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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,22 +51,22 @@ 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.
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\"
55
55
  * @summary List settlements
56
56
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
57
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
59
59
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
60
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
60
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
61
61
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
62
62
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claims&lt;i&gt;
63
63
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
64
64
  * @param {*} [options] Override http request option.
65
65
  * @throws {RequiredError}
66
66
  */
67
- listSettlements: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
+ listSettlements: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, 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.
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\"
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
85
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
94
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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,22 +109,22 @@ 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.
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\"
113
113
  * @summary List settlements
114
114
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
115
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
117
117
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
118
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
118
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
119
119
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
120
120
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claims&lt;i&gt;
121
121
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
122
122
  * @param {*} [options] Override http request option.
123
123
  * @throws {RequiredError}
124
124
  */
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>>;
125
+ listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>>;
126
126
  /**
127
- * Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
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\"
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
143
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
152
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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,22 +167,22 @@ 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.
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\"
171
171
  * @summary List settlements
172
172
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
173
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
175
175
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
176
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
176
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
177
177
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
178
178
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claims&lt;i&gt;
179
179
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
180
180
  * @param {*} [options] Override http request option.
181
181
  * @throws {RequiredError}
182
182
  */
183
- listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass>;
183
+ listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, 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.
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\"
186
186
  * @summary Update the settlement
187
187
  * @param {string} code
188
188
  * @param {UpdateSettlementRequestDto} updateSettlementRequestDto
@@ -263,16 +263,16 @@ export interface SettlementsApiListSettlementsRequest {
263
263
  readonly authorization?: string;
264
264
  /**
265
265
  * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
266
- * @type {any}
266
+ * @type {number}
267
267
  * @memberof SettlementsApiListSettlements
268
268
  */
269
- readonly pageSize?: any;
269
+ readonly pageSize?: number;
270
270
  /**
271
- * 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.
272
- * @type {any}
271
+ * 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.
272
+ * @type {string}
273
273
  * @memberof SettlementsApiListSettlements
274
274
  */
275
- readonly pageToken?: any;
275
+ readonly pageToken?: string;
276
276
  /**
277
277
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
278
278
  * @type {string}
@@ -281,10 +281,10 @@ export interface SettlementsApiListSettlementsRequest {
281
281
  readonly filter?: string;
282
282
  /**
283
283
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
284
- * @type {any}
284
+ * @type {string}
285
285
  * @memberof SettlementsApiListSettlements
286
286
  */
287
- readonly search?: any;
287
+ readonly search?: string;
288
288
  /**
289
289
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
290
290
  * @type {string}
@@ -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
340
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
349
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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.
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\"
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.
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\"
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
96
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
145
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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,13 +238,13 @@ 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.
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\"
242
242
  * @summary List settlements
243
243
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
244
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
244
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
246
246
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
247
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
247
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
248
248
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
249
249
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claims&lt;i&gt;
250
250
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
@@ -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.
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\"
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
376
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
397
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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,13 +436,13 @@ 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.
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\"
440
440
  * @summary List settlements
441
441
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
442
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
444
444
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
445
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
445
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
446
446
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
447
447
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claims&lt;i&gt;
448
448
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
@@ -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.
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\"
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
498
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
509
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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,13 +528,13 @@ 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.
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\"
532
532
  * @summary List settlements
533
533
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
534
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
535
- * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
534
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
535
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
536
536
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
537
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
537
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
538
538
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: insuredObject, reserve, payment, recourse&lt;/i&gt;
539
539
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: claims&lt;i&gt;
540
540
  * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId&lt;/i&gt;
@@ -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.
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\"
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
574
+ * This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
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.
586
+ * This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
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.
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\"
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.
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\"
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.
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\"
624
624
  * @summary Update the settlement
625
625
  * @param {SettlementsApiUpdateSettlementRequest} requestParameters Request parameters.
626
626
  * @param {*} [options] Override http request option.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/claim-sdk",
3
- "version": "1.34.0",
3
+ "version": "1.34.1-beta.1",
4
4
  "description": "OpenAPI client for @emilgroup/claim-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [