@emilgroup/claim-sdk 1.40.1-beta.7 → 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 +6 -613
- package/api/claim-partners-api.ts +0 -504
- package/api/claim-regulations-api.ts +3 -624
- package/api/claim-statuses-api.ts +5 -728
- package/api/claims-api.ts +4 -828
- package/api/health-check-api.ts +0 -62
- package/api/settlements-api.ts +6 -613
- package/api.ts +0 -2
- package/dist/api/claim-partner-roles-api.d.ts +0 -338
- package/dist/api/claim-partner-roles-api.js +0 -505
- package/dist/api/claim-partners-api.d.ts +0 -283
- package/dist/api/claim-partners-api.js +0 -412
- package/dist/api/claim-regulations-api.d.ts +0 -347
- package/dist/api/claim-regulations-api.js +0 -511
- package/dist/api/claim-statuses-api.d.ts +0 -402
- package/dist/api/claim-statuses-api.js +11 -615
- package/dist/api/claims-api.d.ts +0 -457
- package/dist/api/claims-api.js +30 -726
- package/dist/api/health-check-api.d.ts +0 -29
- package/dist/api/health-check-api.js +0 -69
- package/dist/api/settlements-api.d.ts +0 -338
- package/dist/api/settlements-api.js +0 -505
- 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 -1316
- package/dist/api/claim-positions-api.d.ts +0 -740
- package/dist/api/claim-positions-api.js +0 -1157
- 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/settlements-api.ts
CHANGED
|
@@ -73,53 +73,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|
|
76
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
77
|
-
|
|
78
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
79
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
80
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
81
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createSettlementRequestDto, localVarRequestOptions, configuration)
|
|
82
|
-
|
|
83
|
-
return {
|
|
84
|
-
url: toPathString(localVarUrlObj),
|
|
85
|
-
options: localVarRequestOptions,
|
|
86
|
-
};
|
|
87
|
-
},
|
|
88
|
-
/**
|
|
89
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
90
|
-
* @summary Create the settlement
|
|
91
|
-
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
92
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
93
|
-
* @param {*} [options] Override http request option.
|
|
94
|
-
* @throws {RequiredError}
|
|
95
|
-
*/
|
|
96
|
-
createSettlement1: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
|
-
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
98
|
-
assertParamExists('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
99
|
-
const localVarPath = `/claimservice/v1/settlements`;
|
|
100
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
101
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
102
|
-
let baseOptions;
|
|
103
|
-
let baseAccessToken;
|
|
104
|
-
if (configuration) {
|
|
105
|
-
baseOptions = configuration.baseOptions;
|
|
106
|
-
baseAccessToken = configuration.accessToken;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
110
|
-
const localVarHeaderParameter = {} as any;
|
|
111
|
-
const localVarQueryParameter = {} as any;
|
|
112
|
-
|
|
113
|
-
// authentication bearer required
|
|
114
|
-
// http bearer authentication required
|
|
115
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
116
|
-
|
|
117
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
118
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
76
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
124
77
|
|
|
125
78
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -168,51 +121,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
168
121
|
|
|
169
122
|
|
|
170
123
|
|
|
171
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
172
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
173
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
174
|
-
|
|
175
|
-
return {
|
|
176
|
-
url: toPathString(localVarUrlObj),
|
|
177
|
-
options: localVarRequestOptions,
|
|
178
|
-
};
|
|
179
|
-
},
|
|
180
|
-
/**
|
|
181
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
182
|
-
* @summary Delete the settlement
|
|
183
|
-
* @param {string} code
|
|
184
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
185
|
-
* @param {*} [options] Override http request option.
|
|
186
|
-
* @throws {RequiredError}
|
|
187
|
-
*/
|
|
188
|
-
deleteSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
189
|
-
// verify required parameter 'code' is not null or undefined
|
|
190
|
-
assertParamExists('deleteSettlement1', 'code', code)
|
|
191
|
-
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
192
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
193
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
195
|
-
let baseOptions;
|
|
196
|
-
let baseAccessToken;
|
|
197
|
-
if (configuration) {
|
|
198
|
-
baseOptions = configuration.baseOptions;
|
|
199
|
-
baseAccessToken = configuration.accessToken;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
203
|
-
const localVarHeaderParameter = {} as any;
|
|
204
|
-
const localVarQueryParameter = {} as any;
|
|
205
|
-
|
|
206
|
-
// authentication bearer required
|
|
207
|
-
// http bearer authentication required
|
|
208
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
209
|
-
|
|
210
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
211
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
212
|
-
}
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
124
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
217
125
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
218
126
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -258,51 +166,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
258
166
|
|
|
259
167
|
|
|
260
168
|
|
|
261
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
262
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
263
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
264
|
-
|
|
265
|
-
return {
|
|
266
|
-
url: toPathString(localVarUrlObj),
|
|
267
|
-
options: localVarRequestOptions,
|
|
268
|
-
};
|
|
269
|
-
},
|
|
270
|
-
/**
|
|
271
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
272
|
-
* @summary Retrieve the settlement
|
|
273
|
-
* @param {string} code
|
|
274
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
275
|
-
* @param {*} [options] Override http request option.
|
|
276
|
-
* @throws {RequiredError}
|
|
277
|
-
*/
|
|
278
|
-
getSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
279
|
-
// verify required parameter 'code' is not null or undefined
|
|
280
|
-
assertParamExists('getSettlement1', 'code', code)
|
|
281
|
-
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
282
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
283
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
285
|
-
let baseOptions;
|
|
286
|
-
let baseAccessToken;
|
|
287
|
-
if (configuration) {
|
|
288
|
-
baseOptions = configuration.baseOptions;
|
|
289
|
-
baseAccessToken = configuration.accessToken;
|
|
290
|
-
}
|
|
291
|
-
|
|
292
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
293
|
-
const localVarHeaderParameter = {} as any;
|
|
294
|
-
const localVarQueryParameter = {} as any;
|
|
295
|
-
|
|
296
|
-
// authentication bearer required
|
|
297
|
-
// http bearer authentication required
|
|
298
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
299
|
-
|
|
300
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
301
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
302
|
-
}
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
169
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
307
170
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
308
171
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -379,82 +242,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
379
242
|
|
|
380
243
|
|
|
381
244
|
|
|
382
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
383
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
384
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
385
|
-
|
|
386
|
-
return {
|
|
387
|
-
url: toPathString(localVarUrlObj),
|
|
388
|
-
options: localVarRequestOptions,
|
|
389
|
-
};
|
|
390
|
-
},
|
|
391
|
-
/**
|
|
392
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
393
|
-
* @summary List settlements
|
|
394
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
395
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
396
|
-
* @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.
|
|
397
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
398
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
399
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
400
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
|
|
401
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
402
|
-
* @param {*} [options] Override http request option.
|
|
403
|
-
* @throws {RequiredError}
|
|
404
|
-
*/
|
|
405
|
-
listSettlements1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
406
|
-
const localVarPath = `/claimservice/v1/settlements`;
|
|
407
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
408
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
409
|
-
let baseOptions;
|
|
410
|
-
let baseAccessToken;
|
|
411
|
-
if (configuration) {
|
|
412
|
-
baseOptions = configuration.baseOptions;
|
|
413
|
-
baseAccessToken = configuration.accessToken;
|
|
414
|
-
}
|
|
415
|
-
|
|
416
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
417
|
-
const localVarHeaderParameter = {} as any;
|
|
418
|
-
const localVarQueryParameter = {} as any;
|
|
419
|
-
|
|
420
|
-
// authentication bearer required
|
|
421
|
-
// http bearer authentication required
|
|
422
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
423
|
-
|
|
424
|
-
if (pageSize !== undefined) {
|
|
425
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
426
|
-
}
|
|
427
|
-
|
|
428
|
-
if (pageToken !== undefined) {
|
|
429
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
430
|
-
}
|
|
431
|
-
|
|
432
|
-
if (filter !== undefined) {
|
|
433
|
-
localVarQueryParameter['filter'] = filter;
|
|
434
|
-
}
|
|
435
|
-
|
|
436
|
-
if (search !== undefined) {
|
|
437
|
-
localVarQueryParameter['search'] = search;
|
|
438
|
-
}
|
|
439
|
-
|
|
440
|
-
if (order !== undefined) {
|
|
441
|
-
localVarQueryParameter['order'] = order;
|
|
442
|
-
}
|
|
443
|
-
|
|
444
|
-
if (expand !== undefined) {
|
|
445
|
-
localVarQueryParameter['expand'] = expand;
|
|
446
|
-
}
|
|
447
|
-
|
|
448
|
-
if (filters !== undefined) {
|
|
449
|
-
localVarQueryParameter['filters'] = filters;
|
|
450
|
-
}
|
|
451
|
-
|
|
452
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
453
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
454
|
-
}
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
245
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
459
246
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
460
247
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -503,57 +290,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
503
290
|
|
|
504
291
|
|
|
505
292
|
|
|
506
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
507
|
-
|
|
508
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
509
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
510
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
511
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateSettlementRequestDto, localVarRequestOptions, configuration)
|
|
512
|
-
|
|
513
|
-
return {
|
|
514
|
-
url: toPathString(localVarUrlObj),
|
|
515
|
-
options: localVarRequestOptions,
|
|
516
|
-
};
|
|
517
|
-
},
|
|
518
|
-
/**
|
|
519
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
520
|
-
* @summary Update the settlement
|
|
521
|
-
* @param {string} code
|
|
522
|
-
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
523
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
524
|
-
* @param {*} [options] Override http request option.
|
|
525
|
-
* @throws {RequiredError}
|
|
526
|
-
*/
|
|
527
|
-
updateSettlement1: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
528
|
-
// verify required parameter 'code' is not null or undefined
|
|
529
|
-
assertParamExists('updateSettlement1', 'code', code)
|
|
530
|
-
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
531
|
-
assertParamExists('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
532
|
-
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
533
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
534
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
535
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
536
|
-
let baseOptions;
|
|
537
|
-
let baseAccessToken;
|
|
538
|
-
if (configuration) {
|
|
539
|
-
baseOptions = configuration.baseOptions;
|
|
540
|
-
baseAccessToken = configuration.accessToken;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
544
|
-
const localVarHeaderParameter = {} as any;
|
|
545
|
-
const localVarQueryParameter = {} as any;
|
|
546
|
-
|
|
547
|
-
// authentication bearer required
|
|
548
|
-
// http bearer authentication required
|
|
549
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
550
|
-
|
|
551
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
552
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
|
|
557
293
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
558
294
|
|
|
559
295
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -589,51 +325,15 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
589
325
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
590
326
|
},
|
|
591
327
|
/**
|
|
592
|
-
* This will
|
|
593
|
-
* @summary
|
|
594
|
-
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
595
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
596
|
-
* @param {*} [options] Override http request option.
|
|
597
|
-
* @throws {RequiredError}
|
|
598
|
-
*/
|
|
599
|
-
async createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
|
|
600
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement1(createSettlementRequestDto, authorization, options);
|
|
601
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
602
|
-
},
|
|
603
|
-
/**
|
|
604
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
605
|
-
* @summary Delete the settlement
|
|
606
|
-
* @param {string} code
|
|
607
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
608
|
-
* @param {*} [options] Override http request option.
|
|
609
|
-
* @throws {RequiredError}
|
|
610
|
-
*/
|
|
611
|
-
async deleteSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
612
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement(code, authorization, options);
|
|
613
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
614
|
-
},
|
|
615
|
-
/**
|
|
616
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
617
|
-
* @summary Delete the settlement
|
|
618
|
-
* @param {string} code
|
|
619
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
620
|
-
* @param {*} [options] Override http request option.
|
|
621
|
-
* @throws {RequiredError}
|
|
622
|
-
*/
|
|
623
|
-
async deleteSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
624
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement1(code, authorization, options);
|
|
625
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
626
|
-
},
|
|
627
|
-
/**
|
|
628
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
629
|
-
* @summary Retrieve the settlement
|
|
328
|
+
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
329
|
+
* @summary Delete the settlement
|
|
630
330
|
* @param {string} code
|
|
631
331
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
632
332
|
* @param {*} [options] Override http request option.
|
|
633
333
|
* @throws {RequiredError}
|
|
634
334
|
*/
|
|
635
|
-
async
|
|
636
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
335
|
+
async deleteSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement(code, authorization, options);
|
|
637
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
638
338
|
},
|
|
639
339
|
/**
|
|
@@ -644,8 +344,8 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
644
344
|
* @param {*} [options] Override http request option.
|
|
645
345
|
* @throws {RequiredError}
|
|
646
346
|
*/
|
|
647
|
-
async
|
|
648
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
347
|
+
async getSettlement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
|
|
348
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement(code, authorization, options);
|
|
649
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
650
350
|
},
|
|
651
351
|
/**
|
|
@@ -666,24 +366,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
666
366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
667
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
668
368
|
},
|
|
669
|
-
/**
|
|
670
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
671
|
-
* @summary List settlements
|
|
672
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
673
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
674
|
-
* @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.
|
|
675
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
676
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
677
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
678
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
|
|
679
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
680
|
-
* @param {*} [options] Override http request option.
|
|
681
|
-
* @throws {RequiredError}
|
|
682
|
-
*/
|
|
683
|
-
async listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListSettlementsResponseClass>> {
|
|
684
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
685
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
686
|
-
},
|
|
687
369
|
/**
|
|
688
370
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
689
371
|
* @summary Update the settlement
|
|
@@ -697,19 +379,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
697
379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement(code, updateSettlementRequestDto, authorization, options);
|
|
698
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
699
381
|
},
|
|
700
|
-
/**
|
|
701
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
702
|
-
* @summary Update the settlement
|
|
703
|
-
* @param {string} code
|
|
704
|
-
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
705
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
706
|
-
* @param {*} [options] Override http request option.
|
|
707
|
-
* @throws {RequiredError}
|
|
708
|
-
*/
|
|
709
|
-
async updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
|
|
710
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement1(code, updateSettlementRequestDto, authorization, options);
|
|
711
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
712
|
-
},
|
|
713
382
|
}
|
|
714
383
|
};
|
|
715
384
|
|
|
@@ -731,17 +400,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
731
400
|
createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
732
401
|
return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
733
402
|
},
|
|
734
|
-
/**
|
|
735
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
736
|
-
* @summary Create the settlement
|
|
737
|
-
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
738
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
739
|
-
* @param {*} [options] Override http request option.
|
|
740
|
-
* @throws {RequiredError}
|
|
741
|
-
*/
|
|
742
|
-
createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
743
|
-
return localVarFp.createSettlement1(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
744
|
-
},
|
|
745
403
|
/**
|
|
746
404
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
747
405
|
* @summary Delete the settlement
|
|
@@ -753,17 +411,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
753
411
|
deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
754
412
|
return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
755
413
|
},
|
|
756
|
-
/**
|
|
757
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
758
|
-
* @summary Delete the settlement
|
|
759
|
-
* @param {string} code
|
|
760
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
761
|
-
* @param {*} [options] Override http request option.
|
|
762
|
-
* @throws {RequiredError}
|
|
763
|
-
*/
|
|
764
|
-
deleteSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
765
|
-
return localVarFp.deleteSettlement1(code, authorization, options).then((request) => request(axios, basePath));
|
|
766
|
-
},
|
|
767
414
|
/**
|
|
768
415
|
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
769
416
|
* @summary Retrieve the settlement
|
|
@@ -775,17 +422,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
775
422
|
getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
776
423
|
return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
777
424
|
},
|
|
778
|
-
/**
|
|
779
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
780
|
-
* @summary Retrieve the settlement
|
|
781
|
-
* @param {string} code
|
|
782
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
783
|
-
* @param {*} [options] Override http request option.
|
|
784
|
-
* @throws {RequiredError}
|
|
785
|
-
*/
|
|
786
|
-
getSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
787
|
-
return localVarFp.getSettlement1(code, authorization, options).then((request) => request(axios, basePath));
|
|
788
|
-
},
|
|
789
425
|
/**
|
|
790
426
|
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
791
427
|
* @summary List settlements
|
|
@@ -803,23 +439,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
803
439
|
listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
804
440
|
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
805
441
|
},
|
|
806
|
-
/**
|
|
807
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
808
|
-
* @summary List settlements
|
|
809
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
810
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
811
|
-
* @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.
|
|
812
|
-
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
813
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
814
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
815
|
-
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
|
|
816
|
-
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
817
|
-
* @param {*} [options] Override http request option.
|
|
818
|
-
* @throws {RequiredError}
|
|
819
|
-
*/
|
|
820
|
-
listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
821
|
-
return localVarFp.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
822
|
-
},
|
|
823
442
|
/**
|
|
824
443
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
825
444
|
* @summary Update the settlement
|
|
@@ -832,18 +451,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
832
451
|
updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
833
452
|
return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
834
453
|
},
|
|
835
|
-
/**
|
|
836
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
837
|
-
* @summary Update the settlement
|
|
838
|
-
* @param {string} code
|
|
839
|
-
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
840
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
841
|
-
* @param {*} [options] Override http request option.
|
|
842
|
-
* @throws {RequiredError}
|
|
843
|
-
*/
|
|
844
|
-
updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
845
|
-
return localVarFp.updateSettlement1(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
846
|
-
},
|
|
847
454
|
};
|
|
848
455
|
};
|
|
849
456
|
|
|
@@ -868,27 +475,6 @@ export interface SettlementsApiCreateSettlementRequest {
|
|
|
868
475
|
readonly authorization?: string
|
|
869
476
|
}
|
|
870
477
|
|
|
871
|
-
/**
|
|
872
|
-
* Request parameters for createSettlement1 operation in SettlementsApi.
|
|
873
|
-
* @export
|
|
874
|
-
* @interface SettlementsApiCreateSettlement1Request
|
|
875
|
-
*/
|
|
876
|
-
export interface SettlementsApiCreateSettlement1Request {
|
|
877
|
-
/**
|
|
878
|
-
*
|
|
879
|
-
* @type {CreateSettlementRequestDto}
|
|
880
|
-
* @memberof SettlementsApiCreateSettlement1
|
|
881
|
-
*/
|
|
882
|
-
readonly createSettlementRequestDto: CreateSettlementRequestDto
|
|
883
|
-
|
|
884
|
-
/**
|
|
885
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
886
|
-
* @type {string}
|
|
887
|
-
* @memberof SettlementsApiCreateSettlement1
|
|
888
|
-
*/
|
|
889
|
-
readonly authorization?: string
|
|
890
|
-
}
|
|
891
|
-
|
|
892
478
|
/**
|
|
893
479
|
* Request parameters for deleteSettlement operation in SettlementsApi.
|
|
894
480
|
* @export
|
|
@@ -910,27 +496,6 @@ export interface SettlementsApiDeleteSettlementRequest {
|
|
|
910
496
|
readonly authorization?: string
|
|
911
497
|
}
|
|
912
498
|
|
|
913
|
-
/**
|
|
914
|
-
* Request parameters for deleteSettlement1 operation in SettlementsApi.
|
|
915
|
-
* @export
|
|
916
|
-
* @interface SettlementsApiDeleteSettlement1Request
|
|
917
|
-
*/
|
|
918
|
-
export interface SettlementsApiDeleteSettlement1Request {
|
|
919
|
-
/**
|
|
920
|
-
*
|
|
921
|
-
* @type {string}
|
|
922
|
-
* @memberof SettlementsApiDeleteSettlement1
|
|
923
|
-
*/
|
|
924
|
-
readonly code: string
|
|
925
|
-
|
|
926
|
-
/**
|
|
927
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
928
|
-
* @type {string}
|
|
929
|
-
* @memberof SettlementsApiDeleteSettlement1
|
|
930
|
-
*/
|
|
931
|
-
readonly authorization?: string
|
|
932
|
-
}
|
|
933
|
-
|
|
934
499
|
/**
|
|
935
500
|
* Request parameters for getSettlement operation in SettlementsApi.
|
|
936
501
|
* @export
|
|
@@ -952,27 +517,6 @@ export interface SettlementsApiGetSettlementRequest {
|
|
|
952
517
|
readonly authorization?: string
|
|
953
518
|
}
|
|
954
519
|
|
|
955
|
-
/**
|
|
956
|
-
* Request parameters for getSettlement1 operation in SettlementsApi.
|
|
957
|
-
* @export
|
|
958
|
-
* @interface SettlementsApiGetSettlement1Request
|
|
959
|
-
*/
|
|
960
|
-
export interface SettlementsApiGetSettlement1Request {
|
|
961
|
-
/**
|
|
962
|
-
*
|
|
963
|
-
* @type {string}
|
|
964
|
-
* @memberof SettlementsApiGetSettlement1
|
|
965
|
-
*/
|
|
966
|
-
readonly code: string
|
|
967
|
-
|
|
968
|
-
/**
|
|
969
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
970
|
-
* @type {string}
|
|
971
|
-
* @memberof SettlementsApiGetSettlement1
|
|
972
|
-
*/
|
|
973
|
-
readonly authorization?: string
|
|
974
|
-
}
|
|
975
|
-
|
|
976
520
|
/**
|
|
977
521
|
* Request parameters for listSettlements operation in SettlementsApi.
|
|
978
522
|
* @export
|
|
@@ -1036,69 +580,6 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
1036
580
|
readonly filters?: string
|
|
1037
581
|
}
|
|
1038
582
|
|
|
1039
|
-
/**
|
|
1040
|
-
* Request parameters for listSettlements1 operation in SettlementsApi.
|
|
1041
|
-
* @export
|
|
1042
|
-
* @interface SettlementsApiListSettlements1Request
|
|
1043
|
-
*/
|
|
1044
|
-
export interface SettlementsApiListSettlements1Request {
|
|
1045
|
-
/**
|
|
1046
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1047
|
-
* @type {string}
|
|
1048
|
-
* @memberof SettlementsApiListSettlements1
|
|
1049
|
-
*/
|
|
1050
|
-
readonly authorization?: string
|
|
1051
|
-
|
|
1052
|
-
/**
|
|
1053
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1054
|
-
* @type {number}
|
|
1055
|
-
* @memberof SettlementsApiListSettlements1
|
|
1056
|
-
*/
|
|
1057
|
-
readonly pageSize?: number
|
|
1058
|
-
|
|
1059
|
-
/**
|
|
1060
|
-
* 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.
|
|
1061
|
-
* @type {string}
|
|
1062
|
-
* @memberof SettlementsApiListSettlements1
|
|
1063
|
-
*/
|
|
1064
|
-
readonly pageToken?: string
|
|
1065
|
-
|
|
1066
|
-
/**
|
|
1067
|
-
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
1068
|
-
* @type {string}
|
|
1069
|
-
* @memberof SettlementsApiListSettlements1
|
|
1070
|
-
*/
|
|
1071
|
-
readonly filter?: string
|
|
1072
|
-
|
|
1073
|
-
/**
|
|
1074
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1075
|
-
* @type {string}
|
|
1076
|
-
* @memberof SettlementsApiListSettlements1
|
|
1077
|
-
*/
|
|
1078
|
-
readonly search?: string
|
|
1079
|
-
|
|
1080
|
-
/**
|
|
1081
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: insuredObject, reserve, payment, recourse</i>
|
|
1082
|
-
* @type {string}
|
|
1083
|
-
* @memberof SettlementsApiListSettlements1
|
|
1084
|
-
*/
|
|
1085
|
-
readonly order?: string
|
|
1086
|
-
|
|
1087
|
-
/**
|
|
1088
|
-
* Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: claims<i>
|
|
1089
|
-
* @type {string}
|
|
1090
|
-
* @memberof SettlementsApiListSettlements1
|
|
1091
|
-
*/
|
|
1092
|
-
readonly expand?: string
|
|
1093
|
-
|
|
1094
|
-
/**
|
|
1095
|
-
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: policyNumber, productId, accountCode, claimCode, InsuredObjectId</i>
|
|
1096
|
-
* @type {string}
|
|
1097
|
-
* @memberof SettlementsApiListSettlements1
|
|
1098
|
-
*/
|
|
1099
|
-
readonly filters?: string
|
|
1100
|
-
}
|
|
1101
|
-
|
|
1102
583
|
/**
|
|
1103
584
|
* Request parameters for updateSettlement operation in SettlementsApi.
|
|
1104
585
|
* @export
|
|
@@ -1127,34 +608,6 @@ export interface SettlementsApiUpdateSettlementRequest {
|
|
|
1127
608
|
readonly authorization?: string
|
|
1128
609
|
}
|
|
1129
610
|
|
|
1130
|
-
/**
|
|
1131
|
-
* Request parameters for updateSettlement1 operation in SettlementsApi.
|
|
1132
|
-
* @export
|
|
1133
|
-
* @interface SettlementsApiUpdateSettlement1Request
|
|
1134
|
-
*/
|
|
1135
|
-
export interface SettlementsApiUpdateSettlement1Request {
|
|
1136
|
-
/**
|
|
1137
|
-
*
|
|
1138
|
-
* @type {string}
|
|
1139
|
-
* @memberof SettlementsApiUpdateSettlement1
|
|
1140
|
-
*/
|
|
1141
|
-
readonly code: string
|
|
1142
|
-
|
|
1143
|
-
/**
|
|
1144
|
-
*
|
|
1145
|
-
* @type {UpdateSettlementRequestDto}
|
|
1146
|
-
* @memberof SettlementsApiUpdateSettlement1
|
|
1147
|
-
*/
|
|
1148
|
-
readonly updateSettlementRequestDto: UpdateSettlementRequestDto
|
|
1149
|
-
|
|
1150
|
-
/**
|
|
1151
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1152
|
-
* @type {string}
|
|
1153
|
-
* @memberof SettlementsApiUpdateSettlement1
|
|
1154
|
-
*/
|
|
1155
|
-
readonly authorization?: string
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
611
|
/**
|
|
1159
612
|
* SettlementsApi - object-oriented interface
|
|
1160
613
|
* @export
|
|
@@ -1174,18 +627,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1174
627
|
return SettlementsApiFp(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1175
628
|
}
|
|
1176
629
|
|
|
1177
|
-
/**
|
|
1178
|
-
* This will create a settlement against a claim in the database **Required Permissions** \"claim-management.claims.create\"
|
|
1179
|
-
* @summary Create the settlement
|
|
1180
|
-
* @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
|
|
1181
|
-
* @param {*} [options] Override http request option.
|
|
1182
|
-
* @throws {RequiredError}
|
|
1183
|
-
* @memberof SettlementsApi
|
|
1184
|
-
*/
|
|
1185
|
-
public createSettlement1(requestParameters: SettlementsApiCreateSettlement1Request, options?: AxiosRequestConfig) {
|
|
1186
|
-
return SettlementsApiFp(this.configuration).createSettlement1(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1187
|
-
}
|
|
1188
|
-
|
|
1189
630
|
/**
|
|
1190
631
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1191
632
|
* @summary Delete the settlement
|
|
@@ -1198,18 +639,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1198
639
|
return SettlementsApiFp(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1199
640
|
}
|
|
1200
641
|
|
|
1201
|
-
/**
|
|
1202
|
-
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1203
|
-
* @summary Delete the settlement
|
|
1204
|
-
* @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
|
|
1205
|
-
* @param {*} [options] Override http request option.
|
|
1206
|
-
* @throws {RequiredError}
|
|
1207
|
-
* @memberof SettlementsApi
|
|
1208
|
-
*/
|
|
1209
|
-
public deleteSettlement1(requestParameters: SettlementsApiDeleteSettlement1Request, options?: AxiosRequestConfig) {
|
|
1210
|
-
return SettlementsApiFp(this.configuration).deleteSettlement1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1211
|
-
}
|
|
1212
|
-
|
|
1213
642
|
/**
|
|
1214
643
|
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
1215
644
|
* @summary Retrieve the settlement
|
|
@@ -1222,18 +651,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1222
651
|
return SettlementsApiFp(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1223
652
|
}
|
|
1224
653
|
|
|
1225
|
-
/**
|
|
1226
|
-
* Retrieves the details of the settlement that was previously created. Supply the unique settlement code that was returned when you created it and Emil Api will return the corresponding settlement information. **Required Permissions** \"claim-management.claims.view\"
|
|
1227
|
-
* @summary Retrieve the settlement
|
|
1228
|
-
* @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
|
|
1229
|
-
* @param {*} [options] Override http request option.
|
|
1230
|
-
* @throws {RequiredError}
|
|
1231
|
-
* @memberof SettlementsApi
|
|
1232
|
-
*/
|
|
1233
|
-
public getSettlement1(requestParameters: SettlementsApiGetSettlement1Request, options?: AxiosRequestConfig) {
|
|
1234
|
-
return SettlementsApiFp(this.configuration).getSettlement1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1235
|
-
}
|
|
1236
|
-
|
|
1237
654
|
/**
|
|
1238
655
|
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1239
656
|
* @summary List settlements
|
|
@@ -1246,18 +663,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1246
663
|
return SettlementsApiFp(this.configuration).listSettlements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1247
664
|
}
|
|
1248
665
|
|
|
1249
|
-
/**
|
|
1250
|
-
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
1251
|
-
* @summary List settlements
|
|
1252
|
-
* @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
|
|
1253
|
-
* @param {*} [options] Override http request option.
|
|
1254
|
-
* @throws {RequiredError}
|
|
1255
|
-
* @memberof SettlementsApi
|
|
1256
|
-
*/
|
|
1257
|
-
public listSettlements1(requestParameters: SettlementsApiListSettlements1Request = {}, options?: AxiosRequestConfig) {
|
|
1258
|
-
return SettlementsApiFp(this.configuration).listSettlements1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1259
|
-
}
|
|
1260
|
-
|
|
1261
666
|
/**
|
|
1262
667
|
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1263
668
|
* @summary Update the settlement
|
|
@@ -1269,16 +674,4 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1269
674
|
public updateSettlement(requestParameters: SettlementsApiUpdateSettlementRequest, options?: AxiosRequestConfig) {
|
|
1270
675
|
return SettlementsApiFp(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1271
676
|
}
|
|
1272
|
-
|
|
1273
|
-
/**
|
|
1274
|
-
* Updates the specified settlement by setting the values of the parameters passed. Any parameters not provided will be left unchanged. **Required Permissions** \"claim-management.claims.update\"
|
|
1275
|
-
* @summary Update the settlement
|
|
1276
|
-
* @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
|
|
1277
|
-
* @param {*} [options] Override http request option.
|
|
1278
|
-
* @throws {RequiredError}
|
|
1279
|
-
* @memberof SettlementsApi
|
|
1280
|
-
*/
|
|
1281
|
-
public updateSettlement1(requestParameters: SettlementsApiUpdateSettlement1Request, options?: AxiosRequestConfig) {
|
|
1282
|
-
return SettlementsApiFp(this.configuration).updateSettlement1(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1283
|
-
}
|
|
1284
677
|
}
|