@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.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 +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +644 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1336 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +581 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1177 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
package/api/claims-api.ts
CHANGED
|
@@ -55,6 +55,54 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
55
55
|
createClaim: async (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
56
56
|
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
57
57
|
assertParamExists('createClaim', 'createClaimRequestDto', createClaimRequestDto)
|
|
58
|
+
const localVarPath = `/claimservice/v1/claims`;
|
|
59
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
61
|
+
let baseOptions;
|
|
62
|
+
let baseAccessToken;
|
|
63
|
+
if (configuration) {
|
|
64
|
+
baseOptions = configuration.baseOptions;
|
|
65
|
+
baseAccessToken = configuration.accessToken;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
|
|
72
|
+
// authentication bearer required
|
|
73
|
+
// http bearer authentication required
|
|
74
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
75
|
+
|
|
76
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
77
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
83
|
+
|
|
84
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
85
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
86
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
87
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimRequestDto, localVarRequestOptions, configuration)
|
|
88
|
+
|
|
89
|
+
return {
|
|
90
|
+
url: toPathString(localVarUrlObj),
|
|
91
|
+
options: localVarRequestOptions,
|
|
92
|
+
};
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
96
|
+
* @summary Create the claim
|
|
97
|
+
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
98
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @deprecated
|
|
101
|
+
* @throws {RequiredError}
|
|
102
|
+
*/
|
|
103
|
+
createClaim1: async (createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
104
|
+
// verify required parameter 'createClaimRequestDto' is not null or undefined
|
|
105
|
+
assertParamExists('createClaim1', 'createClaimRequestDto', createClaimRequestDto)
|
|
58
106
|
const localVarPath = `/v1/claims`;
|
|
59
107
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
60
108
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -102,6 +150,52 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
102
150
|
deleteClaim: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
103
151
|
// verify required parameter 'code' is not null or undefined
|
|
104
152
|
assertParamExists('deleteClaim', 'code', code)
|
|
153
|
+
const localVarPath = `/claimservice/v1/claims/{code}`
|
|
154
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
155
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
156
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
157
|
+
let baseOptions;
|
|
158
|
+
let baseAccessToken;
|
|
159
|
+
if (configuration) {
|
|
160
|
+
baseOptions = configuration.baseOptions;
|
|
161
|
+
baseAccessToken = configuration.accessToken;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
165
|
+
const localVarHeaderParameter = {} as any;
|
|
166
|
+
const localVarQueryParameter = {} as any;
|
|
167
|
+
|
|
168
|
+
// authentication bearer required
|
|
169
|
+
// http bearer authentication required
|
|
170
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
171
|
+
|
|
172
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
173
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
|
|
177
|
+
|
|
178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
180
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
181
|
+
|
|
182
|
+
return {
|
|
183
|
+
url: toPathString(localVarUrlObj),
|
|
184
|
+
options: localVarRequestOptions,
|
|
185
|
+
};
|
|
186
|
+
},
|
|
187
|
+
/**
|
|
188
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
189
|
+
* @summary Delete the claim
|
|
190
|
+
* @param {string} code
|
|
191
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
192
|
+
* @param {*} [options] Override http request option.
|
|
193
|
+
* @deprecated
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
deleteClaim1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
|
+
// verify required parameter 'code' is not null or undefined
|
|
198
|
+
assertParamExists('deleteClaim1', 'code', code)
|
|
105
199
|
const localVarPath = `/v1/claims/{code}`
|
|
106
200
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
107
201
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -147,6 +241,52 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
147
241
|
getClaim: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
148
242
|
// verify required parameter 'code' is not null or undefined
|
|
149
243
|
assertParamExists('getClaim', 'code', code)
|
|
244
|
+
const localVarPath = `/claimservice/v1/claims/{code}`
|
|
245
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
248
|
+
let baseOptions;
|
|
249
|
+
let baseAccessToken;
|
|
250
|
+
if (configuration) {
|
|
251
|
+
baseOptions = configuration.baseOptions;
|
|
252
|
+
baseAccessToken = configuration.accessToken;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
256
|
+
const localVarHeaderParameter = {} as any;
|
|
257
|
+
const localVarQueryParameter = {} as any;
|
|
258
|
+
|
|
259
|
+
// authentication bearer required
|
|
260
|
+
// http bearer authentication required
|
|
261
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
262
|
+
|
|
263
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
264
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
|
|
269
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
270
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
271
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
272
|
+
|
|
273
|
+
return {
|
|
274
|
+
url: toPathString(localVarUrlObj),
|
|
275
|
+
options: localVarRequestOptions,
|
|
276
|
+
};
|
|
277
|
+
},
|
|
278
|
+
/**
|
|
279
|
+
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
280
|
+
* @summary Retrieve the claim
|
|
281
|
+
* @param {string} code
|
|
282
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
283
|
+
* @param {*} [options] Override http request option.
|
|
284
|
+
* @deprecated
|
|
285
|
+
* @throws {RequiredError}
|
|
286
|
+
*/
|
|
287
|
+
getClaim1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
288
|
+
// verify required parameter 'code' is not null or undefined
|
|
289
|
+
assertParamExists('getClaim1', 'code', code)
|
|
150
290
|
const localVarPath = `/v1/claims/{code}`
|
|
151
291
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
152
292
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -192,6 +332,52 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
192
332
|
getClaimRegulationSummary: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
333
|
// verify required parameter 'code' is not null or undefined
|
|
194
334
|
assertParamExists('getClaimRegulationSummary', 'code', code)
|
|
335
|
+
const localVarPath = `/claimservice/v1/claims/{code}/regulations/summary`
|
|
336
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
337
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
338
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
339
|
+
let baseOptions;
|
|
340
|
+
let baseAccessToken;
|
|
341
|
+
if (configuration) {
|
|
342
|
+
baseOptions = configuration.baseOptions;
|
|
343
|
+
baseAccessToken = configuration.accessToken;
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
347
|
+
const localVarHeaderParameter = {} as any;
|
|
348
|
+
const localVarQueryParameter = {} as any;
|
|
349
|
+
|
|
350
|
+
// authentication bearer required
|
|
351
|
+
// http bearer authentication required
|
|
352
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
353
|
+
|
|
354
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
355
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
356
|
+
}
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
361
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
362
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
363
|
+
|
|
364
|
+
return {
|
|
365
|
+
url: toPathString(localVarUrlObj),
|
|
366
|
+
options: localVarRequestOptions,
|
|
367
|
+
};
|
|
368
|
+
},
|
|
369
|
+
/**
|
|
370
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
371
|
+
* @summary Retrieve the claim regulation summary
|
|
372
|
+
* @param {string} code Unique identifier for the object.
|
|
373
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
374
|
+
* @param {*} [options] Override http request option.
|
|
375
|
+
* @deprecated
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
getClaimRegulationSummary1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
379
|
+
// verify required parameter 'code' is not null or undefined
|
|
380
|
+
assertParamExists('getClaimRegulationSummary1', 'code', code)
|
|
195
381
|
const localVarPath = `/v1/claims/{code}/regulations/summary`
|
|
196
382
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
197
383
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -232,15 +418,92 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
232
418
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
233
419
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
234
420
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
235
|
-
* @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>
|
|
421
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
236
422
|
* @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>
|
|
237
423
|
* @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>
|
|
238
424
|
* @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>
|
|
239
|
-
* @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>
|
|
425
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
240
426
|
* @param {*} [options] Override http request option.
|
|
241
427
|
* @throws {RequiredError}
|
|
242
428
|
*/
|
|
243
429
|
listClaims: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
430
|
+
const localVarPath = `/claimservice/v1/claims`;
|
|
431
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
432
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
433
|
+
let baseOptions;
|
|
434
|
+
let baseAccessToken;
|
|
435
|
+
if (configuration) {
|
|
436
|
+
baseOptions = configuration.baseOptions;
|
|
437
|
+
baseAccessToken = configuration.accessToken;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
441
|
+
const localVarHeaderParameter = {} as any;
|
|
442
|
+
const localVarQueryParameter = {} as any;
|
|
443
|
+
|
|
444
|
+
// authentication bearer required
|
|
445
|
+
// http bearer authentication required
|
|
446
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
447
|
+
|
|
448
|
+
if (pageSize !== undefined) {
|
|
449
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (pageToken !== undefined) {
|
|
453
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
if (filter !== undefined) {
|
|
457
|
+
localVarQueryParameter['filter'] = filter;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
if (search !== undefined) {
|
|
461
|
+
localVarQueryParameter['search'] = search;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
if (order !== undefined) {
|
|
465
|
+
localVarQueryParameter['order'] = order;
|
|
466
|
+
}
|
|
467
|
+
|
|
468
|
+
if (expand !== undefined) {
|
|
469
|
+
localVarQueryParameter['expand'] = expand;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
if (filters !== undefined) {
|
|
473
|
+
localVarQueryParameter['filters'] = filters;
|
|
474
|
+
}
|
|
475
|
+
|
|
476
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
477
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
483
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
484
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
485
|
+
|
|
486
|
+
return {
|
|
487
|
+
url: toPathString(localVarUrlObj),
|
|
488
|
+
options: localVarRequestOptions,
|
|
489
|
+
};
|
|
490
|
+
},
|
|
491
|
+
/**
|
|
492
|
+
* 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. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
493
|
+
* @summary List claims
|
|
494
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
495
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
496
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
497
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
498
|
+
* @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>
|
|
499
|
+
* @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>
|
|
500
|
+
* @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>
|
|
501
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
502
|
+
* @param {*} [options] Override http request option.
|
|
503
|
+
* @deprecated
|
|
504
|
+
* @throws {RequiredError}
|
|
505
|
+
*/
|
|
506
|
+
listClaims1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
244
507
|
const localVarPath = `/v1/claims`;
|
|
245
508
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
246
509
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -316,6 +579,58 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
316
579
|
assertParamExists('patchClaim', 'code', code)
|
|
317
580
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
318
581
|
assertParamExists('patchClaim', 'patchClaimRequestDto', patchClaimRequestDto)
|
|
582
|
+
const localVarPath = `/claimservice/v1/claims/{code}`
|
|
583
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
584
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
586
|
+
let baseOptions;
|
|
587
|
+
let baseAccessToken;
|
|
588
|
+
if (configuration) {
|
|
589
|
+
baseOptions = configuration.baseOptions;
|
|
590
|
+
baseAccessToken = configuration.accessToken;
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
594
|
+
const localVarHeaderParameter = {} as any;
|
|
595
|
+
const localVarQueryParameter = {} as any;
|
|
596
|
+
|
|
597
|
+
// authentication bearer required
|
|
598
|
+
// http bearer authentication required
|
|
599
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
600
|
+
|
|
601
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
602
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
603
|
+
}
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
|
|
607
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
608
|
+
|
|
609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
611
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
612
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchClaimRequestDto, localVarRequestOptions, configuration)
|
|
613
|
+
|
|
614
|
+
return {
|
|
615
|
+
url: toPathString(localVarUrlObj),
|
|
616
|
+
options: localVarRequestOptions,
|
|
617
|
+
};
|
|
618
|
+
},
|
|
619
|
+
/**
|
|
620
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
621
|
+
* @summary Patch the claim
|
|
622
|
+
* @param {string} code
|
|
623
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
624
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
625
|
+
* @param {*} [options] Override http request option.
|
|
626
|
+
* @deprecated
|
|
627
|
+
* @throws {RequiredError}
|
|
628
|
+
*/
|
|
629
|
+
patchClaim1: async (code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
630
|
+
// verify required parameter 'code' is not null or undefined
|
|
631
|
+
assertParamExists('patchClaim1', 'code', code)
|
|
632
|
+
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
633
|
+
assertParamExists('patchClaim1', 'patchClaimRequestDto', patchClaimRequestDto)
|
|
319
634
|
const localVarPath = `/v1/claims/{code}`
|
|
320
635
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
321
636
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -367,6 +682,58 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
367
682
|
assertParamExists('updateClaim', 'code', code)
|
|
368
683
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
369
684
|
assertParamExists('updateClaim', 'updateClaimRequestDto', updateClaimRequestDto)
|
|
685
|
+
const localVarPath = `/claimservice/v1/claims/{code}`
|
|
686
|
+
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
687
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
688
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
689
|
+
let baseOptions;
|
|
690
|
+
let baseAccessToken;
|
|
691
|
+
if (configuration) {
|
|
692
|
+
baseOptions = configuration.baseOptions;
|
|
693
|
+
baseAccessToken = configuration.accessToken;
|
|
694
|
+
}
|
|
695
|
+
|
|
696
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
697
|
+
const localVarHeaderParameter = {} as any;
|
|
698
|
+
const localVarQueryParameter = {} as any;
|
|
699
|
+
|
|
700
|
+
// authentication bearer required
|
|
701
|
+
// http bearer authentication required
|
|
702
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
703
|
+
|
|
704
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
705
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
711
|
+
|
|
712
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
713
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
714
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
715
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimRequestDto, localVarRequestOptions, configuration)
|
|
716
|
+
|
|
717
|
+
return {
|
|
718
|
+
url: toPathString(localVarUrlObj),
|
|
719
|
+
options: localVarRequestOptions,
|
|
720
|
+
};
|
|
721
|
+
},
|
|
722
|
+
/**
|
|
723
|
+
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
724
|
+
* @summary Update the claim
|
|
725
|
+
* @param {string} code
|
|
726
|
+
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
727
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
728
|
+
* @param {*} [options] Override http request option.
|
|
729
|
+
* @deprecated
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
*/
|
|
732
|
+
updateClaim1: async (code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
733
|
+
// verify required parameter 'code' is not null or undefined
|
|
734
|
+
assertParamExists('updateClaim1', 'code', code)
|
|
735
|
+
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
736
|
+
assertParamExists('updateClaim1', 'updateClaimRequestDto', updateClaimRequestDto)
|
|
370
737
|
const localVarPath = `/v1/claims/{code}`
|
|
371
738
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
372
739
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -426,6 +793,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
426
793
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim(createClaimRequestDto, authorization, options);
|
|
427
794
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
428
795
|
},
|
|
796
|
+
/**
|
|
797
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
798
|
+
* @summary Create the claim
|
|
799
|
+
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
800
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
801
|
+
* @param {*} [options] Override http request option.
|
|
802
|
+
* @deprecated
|
|
803
|
+
* @throws {RequiredError}
|
|
804
|
+
*/
|
|
805
|
+
async createClaim1(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimResponseClass>> {
|
|
806
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim1(createClaimRequestDto, authorization, options);
|
|
807
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
808
|
+
},
|
|
429
809
|
/**
|
|
430
810
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
431
811
|
* @summary Delete the claim
|
|
@@ -438,6 +818,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
438
818
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim(code, authorization, options);
|
|
439
819
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
440
820
|
},
|
|
821
|
+
/**
|
|
822
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
823
|
+
* @summary Delete the claim
|
|
824
|
+
* @param {string} code
|
|
825
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
826
|
+
* @param {*} [options] Override http request option.
|
|
827
|
+
* @deprecated
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
async deleteClaim1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim1(code, authorization, options);
|
|
832
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
833
|
+
},
|
|
441
834
|
/**
|
|
442
835
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
443
836
|
* @summary Retrieve the claim
|
|
@@ -450,6 +843,19 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
450
843
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(code, authorization, options);
|
|
451
844
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
452
845
|
},
|
|
846
|
+
/**
|
|
847
|
+
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
848
|
+
* @summary Retrieve the claim
|
|
849
|
+
* @param {string} code
|
|
850
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
851
|
+
* @param {*} [options] Override http request option.
|
|
852
|
+
* @deprecated
|
|
853
|
+
* @throws {RequiredError}
|
|
854
|
+
*/
|
|
855
|
+
async getClaim1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimResponseClass>> {
|
|
856
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim1(code, authorization, options);
|
|
857
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
858
|
+
},
|
|
453
859
|
/**
|
|
454
860
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
455
861
|
* @summary Retrieve the claim regulation summary
|
|
@@ -462,17 +868,30 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
462
868
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options);
|
|
463
869
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
464
870
|
},
|
|
871
|
+
/**
|
|
872
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
873
|
+
* @summary Retrieve the claim regulation summary
|
|
874
|
+
* @param {string} code Unique identifier for the object.
|
|
875
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
876
|
+
* @param {*} [options] Override http request option.
|
|
877
|
+
* @deprecated
|
|
878
|
+
* @throws {RequiredError}
|
|
879
|
+
*/
|
|
880
|
+
async getClaimRegulationSummary1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegulationSummaryResponseClass>> {
|
|
881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary1(code, authorization, options);
|
|
882
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
883
|
+
},
|
|
465
884
|
/**
|
|
466
885
|
* 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. **Required Permissions** \"claim-management.claims.view\"
|
|
467
886
|
* @summary List claims
|
|
468
887
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
469
888
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
470
889
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
471
|
-
* @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>
|
|
890
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
472
891
|
* @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>
|
|
473
892
|
* @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>
|
|
474
893
|
* @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>
|
|
475
|
-
* @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>
|
|
894
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
476
895
|
* @param {*} [options] Override http request option.
|
|
477
896
|
* @throws {RequiredError}
|
|
478
897
|
*/
|
|
@@ -480,6 +899,25 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
480
899
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
481
900
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
482
901
|
},
|
|
902
|
+
/**
|
|
903
|
+
* 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. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
904
|
+
* @summary List claims
|
|
905
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
906
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
907
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
908
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
909
|
+
* @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>
|
|
910
|
+
* @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>
|
|
911
|
+
* @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>
|
|
912
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
913
|
+
* @param {*} [options] Override http request option.
|
|
914
|
+
* @deprecated
|
|
915
|
+
* @throws {RequiredError}
|
|
916
|
+
*/
|
|
917
|
+
async listClaims1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimsResponseClass>> {
|
|
918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
919
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
920
|
+
},
|
|
483
921
|
/**
|
|
484
922
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
485
923
|
* @summary Patch the claim
|
|
@@ -493,6 +931,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
493
931
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim(code, patchClaimRequestDto, authorization, options);
|
|
494
932
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
495
933
|
},
|
|
934
|
+
/**
|
|
935
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
936
|
+
* @summary Patch the claim
|
|
937
|
+
* @param {string} code
|
|
938
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
939
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
940
|
+
* @param {*} [options] Override http request option.
|
|
941
|
+
* @deprecated
|
|
942
|
+
* @throws {RequiredError}
|
|
943
|
+
*/
|
|
944
|
+
async patchClaim1(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimResponseClass>> {
|
|
945
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim1(code, patchClaimRequestDto, authorization, options);
|
|
946
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
947
|
+
},
|
|
496
948
|
/**
|
|
497
949
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
498
950
|
* @summary Update the claim
|
|
@@ -506,6 +958,20 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
506
958
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim(code, updateClaimRequestDto, authorization, options);
|
|
507
959
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
508
960
|
},
|
|
961
|
+
/**
|
|
962
|
+
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
963
|
+
* @summary Update the claim
|
|
964
|
+
* @param {string} code
|
|
965
|
+
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
966
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
967
|
+
* @param {*} [options] Override http request option.
|
|
968
|
+
* @deprecated
|
|
969
|
+
* @throws {RequiredError}
|
|
970
|
+
*/
|
|
971
|
+
async updateClaim1(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimResponseClass>> {
|
|
972
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim1(code, updateClaimRequestDto, authorization, options);
|
|
973
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
974
|
+
},
|
|
509
975
|
}
|
|
510
976
|
};
|
|
511
977
|
|
|
@@ -527,6 +993,18 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
527
993
|
createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
|
|
528
994
|
return localVarFp.createClaim(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
529
995
|
},
|
|
996
|
+
/**
|
|
997
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
998
|
+
* @summary Create the claim
|
|
999
|
+
* @param {CreateClaimRequestDto} createClaimRequestDto
|
|
1000
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1001
|
+
* @param {*} [options] Override http request option.
|
|
1002
|
+
* @deprecated
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
*/
|
|
1005
|
+
createClaim1(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
|
|
1006
|
+
return localVarFp.createClaim1(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1007
|
+
},
|
|
530
1008
|
/**
|
|
531
1009
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
532
1010
|
* @summary Delete the claim
|
|
@@ -539,15 +1017,39 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
539
1017
|
return localVarFp.deleteClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
540
1018
|
},
|
|
541
1019
|
/**
|
|
542
|
-
* This will
|
|
1020
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1021
|
+
* @summary Delete the claim
|
|
1022
|
+
* @param {string} code
|
|
1023
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1024
|
+
* @param {*} [options] Override http request option.
|
|
1025
|
+
* @deprecated
|
|
1026
|
+
* @throws {RequiredError}
|
|
1027
|
+
*/
|
|
1028
|
+
deleteClaim1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
1029
|
+
return localVarFp.deleteClaim1(code, authorization, options).then((request) => request(axios, basePath));
|
|
1030
|
+
},
|
|
1031
|
+
/**
|
|
1032
|
+
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1033
|
+
* @summary Retrieve the claim
|
|
1034
|
+
* @param {string} code
|
|
1035
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1036
|
+
* @param {*} [options] Override http request option.
|
|
1037
|
+
* @throws {RequiredError}
|
|
1038
|
+
*/
|
|
1039
|
+
getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
|
|
1040
|
+
return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
1041
|
+
},
|
|
1042
|
+
/**
|
|
1043
|
+
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
543
1044
|
* @summary Retrieve the claim
|
|
544
1045
|
* @param {string} code
|
|
545
1046
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
1047
|
* @param {*} [options] Override http request option.
|
|
1048
|
+
* @deprecated
|
|
547
1049
|
* @throws {RequiredError}
|
|
548
1050
|
*/
|
|
549
|
-
|
|
550
|
-
return localVarFp.
|
|
1051
|
+
getClaim1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
|
|
1052
|
+
return localVarFp.getClaim1(code, authorization, options).then((request) => request(axios, basePath));
|
|
551
1053
|
},
|
|
552
1054
|
/**
|
|
553
1055
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
@@ -560,23 +1062,53 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
560
1062
|
getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
|
|
561
1063
|
return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
|
|
562
1064
|
},
|
|
1065
|
+
/**
|
|
1066
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1067
|
+
* @summary Retrieve the claim regulation summary
|
|
1068
|
+
* @param {string} code Unique identifier for the object.
|
|
1069
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1070
|
+
* @param {*} [options] Override http request option.
|
|
1071
|
+
* @deprecated
|
|
1072
|
+
* @throws {RequiredError}
|
|
1073
|
+
*/
|
|
1074
|
+
getClaimRegulationSummary1(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
|
|
1075
|
+
return localVarFp.getClaimRegulationSummary1(code, authorization, options).then((request) => request(axios, basePath));
|
|
1076
|
+
},
|
|
563
1077
|
/**
|
|
564
1078
|
* 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. **Required Permissions** \"claim-management.claims.view\"
|
|
565
1079
|
* @summary List claims
|
|
566
1080
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
567
1081
|
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
568
1082
|
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
569
|
-
* @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>
|
|
1083
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
570
1084
|
* @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>
|
|
571
1085
|
* @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>
|
|
572
1086
|
* @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>
|
|
573
|
-
* @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>
|
|
1087
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
574
1088
|
* @param {*} [options] Override http request option.
|
|
575
1089
|
* @throws {RequiredError}
|
|
576
1090
|
*/
|
|
577
1091
|
listClaims(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
578
1092
|
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
579
1093
|
},
|
|
1094
|
+
/**
|
|
1095
|
+
* 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. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1096
|
+
* @summary List claims
|
|
1097
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1098
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1099
|
+
* @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
|
|
1100
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1101
|
+
* @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>
|
|
1102
|
+
* @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>
|
|
1103
|
+
* @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>
|
|
1104
|
+
* @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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1105
|
+
* @param {*} [options] Override http request option.
|
|
1106
|
+
* @deprecated
|
|
1107
|
+
* @throws {RequiredError}
|
|
1108
|
+
*/
|
|
1109
|
+
listClaims1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
1110
|
+
return localVarFp.listClaims1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1111
|
+
},
|
|
580
1112
|
/**
|
|
581
1113
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
582
1114
|
* @summary Patch the claim
|
|
@@ -589,6 +1121,19 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
589
1121
|
patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
|
|
590
1122
|
return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
591
1123
|
},
|
|
1124
|
+
/**
|
|
1125
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1126
|
+
* @summary Patch the claim
|
|
1127
|
+
* @param {string} code
|
|
1128
|
+
* @param {PatchClaimRequestDto} patchClaimRequestDto
|
|
1129
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1130
|
+
* @param {*} [options] Override http request option.
|
|
1131
|
+
* @deprecated
|
|
1132
|
+
* @throws {RequiredError}
|
|
1133
|
+
*/
|
|
1134
|
+
patchClaim1(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
|
|
1135
|
+
return localVarFp.patchClaim1(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1136
|
+
},
|
|
592
1137
|
/**
|
|
593
1138
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
594
1139
|
* @summary Update the claim
|
|
@@ -601,6 +1146,19 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
601
1146
|
updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
|
|
602
1147
|
return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
603
1148
|
},
|
|
1149
|
+
/**
|
|
1150
|
+
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1151
|
+
* @summary Update the claim
|
|
1152
|
+
* @param {string} code
|
|
1153
|
+
* @param {UpdateClaimRequestDto} updateClaimRequestDto
|
|
1154
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1155
|
+
* @param {*} [options] Override http request option.
|
|
1156
|
+
* @deprecated
|
|
1157
|
+
* @throws {RequiredError}
|
|
1158
|
+
*/
|
|
1159
|
+
updateClaim1(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
|
|
1160
|
+
return localVarFp.updateClaim1(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1161
|
+
},
|
|
604
1162
|
};
|
|
605
1163
|
};
|
|
606
1164
|
|
|
@@ -625,6 +1183,27 @@ export interface ClaimsApiCreateClaimRequest {
|
|
|
625
1183
|
readonly authorization?: string
|
|
626
1184
|
}
|
|
627
1185
|
|
|
1186
|
+
/**
|
|
1187
|
+
* Request parameters for createClaim1 operation in ClaimsApi.
|
|
1188
|
+
* @export
|
|
1189
|
+
* @interface ClaimsApiCreateClaim1Request
|
|
1190
|
+
*/
|
|
1191
|
+
export interface ClaimsApiCreateClaim1Request {
|
|
1192
|
+
/**
|
|
1193
|
+
*
|
|
1194
|
+
* @type {CreateClaimRequestDto}
|
|
1195
|
+
* @memberof ClaimsApiCreateClaim1
|
|
1196
|
+
*/
|
|
1197
|
+
readonly createClaimRequestDto: CreateClaimRequestDto
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1201
|
+
* @type {string}
|
|
1202
|
+
* @memberof ClaimsApiCreateClaim1
|
|
1203
|
+
*/
|
|
1204
|
+
readonly authorization?: string
|
|
1205
|
+
}
|
|
1206
|
+
|
|
628
1207
|
/**
|
|
629
1208
|
* Request parameters for deleteClaim operation in ClaimsApi.
|
|
630
1209
|
* @export
|
|
@@ -646,6 +1225,27 @@ export interface ClaimsApiDeleteClaimRequest {
|
|
|
646
1225
|
readonly authorization?: string
|
|
647
1226
|
}
|
|
648
1227
|
|
|
1228
|
+
/**
|
|
1229
|
+
* Request parameters for deleteClaim1 operation in ClaimsApi.
|
|
1230
|
+
* @export
|
|
1231
|
+
* @interface ClaimsApiDeleteClaim1Request
|
|
1232
|
+
*/
|
|
1233
|
+
export interface ClaimsApiDeleteClaim1Request {
|
|
1234
|
+
/**
|
|
1235
|
+
*
|
|
1236
|
+
* @type {string}
|
|
1237
|
+
* @memberof ClaimsApiDeleteClaim1
|
|
1238
|
+
*/
|
|
1239
|
+
readonly code: string
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1243
|
+
* @type {string}
|
|
1244
|
+
* @memberof ClaimsApiDeleteClaim1
|
|
1245
|
+
*/
|
|
1246
|
+
readonly authorization?: string
|
|
1247
|
+
}
|
|
1248
|
+
|
|
649
1249
|
/**
|
|
650
1250
|
* Request parameters for getClaim operation in ClaimsApi.
|
|
651
1251
|
* @export
|
|
@@ -667,6 +1267,27 @@ export interface ClaimsApiGetClaimRequest {
|
|
|
667
1267
|
readonly authorization?: string
|
|
668
1268
|
}
|
|
669
1269
|
|
|
1270
|
+
/**
|
|
1271
|
+
* Request parameters for getClaim1 operation in ClaimsApi.
|
|
1272
|
+
* @export
|
|
1273
|
+
* @interface ClaimsApiGetClaim1Request
|
|
1274
|
+
*/
|
|
1275
|
+
export interface ClaimsApiGetClaim1Request {
|
|
1276
|
+
/**
|
|
1277
|
+
*
|
|
1278
|
+
* @type {string}
|
|
1279
|
+
* @memberof ClaimsApiGetClaim1
|
|
1280
|
+
*/
|
|
1281
|
+
readonly code: string
|
|
1282
|
+
|
|
1283
|
+
/**
|
|
1284
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1285
|
+
* @type {string}
|
|
1286
|
+
* @memberof ClaimsApiGetClaim1
|
|
1287
|
+
*/
|
|
1288
|
+
readonly authorization?: string
|
|
1289
|
+
}
|
|
1290
|
+
|
|
670
1291
|
/**
|
|
671
1292
|
* Request parameters for getClaimRegulationSummary operation in ClaimsApi.
|
|
672
1293
|
* @export
|
|
@@ -688,6 +1309,27 @@ export interface ClaimsApiGetClaimRegulationSummaryRequest {
|
|
|
688
1309
|
readonly authorization?: string
|
|
689
1310
|
}
|
|
690
1311
|
|
|
1312
|
+
/**
|
|
1313
|
+
* Request parameters for getClaimRegulationSummary1 operation in ClaimsApi.
|
|
1314
|
+
* @export
|
|
1315
|
+
* @interface ClaimsApiGetClaimRegulationSummary1Request
|
|
1316
|
+
*/
|
|
1317
|
+
export interface ClaimsApiGetClaimRegulationSummary1Request {
|
|
1318
|
+
/**
|
|
1319
|
+
* Unique identifier for the object.
|
|
1320
|
+
* @type {string}
|
|
1321
|
+
* @memberof ClaimsApiGetClaimRegulationSummary1
|
|
1322
|
+
*/
|
|
1323
|
+
readonly code: string
|
|
1324
|
+
|
|
1325
|
+
/**
|
|
1326
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1327
|
+
* @type {string}
|
|
1328
|
+
* @memberof ClaimsApiGetClaimRegulationSummary1
|
|
1329
|
+
*/
|
|
1330
|
+
readonly authorization?: string
|
|
1331
|
+
}
|
|
1332
|
+
|
|
691
1333
|
/**
|
|
692
1334
|
* Request parameters for listClaims operation in ClaimsApi.
|
|
693
1335
|
* @export
|
|
@@ -716,7 +1358,7 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
716
1358
|
readonly pageToken?: string
|
|
717
1359
|
|
|
718
1360
|
/**
|
|
719
|
-
* 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>
|
|
1361
|
+
* 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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
720
1362
|
* @type {string}
|
|
721
1363
|
* @memberof ClaimsApiListClaims
|
|
722
1364
|
*/
|
|
@@ -744,13 +1386,76 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
744
1386
|
readonly expand?: string
|
|
745
1387
|
|
|
746
1388
|
/**
|
|
747
|
-
* 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>
|
|
1389
|
+
* 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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
748
1390
|
* @type {string}
|
|
749
1391
|
* @memberof ClaimsApiListClaims
|
|
750
1392
|
*/
|
|
751
1393
|
readonly filters?: string
|
|
752
1394
|
}
|
|
753
1395
|
|
|
1396
|
+
/**
|
|
1397
|
+
* Request parameters for listClaims1 operation in ClaimsApi.
|
|
1398
|
+
* @export
|
|
1399
|
+
* @interface ClaimsApiListClaims1Request
|
|
1400
|
+
*/
|
|
1401
|
+
export interface ClaimsApiListClaims1Request {
|
|
1402
|
+
/**
|
|
1403
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1404
|
+
* @type {string}
|
|
1405
|
+
* @memberof ClaimsApiListClaims1
|
|
1406
|
+
*/
|
|
1407
|
+
readonly authorization?: string
|
|
1408
|
+
|
|
1409
|
+
/**
|
|
1410
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1411
|
+
* @type {number}
|
|
1412
|
+
* @memberof ClaimsApiListClaims1
|
|
1413
|
+
*/
|
|
1414
|
+
readonly pageSize?: number
|
|
1415
|
+
|
|
1416
|
+
/**
|
|
1417
|
+
* 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.
|
|
1418
|
+
* @type {string}
|
|
1419
|
+
* @memberof ClaimsApiListClaims1
|
|
1420
|
+
*/
|
|
1421
|
+
readonly pageToken?: string
|
|
1422
|
+
|
|
1423
|
+
/**
|
|
1424
|
+
* 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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1425
|
+
* @type {string}
|
|
1426
|
+
* @memberof ClaimsApiListClaims1
|
|
1427
|
+
*/
|
|
1428
|
+
readonly filter?: string
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* 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>
|
|
1432
|
+
* @type {string}
|
|
1433
|
+
* @memberof ClaimsApiListClaims1
|
|
1434
|
+
*/
|
|
1435
|
+
readonly search?: string
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* 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>
|
|
1439
|
+
* @type {string}
|
|
1440
|
+
* @memberof ClaimsApiListClaims1
|
|
1441
|
+
*/
|
|
1442
|
+
readonly order?: string
|
|
1443
|
+
|
|
1444
|
+
/**
|
|
1445
|
+
* 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>
|
|
1446
|
+
* @type {string}
|
|
1447
|
+
* @memberof ClaimsApiListClaims1
|
|
1448
|
+
*/
|
|
1449
|
+
readonly expand?: string
|
|
1450
|
+
|
|
1451
|
+
/**
|
|
1452
|
+
* 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, code, policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1453
|
+
* @type {string}
|
|
1454
|
+
* @memberof ClaimsApiListClaims1
|
|
1455
|
+
*/
|
|
1456
|
+
readonly filters?: string
|
|
1457
|
+
}
|
|
1458
|
+
|
|
754
1459
|
/**
|
|
755
1460
|
* Request parameters for patchClaim operation in ClaimsApi.
|
|
756
1461
|
* @export
|
|
@@ -779,6 +1484,34 @@ export interface ClaimsApiPatchClaimRequest {
|
|
|
779
1484
|
readonly authorization?: string
|
|
780
1485
|
}
|
|
781
1486
|
|
|
1487
|
+
/**
|
|
1488
|
+
* Request parameters for patchClaim1 operation in ClaimsApi.
|
|
1489
|
+
* @export
|
|
1490
|
+
* @interface ClaimsApiPatchClaim1Request
|
|
1491
|
+
*/
|
|
1492
|
+
export interface ClaimsApiPatchClaim1Request {
|
|
1493
|
+
/**
|
|
1494
|
+
*
|
|
1495
|
+
* @type {string}
|
|
1496
|
+
* @memberof ClaimsApiPatchClaim1
|
|
1497
|
+
*/
|
|
1498
|
+
readonly code: string
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
*
|
|
1502
|
+
* @type {PatchClaimRequestDto}
|
|
1503
|
+
* @memberof ClaimsApiPatchClaim1
|
|
1504
|
+
*/
|
|
1505
|
+
readonly patchClaimRequestDto: PatchClaimRequestDto
|
|
1506
|
+
|
|
1507
|
+
/**
|
|
1508
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1509
|
+
* @type {string}
|
|
1510
|
+
* @memberof ClaimsApiPatchClaim1
|
|
1511
|
+
*/
|
|
1512
|
+
readonly authorization?: string
|
|
1513
|
+
}
|
|
1514
|
+
|
|
782
1515
|
/**
|
|
783
1516
|
* Request parameters for updateClaim operation in ClaimsApi.
|
|
784
1517
|
* @export
|
|
@@ -807,6 +1540,34 @@ export interface ClaimsApiUpdateClaimRequest {
|
|
|
807
1540
|
readonly authorization?: string
|
|
808
1541
|
}
|
|
809
1542
|
|
|
1543
|
+
/**
|
|
1544
|
+
* Request parameters for updateClaim1 operation in ClaimsApi.
|
|
1545
|
+
* @export
|
|
1546
|
+
* @interface ClaimsApiUpdateClaim1Request
|
|
1547
|
+
*/
|
|
1548
|
+
export interface ClaimsApiUpdateClaim1Request {
|
|
1549
|
+
/**
|
|
1550
|
+
*
|
|
1551
|
+
* @type {string}
|
|
1552
|
+
* @memberof ClaimsApiUpdateClaim1
|
|
1553
|
+
*/
|
|
1554
|
+
readonly code: string
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
*
|
|
1558
|
+
* @type {UpdateClaimRequestDto}
|
|
1559
|
+
* @memberof ClaimsApiUpdateClaim1
|
|
1560
|
+
*/
|
|
1561
|
+
readonly updateClaimRequestDto: UpdateClaimRequestDto
|
|
1562
|
+
|
|
1563
|
+
/**
|
|
1564
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1565
|
+
* @type {string}
|
|
1566
|
+
* @memberof ClaimsApiUpdateClaim1
|
|
1567
|
+
*/
|
|
1568
|
+
readonly authorization?: string
|
|
1569
|
+
}
|
|
1570
|
+
|
|
810
1571
|
/**
|
|
811
1572
|
* ClaimsApi - object-oriented interface
|
|
812
1573
|
* @export
|
|
@@ -826,6 +1587,19 @@ export class ClaimsApi extends BaseAPI {
|
|
|
826
1587
|
return ClaimsApiFp(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
827
1588
|
}
|
|
828
1589
|
|
|
1590
|
+
/**
|
|
1591
|
+
* This will create a claim in the database **Required Permissions** \"claim-management.claims.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1592
|
+
* @summary Create the claim
|
|
1593
|
+
* @param {ClaimsApiCreateClaim1Request} requestParameters Request parameters.
|
|
1594
|
+
* @param {*} [options] Override http request option.
|
|
1595
|
+
* @deprecated
|
|
1596
|
+
* @throws {RequiredError}
|
|
1597
|
+
* @memberof ClaimsApi
|
|
1598
|
+
*/
|
|
1599
|
+
public createClaim1(requestParameters: ClaimsApiCreateClaim1Request, options?: AxiosRequestConfig) {
|
|
1600
|
+
return ClaimsApiFp(this.configuration).createClaim1(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1601
|
+
}
|
|
1602
|
+
|
|
829
1603
|
/**
|
|
830
1604
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
831
1605
|
* @summary Delete the claim
|
|
@@ -838,6 +1612,19 @@ export class ClaimsApi extends BaseAPI {
|
|
|
838
1612
|
return ClaimsApiFp(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
839
1613
|
}
|
|
840
1614
|
|
|
1615
|
+
/**
|
|
1616
|
+
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1617
|
+
* @summary Delete the claim
|
|
1618
|
+
* @param {ClaimsApiDeleteClaim1Request} requestParameters Request parameters.
|
|
1619
|
+
* @param {*} [options] Override http request option.
|
|
1620
|
+
* @deprecated
|
|
1621
|
+
* @throws {RequiredError}
|
|
1622
|
+
* @memberof ClaimsApi
|
|
1623
|
+
*/
|
|
1624
|
+
public deleteClaim1(requestParameters: ClaimsApiDeleteClaim1Request, options?: AxiosRequestConfig) {
|
|
1625
|
+
return ClaimsApiFp(this.configuration).deleteClaim1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1626
|
+
}
|
|
1627
|
+
|
|
841
1628
|
/**
|
|
842
1629
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
843
1630
|
* @summary Retrieve the claim
|
|
@@ -850,6 +1637,19 @@ export class ClaimsApi extends BaseAPI {
|
|
|
850
1637
|
return ClaimsApiFp(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
851
1638
|
}
|
|
852
1639
|
|
|
1640
|
+
/**
|
|
1641
|
+
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1642
|
+
* @summary Retrieve the claim
|
|
1643
|
+
* @param {ClaimsApiGetClaim1Request} requestParameters Request parameters.
|
|
1644
|
+
* @param {*} [options] Override http request option.
|
|
1645
|
+
* @deprecated
|
|
1646
|
+
* @throws {RequiredError}
|
|
1647
|
+
* @memberof ClaimsApi
|
|
1648
|
+
*/
|
|
1649
|
+
public getClaim1(requestParameters: ClaimsApiGetClaim1Request, options?: AxiosRequestConfig) {
|
|
1650
|
+
return ClaimsApiFp(this.configuration).getClaim1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1651
|
+
}
|
|
1652
|
+
|
|
853
1653
|
/**
|
|
854
1654
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
855
1655
|
* @summary Retrieve the claim regulation summary
|
|
@@ -862,6 +1662,19 @@ export class ClaimsApi extends BaseAPI {
|
|
|
862
1662
|
return ClaimsApiFp(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
863
1663
|
}
|
|
864
1664
|
|
|
1665
|
+
/**
|
|
1666
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1667
|
+
* @summary Retrieve the claim regulation summary
|
|
1668
|
+
* @param {ClaimsApiGetClaimRegulationSummary1Request} requestParameters Request parameters.
|
|
1669
|
+
* @param {*} [options] Override http request option.
|
|
1670
|
+
* @deprecated
|
|
1671
|
+
* @throws {RequiredError}
|
|
1672
|
+
* @memberof ClaimsApi
|
|
1673
|
+
*/
|
|
1674
|
+
public getClaimRegulationSummary1(requestParameters: ClaimsApiGetClaimRegulationSummary1Request, options?: AxiosRequestConfig) {
|
|
1675
|
+
return ClaimsApiFp(this.configuration).getClaimRegulationSummary1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1676
|
+
}
|
|
1677
|
+
|
|
865
1678
|
/**
|
|
866
1679
|
* 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. **Required Permissions** \"claim-management.claims.view\"
|
|
867
1680
|
* @summary List claims
|
|
@@ -874,6 +1687,19 @@ export class ClaimsApi extends BaseAPI {
|
|
|
874
1687
|
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));
|
|
875
1688
|
}
|
|
876
1689
|
|
|
1690
|
+
/**
|
|
1691
|
+
* 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. **Required Permissions** \"claim-management.claims.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1692
|
+
* @summary List claims
|
|
1693
|
+
* @param {ClaimsApiListClaims1Request} requestParameters Request parameters.
|
|
1694
|
+
* @param {*} [options] Override http request option.
|
|
1695
|
+
* @deprecated
|
|
1696
|
+
* @throws {RequiredError}
|
|
1697
|
+
* @memberof ClaimsApi
|
|
1698
|
+
*/
|
|
1699
|
+
public listClaims1(requestParameters: ClaimsApiListClaims1Request = {}, options?: AxiosRequestConfig) {
|
|
1700
|
+
return ClaimsApiFp(this.configuration).listClaims1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1701
|
+
}
|
|
1702
|
+
|
|
877
1703
|
/**
|
|
878
1704
|
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
879
1705
|
* @summary Patch the claim
|
|
@@ -886,6 +1712,19 @@ export class ClaimsApi extends BaseAPI {
|
|
|
886
1712
|
return ClaimsApiFp(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
887
1713
|
}
|
|
888
1714
|
|
|
1715
|
+
/**
|
|
1716
|
+
* Updates the identified claim by setting the values of the provided parameters. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1717
|
+
* @summary Patch the claim
|
|
1718
|
+
* @param {ClaimsApiPatchClaim1Request} requestParameters Request parameters.
|
|
1719
|
+
* @param {*} [options] Override http request option.
|
|
1720
|
+
* @deprecated
|
|
1721
|
+
* @throws {RequiredError}
|
|
1722
|
+
* @memberof ClaimsApi
|
|
1723
|
+
*/
|
|
1724
|
+
public patchClaim1(requestParameters: ClaimsApiPatchClaim1Request, options?: AxiosRequestConfig) {
|
|
1725
|
+
return ClaimsApiFp(this.configuration).patchClaim1(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1726
|
+
}
|
|
1727
|
+
|
|
889
1728
|
/**
|
|
890
1729
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
891
1730
|
* @summary Update the claim
|
|
@@ -897,4 +1736,17 @@ export class ClaimsApi extends BaseAPI {
|
|
|
897
1736
|
public updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig) {
|
|
898
1737
|
return ClaimsApiFp(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
899
1738
|
}
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1742
|
+
* @summary Update the claim
|
|
1743
|
+
* @param {ClaimsApiUpdateClaim1Request} requestParameters Request parameters.
|
|
1744
|
+
* @param {*} [options] Override http request option.
|
|
1745
|
+
* @deprecated
|
|
1746
|
+
* @throws {RequiredError}
|
|
1747
|
+
* @memberof ClaimsApi
|
|
1748
|
+
*/
|
|
1749
|
+
public updateClaim1(requestParameters: ClaimsApiUpdateClaim1Request, options?: AxiosRequestConfig) {
|
|
1750
|
+
return ClaimsApiFp(this.configuration).updateClaim1(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1751
|
+
}
|
|
900
1752
|
}
|