@emilgroup/claim-sdk 1.40.1-beta.8 → 1.41.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 +0 -10
- package/README.md +2 -2
- package/api/claim-partner-roles-api.ts +0 -627
- package/api/claim-partners-api.ts +0 -520
- package/api/claim-regulations-api.ts +5 -646
- package/api/claim-statuses-api.ts +6 -753
- package/api/claims-api.ts +6 -858
- package/api/health-check-api.ts +0 -66
- package/api/settlements-api.ts +0 -627
- package/api.ts +0 -2
- package/dist/api/claim-partner-roles-api.d.ts +0 -358
- package/dist/api/claim-partner-roles-api.js +0 -525
- package/dist/api/claim-partners-api.d.ts +0 -299
- package/dist/api/claim-partners-api.js +0 -428
- package/dist/api/claim-regulations-api.d.ts +0 -367
- package/dist/api/claim-regulations-api.js +0 -531
- package/dist/api/claim-statuses-api.d.ts +0 -426
- package/dist/api/claim-statuses-api.js +14 -642
- package/dist/api/claims-api.d.ts +0 -485
- package/dist/api/claims-api.js +1 -725
- package/dist/api/health-check-api.d.ts +0 -33
- package/dist/api/health-check-api.js +0 -73
- package/dist/api/settlements-api.d.ts +0 -358
- package/dist/api/settlements-api.js +0 -525
- package/dist/api.d.ts +0 -1
- package/dist/api.js +0 -1
- package/dist/models/claim-class.d.ts +0 -6
- package/dist/models/index.d.ts +0 -9
- package/dist/models/index.js +0 -9
- package/dist/models/list-claim-partner-roles-response-class.d.ts +0 -12
- package/dist/models/list-claim-partners-response-class.d.ts +0 -12
- package/dist/models/list-claim-statuses-response-class.d.ts +1 -13
- package/dist/models/list-claims-response-class.d.ts +0 -12
- package/dist/models/list-regulations-response-class.d.ts +0 -12
- package/models/claim-class.ts +0 -6
- package/models/index.ts +0 -9
- package/models/list-claim-partner-roles-response-class.ts +0 -12
- package/models/list-claim-partners-response-class.ts +0 -12
- package/models/list-claim-statuses-response-class.ts +1 -13
- package/models/list-claims-response-class.ts +0 -12
- package/models/list-regulations-response-class.ts +0 -12
- package/package.json +1 -1
- package/api/claim-positions-api.ts +0 -1336
- package/dist/api/claim-positions-api.d.ts +0 -760
- package/dist/api/claim-positions-api.js +0 -1177
- package/dist/models/claim-position-class.d.ts +0 -121
- package/dist/models/claim-position-class.js +0 -15
- package/dist/models/coverage-class.d.ts +0 -72
- package/dist/models/coverage-class.js +0 -21
- package/dist/models/coverage-request-dto.d.ts +0 -41
- package/dist/models/coverage-request-dto.js +0 -20
- package/dist/models/create-claim-position-request-dto.d.ts +0 -73
- package/dist/models/create-claim-position-request-dto.js +0 -15
- package/dist/models/create-claim-position-response-class.d.ts +0 -25
- package/dist/models/create-claim-position-response-class.js +0 -15
- package/dist/models/get-claim-position-response-class.d.ts +0 -25
- package/dist/models/get-claim-position-response-class.js +0 -15
- package/dist/models/list-claim-positions-response-class.d.ts +0 -43
- package/dist/models/list-claim-positions-response-class.js +0 -15
- package/dist/models/update-claim-position-request-dto.d.ts +0 -73
- package/dist/models/update-claim-position-request-dto.js +0 -15
- package/dist/models/update-claim-position-response-class.d.ts +0 -25
- package/dist/models/update-claim-position-response-class.js +0 -15
- package/models/claim-position-class.ts +0 -127
- package/models/coverage-class.ts +0 -81
- package/models/coverage-request-dto.ts +0 -50
- package/models/create-claim-position-request-dto.ts +0 -79
- package/models/create-claim-position-response-class.ts +0 -31
- package/models/get-claim-position-response-class.ts +0 -31
- package/models/list-claim-positions-response-class.ts +0 -49
- package/models/update-claim-position-request-dto.ts +0 -79
- package/models/update-claim-position-response-class.ts +0 -31
package/api/claims-api.ts
CHANGED
|
@@ -55,54 +55,6 @@ 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)
|
|
106
58
|
const localVarPath = `/v1/claims`;
|
|
107
59
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
108
60
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -150,52 +102,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
150
102
|
deleteClaim: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
151
103
|
// verify required parameter 'code' is not null or undefined
|
|
152
104
|
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)
|
|
199
105
|
const localVarPath = `/v1/claims/{code}`
|
|
200
106
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
201
107
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -241,52 +147,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
241
147
|
getClaim: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
242
148
|
// verify required parameter 'code' is not null or undefined
|
|
243
149
|
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)
|
|
290
150
|
const localVarPath = `/v1/claims/{code}`
|
|
291
151
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
292
152
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -332,52 +192,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
332
192
|
getClaimRegulationSummary: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
333
193
|
// verify required parameter 'code' is not null or undefined
|
|
334
194
|
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)
|
|
381
195
|
const localVarPath = `/v1/claims/{code}/regulations/summary`
|
|
382
196
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
383
197
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -427,83 +241,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
427
241
|
* @throws {RequiredError}
|
|
428
242
|
*/
|
|
429
243
|
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: 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: 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> => {
|
|
507
244
|
const localVarPath = `/v1/claims`;
|
|
508
245
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
509
246
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -579,58 +316,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
579
316
|
assertParamExists('patchClaim', 'code', code)
|
|
580
317
|
// verify required parameter 'patchClaimRequestDto' is not null or undefined
|
|
581
318
|
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)
|
|
634
319
|
const localVarPath = `/v1/claims/{code}`
|
|
635
320
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
636
321
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -682,58 +367,6 @@ export const ClaimsApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
682
367
|
assertParamExists('updateClaim', 'code', code)
|
|
683
368
|
// verify required parameter 'updateClaimRequestDto' is not null or undefined
|
|
684
369
|
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)
|
|
737
370
|
const localVarPath = `/v1/claims/{code}`
|
|
738
371
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
739
372
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -793,19 +426,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
793
426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaim(createClaimRequestDto, authorization, options);
|
|
794
427
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
795
428
|
},
|
|
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
|
-
},
|
|
809
429
|
/**
|
|
810
430
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
811
431
|
* @summary Delete the claim
|
|
@@ -818,19 +438,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
818
438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaim(code, authorization, options);
|
|
819
439
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
820
440
|
},
|
|
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
|
-
},
|
|
834
441
|
/**
|
|
835
442
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
836
443
|
* @summary Retrieve the claim
|
|
@@ -843,19 +450,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
843
450
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaim(code, authorization, options);
|
|
844
451
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
845
452
|
},
|
|
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
|
-
},
|
|
859
453
|
/**
|
|
860
454
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
861
455
|
* @summary Retrieve the claim regulation summary
|
|
@@ -868,19 +462,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
868
462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimRegulationSummary(code, authorization, options);
|
|
869
463
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
870
464
|
},
|
|
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
|
-
},
|
|
884
465
|
/**
|
|
885
466
|
* 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\"
|
|
886
467
|
* @summary List claims
|
|
@@ -899,25 +480,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
899
480
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
900
481
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
901
482
|
},
|
|
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: 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: 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
|
-
},
|
|
921
483
|
/**
|
|
922
484
|
* 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\"
|
|
923
485
|
* @summary Patch the claim
|
|
@@ -931,20 +493,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
931
493
|
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaim(code, patchClaimRequestDto, authorization, options);
|
|
932
494
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
933
495
|
},
|
|
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
|
-
},
|
|
948
496
|
/**
|
|
949
497
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
950
498
|
* @summary Update the claim
|
|
@@ -958,20 +506,6 @@ export const ClaimsApiFp = function(configuration?: Configuration) {
|
|
|
958
506
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaim(code, updateClaimRequestDto, authorization, options);
|
|
959
507
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
960
508
|
},
|
|
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
|
-
},
|
|
975
509
|
}
|
|
976
510
|
};
|
|
977
511
|
|
|
@@ -993,18 +527,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
993
527
|
createClaim(createClaimRequestDto: CreateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimResponseClass> {
|
|
994
528
|
return localVarFp.createClaim(createClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
995
529
|
},
|
|
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
|
-
},
|
|
1008
530
|
/**
|
|
1009
531
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1010
532
|
* @summary Delete the claim
|
|
@@ -1016,63 +538,27 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
1016
538
|
deleteClaim(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
1017
539
|
return localVarFp.deleteClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
1018
540
|
},
|
|
1019
|
-
/**
|
|
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
541
|
/**
|
|
1032
542
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1033
543
|
* @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.
|
|
1044
|
-
* @summary Retrieve the claim
|
|
1045
|
-
* @param {string} code
|
|
1046
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1047
|
-
* @param {*} [options] Override http request option.
|
|
1048
|
-
* @deprecated
|
|
1049
|
-
* @throws {RequiredError}
|
|
1050
|
-
*/
|
|
1051
|
-
getClaim1(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
|
|
1052
|
-
return localVarFp.getClaim1(code, authorization, options).then((request) => request(axios, basePath));
|
|
1053
|
-
},
|
|
1054
|
-
/**
|
|
1055
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1056
|
-
* @summary Retrieve the claim regulation summary
|
|
1057
|
-
* @param {string} code Unique identifier for the object.
|
|
544
|
+
* @param {string} code
|
|
1058
545
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1059
546
|
* @param {*} [options] Override http request option.
|
|
1060
547
|
* @throws {RequiredError}
|
|
1061
548
|
*/
|
|
1062
|
-
|
|
1063
|
-
return localVarFp.
|
|
549
|
+
getClaim(code: string, authorization?: string, options?: any): AxiosPromise<GetClaimResponseClass> {
|
|
550
|
+
return localVarFp.getClaim(code, authorization, options).then((request) => request(axios, basePath));
|
|
1064
551
|
},
|
|
1065
552
|
/**
|
|
1066
|
-
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
553
|
+
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1067
554
|
* @summary Retrieve the claim regulation summary
|
|
1068
555
|
* @param {string} code Unique identifier for the object.
|
|
1069
556
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1070
557
|
* @param {*} [options] Override http request option.
|
|
1071
|
-
* @deprecated
|
|
1072
558
|
* @throws {RequiredError}
|
|
1073
559
|
*/
|
|
1074
|
-
|
|
1075
|
-
return localVarFp.
|
|
560
|
+
getClaimRegulationSummary(code: string, authorization?: string, options?: any): AxiosPromise<RegulationSummaryResponseClass> {
|
|
561
|
+
return localVarFp.getClaimRegulationSummary(code, authorization, options).then((request) => request(axios, basePath));
|
|
1076
562
|
},
|
|
1077
563
|
/**
|
|
1078
564
|
* 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\"
|
|
@@ -1091,24 +577,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
1091
577
|
listClaims(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimsResponseClass> {
|
|
1092
578
|
return localVarFp.listClaims(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
1093
579
|
},
|
|
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: 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: 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
|
-
},
|
|
1112
580
|
/**
|
|
1113
581
|
* 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\"
|
|
1114
582
|
* @summary Patch the claim
|
|
@@ -1121,19 +589,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
1121
589
|
patchClaim(code: string, patchClaimRequestDto: PatchClaimRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimResponseClass> {
|
|
1122
590
|
return localVarFp.patchClaim(code, patchClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1123
591
|
},
|
|
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
|
-
},
|
|
1137
592
|
/**
|
|
1138
593
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1139
594
|
* @summary Update the claim
|
|
@@ -1146,19 +601,6 @@ export const ClaimsApiFactory = function (configuration?: Configuration, basePat
|
|
|
1146
601
|
updateClaim(code: string, updateClaimRequestDto: UpdateClaimRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimResponseClass> {
|
|
1147
602
|
return localVarFp.updateClaim(code, updateClaimRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1148
603
|
},
|
|
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
|
-
},
|
|
1162
604
|
};
|
|
1163
605
|
};
|
|
1164
606
|
|
|
@@ -1183,27 +625,6 @@ export interface ClaimsApiCreateClaimRequest {
|
|
|
1183
625
|
readonly authorization?: string
|
|
1184
626
|
}
|
|
1185
627
|
|
|
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
|
-
|
|
1207
628
|
/**
|
|
1208
629
|
* Request parameters for deleteClaim operation in ClaimsApi.
|
|
1209
630
|
* @export
|
|
@@ -1225,27 +646,6 @@ export interface ClaimsApiDeleteClaimRequest {
|
|
|
1225
646
|
readonly authorization?: string
|
|
1226
647
|
}
|
|
1227
648
|
|
|
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
|
-
|
|
1249
649
|
/**
|
|
1250
650
|
* Request parameters for getClaim operation in ClaimsApi.
|
|
1251
651
|
* @export
|
|
@@ -1267,27 +667,6 @@ export interface ClaimsApiGetClaimRequest {
|
|
|
1267
667
|
readonly authorization?: string
|
|
1268
668
|
}
|
|
1269
669
|
|
|
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
|
-
|
|
1291
670
|
/**
|
|
1292
671
|
* Request parameters for getClaimRegulationSummary operation in ClaimsApi.
|
|
1293
672
|
* @export
|
|
@@ -1309,27 +688,6 @@ export interface ClaimsApiGetClaimRegulationSummaryRequest {
|
|
|
1309
688
|
readonly authorization?: string
|
|
1310
689
|
}
|
|
1311
690
|
|
|
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
|
-
|
|
1333
691
|
/**
|
|
1334
692
|
* Request parameters for listClaims operation in ClaimsApi.
|
|
1335
693
|
* @export
|
|
@@ -1393,69 +751,6 @@ export interface ClaimsApiListClaimsRequest {
|
|
|
1393
751
|
readonly filters?: string
|
|
1394
752
|
}
|
|
1395
753
|
|
|
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: 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: policyNumber, productId, accountCode, insuredObjectId, policyCode</i>
|
|
1453
|
-
* @type {string}
|
|
1454
|
-
* @memberof ClaimsApiListClaims1
|
|
1455
|
-
*/
|
|
1456
|
-
readonly filters?: string
|
|
1457
|
-
}
|
|
1458
|
-
|
|
1459
754
|
/**
|
|
1460
755
|
* Request parameters for patchClaim operation in ClaimsApi.
|
|
1461
756
|
* @export
|
|
@@ -1484,34 +779,6 @@ export interface ClaimsApiPatchClaimRequest {
|
|
|
1484
779
|
readonly authorization?: string
|
|
1485
780
|
}
|
|
1486
781
|
|
|
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
|
-
|
|
1515
782
|
/**
|
|
1516
783
|
* Request parameters for updateClaim operation in ClaimsApi.
|
|
1517
784
|
* @export
|
|
@@ -1540,34 +807,6 @@ export interface ClaimsApiUpdateClaimRequest {
|
|
|
1540
807
|
readonly authorization?: string
|
|
1541
808
|
}
|
|
1542
809
|
|
|
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
|
-
|
|
1571
810
|
/**
|
|
1572
811
|
* ClaimsApi - object-oriented interface
|
|
1573
812
|
* @export
|
|
@@ -1587,19 +826,6 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1587
826
|
return ClaimsApiFp(this.configuration).createClaim(requestParameters.createClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1588
827
|
}
|
|
1589
828
|
|
|
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
|
-
|
|
1603
829
|
/**
|
|
1604
830
|
* This will delete the requested claim from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1605
831
|
* @summary Delete the claim
|
|
@@ -1612,19 +838,6 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1612
838
|
return ClaimsApiFp(this.configuration).deleteClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1613
839
|
}
|
|
1614
840
|
|
|
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
|
-
|
|
1628
841
|
/**
|
|
1629
842
|
* This will fetch the identified claim from the database by code **Required Permissions** \"claim-management.claims.view\"
|
|
1630
843
|
* @summary Retrieve the claim
|
|
@@ -1637,19 +850,6 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1637
850
|
return ClaimsApiFp(this.configuration).getClaim(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1638
851
|
}
|
|
1639
852
|
|
|
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
|
-
|
|
1653
853
|
/**
|
|
1654
854
|
* This endpoint will calculate and get the regulation summary for a claim. **Required Permissions** \"claim-management.claims.view\", \"claim-management.regulations.view\"
|
|
1655
855
|
* @summary Retrieve the claim regulation summary
|
|
@@ -1662,19 +862,6 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1662
862
|
return ClaimsApiFp(this.configuration).getClaimRegulationSummary(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1663
863
|
}
|
|
1664
864
|
|
|
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
|
-
|
|
1678
865
|
/**
|
|
1679
866
|
* 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\"
|
|
1680
867
|
* @summary List claims
|
|
@@ -1687,19 +874,6 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1687
874
|
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));
|
|
1688
875
|
}
|
|
1689
876
|
|
|
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
|
-
|
|
1703
877
|
/**
|
|
1704
878
|
* 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\"
|
|
1705
879
|
* @summary Patch the claim
|
|
@@ -1712,19 +886,6 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1712
886
|
return ClaimsApiFp(this.configuration).patchClaim(requestParameters.code, requestParameters.patchClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1713
887
|
}
|
|
1714
888
|
|
|
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
|
-
|
|
1728
889
|
/**
|
|
1729
890
|
* This will update the identified claim in the database **Required Permissions** \"claim-management.claims.update\"
|
|
1730
891
|
* @summary Update the claim
|
|
@@ -1736,17 +897,4 @@ export class ClaimsApi extends BaseAPI {
|
|
|
1736
897
|
public updateClaim(requestParameters: ClaimsApiUpdateClaimRequest, options?: AxiosRequestConfig) {
|
|
1737
898
|
return ClaimsApiFp(this.configuration).updateClaim(requestParameters.code, requestParameters.updateClaimRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1738
899
|
}
|
|
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
|
-
}
|
|
1752
900
|
}
|