@emilgroup/claim-sdk-node 1.17.2-beta.0 → 1.17.2-beta.4
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 +9 -1
- package/README.md +18 -2
- package/api/claim-partner-roles-api.ts +41 -41
- package/api/claim-partners-api.ts +55 -55
- package/api/claim-regulations-api.ts +689 -0
- package/api/claim-statuses-api.ts +39 -39
- package/api/claims-api.ts +37 -37
- package/api/{default-api.ts → health-check-api.ts} +22 -18
- package/api/settlements-api.ts +39 -39
- package/api.ts +4 -2
- 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-regulations-api.d.ts +390 -0
- package/dist/api/claim-regulations-api.js +646 -0
- package/dist/api/claim-statuses-api.d.ts +39 -39
- package/dist/api/claim-statuses-api.js +23 -23
- package/dist/api/claims-api.d.ts +37 -37
- package/dist/api/claims-api.js +19 -19
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +31 -27
- package/dist/api/settlements-api.d.ts +39 -39
- package/dist/api/settlements-api.js +23 -23
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/create-claim-partner-response-class.d.ts +1 -1
- package/dist/models/create-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/create-claim-request-dto.d.ts +17 -17
- package/dist/models/create-regulation-item-request-dto.d.ts +68 -0
- package/dist/models/create-regulation-item-request-dto.js +34 -0
- package/dist/models/get-claim-partner-response-class.d.ts +1 -1
- package/dist/models/get-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/list-regulations-response-class.d.ts +31 -0
- package/dist/models/list-regulations-response-class.js +15 -0
- package/dist/models/patch-claim-request-dto.d.ts +18 -18
- package/dist/models/payout-details-class.d.ts +90 -0
- package/dist/models/payout-details-class.js +26 -0
- package/dist/models/regress-details-class.d.ts +81 -0
- package/dist/models/regress-details-class.js +29 -0
- package/dist/models/regulation-item-class.d.ts +126 -0
- package/dist/models/regulation-item-class.js +34 -0
- package/dist/models/regulation-item-response-class.d.ts +25 -0
- package/dist/models/regulation-item-response-class.js +15 -0
- package/dist/models/reserve-details-class.d.ts +59 -0
- package/dist/models/reserve-details-class.js +20 -0
- package/dist/models/update-claim-partner-role-response-class.d.ts +1 -1
- package/dist/models/update-claim-request-dto.d.ts +15 -15
- package/models/create-claim-partner-response-class.ts +1 -1
- package/models/create-claim-partner-role-response-class.ts +1 -1
- package/models/create-claim-request-dto.ts +17 -17
- package/models/create-regulation-item-request-dto.ts +78 -0
- package/models/get-claim-partner-response-class.ts +1 -1
- package/models/get-claim-partner-role-response-class.ts +1 -1
- package/models/index.ts +7 -0
- package/models/list-regulations-response-class.ts +37 -0
- package/models/patch-claim-request-dto.ts +18 -18
- package/models/payout-details-class.ts +100 -0
- package/models/regress-details-class.ts +91 -0
- package/models/regulation-item-class.ts +136 -0
- package/models/regulation-item-response-class.ts +31 -0
- package/models/reserve-details-class.ts +68 -0
- package/models/update-claim-partner-role-response-class.ts +1 -1
- package/models/update-claim-request-dto.ts +15 -15
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
|
@@ -40,7 +40,7 @@ export declare const ClaimStatusesApiAxiosParamCreator: (configuration?: Configu
|
|
|
40
40
|
*/
|
|
41
41
|
deleteClaimStatus: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
42
42
|
/**
|
|
43
|
-
* Retrieves the details of the claim status that was previously created.
|
|
43
|
+
* 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.
|
|
44
44
|
* @summary Retrieve the claim status
|
|
45
45
|
* @param {number} id
|
|
46
46
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -49,20 +49,20 @@ export declare const ClaimStatusesApiAxiosParamCreator: (configuration?: Configu
|
|
|
49
49
|
*/
|
|
50
50
|
getClaimStatus: (id: number, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
51
51
|
/**
|
|
52
|
-
* Returns a list of claim statuses you have previously created.
|
|
52
|
+
* 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.
|
|
53
53
|
* @summary List claim statuses
|
|
54
54
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
55
55
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
56
56
|
* @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.
|
|
57
|
-
* @param {
|
|
58
|
-
* @param {any} [search]
|
|
59
|
-
* @param {
|
|
60
|
-
* @param {
|
|
61
|
-
* @param {
|
|
57
|
+
* @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>
|
|
58
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
59
|
+
* @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>
|
|
60
|
+
* @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: .<i>
|
|
61
|
+
* @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>
|
|
62
62
|
* @param {*} [options] Override http request option.
|
|
63
63
|
* @throws {RequiredError}
|
|
64
64
|
*/
|
|
65
|
-
listClaimStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
65
|
+
listClaimStatuses: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* ClaimStatusesApi - functional programming interface
|
|
@@ -88,7 +88,7 @@ export declare const ClaimStatusesApiFp: (configuration?: Configuration) => {
|
|
|
88
88
|
*/
|
|
89
89
|
deleteClaimStatus(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
90
90
|
/**
|
|
91
|
-
* Retrieves the details of the claim status that was previously created.
|
|
91
|
+
* 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.
|
|
92
92
|
* @summary Retrieve the claim status
|
|
93
93
|
* @param {number} id
|
|
94
94
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -97,20 +97,20 @@ export declare const ClaimStatusesApiFp: (configuration?: Configuration) => {
|
|
|
97
97
|
*/
|
|
98
98
|
getClaimStatus(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimStatusResponseClass>>;
|
|
99
99
|
/**
|
|
100
|
-
* Returns a list of claim statuses you have previously created.
|
|
100
|
+
* 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.
|
|
101
101
|
* @summary List claim statuses
|
|
102
102
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
103
103
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
104
104
|
* @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.
|
|
105
|
-
* @param {
|
|
106
|
-
* @param {any} [search]
|
|
107
|
-
* @param {
|
|
108
|
-
* @param {
|
|
109
|
-
* @param {
|
|
105
|
+
* @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>
|
|
106
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
107
|
+
* @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>
|
|
108
|
+
* @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: .<i>
|
|
109
|
+
* @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>
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
112
112
|
*/
|
|
113
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
113
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>>;
|
|
114
114
|
};
|
|
115
115
|
/**
|
|
116
116
|
* ClaimStatusesApi - factory interface
|
|
@@ -136,7 +136,7 @@ export declare const ClaimStatusesApiFactory: (configuration?: Configuration, ba
|
|
|
136
136
|
*/
|
|
137
137
|
deleteClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<void>;
|
|
138
138
|
/**
|
|
139
|
-
* Retrieves the details of the claim status that was previously created.
|
|
139
|
+
* 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.
|
|
140
140
|
* @summary Retrieve the claim status
|
|
141
141
|
* @param {number} id
|
|
142
142
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -145,20 +145,20 @@ export declare const ClaimStatusesApiFactory: (configuration?: Configuration, ba
|
|
|
145
145
|
*/
|
|
146
146
|
getClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass>;
|
|
147
147
|
/**
|
|
148
|
-
* Returns a list of claim statuses you have previously created.
|
|
148
|
+
* 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.
|
|
149
149
|
* @summary List claim statuses
|
|
150
150
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
151
151
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
152
152
|
* @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.
|
|
153
|
-
* @param {
|
|
154
|
-
* @param {any} [search]
|
|
155
|
-
* @param {
|
|
156
|
-
* @param {
|
|
157
|
-
* @param {
|
|
153
|
+
* @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>
|
|
154
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
155
|
+
* @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>
|
|
156
|
+
* @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: .<i>
|
|
157
|
+
* @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>
|
|
158
158
|
* @param {*} [options] Override http request option.
|
|
159
159
|
* @throws {RequiredError}
|
|
160
160
|
*/
|
|
161
|
-
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
161
|
+
listClaimStatuses(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass>;
|
|
162
162
|
};
|
|
163
163
|
/**
|
|
164
164
|
* Request parameters for createClaimStatus operation in ClaimStatusesApi.
|
|
@@ -242,35 +242,35 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
242
242
|
*/
|
|
243
243
|
readonly pageToken?: any;
|
|
244
244
|
/**
|
|
245
|
-
* Filter the response by one or multiple fields.
|
|
246
|
-
* @type {
|
|
245
|
+
* 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>
|
|
246
|
+
* @type {string}
|
|
247
247
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
248
248
|
*/
|
|
249
|
-
readonly filter?:
|
|
249
|
+
readonly filter?: string;
|
|
250
250
|
/**
|
|
251
|
-
*
|
|
251
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
252
252
|
* @type {any}
|
|
253
253
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
254
254
|
*/
|
|
255
255
|
readonly search?: any;
|
|
256
256
|
/**
|
|
257
|
-
*
|
|
258
|
-
* @type {
|
|
257
|
+
* 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>
|
|
258
|
+
* @type {string}
|
|
259
259
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
260
260
|
*/
|
|
261
|
-
readonly order?:
|
|
261
|
+
readonly order?: string;
|
|
262
262
|
/**
|
|
263
|
-
*
|
|
264
|
-
* @type {
|
|
263
|
+
* 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: .<i>
|
|
264
|
+
* @type {string}
|
|
265
265
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
266
266
|
*/
|
|
267
|
-
readonly expand?:
|
|
267
|
+
readonly expand?: string;
|
|
268
268
|
/**
|
|
269
|
-
* Filters the response by one or multiple fields.
|
|
270
|
-
* @type {
|
|
269
|
+
* 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>
|
|
270
|
+
* @type {string}
|
|
271
271
|
* @memberof ClaimStatusesApiListClaimStatuses
|
|
272
272
|
*/
|
|
273
|
-
readonly filters?:
|
|
273
|
+
readonly filters?: string;
|
|
274
274
|
}
|
|
275
275
|
/**
|
|
276
276
|
* ClaimStatusesApi - object-oriented interface
|
|
@@ -298,7 +298,7 @@ export declare class ClaimStatusesApi extends BaseAPI {
|
|
|
298
298
|
*/
|
|
299
299
|
deleteClaimStatus(requestParameters: ClaimStatusesApiDeleteClaimStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
300
300
|
/**
|
|
301
|
-
* Retrieves the details of the claim status that was previously created.
|
|
301
|
+
* 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.
|
|
302
302
|
* @summary Retrieve the claim status
|
|
303
303
|
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
304
304
|
* @param {*} [options] Override http request option.
|
|
@@ -307,7 +307,7 @@ export declare class ClaimStatusesApi extends BaseAPI {
|
|
|
307
307
|
*/
|
|
308
308
|
getClaimStatus(requestParameters: ClaimStatusesApiGetClaimStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimStatusResponseClass, any>>;
|
|
309
309
|
/**
|
|
310
|
-
* Returns a list of claim statuses you have previously created.
|
|
310
|
+
* 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.
|
|
311
311
|
* @summary List claim statuses
|
|
312
312
|
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
313
313
|
* @param {*} [options] Override http request option.
|
|
@@ -194,7 +194,7 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
});
|
|
195
195
|
},
|
|
196
196
|
/**
|
|
197
|
-
* Retrieves the details of the claim status that was previously created.
|
|
197
|
+
* 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.
|
|
198
198
|
* @summary Retrieve the claim status
|
|
199
199
|
* @param {number} id
|
|
200
200
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -242,16 +242,16 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
242
242
|
});
|
|
243
243
|
},
|
|
244
244
|
/**
|
|
245
|
-
* Returns a list of claim statuses you have previously created.
|
|
245
|
+
* 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.
|
|
246
246
|
* @summary List claim statuses
|
|
247
247
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
248
248
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
249
249
|
* @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.
|
|
250
|
-
* @param {
|
|
251
|
-
* @param {any} [search]
|
|
252
|
-
* @param {
|
|
253
|
-
* @param {
|
|
254
|
-
* @param {
|
|
250
|
+
* @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>
|
|
251
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
252
|
+
* @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>
|
|
253
|
+
* @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: .<i>
|
|
254
|
+
* @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>
|
|
255
255
|
* @param {*} [options] Override http request option.
|
|
256
256
|
* @throws {RequiredError}
|
|
257
257
|
*/
|
|
@@ -366,7 +366,7 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
366
366
|
});
|
|
367
367
|
},
|
|
368
368
|
/**
|
|
369
|
-
* Retrieves the details of the claim status that was previously created.
|
|
369
|
+
* 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.
|
|
370
370
|
* @summary Retrieve the claim status
|
|
371
371
|
* @param {number} id
|
|
372
372
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -387,16 +387,16 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
387
387
|
});
|
|
388
388
|
},
|
|
389
389
|
/**
|
|
390
|
-
* Returns a list of claim statuses you have previously created.
|
|
390
|
+
* 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.
|
|
391
391
|
* @summary List claim statuses
|
|
392
392
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
393
393
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
394
394
|
* @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.
|
|
395
|
-
* @param {
|
|
396
|
-
* @param {any} [search]
|
|
397
|
-
* @param {
|
|
398
|
-
* @param {
|
|
399
|
-
* @param {
|
|
395
|
+
* @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>
|
|
396
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
397
|
+
* @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>
|
|
398
|
+
* @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: .<i>
|
|
399
|
+
* @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>
|
|
400
400
|
* @param {*} [options] Override http request option.
|
|
401
401
|
* @throws {RequiredError}
|
|
402
402
|
*/
|
|
@@ -446,7 +446,7 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
446
446
|
return localVarFp.deleteClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
447
447
|
},
|
|
448
448
|
/**
|
|
449
|
-
* Retrieves the details of the claim status that was previously created.
|
|
449
|
+
* 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.
|
|
450
450
|
* @summary Retrieve the claim status
|
|
451
451
|
* @param {number} id
|
|
452
452
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
@@ -457,16 +457,16 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
457
457
|
return localVarFp.getClaimStatus(id, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
458
458
|
},
|
|
459
459
|
/**
|
|
460
|
-
* Returns a list of claim statuses you have previously created.
|
|
460
|
+
* 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.
|
|
461
461
|
* @summary List claim statuses
|
|
462
462
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
463
463
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
464
464
|
* @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.
|
|
465
|
-
* @param {
|
|
466
|
-
* @param {any} [search]
|
|
467
|
-
* @param {
|
|
468
|
-
* @param {
|
|
469
|
-
* @param {
|
|
465
|
+
* @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>
|
|
466
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
467
|
+
* @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>
|
|
468
|
+
* @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: .<i>
|
|
469
|
+
* @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>
|
|
470
470
|
* @param {*} [options] Override http request option.
|
|
471
471
|
* @throws {RequiredError}
|
|
472
472
|
*/
|
|
@@ -512,7 +512,7 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
512
512
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
513
513
|
};
|
|
514
514
|
/**
|
|
515
|
-
* Retrieves the details of the claim status that was previously created.
|
|
515
|
+
* 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.
|
|
516
516
|
* @summary Retrieve the claim status
|
|
517
517
|
* @param {ClaimStatusesApiGetClaimStatusRequest} requestParameters Request parameters.
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
@@ -524,7 +524,7 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
524
524
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
525
525
|
};
|
|
526
526
|
/**
|
|
527
|
-
* Returns a list of claim statuses you have previously created.
|
|
527
|
+
* 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.
|
|
528
528
|
* @summary List claim statuses
|
|
529
529
|
* @param {ClaimStatusesApiListClaimStatusesRequest} requestParameters Request parameters.
|
|
530
530
|
* @param {*} [options] Override http request option.
|
package/dist/api/claims-api.d.ts
CHANGED
|
@@ -53,20 +53,20 @@ export declare const ClaimsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
53
53
|
*/
|
|
54
54
|
getClaim: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
55
|
/**
|
|
56
|
-
* Returns a list of claims you have previously created.
|
|
56
|
+
* 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.
|
|
57
57
|
* @summary List claims
|
|
58
58
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
59
59
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
60
60
|
* @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.
|
|
61
|
-
* @param {
|
|
62
|
-
* @param {
|
|
63
|
-
* @param {
|
|
64
|
-
* @param {
|
|
65
|
-
* @param {
|
|
61
|
+
* @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>
|
|
62
|
+
* @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>
|
|
63
|
+
* @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>
|
|
64
|
+
* @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>
|
|
65
|
+
* @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>
|
|
66
66
|
* @param {*} [options] Override http request option.
|
|
67
67
|
* @throws {RequiredError}
|
|
68
68
|
*/
|
|
69
|
-
listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
69
|
+
listClaims: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
70
|
/**
|
|
71
71
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
72
72
|
* @summary Patch the claim
|
|
@@ -121,20 +121,20 @@ export declare const ClaimsApiFp: (configuration?: Configuration) => {
|
|
|
121
121
|
*/
|
|
122
122
|
getClaim(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>>;
|
|
123
123
|
/**
|
|
124
|
-
* Returns a list of claims you have previously created.
|
|
124
|
+
* 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.
|
|
125
125
|
* @summary List claims
|
|
126
126
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
127
127
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
128
128
|
* @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.
|
|
129
|
-
* @param {
|
|
130
|
-
* @param {
|
|
131
|
-
* @param {
|
|
132
|
-
* @param {
|
|
133
|
-
* @param {
|
|
129
|
+
* @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>
|
|
130
|
+
* @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>
|
|
131
|
+
* @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>
|
|
132
|
+
* @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>
|
|
133
|
+
* @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>
|
|
134
134
|
* @param {*} [options] Override http request option.
|
|
135
135
|
* @throws {RequiredError}
|
|
136
136
|
*/
|
|
137
|
-
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
137
|
+
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>>;
|
|
138
138
|
/**
|
|
139
139
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
140
140
|
* @summary Patch the claim
|
|
@@ -189,20 +189,20 @@ export declare const ClaimsApiFactory: (configuration?: Configuration, basePath?
|
|
|
189
189
|
*/
|
|
190
190
|
getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass>;
|
|
191
191
|
/**
|
|
192
|
-
* Returns a list of claims you have previously created.
|
|
192
|
+
* 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.
|
|
193
193
|
* @summary List claims
|
|
194
194
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
195
195
|
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
196
196
|
* @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.
|
|
197
|
-
* @param {
|
|
198
|
-
* @param {
|
|
199
|
-
* @param {
|
|
200
|
-
* @param {
|
|
201
|
-
* @param {
|
|
197
|
+
* @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>
|
|
198
|
+
* @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>
|
|
199
|
+
* @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>
|
|
200
|
+
* @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>
|
|
201
|
+
* @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>
|
|
202
202
|
* @param {*} [options] Override http request option.
|
|
203
203
|
* @throws {RequiredError}
|
|
204
204
|
*/
|
|
205
|
-
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?:
|
|
205
|
+
listClaims(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass>;
|
|
206
206
|
/**
|
|
207
207
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged.
|
|
208
208
|
* @summary Patch the claim
|
|
@@ -306,35 +306,35 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
306
306
|
*/
|
|
307
307
|
readonly pageToken?: any;
|
|
308
308
|
/**
|
|
309
|
-
* Filter the response by one or multiple fields.
|
|
310
|
-
* @type {
|
|
309
|
+
* 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>
|
|
310
|
+
* @type {string}
|
|
311
311
|
* @memberof ClaimsApiListClaims
|
|
312
312
|
*/
|
|
313
|
-
readonly filter?:
|
|
313
|
+
readonly filter?: string;
|
|
314
314
|
/**
|
|
315
|
-
* Search the
|
|
316
|
-
* @type {
|
|
315
|
+
* 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>
|
|
316
|
+
* @type {string}
|
|
317
317
|
* @memberof ClaimsApiListClaims
|
|
318
318
|
*/
|
|
319
|
-
readonly search?:
|
|
319
|
+
readonly search?: string;
|
|
320
320
|
/**
|
|
321
|
-
*
|
|
322
|
-
* @type {
|
|
321
|
+
* 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>
|
|
322
|
+
* @type {string}
|
|
323
323
|
* @memberof ClaimsApiListClaims
|
|
324
324
|
*/
|
|
325
|
-
readonly order?:
|
|
325
|
+
readonly order?: string;
|
|
326
326
|
/**
|
|
327
|
-
*
|
|
328
|
-
* @type {
|
|
327
|
+
* 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>
|
|
328
|
+
* @type {string}
|
|
329
329
|
* @memberof ClaimsApiListClaims
|
|
330
330
|
*/
|
|
331
|
-
readonly expand?:
|
|
331
|
+
readonly expand?: string;
|
|
332
332
|
/**
|
|
333
|
-
* Filters the response by one or multiple fields.
|
|
334
|
-
* @type {
|
|
333
|
+
* 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>
|
|
334
|
+
* @type {string}
|
|
335
335
|
* @memberof ClaimsApiListClaims
|
|
336
336
|
*/
|
|
337
|
-
readonly filters?:
|
|
337
|
+
readonly filters?: string;
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
340
|
* Request parameters for patchClaim operation in ClaimsApi.
|
|
@@ -421,7 +421,7 @@ export declare class ClaimsApi extends BaseAPI {
|
|
|
421
421
|
*/
|
|
422
422
|
getClaim(requestParameters: ClaimsApiGetClaimRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClaimResponseClass, any>>;
|
|
423
423
|
/**
|
|
424
|
-
* Returns a list of claims you have previously created.
|
|
424
|
+
* 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.
|
|
425
425
|
* @summary List claims
|
|
426
426
|
* @param {ClaimsApiListClaimsRequest} requestParameters Request parameters.
|
|
427
427
|
* @param {*} [options] Override http request option.
|