@emilgroup/claim-sdk 1.17.2-beta.0 → 1.17.2-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.
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +41 -41
- package/api/claim-partners-api.ts +55 -55
- package/api/claim-statuses-api.ts +33 -33
- package/api/claims-api.ts +37 -37
- package/api/settlements-api.ts +39 -39
- package/dist/api/claim-partner-roles-api.d.ts +41 -41
- package/dist/api/claim-partner-roles-api.js +23 -23
- package/dist/api/claim-partners-api.d.ts +51 -51
- package/dist/api/claim-partners-api.js +32 -32
- package/dist/api/claim-statuses-api.d.ts +33 -33
- package/dist/api/claim-statuses-api.js +20 -20
- package/dist/api/claims-api.d.ts +37 -37
- package/dist/api/claims-api.js +19 -19
- package/dist/api/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +23 -23
- package/package.json +1 -1
|
@@ -127,7 +127,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
127
127
|
};
|
|
128
128
|
},
|
|
129
129
|
/**
|
|
130
|
-
* Retrieves the details of the claim status that was previously created.
|
|
130
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
131
131
|
* @summary Retrieve the claim status
|
|
132
132
|
* @param {number} id
|
|
133
133
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -172,20 +172,20 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
172
172
|
};
|
|
173
173
|
},
|
|
174
174
|
/**
|
|
175
|
-
* Returns a list of claim statuses you have previously created.
|
|
175
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
176
176
|
* @summary List claim statuses
|
|
177
177
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
178
178
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
179
179
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
180
|
-
* @param {
|
|
181
|
-
* @param {any} [search]
|
|
182
|
-
* @param {
|
|
180
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
181
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
182
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
183
183
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
184
|
-
* @param {
|
|
184
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
185
185
|
* @param {*} [options] Override http request option.
|
|
186
186
|
* @throws {RequiredError}
|
|
187
187
|
*/
|
|
188
|
-
listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
188
|
+
listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
189
|
const localVarPath = `/v1/claim-statuses`;
|
|
190
190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
191
191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -282,7 +282,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
282
282
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
283
283
|
},
|
|
284
284
|
/**
|
|
285
|
-
* Retrieves the details of the claim status that was previously created.
|
|
285
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
286
286
|
* @summary Retrieve the claim status
|
|
287
287
|
* @param {number} id
|
|
288
288
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -294,20 +294,20 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
294
294
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
295
295
|
},
|
|
296
296
|
/**
|
|
297
|
-
* Returns a list of claim statuses you have previously created.
|
|
297
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
298
298
|
* @summary List claim statuses
|
|
299
299
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
300
300
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
301
301
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {any} [search]
|
|
304
|
-
* @param {
|
|
302
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
303
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
304
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
305
305
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
306
|
-
* @param {
|
|
306
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
307
307
|
* @param {*} [options] Override http request option.
|
|
308
308
|
* @throws {RequiredError}
|
|
309
309
|
*/
|
|
310
|
-
async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
310
|
+
async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
311
311
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
312
312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
313
313
|
},
|
|
@@ -344,7 +344,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
344
344
|
return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
345
345
|
},
|
|
346
346
|
/**
|
|
347
|
-
* Retrieves the details of the claim status that was previously created.
|
|
347
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
348
348
|
* @summary Retrieve the claim status
|
|
349
349
|
* @param {number} id
|
|
350
350
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -355,20 +355,20 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
355
355
|
return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
356
356
|
},
|
|
357
357
|
/**
|
|
358
|
-
* Returns a list of claim statuses you have previously created.
|
|
358
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
359
359
|
* @summary List claim statuses
|
|
360
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
361
361
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
362
362
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {any} [search]
|
|
365
|
-
* @param {
|
|
363
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
364
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
365
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
366
366
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
367
|
-
* @param {
|
|
367
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
368
368
|
* @param {*} [options] Override http request option.
|
|
369
369
|
* @throws {RequiredError}
|
|
370
370
|
*/
|
|
371
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
371
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
372
372
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
373
373
|
},
|
|
374
374
|
};
|
|
@@ -465,25 +465,25 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
465
465
|
readonly pageToken?: any
|
|
466
466
|
|
|
467
467
|
/**
|
|
468
|
-
* Filter the response by one or multiple fields.
|
|
469
|
-
* @type {
|
|
468
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
469
|
+
* @type {string}
|
|
470
470
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
471
471
|
*/
|
|
472
|
-
readonly filter?:
|
|
472
|
+
readonly filter?: string
|
|
473
473
|
|
|
474
474
|
/**
|
|
475
|
-
*
|
|
475
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
476
476
|
* @type {any}
|
|
477
477
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
478
478
|
*/
|
|
479
479
|
readonly search?: any
|
|
480
480
|
|
|
481
481
|
/**
|
|
482
|
-
*
|
|
483
|
-
* @type {
|
|
482
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
483
|
+
* @type {string}
|
|
484
484
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
485
485
|
*/
|
|
486
|
-
readonly order?:
|
|
486
|
+
readonly order?: string
|
|
487
487
|
|
|
488
488
|
/**
|
|
489
489
|
* Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
@@ -493,11 +493,11 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
493
493
|
readonly expand?: any
|
|
494
494
|
|
|
495
495
|
/**
|
|
496
|
-
* Filters the response by one or multiple fields.
|
|
497
|
-
* @type {
|
|
496
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
497
|
+
* @type {string}
|
|
498
498
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
499
499
|
*/
|
|
500
|
-
readonly filters?:
|
|
500
|
+
readonly filters?: string
|
|
501
501
|
}
|
|
502
502
|
|
|
503
503
|
/**
|
|
@@ -532,7 +532,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
532
532
|
}
|
|
533
533
|
|
|
534
534
|
/**
|
|
535
|
-
* Retrieves the details of the claim status that was previously created.
|
|
535
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information.
|
|
536
536
|
* @summary Retrieve the claim status
|
|
537
537
|
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
538
538
|
* @param {*} [options] Override http request option.
|
|
@@ -544,7 +544,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
544
544
|
}
|
|
545
545
|
|
|
546
546
|
/**
|
|
547
|
-
* Returns a list of claim statuses you have previously created.
|
|
547
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
548
548
|
* @summary List claim statuses
|
|
549
549
|
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
550
550
|
* @param {*} [options] Override http request option.
|
package/api/claims-api.ts
CHANGED
|
@@ -180,20 +180,20 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
183
|
-
* Returns a list of claims you have previously created.
|
|
183
|
+
* 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.
|
|
184
184
|
* @summary List claims
|
|
185
185
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
186
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
187
187
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
188
|
-
* @param {
|
|
189
|
-
* @param {
|
|
190
|
-
* @param {
|
|
191
|
-
* @param {
|
|
192
|
-
* @param {
|
|
188
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
189
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
190
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
191
|
+
* @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.<br/> <br/> <i>Allowed values: partners.<i>
|
|
192
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
196
|
+
listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
197
|
const localVarPath = `/v1/claims`;
|
|
198
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -404,20 +404,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
404
404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
405
|
},
|
|
406
406
|
/**
|
|
407
|
-
* Returns a list of claims you have previously created.
|
|
407
|
+
* 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.
|
|
408
408
|
* @summary List claims
|
|
409
409
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
410
410
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
411
411
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
412
|
-
* @param {
|
|
413
|
-
* @param {
|
|
414
|
-
* @param {
|
|
415
|
-
* @param {
|
|
416
|
-
* @param {
|
|
412
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
413
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
414
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
415
|
+
* @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.<br/> <br/> <i>Allowed values: partners.<i>
|
|
416
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
417
417
|
* @param {*} [options] Override http request option.
|
|
418
418
|
* @throws {RequiredError}
|
|
419
419
|
*/
|
|
420
|
-
async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
420
|
+
async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
|
|
421
421
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
422
422
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
423
423
|
},
|
|
@@ -491,20 +491,20 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
491
491
|
return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
492
492
|
},
|
|
493
493
|
/**
|
|
494
|
-
* Returns a list of claims you have previously created.
|
|
494
|
+
* 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.
|
|
495
495
|
* @summary List claims
|
|
496
496
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
497
497
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
498
498
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
499
|
-
* @param {
|
|
500
|
-
* @param {
|
|
501
|
-
* @param {
|
|
502
|
-
* @param {
|
|
503
|
-
* @param {
|
|
499
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
500
|
+
* @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
501
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
502
|
+
* @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.<br/> <br/> <i>Allowed values: partners.<i>
|
|
503
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
504
504
|
* @param {*} [options] Override http request option.
|
|
505
505
|
* @throws {RequiredError}
|
|
506
506
|
*/
|
|
507
|
-
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
507
|
+
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
508
508
|
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
509
509
|
},
|
|
510
510
|
/**
|
|
@@ -625,39 +625,39 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
625
625
|
readonly pageToken?: any
|
|
626
626
|
|
|
627
627
|
/**
|
|
628
|
-
* Filter the response by one or multiple fields.
|
|
629
|
-
* @type {
|
|
628
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
629
|
+
* @type {string}
|
|
630
630
|
* @memberof ClaimsApiListClaims
|
|
631
631
|
*/
|
|
632
|
-
readonly filter?:
|
|
632
|
+
readonly filter?: string
|
|
633
633
|
|
|
634
634
|
/**
|
|
635
|
-
* Search the
|
|
636
|
-
* @type {
|
|
635
|
+
* Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, policyCode, accountCode, productName, claimNumber, policyNumber, damageDate, notificationDate, description, status</i>
|
|
636
|
+
* @type {string}
|
|
637
637
|
* @memberof ClaimsApiListClaims
|
|
638
638
|
*/
|
|
639
|
-
readonly search?:
|
|
639
|
+
readonly search?: string
|
|
640
640
|
|
|
641
641
|
/**
|
|
642
|
-
*
|
|
643
|
-
* @type {
|
|
642
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, accountCode, status, claimNumber, policyNumber, damageDate, notificationDate, description, createdAt, updatedAt</i>
|
|
643
|
+
* @type {string}
|
|
644
644
|
* @memberof ClaimsApiListClaims
|
|
645
645
|
*/
|
|
646
|
-
readonly order?:
|
|
646
|
+
readonly order?: string
|
|
647
647
|
|
|
648
648
|
/**
|
|
649
|
-
*
|
|
650
|
-
* @type {
|
|
649
|
+
* 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.<br/> <br/> <i>Allowed values: partners.<i>
|
|
650
|
+
* @type {string}
|
|
651
651
|
* @memberof ClaimsApiListClaims
|
|
652
652
|
*/
|
|
653
|
-
readonly expand?:
|
|
653
|
+
readonly expand?: string
|
|
654
654
|
|
|
655
655
|
/**
|
|
656
|
-
* Filters the response by one or multiple fields.
|
|
657
|
-
* @type {
|
|
656
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
657
|
+
* @type {string}
|
|
658
658
|
* @memberof ClaimsApiListClaims
|
|
659
659
|
*/
|
|
660
|
-
readonly filters?:
|
|
660
|
+
readonly filters?: string
|
|
661
661
|
}
|
|
662
662
|
|
|
663
663
|
/**
|
|
@@ -760,7 +760,7 @@ export class ClaimsApi extends BaseAPI {
|
|
|
760
760
|
}
|
|
761
761
|
|
|
762
762
|
/**
|
|
763
|
-
* Returns a list of claims you have previously created.
|
|
763
|
+
* 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.
|
|
764
764
|
* @summary List claims
|
|
765
765
|
* @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
|
|
766
766
|
* @param {*} [options] Override http request option.
|
package/api/settlements-api.ts
CHANGED
|
@@ -131,7 +131,7 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
134
|
+
* 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.
|
|
135
135
|
* @summary Retrieve the settlement
|
|
136
136
|
* @param {string} code
|
|
137
137
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -176,20 +176,20 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
179
|
-
* Returns a list of settlements you have previously created.
|
|
179
|
+
* 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.
|
|
180
180
|
* @summary List settlements
|
|
181
181
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
182
182
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
183
183
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
184
|
-
* @param {
|
|
185
|
-
* @param {any} [search]
|
|
186
|
-
* @param {
|
|
187
|
-
* @param {
|
|
188
|
-
* @param {
|
|
184
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
185
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
186
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
187
|
+
* @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.<br/> <br/> <i>Allowed values: claims.<i>
|
|
188
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
192
|
+
listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
193
|
const localVarPath = `/v1/settlements`;
|
|
194
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -337,7 +337,7 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
337
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
338
338
|
},
|
|
339
339
|
/**
|
|
340
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
340
|
+
* 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.
|
|
341
341
|
* @summary Retrieve the settlement
|
|
342
342
|
* @param {string} code
|
|
343
343
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -349,20 +349,20 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
349
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
350
|
},
|
|
351
351
|
/**
|
|
352
|
-
* Returns a list of settlements you have previously created.
|
|
352
|
+
* 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.
|
|
353
353
|
* @summary List settlements
|
|
354
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
355
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
356
356
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
357
|
-
* @param {
|
|
358
|
-
* @param {any} [search]
|
|
359
|
-
* @param {
|
|
360
|
-
* @param {
|
|
361
|
-
* @param {
|
|
357
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
358
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
359
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
360
|
+
* @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.<br/> <br/> <i>Allowed values: claims.<i>
|
|
361
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
362
362
|
* @param {*} [options] Override http request option.
|
|
363
363
|
* @throws {RequiredError}
|
|
364
364
|
*/
|
|
365
|
-
async listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
365
|
+
async 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>> {
|
|
366
366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
367
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
368
|
},
|
|
@@ -412,7 +412,7 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
412
412
|
return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
413
413
|
},
|
|
414
414
|
/**
|
|
415
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
415
|
+
* 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.
|
|
416
416
|
* @summary Retrieve the settlement
|
|
417
417
|
* @param {string} code
|
|
418
418
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -423,20 +423,20 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
423
423
|
return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
424
424
|
},
|
|
425
425
|
/**
|
|
426
|
-
* Returns a list of settlements you have previously created.
|
|
426
|
+
* 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.
|
|
427
427
|
* @summary List settlements
|
|
428
428
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
429
429
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
430
430
|
* @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=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
431
|
-
* @param {
|
|
432
|
-
* @param {any} [search]
|
|
433
|
-
* @param {
|
|
434
|
-
* @param {
|
|
435
|
-
* @param {
|
|
431
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
432
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
433
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
434
|
+
* @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.<br/> <br/> <i>Allowed values: claims.<i>
|
|
435
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
436
436
|
* @param {*} [options] Override http request option.
|
|
437
437
|
* @throws {RequiredError}
|
|
438
438
|
*/
|
|
439
|
-
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
439
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
440
440
|
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
441
441
|
},
|
|
442
442
|
/**
|
|
@@ -545,39 +545,39 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
545
545
|
readonly pageToken?: any
|
|
546
546
|
|
|
547
547
|
/**
|
|
548
|
-
* Filter the response by one or multiple fields.
|
|
549
|
-
* @type {
|
|
548
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
549
|
+
* @type {string}
|
|
550
550
|
* @memberof SettlementsApiListSettlements
|
|
551
551
|
*/
|
|
552
|
-
readonly filter?:
|
|
552
|
+
readonly filter?: string
|
|
553
553
|
|
|
554
554
|
/**
|
|
555
|
-
*
|
|
555
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
556
556
|
* @type {any}
|
|
557
557
|
* @memberof SettlementsApiListSettlements
|
|
558
558
|
*/
|
|
559
559
|
readonly search?: any
|
|
560
560
|
|
|
561
561
|
/**
|
|
562
|
-
*
|
|
563
|
-
* @type {
|
|
562
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
563
|
+
* @type {string}
|
|
564
564
|
* @memberof SettlementsApiListSettlements
|
|
565
565
|
*/
|
|
566
|
-
readonly order?:
|
|
566
|
+
readonly order?: string
|
|
567
567
|
|
|
568
568
|
/**
|
|
569
|
-
*
|
|
570
|
-
* @type {
|
|
569
|
+
* 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.<br/> <br/> <i>Allowed values: claims.<i>
|
|
570
|
+
* @type {string}
|
|
571
571
|
* @memberof SettlementsApiListSettlements
|
|
572
572
|
*/
|
|
573
|
-
readonly expand?:
|
|
573
|
+
readonly expand?: string
|
|
574
574
|
|
|
575
575
|
/**
|
|
576
|
-
* Filters the response by one or multiple fields.
|
|
577
|
-
* @type {
|
|
576
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
577
|
+
* @type {string}
|
|
578
578
|
* @memberof SettlementsApiListSettlements
|
|
579
579
|
*/
|
|
580
|
-
readonly filters?:
|
|
580
|
+
readonly filters?: string
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
/**
|
|
@@ -640,7 +640,7 @@ export class SettlementsApi extends BaseAPI {
|
|
|
640
640
|
}
|
|
641
641
|
|
|
642
642
|
/**
|
|
643
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
643
|
+
* 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.
|
|
644
644
|
* @summary Retrieve the settlement
|
|
645
645
|
* @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
|
|
646
646
|
* @param {*} [options] Override http request option.
|
|
@@ -652,7 +652,7 @@ export class SettlementsApi extends BaseAPI {
|
|
|
652
652
|
}
|
|
653
653
|
|
|
654
654
|
/**
|
|
655
|
-
* Returns a list of settlements you have previously created.
|
|
655
|
+
* 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.
|
|
656
656
|
* @summary List settlements
|
|
657
657
|
* @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
|
|
658
658
|
* @param {*} [options] Override http request option.
|