@emilgroup/claim-sdk 1.10.0 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +14 -0
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +677 -0
- package/api/claim-partners-api.ts +570 -0
- package/api/claim-statuses-api.ts +24 -10
- package/api/claims-api.ts +24 -10
- package/api/settlements-api.ts +24 -10
- package/api.ts +4 -0
- package/configuration.ts +1 -1
- package/dist/api/claim-partner-roles-api.d.ts +384 -0
- package/dist/api/claim-partner-roles-api.js +636 -0
- package/dist/api/claim-partners-api.d.ts +327 -0
- package/dist/api/claim-partners-api.js +543 -0
- package/dist/api/claim-statuses-api.d.ts +318 -0
- package/dist/api/claim-statuses-api.js +537 -0
- package/dist/api/claims-api.d.ts +450 -0
- package/dist/api/claims-api.js +735 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +196 -0
- package/dist/api/settlements-api.d.ts +384 -0
- package/dist/api/settlements-api.js +636 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +74 -0
- package/dist/base.js +298 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +51 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -0
- package/dist/models/claim-class.d.ts +168 -0
- package/dist/models/claim-class.js +15 -0
- package/dist/models/claim-partner-class.d.ts +61 -0
- package/dist/models/claim-partner-class.js +15 -0
- package/dist/models/claim-partner-role-class.d.ts +54 -0
- package/dist/models/claim-partner-role-class.js +15 -0
- package/dist/models/claim-status-class.d.ts +36 -0
- package/dist/models/claim-status-class.js +15 -0
- package/dist/models/create-claim-partner-request-dto.d.ts +36 -0
- package/dist/models/create-claim-partner-request-dto.js +15 -0
- package/dist/models/create-claim-partner-response-class.d.ts +25 -0
- package/dist/models/create-claim-partner-response-class.js +15 -0
- package/dist/models/create-claim-partner-role-request-dto.d.ts +30 -0
- package/dist/models/create-claim-partner-role-request-dto.js +15 -0
- package/dist/models/create-claim-partner-role-response-class.d.ts +25 -0
- package/dist/models/create-claim-partner-role-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +132 -0
- package/dist/models/create-claim-request-dto.js +15 -0
- package/dist/models/create-claim-response-class.d.ts +25 -0
- package/dist/models/create-claim-response-class.js +15 -0
- package/dist/models/create-claim-status-request-dto.d.ts +30 -0
- package/dist/models/create-claim-status-request-dto.js +15 -0
- package/dist/models/create-claim-status-response-class.d.ts +25 -0
- package/dist/models/create-claim-status-response-class.js +15 -0
- package/dist/models/create-settlement-request-dto.d.ts +48 -0
- package/dist/models/create-settlement-request-dto.js +15 -0
- package/dist/models/create-settlement-response-class.d.ts +25 -0
- package/dist/models/create-settlement-response-class.js +15 -0
- package/dist/models/get-claim-partner-response-class.d.ts +25 -0
- package/dist/models/get-claim-partner-response-class.js +15 -0
- package/dist/models/get-claim-partner-role-response-class.d.ts +25 -0
- package/dist/models/get-claim-partner-role-response-class.js +15 -0
- package/dist/models/get-claim-response-class.d.ts +25 -0
- package/dist/models/get-claim-response-class.js +15 -0
- package/dist/models/get-claim-status-response-class.d.ts +25 -0
- package/dist/models/get-claim-status-response-class.js +15 -0
- package/dist/models/get-settlement-response-class.d.ts +25 -0
- package/dist/models/get-settlement-response-class.js +15 -0
- package/dist/models/index.d.ts +35 -0
- package/dist/models/index.js +51 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +31 -0
- package/dist/models/list-claim-partner-roles-response-class.js +15 -0
- package/dist/models/list-claim-partners-response-class.d.ts +31 -0
- package/dist/models/list-claim-partners-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +31 -0
- package/dist/models/list-claim-statuses-response-class.js +15 -0
- package/dist/models/list-claims-response-class.d.ts +31 -0
- package/dist/models/list-claims-response-class.js +15 -0
- package/dist/models/list-settlements-response-class.d.ts +31 -0
- package/dist/models/list-settlements-response-class.js +15 -0
- package/dist/models/patch-claim-request-dto.d.ts +126 -0
- package/dist/models/patch-claim-request-dto.js +15 -0
- package/dist/models/patch-claim-response-class.d.ts +25 -0
- package/dist/models/patch-claim-response-class.js +15 -0
- package/dist/models/settlement-class.d.ts +78 -0
- package/dist/models/settlement-class.js +15 -0
- package/dist/models/update-claim-partner-role-request-dto.d.ts +36 -0
- package/dist/models/update-claim-partner-role-request-dto.js +15 -0
- package/dist/models/update-claim-partner-role-response-class.d.ts +25 -0
- package/dist/models/update-claim-partner-role-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +126 -0
- package/dist/models/update-claim-request-dto.js +15 -0
- package/dist/models/update-claim-response-class.d.ts +25 -0
- package/dist/models/update-claim-response-class.js +15 -0
- package/dist/models/update-settlement-request-dto.d.ts +54 -0
- package/dist/models/update-settlement-request-dto.js +15 -0
- package/dist/models/update-settlement-response-class.d.ts +25 -0
- package/dist/models/update-settlement-response-class.js +15 -0
- package/models/claim-class.ts +13 -1
- package/models/claim-partner-class.ts +67 -0
- package/models/claim-partner-role-class.ts +60 -0
- package/models/claim-status-class.ts +1 -1
- package/models/create-claim-partner-request-dto.ts +42 -0
- package/models/create-claim-partner-response-class.ts +31 -0
- package/models/create-claim-partner-role-request-dto.ts +36 -0
- package/models/create-claim-partner-role-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +19 -13
- package/models/create-claim-status-request-dto.ts +1 -1
- package/models/get-claim-partner-response-class.ts +31 -0
- package/models/get-claim-partner-role-response-class.ts +31 -0
- package/models/index.ts +12 -0
- package/models/inline-response200.ts +6 -6
- package/models/inline-response503.ts +6 -6
- package/models/list-claim-partner-roles-response-class.ts +37 -0
- package/models/list-claim-partners-response-class.ts +37 -0
- package/models/patch-claim-request-dto.ts +8 -8
- package/models/update-claim-partner-role-request-dto.ts +42 -0
- package/models/update-claim-partner-role-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +20 -20
- package/package.json +1 -1
|
@@ -175,16 +175,17 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
175
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
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
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
180
|
* @param {'id' | 'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
181
181
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
182
182
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
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 {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
184
185
|
* @param {*} [options] Override http request option.
|
|
185
186
|
* @throws {RequiredError}
|
|
186
187
|
*/
|
|
187
|
-
listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
188
|
+
listClaimStatuses: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
188
189
|
const localVarPath = `/v1/claim-statuses`;
|
|
189
190
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
190
191
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -227,6 +228,10 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
227
228
|
localVarQueryParameter['expand'] = expand;
|
|
228
229
|
}
|
|
229
230
|
|
|
231
|
+
if (filters !== undefined) {
|
|
232
|
+
localVarQueryParameter['filters'] = filters;
|
|
233
|
+
}
|
|
234
|
+
|
|
230
235
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
231
236
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
232
237
|
}
|
|
@@ -292,17 +297,18 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
292
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.
|
|
293
298
|
* @summary List claim statuses
|
|
294
299
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
295
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
300
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
296
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.
|
|
297
302
|
* @param {'id' | 'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
298
303
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
299
304
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
300
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 {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
301
307
|
* @param {*} [options] Override http request option.
|
|
302
308
|
* @throws {RequiredError}
|
|
303
309
|
*/
|
|
304
|
-
async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
305
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
310
|
+
async listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
311
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
306
312
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
307
313
|
},
|
|
308
314
|
}
|
|
@@ -352,17 +358,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
352
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.
|
|
353
359
|
* @summary List claim statuses
|
|
354
360
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
355
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
361
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
356
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.
|
|
357
363
|
* @param {'id' | 'name' | 'productSlug'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
358
364
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
359
365
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
360
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 {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
361
368
|
* @param {*} [options] Override http request option.
|
|
362
369
|
* @throws {RequiredError}
|
|
363
370
|
*/
|
|
364
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
365
|
-
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
371
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'id' | 'name' | 'productSlug', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
372
|
+
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
366
373
|
},
|
|
367
374
|
};
|
|
368
375
|
};
|
|
@@ -444,7 +451,7 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
444
451
|
readonly authorization?: string
|
|
445
452
|
|
|
446
453
|
/**
|
|
447
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
454
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
448
455
|
* @type {any}
|
|
449
456
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
450
457
|
*/
|
|
@@ -484,6 +491,13 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
484
491
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
485
492
|
*/
|
|
486
493
|
readonly expand?: any
|
|
494
|
+
|
|
495
|
+
/**
|
|
496
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
497
|
+
* @type {any}
|
|
498
|
+
* @memberof ClaimStatusesApiListClaimStatuses
|
|
499
|
+
*/
|
|
500
|
+
readonly filters?: any
|
|
487
501
|
}
|
|
488
502
|
|
|
489
503
|
/**
|
|
@@ -538,6 +552,6 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
538
552
|
* @memberof ClaimStatusesApi
|
|
539
553
|
*/
|
|
540
554
|
public listClaimStatuses(requestParameters: ClaimStatusesApiListClaimStatusesRequest = {}, options?: AxiosRequestConfig) {
|
|
541
|
-
return ClaimStatusesApiFp(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
555
|
+
return ClaimStatusesApiFp(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
542
556
|
}
|
|
543
557
|
}
|
package/api/claims-api.ts
CHANGED
|
@@ -183,16 +183,17 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
183
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
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
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
188
|
* @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
189
189
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
190
190
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
191
191
|
* @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.
|
|
192
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
192
193
|
* @param {*} [options] Override http request option.
|
|
193
194
|
* @throws {RequiredError}
|
|
194
195
|
*/
|
|
195
|
-
listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
|
+
listClaims: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
196
197
|
const localVarPath = `/v1/claims`;
|
|
197
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -235,6 +236,10 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
235
236
|
localVarQueryParameter['expand'] = expand;
|
|
236
237
|
}
|
|
237
238
|
|
|
239
|
+
if (filters !== undefined) {
|
|
240
|
+
localVarQueryParameter['filters'] = filters;
|
|
241
|
+
}
|
|
242
|
+
|
|
238
243
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
239
244
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
240
245
|
}
|
|
@@ -402,17 +407,18 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
402
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.
|
|
403
408
|
* @summary List claims
|
|
404
409
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
405
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
410
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
406
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.
|
|
407
412
|
* @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
408
413
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
409
414
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
410
415
|
* @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.
|
|
416
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
411
417
|
* @param {*} [options] Override http request option.
|
|
412
418
|
* @throws {RequiredError}
|
|
413
419
|
*/
|
|
414
|
-
async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
|
|
415
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
420
|
+
async listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
|
|
421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
416
422
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
417
423
|
},
|
|
418
424
|
/**
|
|
@@ -488,17 +494,18 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
488
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.
|
|
489
495
|
* @summary List claims
|
|
490
496
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
491
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
497
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
492
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.
|
|
493
499
|
* @param {'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
494
500
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
495
501
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
496
502
|
* @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.
|
|
503
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
497
504
|
* @param {*} [options] Override http request option.
|
|
498
505
|
* @throws {RequiredError}
|
|
499
506
|
*/
|
|
500
|
-
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
501
|
-
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
507
|
+
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'insuredObjectId' | 'policyCode', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
508
|
+
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
502
509
|
},
|
|
503
510
|
/**
|
|
504
511
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
@@ -604,7 +611,7 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
604
611
|
readonly authorization?: string
|
|
605
612
|
|
|
606
613
|
/**
|
|
607
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
614
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
608
615
|
* @type {any}
|
|
609
616
|
* @memberof ClaimsApiListClaims
|
|
610
617
|
*/
|
|
@@ -644,6 +651,13 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
644
651
|
* @memberof ClaimsApiListClaims
|
|
645
652
|
*/
|
|
646
653
|
readonly expand?: any
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
657
|
+
* @type {any}
|
|
658
|
+
* @memberof ClaimsApiListClaims
|
|
659
|
+
*/
|
|
660
|
+
readonly filters?: any
|
|
647
661
|
}
|
|
648
662
|
|
|
649
663
|
/**
|
|
@@ -754,7 +768,7 @@ export class ClaimsApi extends BaseAPI {
|
|
|
754
768
|
* @memberof ClaimsApi
|
|
755
769
|
*/
|
|
756
770
|
public listClaims(requestParameters: ClaimsApiListClaimsRequest = {}, options?: AxiosRequestConfig) {
|
|
757
|
-
return ClaimsApiFp(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
771
|
+
return ClaimsApiFp(this.configuration).listClaims(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
758
772
|
}
|
|
759
773
|
|
|
760
774
|
/**
|
package/api/settlements-api.ts
CHANGED
|
@@ -179,16 +179,17 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
179
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
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
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
184
|
* @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
185
185
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
186
186
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
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 {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
188
189
|
* @param {*} [options] Override http request option.
|
|
189
190
|
* @throws {RequiredError}
|
|
190
191
|
*/
|
|
191
|
-
listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
192
|
+
listSettlements: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
192
193
|
const localVarPath = `/v1/settlements`;
|
|
193
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -231,6 +232,10 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
231
232
|
localVarQueryParameter['expand'] = expand;
|
|
232
233
|
}
|
|
233
234
|
|
|
235
|
+
if (filters !== undefined) {
|
|
236
|
+
localVarQueryParameter['filters'] = filters;
|
|
237
|
+
}
|
|
238
|
+
|
|
234
239
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
235
240
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
236
241
|
}
|
|
@@ -347,17 +352,18 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
347
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.
|
|
348
353
|
* @summary List settlements
|
|
349
354
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
350
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
355
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
351
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.
|
|
352
357
|
* @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
353
358
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
354
359
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
355
360
|
* @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.
|
|
361
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
356
362
|
* @param {*} [options] Override http request option.
|
|
357
363
|
* @throws {RequiredError}
|
|
358
364
|
*/
|
|
359
|
-
async listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
|
|
360
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options);
|
|
365
|
+
async listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
|
|
366
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
361
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
362
368
|
},
|
|
363
369
|
/**
|
|
@@ -420,17 +426,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
420
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.
|
|
421
427
|
* @summary List settlements
|
|
422
428
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
423
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
429
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
424
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.
|
|
425
431
|
* @param {'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId'} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
426
432
|
* @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
|
|
427
433
|
* @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
|
|
428
434
|
* @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.
|
|
435
|
+
* @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
429
436
|
* @param {*} [options] Override http request option.
|
|
430
437
|
* @throws {RequiredError}
|
|
431
438
|
*/
|
|
432
|
-
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
433
|
-
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, options).then((request) => request(axios, basePath));
|
|
439
|
+
listSettlements(authorization?: string, pageSize?: any, pageToken?: any, filter?: 'policyNumber' | 'productId' | 'accountCode' | 'claimCode' | 'InsuredObjectId', search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
440
|
+
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
434
441
|
},
|
|
435
442
|
/**
|
|
436
443
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
|
|
@@ -524,7 +531,7 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
524
531
|
readonly authorization?: string
|
|
525
532
|
|
|
526
533
|
/**
|
|
527
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
534
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
528
535
|
* @type {any}
|
|
529
536
|
* @memberof SettlementsApiListSettlements
|
|
530
537
|
*/
|
|
@@ -564,6 +571,13 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
564
571
|
* @memberof SettlementsApiListSettlements
|
|
565
572
|
*/
|
|
566
573
|
readonly expand?: any
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
|
|
577
|
+
* @type {any}
|
|
578
|
+
* @memberof SettlementsApiListSettlements
|
|
579
|
+
*/
|
|
580
|
+
readonly filters?: any
|
|
567
581
|
}
|
|
568
582
|
|
|
569
583
|
/**
|
|
@@ -646,7 +660,7 @@ export class SettlementsApi extends BaseAPI {
|
|
|
646
660
|
* @memberof SettlementsApi
|
|
647
661
|
*/
|
|
648
662
|
public listSettlements(requestParameters: SettlementsApiListSettlementsRequest = {}, options?: AxiosRequestConfig) {
|
|
649
|
-
return SettlementsApiFp(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
663
|
+
return SettlementsApiFp(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
650
664
|
}
|
|
651
665
|
|
|
652
666
|
/**
|
package/api.ts
CHANGED
|
@@ -20,12 +20,16 @@ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig, AxiosResp
|
|
|
20
20
|
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
|
|
23
|
+
import { ClaimPartnerRolesApi } from './api';
|
|
24
|
+
import { ClaimPartnersApi } from './api';
|
|
23
25
|
import { ClaimStatusesApi } from './api';
|
|
24
26
|
import { ClaimsApi } from './api';
|
|
25
27
|
import { DefaultApi } from './api';
|
|
26
28
|
import { SettlementsApi } from './api';
|
|
27
29
|
|
|
28
30
|
|
|
31
|
+
export * from './api/claim-partner-roles-api';
|
|
32
|
+
export * from './api/claim-partners-api';
|
|
29
33
|
export * from './api/claim-statuses-api';
|
|
30
34
|
export * from './api/claims-api';
|
|
31
35
|
export * from './api/default-api';
|
package/configuration.ts
CHANGED
|
@@ -50,7 +50,7 @@ export class Configuration {
|
|
|
50
50
|
* @param scopes oauth2 scope
|
|
51
51
|
* @memberof Configuration
|
|
52
52
|
*/
|
|
53
|
-
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>);
|
|
53
|
+
accessToken?: string | Promise<string> | ((name?: string, scopes?: string[]) => string) | ((name?: string, scopes?: string[]) => Promise<string>) = '';
|
|
54
54
|
/**
|
|
55
55
|
* override base path
|
|
56
56
|
*
|