@emilgroup/claim-sdk-node 1.17.1 → 1.17.2-beta.3
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
|
@@ -131,7 +131,7 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
131
131
|
};
|
|
132
132
|
},
|
|
133
133
|
/**
|
|
134
|
-
* Retrieves the details of the claim status that was previously created.
|
|
134
|
+
* 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.
|
|
135
135
|
* @summary Retrieve the claim status
|
|
136
136
|
* @param {number} id
|
|
137
137
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -176,20 +176,20 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
176
176
|
};
|
|
177
177
|
},
|
|
178
178
|
/**
|
|
179
|
-
* Returns a list of claim statuses you have previously created.
|
|
179
|
+
* 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.
|
|
180
180
|
* @summary List claim statuses
|
|
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 {
|
|
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: id, name, productSlug</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: id</i>
|
|
187
187
|
* @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.
|
|
188
|
-
* @param {
|
|
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: id, name, productSlug</i>
|
|
189
189
|
* @param {*} [options] Override http request option.
|
|
190
190
|
* @throws {RequiredError}
|
|
191
191
|
*/
|
|
192
|
-
listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
192
|
+
listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
193
|
const localVarPath = `/v1/claim-statuses`;
|
|
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);
|
|
@@ -286,7 +286,7 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
286
286
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
287
287
|
},
|
|
288
288
|
/**
|
|
289
|
-
* Retrieves the details of the claim status that was previously created.
|
|
289
|
+
* 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.
|
|
290
290
|
* @summary Retrieve the claim status
|
|
291
291
|
* @param {number} id
|
|
292
292
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -298,20 +298,20 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
298
298
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
299
299
|
},
|
|
300
300
|
/**
|
|
301
|
-
* Returns a list of claim statuses you have previously created.
|
|
301
|
+
* 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.
|
|
302
302
|
* @summary List claim statuses
|
|
303
303
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
304
304
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
305
305
|
* @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.
|
|
306
|
-
* @param {
|
|
307
|
-
* @param {any} [search]
|
|
308
|
-
* @param {
|
|
306
|
+
* @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>
|
|
307
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
308
|
+
* @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>
|
|
309
309
|
* @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.
|
|
310
|
-
* @param {
|
|
310
|
+
* @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>
|
|
311
311
|
* @param {*} [options] Override http request option.
|
|
312
312
|
* @throws {RequiredError}
|
|
313
313
|
*/
|
|
314
|
-
async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
314
|
+
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>> {
|
|
315
315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
316
316
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
317
|
},
|
|
@@ -348,7 +348,7 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
348
348
|
return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
|
-
* Retrieves the details of the claim status that was previously created.
|
|
351
|
+
* 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.
|
|
352
352
|
* @summary Retrieve the claim status
|
|
353
353
|
* @param {number} id
|
|
354
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -359,20 +359,20 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
359
359
|
return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
360
360
|
},
|
|
361
361
|
/**
|
|
362
|
-
* Returns a list of claim statuses you have previously created.
|
|
362
|
+
* 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.
|
|
363
363
|
* @summary List claim statuses
|
|
364
364
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
365
365
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
366
366
|
* @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.
|
|
367
|
-
* @param {
|
|
368
|
-
* @param {any} [search]
|
|
369
|
-
* @param {
|
|
367
|
+
* @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>
|
|
368
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
369
|
+
* @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>
|
|
370
370
|
* @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.
|
|
371
|
-
* @param {
|
|
371
|
+
* @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>
|
|
372
372
|
* @param {*} [options] Override http request option.
|
|
373
373
|
* @throws {RequiredError}
|
|
374
374
|
*/
|
|
375
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
375
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: any, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
376
376
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
377
377
|
},
|
|
378
378
|
};
|
|
@@ -469,25 +469,25 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
469
469
|
readonly pageToken?: any
|
|
470
470
|
|
|
471
471
|
/**
|
|
472
|
-
* Filter the response by one or multiple fields.
|
|
473
|
-
* @type {
|
|
472
|
+
* 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>
|
|
473
|
+
* @type {string}
|
|
474
474
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
475
475
|
*/
|
|
476
|
-
readonly filter?:
|
|
476
|
+
readonly filter?: string
|
|
477
477
|
|
|
478
478
|
/**
|
|
479
|
-
*
|
|
479
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
480
480
|
* @type {any}
|
|
481
481
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
482
482
|
*/
|
|
483
483
|
readonly search?: any
|
|
484
484
|
|
|
485
485
|
/**
|
|
486
|
-
*
|
|
487
|
-
* @type {
|
|
486
|
+
* 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>
|
|
487
|
+
* @type {string}
|
|
488
488
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
489
489
|
*/
|
|
490
|
-
readonly order?:
|
|
490
|
+
readonly order?: string
|
|
491
491
|
|
|
492
492
|
/**
|
|
493
493
|
* 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.
|
|
@@ -497,11 +497,11 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
497
497
|
readonly expand?: any
|
|
498
498
|
|
|
499
499
|
/**
|
|
500
|
-
* Filters the response by one or multiple fields.
|
|
501
|
-
* @type {
|
|
500
|
+
* 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>
|
|
501
|
+
* @type {string}
|
|
502
502
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
503
503
|
*/
|
|
504
|
-
readonly filters?:
|
|
504
|
+
readonly filters?: string
|
|
505
505
|
}
|
|
506
506
|
|
|
507
507
|
/**
|
|
@@ -536,7 +536,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
536
536
|
}
|
|
537
537
|
|
|
538
538
|
/**
|
|
539
|
-
* Retrieves the details of the claim status that was previously created.
|
|
539
|
+
* 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.
|
|
540
540
|
* @summary Retrieve the claim status
|
|
541
541
|
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
542
542
|
* @param {*} [options] Override http request option.
|
|
@@ -548,7 +548,7 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
548
548
|
}
|
|
549
549
|
|
|
550
550
|
/**
|
|
551
|
-
* Returns a list of claim statuses you have previously created.
|
|
551
|
+
* 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.
|
|
552
552
|
* @summary List claim statuses
|
|
553
553
|
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
554
554
|
* @param {*} [options] Override http request option.
|
package/api/claims-api.ts
CHANGED
|
@@ -184,20 +184,20 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
184
184
|
};
|
|
185
185
|
},
|
|
186
186
|
/**
|
|
187
|
-
* Returns a list of claims you have previously created.
|
|
187
|
+
* 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.
|
|
188
188
|
* @summary List claims
|
|
189
189
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
190
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
191
191
|
* @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.
|
|
192
|
-
* @param {
|
|
193
|
-
* @param {
|
|
194
|
-
* @param {
|
|
195
|
-
* @param {
|
|
196
|
-
* @param {
|
|
192
|
+
* @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>
|
|
193
|
+
* @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>
|
|
194
|
+
* @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>
|
|
195
|
+
* @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>
|
|
196
|
+
* @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>
|
|
197
197
|
* @param {*} [options] Override http request option.
|
|
198
198
|
* @throws {RequiredError}
|
|
199
199
|
*/
|
|
200
|
-
listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
200
|
+
listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
201
|
const localVarPath = `/v1/claims`;
|
|
202
202
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
203
203
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -408,20 +408,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
408
408
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
409
409
|
},
|
|
410
410
|
/**
|
|
411
|
-
* Returns a list of claims you have previously created.
|
|
411
|
+
* 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.
|
|
412
412
|
* @summary List claims
|
|
413
413
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
414
414
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
415
415
|
* @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.
|
|
416
|
-
* @param {
|
|
417
|
-
* @param {
|
|
418
|
-
* @param {
|
|
419
|
-
* @param {
|
|
420
|
-
* @param {
|
|
416
|
+
* @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>
|
|
417
|
+
* @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>
|
|
418
|
+
* @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>
|
|
419
|
+
* @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>
|
|
420
|
+
* @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>
|
|
421
421
|
* @param {*} [options] Override http request option.
|
|
422
422
|
* @throws {RequiredError}
|
|
423
423
|
*/
|
|
424
|
-
async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
424
|
+
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>> {
|
|
425
425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
426
426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
427
|
},
|
|
@@ -495,20 +495,20 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
495
495
|
return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
496
496
|
},
|
|
497
497
|
/**
|
|
498
|
-
* Returns a list of claims you have previously created.
|
|
498
|
+
* 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.
|
|
499
499
|
* @summary List claims
|
|
500
500
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
501
501
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
502
502
|
* @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.
|
|
503
|
-
* @param {
|
|
504
|
-
* @param {
|
|
505
|
-
* @param {
|
|
506
|
-
* @param {
|
|
507
|
-
* @param {
|
|
503
|
+
* @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>
|
|
504
|
+
* @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>
|
|
505
|
+
* @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>
|
|
506
|
+
* @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>
|
|
507
|
+
* @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>
|
|
508
508
|
* @param {*} [options] Override http request option.
|
|
509
509
|
* @throws {RequiredError}
|
|
510
510
|
*/
|
|
511
|
-
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
511
|
+
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
512
512
|
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
513
513
|
},
|
|
514
514
|
/**
|
|
@@ -629,39 +629,39 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
629
629
|
readonly pageToken?: any
|
|
630
630
|
|
|
631
631
|
/**
|
|
632
|
-
* Filter the response by one or multiple fields.
|
|
633
|
-
* @type {
|
|
632
|
+
* 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>
|
|
633
|
+
* @type {string}
|
|
634
634
|
* @memberof ClaimsApiListClaims
|
|
635
635
|
*/
|
|
636
|
-
readonly filter?:
|
|
636
|
+
readonly filter?: string
|
|
637
637
|
|
|
638
638
|
/**
|
|
639
|
-
* Search the
|
|
640
|
-
* @type {
|
|
639
|
+
* 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>
|
|
640
|
+
* @type {string}
|
|
641
641
|
* @memberof ClaimsApiListClaims
|
|
642
642
|
*/
|
|
643
|
-
readonly search?:
|
|
643
|
+
readonly search?: string
|
|
644
644
|
|
|
645
645
|
/**
|
|
646
|
-
*
|
|
647
|
-
* @type {
|
|
646
|
+
* 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>
|
|
647
|
+
* @type {string}
|
|
648
648
|
* @memberof ClaimsApiListClaims
|
|
649
649
|
*/
|
|
650
|
-
readonly order?:
|
|
650
|
+
readonly order?: string
|
|
651
651
|
|
|
652
652
|
/**
|
|
653
|
-
*
|
|
654
|
-
* @type {
|
|
653
|
+
* 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>
|
|
654
|
+
* @type {string}
|
|
655
655
|
* @memberof ClaimsApiListClaims
|
|
656
656
|
*/
|
|
657
|
-
readonly expand?:
|
|
657
|
+
readonly expand?: string
|
|
658
658
|
|
|
659
659
|
/**
|
|
660
|
-
* Filters the response by one or multiple fields.
|
|
661
|
-
* @type {
|
|
660
|
+
* 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>
|
|
661
|
+
* @type {string}
|
|
662
662
|
* @memberof ClaimsApiListClaims
|
|
663
663
|
*/
|
|
664
|
-
readonly filters?:
|
|
664
|
+
readonly filters?: string
|
|
665
665
|
}
|
|
666
666
|
|
|
667
667
|
/**
|
|
@@ -764,7 +764,7 @@ export class ClaimsApi extends BaseAPI {
|
|
|
764
764
|
}
|
|
765
765
|
|
|
766
766
|
/**
|
|
767
|
-
* Returns a list of claims you have previously created.
|
|
767
|
+
* 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.
|
|
768
768
|
* @summary List claims
|
|
769
769
|
* @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
|
|
770
770
|
* @param {*} [options] Override http request option.
|
package/api/settlements-api.ts
CHANGED
|
@@ -135,7 +135,7 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
135
135
|
};
|
|
136
136
|
},
|
|
137
137
|
/**
|
|
138
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
138
|
+
* 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.
|
|
139
139
|
* @summary Retrieve the settlement
|
|
140
140
|
* @param {string} code
|
|
141
141
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -180,20 +180,20 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
180
180
|
};
|
|
181
181
|
},
|
|
182
182
|
/**
|
|
183
|
-
* Returns a list of settlements you have previously created.
|
|
183
|
+
* 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.
|
|
184
184
|
* @summary List settlements
|
|
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 {any} [search]
|
|
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, claimCode, InsuredObjectId</i>
|
|
189
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
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: insuredObject, reserve, payment, recourse</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: claims.<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, claimCode, InsuredObjectId</i>
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
195
|
*/
|
|
196
|
-
listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
196
|
+
listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
197
|
const localVarPath = `/v1/settlements`;
|
|
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);
|
|
@@ -341,7 +341,7 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
341
341
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
342
342
|
},
|
|
343
343
|
/**
|
|
344
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
344
|
+
* 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.
|
|
345
345
|
* @summary Retrieve the settlement
|
|
346
346
|
* @param {string} code
|
|
347
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -353,20 +353,20 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
353
353
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
354
354
|
},
|
|
355
355
|
/**
|
|
356
|
-
* Returns a list of settlements you have previously created.
|
|
356
|
+
* 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.
|
|
357
357
|
* @summary List settlements
|
|
358
358
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
359
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
360
360
|
* @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.
|
|
361
|
-
* @param {
|
|
362
|
-
* @param {any} [search]
|
|
363
|
-
* @param {
|
|
364
|
-
* @param {
|
|
365
|
-
* @param {
|
|
361
|
+
* @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>
|
|
362
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
363
|
+
* @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>
|
|
364
|
+
* @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>
|
|
365
|
+
* @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>
|
|
366
366
|
* @param {*} [options] Override http request option.
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
*/
|
|
369
|
-
async listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
369
|
+
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>> {
|
|
370
370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
371
371
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
372
372
|
},
|
|
@@ -416,7 +416,7 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
416
416
|
return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
417
417
|
},
|
|
418
418
|
/**
|
|
419
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
419
|
+
* 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.
|
|
420
420
|
* @summary Retrieve the settlement
|
|
421
421
|
* @param {string} code
|
|
422
422
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -427,20 +427,20 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
427
427
|
return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
428
428
|
},
|
|
429
429
|
/**
|
|
430
|
-
* Returns a list of settlements you have previously created.
|
|
430
|
+
* 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.
|
|
431
431
|
* @summary List settlements
|
|
432
432
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
433
433
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
434
434
|
* @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.
|
|
435
|
-
* @param {
|
|
436
|
-
* @param {any} [search]
|
|
437
|
-
* @param {
|
|
438
|
-
* @param {
|
|
439
|
-
* @param {
|
|
435
|
+
* @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>
|
|
436
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
437
|
+
* @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>
|
|
438
|
+
* @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>
|
|
439
|
+
* @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>
|
|
440
440
|
* @param {*} [options] Override http request option.
|
|
441
441
|
* @throws {RequiredError}
|
|
442
442
|
*/
|
|
443
|
-
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
443
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
444
444
|
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
445
445
|
},
|
|
446
446
|
/**
|
|
@@ -549,39 +549,39 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
549
549
|
readonly pageToken?: any
|
|
550
550
|
|
|
551
551
|
/**
|
|
552
|
-
* Filter the response by one or multiple fields.
|
|
553
|
-
* @type {
|
|
552
|
+
* 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>
|
|
553
|
+
* @type {string}
|
|
554
554
|
* @memberof SettlementsApiListSettlements
|
|
555
555
|
*/
|
|
556
|
-
readonly filter?:
|
|
556
|
+
readonly filter?: string
|
|
557
557
|
|
|
558
558
|
/**
|
|
559
|
-
*
|
|
559
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
560
560
|
* @type {any}
|
|
561
561
|
* @memberof SettlementsApiListSettlements
|
|
562
562
|
*/
|
|
563
563
|
readonly search?: any
|
|
564
564
|
|
|
565
565
|
/**
|
|
566
|
-
*
|
|
567
|
-
* @type {
|
|
566
|
+
* 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>
|
|
567
|
+
* @type {string}
|
|
568
568
|
* @memberof SettlementsApiListSettlements
|
|
569
569
|
*/
|
|
570
|
-
readonly order?:
|
|
570
|
+
readonly order?: string
|
|
571
571
|
|
|
572
572
|
/**
|
|
573
|
-
*
|
|
574
|
-
* @type {
|
|
573
|
+
* 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>
|
|
574
|
+
* @type {string}
|
|
575
575
|
* @memberof SettlementsApiListSettlements
|
|
576
576
|
*/
|
|
577
|
-
readonly expand?:
|
|
577
|
+
readonly expand?: string
|
|
578
578
|
|
|
579
579
|
/**
|
|
580
|
-
* Filters the response by one or multiple fields.
|
|
581
|
-
* @type {
|
|
580
|
+
* 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>
|
|
581
|
+
* @type {string}
|
|
582
582
|
* @memberof SettlementsApiListSettlements
|
|
583
583
|
*/
|
|
584
|
-
readonly filters?:
|
|
584
|
+
readonly filters?: string
|
|
585
585
|
}
|
|
586
586
|
|
|
587
587
|
/**
|
|
@@ -644,7 +644,7 @@ export class SettlementsApi extends BaseAPI {
|
|
|
644
644
|
}
|
|
645
645
|
|
|
646
646
|
/**
|
|
647
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code
|
|
647
|
+
* 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.
|
|
648
648
|
* @summary Retrieve the settlement
|
|
649
649
|
* @param {SettlementsApiGetSettlementRequest} requestParameters Request parameters.
|
|
650
650
|
* @param {*} [options] Override http request option.
|
|
@@ -656,7 +656,7 @@ export class SettlementsApi extends BaseAPI {
|
|
|
656
656
|
}
|
|
657
657
|
|
|
658
658
|
/**
|
|
659
|
-
* Returns a list of settlements you have previously created.
|
|
659
|
+
* 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.
|
|
660
660
|
* @summary List settlements
|
|
661
661
|
* @param {SettlementsApiListSettlementsRequest} requestParameters Request parameters.
|
|
662
662
|
* @param {*} [options] Override http request option.
|