@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/settlements-api.ts
CHANGED
|
@@ -49,54 +49,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
49
49
|
createSettlement: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
50
|
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
51
51
|
assertParamExists('createSettlement', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
52
|
-
const localVarPath = `/claimservice/v1/settlements`;
|
|
53
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
55
|
-
let baseOptions;
|
|
56
|
-
let baseAccessToken;
|
|
57
|
-
if (configuration) {
|
|
58
|
-
baseOptions = configuration.baseOptions;
|
|
59
|
-
baseAccessToken = configuration.accessToken;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
63
|
-
const localVarHeaderParameter = {} as any;
|
|
64
|
-
const localVarQueryParameter = {} as any;
|
|
65
|
-
|
|
66
|
-
// authentication bearer required
|
|
67
|
-
// http bearer authentication required
|
|
68
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
69
|
-
|
|
70
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
71
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
|
|
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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
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
|
-
* @deprecated
|
|
95
|
-
* @throws {RequiredError}
|
|
96
|
-
*/
|
|
97
|
-
createSettlement1: async (createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
-
// verify required parameter 'createSettlementRequestDto' is not null or undefined
|
|
99
|
-
assertParamExists('createSettlement1', 'createSettlementRequestDto', createSettlementRequestDto)
|
|
100
52
|
const localVarPath = `/v1/settlements`;
|
|
101
53
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
54
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -144,52 +96,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
144
96
|
deleteSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
145
97
|
// verify required parameter 'code' is not null or undefined
|
|
146
98
|
assertParamExists('deleteSettlement', 'code', code)
|
|
147
|
-
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
148
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
149
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
150
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
151
|
-
let baseOptions;
|
|
152
|
-
let baseAccessToken;
|
|
153
|
-
if (configuration) {
|
|
154
|
-
baseOptions = configuration.baseOptions;
|
|
155
|
-
baseAccessToken = configuration.accessToken;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
159
|
-
const localVarHeaderParameter = {} as any;
|
|
160
|
-
const localVarQueryParameter = {} as any;
|
|
161
|
-
|
|
162
|
-
// authentication bearer required
|
|
163
|
-
// http bearer authentication required
|
|
164
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
165
|
-
|
|
166
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
167
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
168
|
-
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
175
|
-
|
|
176
|
-
return {
|
|
177
|
-
url: toPathString(localVarUrlObj),
|
|
178
|
-
options: localVarRequestOptions,
|
|
179
|
-
};
|
|
180
|
-
},
|
|
181
|
-
/**
|
|
182
|
-
* This will delete the requested settlement 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.
|
|
183
|
-
* @summary Delete the settlement
|
|
184
|
-
* @param {string} code
|
|
185
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
186
|
-
* @param {*} [options] Override http request option.
|
|
187
|
-
* @deprecated
|
|
188
|
-
* @throws {RequiredError}
|
|
189
|
-
*/
|
|
190
|
-
deleteSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
|
-
// verify required parameter 'code' is not null or undefined
|
|
192
|
-
assertParamExists('deleteSettlement1', 'code', code)
|
|
193
99
|
const localVarPath = `/v1/settlements/{code}`
|
|
194
100
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
195
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -235,52 +141,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
235
141
|
getSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
236
142
|
// verify required parameter 'code' is not null or undefined
|
|
237
143
|
assertParamExists('getSettlement', 'code', code)
|
|
238
|
-
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
239
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
240
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
241
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
242
|
-
let baseOptions;
|
|
243
|
-
let baseAccessToken;
|
|
244
|
-
if (configuration) {
|
|
245
|
-
baseOptions = configuration.baseOptions;
|
|
246
|
-
baseAccessToken = configuration.accessToken;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
250
|
-
const localVarHeaderParameter = {} as any;
|
|
251
|
-
const localVarQueryParameter = {} as any;
|
|
252
|
-
|
|
253
|
-
// authentication bearer required
|
|
254
|
-
// http bearer authentication required
|
|
255
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
256
|
-
|
|
257
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
258
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
264
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
265
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
266
|
-
|
|
267
|
-
return {
|
|
268
|
-
url: toPathString(localVarUrlObj),
|
|
269
|
-
options: localVarRequestOptions,
|
|
270
|
-
};
|
|
271
|
-
},
|
|
272
|
-
/**
|
|
273
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
274
|
-
* @summary Retrieve the settlement
|
|
275
|
-
* @param {string} code
|
|
276
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
277
|
-
* @param {*} [options] Override http request option.
|
|
278
|
-
* @deprecated
|
|
279
|
-
* @throws {RequiredError}
|
|
280
|
-
*/
|
|
281
|
-
getSettlement1: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
282
|
-
// verify required parameter 'code' is not null or undefined
|
|
283
|
-
assertParamExists('getSettlement1', 'code', code)
|
|
284
144
|
const localVarPath = `/v1/settlements/{code}`
|
|
285
145
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
286
146
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -330,83 +190,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
330
190
|
* @throws {RequiredError}
|
|
331
191
|
*/
|
|
332
192
|
listSettlements: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
333
|
-
const localVarPath = `/claimservice/v1/settlements`;
|
|
334
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
335
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
336
|
-
let baseOptions;
|
|
337
|
-
let baseAccessToken;
|
|
338
|
-
if (configuration) {
|
|
339
|
-
baseOptions = configuration.baseOptions;
|
|
340
|
-
baseAccessToken = configuration.accessToken;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
344
|
-
const localVarHeaderParameter = {} as any;
|
|
345
|
-
const localVarQueryParameter = {} as any;
|
|
346
|
-
|
|
347
|
-
// authentication bearer required
|
|
348
|
-
// http bearer authentication required
|
|
349
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
350
|
-
|
|
351
|
-
if (pageSize !== undefined) {
|
|
352
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
if (pageToken !== undefined) {
|
|
356
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
if (filter !== undefined) {
|
|
360
|
-
localVarQueryParameter['filter'] = filter;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
if (search !== undefined) {
|
|
364
|
-
localVarQueryParameter['search'] = search;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
if (order !== undefined) {
|
|
368
|
-
localVarQueryParameter['order'] = order;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
if (expand !== undefined) {
|
|
372
|
-
localVarQueryParameter['expand'] = expand;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
if (filters !== undefined) {
|
|
376
|
-
localVarQueryParameter['filters'] = filters;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
380
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
386
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
387
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
388
|
-
|
|
389
|
-
return {
|
|
390
|
-
url: toPathString(localVarUrlObj),
|
|
391
|
-
options: localVarRequestOptions,
|
|
392
|
-
};
|
|
393
|
-
},
|
|
394
|
-
/**
|
|
395
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
396
|
-
* @summary List settlements
|
|
397
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
398
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
399
|
-
* @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.
|
|
400
|
-
* @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>
|
|
401
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
402
|
-
* @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>
|
|
403
|
-
* @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>
|
|
404
|
-
* @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>
|
|
405
|
-
* @param {*} [options] Override http request option.
|
|
406
|
-
* @deprecated
|
|
407
|
-
* @throws {RequiredError}
|
|
408
|
-
*/
|
|
409
|
-
listSettlements1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
410
193
|
const localVarPath = `/v1/settlements`;
|
|
411
194
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
412
195
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -482,58 +265,6 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
482
265
|
assertParamExists('updateSettlement', 'code', code)
|
|
483
266
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
484
267
|
assertParamExists('updateSettlement', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
485
|
-
const localVarPath = `/claimservice/v1/settlements/{code}`
|
|
486
|
-
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
487
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
488
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
489
|
-
let baseOptions;
|
|
490
|
-
let baseAccessToken;
|
|
491
|
-
if (configuration) {
|
|
492
|
-
baseOptions = configuration.baseOptions;
|
|
493
|
-
baseAccessToken = configuration.accessToken;
|
|
494
|
-
}
|
|
495
|
-
|
|
496
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
497
|
-
const localVarHeaderParameter = {} as any;
|
|
498
|
-
const localVarQueryParameter = {} as any;
|
|
499
|
-
|
|
500
|
-
// authentication bearer required
|
|
501
|
-
// http bearer authentication required
|
|
502
|
-
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
503
|
-
|
|
504
|
-
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
505
|
-
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
506
|
-
}
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
511
|
-
|
|
512
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
513
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
514
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
515
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateSettlementRequestDto, localVarRequestOptions, configuration)
|
|
516
|
-
|
|
517
|
-
return {
|
|
518
|
-
url: toPathString(localVarUrlObj),
|
|
519
|
-
options: localVarRequestOptions,
|
|
520
|
-
};
|
|
521
|
-
},
|
|
522
|
-
/**
|
|
523
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
524
|
-
* @summary Update the settlement
|
|
525
|
-
* @param {string} code
|
|
526
|
-
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
527
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
|
-
* @param {*} [options] Override http request option.
|
|
529
|
-
* @deprecated
|
|
530
|
-
* @throws {RequiredError}
|
|
531
|
-
*/
|
|
532
|
-
updateSettlement1: async (code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
533
|
-
// verify required parameter 'code' is not null or undefined
|
|
534
|
-
assertParamExists('updateSettlement1', 'code', code)
|
|
535
|
-
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
536
|
-
assertParamExists('updateSettlement1', 'updateSettlementRequestDto', updateSettlementRequestDto)
|
|
537
268
|
const localVarPath = `/v1/settlements/{code}`
|
|
538
269
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
539
270
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -593,19 +324,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
593
324
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement(createSettlementRequestDto, authorization, options);
|
|
594
325
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
595
326
|
},
|
|
596
|
-
/**
|
|
597
|
-
* This will create a settlement against 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.
|
|
598
|
-
* @summary Create the settlement
|
|
599
|
-
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
600
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
601
|
-
* @param {*} [options] Override http request option.
|
|
602
|
-
* @deprecated
|
|
603
|
-
* @throws {RequiredError}
|
|
604
|
-
*/
|
|
605
|
-
async createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateSettlementResponseClass>> {
|
|
606
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement1(createSettlementRequestDto, authorization, options);
|
|
607
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
608
|
-
},
|
|
609
327
|
/**
|
|
610
328
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
611
329
|
* @summary Delete the settlement
|
|
@@ -618,19 +336,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
618
336
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement(code, authorization, options);
|
|
619
337
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
620
338
|
},
|
|
621
|
-
/**
|
|
622
|
-
* This will delete the requested settlement 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.
|
|
623
|
-
* @summary Delete the settlement
|
|
624
|
-
* @param {string} code
|
|
625
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
626
|
-
* @param {*} [options] Override http request option.
|
|
627
|
-
* @deprecated
|
|
628
|
-
* @throws {RequiredError}
|
|
629
|
-
*/
|
|
630
|
-
async deleteSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
631
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement1(code, authorization, options);
|
|
632
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
633
|
-
},
|
|
634
339
|
/**
|
|
635
340
|
* 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\"
|
|
636
341
|
* @summary Retrieve the settlement
|
|
@@ -643,19 +348,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
643
348
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement(code, authorization, options);
|
|
644
349
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
645
350
|
},
|
|
646
|
-
/**
|
|
647
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
648
|
-
* @summary Retrieve the settlement
|
|
649
|
-
* @param {string} code
|
|
650
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
651
|
-
* @param {*} [options] Override http request option.
|
|
652
|
-
* @deprecated
|
|
653
|
-
* @throws {RequiredError}
|
|
654
|
-
*/
|
|
655
|
-
async getSettlement1(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetSettlementResponseClass>> {
|
|
656
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement1(code, authorization, options);
|
|
657
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
658
|
-
},
|
|
659
351
|
/**
|
|
660
352
|
* Returns a list of settlements you have previously created. The settlements are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.claims.view\"
|
|
661
353
|
* @summary List settlements
|
|
@@ -674,25 +366,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
674
366
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
675
367
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
676
368
|
},
|
|
677
|
-
/**
|
|
678
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
679
|
-
* @summary List settlements
|
|
680
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
681
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
682
|
-
* @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.
|
|
683
|
-
* @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>
|
|
684
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
685
|
-
* @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>
|
|
686
|
-
* @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>
|
|
687
|
-
* @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>
|
|
688
|
-
* @param {*} [options] Override http request option.
|
|
689
|
-
* @deprecated
|
|
690
|
-
* @throws {RequiredError}
|
|
691
|
-
*/
|
|
692
|
-
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>> {
|
|
693
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
694
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
695
|
-
},
|
|
696
369
|
/**
|
|
697
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\"
|
|
698
371
|
* @summary Update the settlement
|
|
@@ -706,20 +379,6 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
706
379
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement(code, updateSettlementRequestDto, authorization, options);
|
|
707
380
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
708
381
|
},
|
|
709
|
-
/**
|
|
710
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
711
|
-
* @summary Update the settlement
|
|
712
|
-
* @param {string} code
|
|
713
|
-
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
714
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
715
|
-
* @param {*} [options] Override http request option.
|
|
716
|
-
* @deprecated
|
|
717
|
-
* @throws {RequiredError}
|
|
718
|
-
*/
|
|
719
|
-
async updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateSettlementResponseClass>> {
|
|
720
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement1(code, updateSettlementRequestDto, authorization, options);
|
|
721
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
722
|
-
},
|
|
723
382
|
}
|
|
724
383
|
};
|
|
725
384
|
|
|
@@ -741,18 +400,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
741
400
|
createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
742
401
|
return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
743
402
|
},
|
|
744
|
-
/**
|
|
745
|
-
* This will create a settlement against 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.
|
|
746
|
-
* @summary Create the settlement
|
|
747
|
-
* @param {CreateSettlementRequestDto} createSettlementRequestDto
|
|
748
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
749
|
-
* @param {*} [options] Override http request option.
|
|
750
|
-
* @deprecated
|
|
751
|
-
* @throws {RequiredError}
|
|
752
|
-
*/
|
|
753
|
-
createSettlement1(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
754
|
-
return localVarFp.createSettlement1(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
755
|
-
},
|
|
756
403
|
/**
|
|
757
404
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
758
405
|
* @summary Delete the settlement
|
|
@@ -764,18 +411,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
764
411
|
deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
765
412
|
return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
766
413
|
},
|
|
767
|
-
/**
|
|
768
|
-
* This will delete the requested settlement 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.
|
|
769
|
-
* @summary Delete the settlement
|
|
770
|
-
* @param {string} code
|
|
771
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
772
|
-
* @param {*} [options] Override http request option.
|
|
773
|
-
* @deprecated
|
|
774
|
-
* @throws {RequiredError}
|
|
775
|
-
*/
|
|
776
|
-
deleteSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
777
|
-
return localVarFp.deleteSettlement1(code, authorization, options).then((request) => request(axios, basePath));
|
|
778
|
-
},
|
|
779
414
|
/**
|
|
780
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\"
|
|
781
416
|
* @summary Retrieve the settlement
|
|
@@ -787,18 +422,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
787
422
|
getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
788
423
|
return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
789
424
|
},
|
|
790
|
-
/**
|
|
791
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
792
|
-
* @summary Retrieve the settlement
|
|
793
|
-
* @param {string} code
|
|
794
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
795
|
-
* @param {*} [options] Override http request option.
|
|
796
|
-
* @deprecated
|
|
797
|
-
* @throws {RequiredError}
|
|
798
|
-
*/
|
|
799
|
-
getSettlement1(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
800
|
-
return localVarFp.getSettlement1(code, authorization, options).then((request) => request(axios, basePath));
|
|
801
|
-
},
|
|
802
425
|
/**
|
|
803
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\"
|
|
804
427
|
* @summary List settlements
|
|
@@ -816,24 +439,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
816
439
|
listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
817
440
|
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
818
441
|
},
|
|
819
|
-
/**
|
|
820
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
821
|
-
* @summary List settlements
|
|
822
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
823
|
-
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
824
|
-
* @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.
|
|
825
|
-
* @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>
|
|
826
|
-
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
827
|
-
* @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>
|
|
828
|
-
* @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>
|
|
829
|
-
* @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>
|
|
830
|
-
* @param {*} [options] Override http request option.
|
|
831
|
-
* @deprecated
|
|
832
|
-
* @throws {RequiredError}
|
|
833
|
-
*/
|
|
834
|
-
listSettlements1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
835
|
-
return localVarFp.listSettlements1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
836
|
-
},
|
|
837
442
|
/**
|
|
838
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\"
|
|
839
444
|
* @summary Update the settlement
|
|
@@ -846,19 +451,6 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
846
451
|
updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
847
452
|
return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
848
453
|
},
|
|
849
|
-
/**
|
|
850
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
851
|
-
* @summary Update the settlement
|
|
852
|
-
* @param {string} code
|
|
853
|
-
* @param {UpdateSettlementRequestDto} updateSettlementRequestDto
|
|
854
|
-
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
855
|
-
* @param {*} [options] Override http request option.
|
|
856
|
-
* @deprecated
|
|
857
|
-
* @throws {RequiredError}
|
|
858
|
-
*/
|
|
859
|
-
updateSettlement1(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
860
|
-
return localVarFp.updateSettlement1(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
861
|
-
},
|
|
862
454
|
};
|
|
863
455
|
};
|
|
864
456
|
|
|
@@ -883,27 +475,6 @@ export interface SettlementsApiCreateSettlementRequest {
|
|
|
883
475
|
readonly authorization?: string
|
|
884
476
|
}
|
|
885
477
|
|
|
886
|
-
/**
|
|
887
|
-
* Request parameters for createSettlement1 operation in SettlementsApi.
|
|
888
|
-
* @export
|
|
889
|
-
* @interface SettlementsApiCreateSettlement1Request
|
|
890
|
-
*/
|
|
891
|
-
export interface SettlementsApiCreateSettlement1Request {
|
|
892
|
-
/**
|
|
893
|
-
*
|
|
894
|
-
* @type {CreateSettlementRequestDto}
|
|
895
|
-
* @memberof SettlementsApiCreateSettlement1
|
|
896
|
-
*/
|
|
897
|
-
readonly createSettlementRequestDto: CreateSettlementRequestDto
|
|
898
|
-
|
|
899
|
-
/**
|
|
900
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
901
|
-
* @type {string}
|
|
902
|
-
* @memberof SettlementsApiCreateSettlement1
|
|
903
|
-
*/
|
|
904
|
-
readonly authorization?: string
|
|
905
|
-
}
|
|
906
|
-
|
|
907
478
|
/**
|
|
908
479
|
* Request parameters for deleteSettlement operation in SettlementsApi.
|
|
909
480
|
* @export
|
|
@@ -925,27 +496,6 @@ export interface SettlementsApiDeleteSettlementRequest {
|
|
|
925
496
|
readonly authorization?: string
|
|
926
497
|
}
|
|
927
498
|
|
|
928
|
-
/**
|
|
929
|
-
* Request parameters for deleteSettlement1 operation in SettlementsApi.
|
|
930
|
-
* @export
|
|
931
|
-
* @interface SettlementsApiDeleteSettlement1Request
|
|
932
|
-
*/
|
|
933
|
-
export interface SettlementsApiDeleteSettlement1Request {
|
|
934
|
-
/**
|
|
935
|
-
*
|
|
936
|
-
* @type {string}
|
|
937
|
-
* @memberof SettlementsApiDeleteSettlement1
|
|
938
|
-
*/
|
|
939
|
-
readonly code: string
|
|
940
|
-
|
|
941
|
-
/**
|
|
942
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
943
|
-
* @type {string}
|
|
944
|
-
* @memberof SettlementsApiDeleteSettlement1
|
|
945
|
-
*/
|
|
946
|
-
readonly authorization?: string
|
|
947
|
-
}
|
|
948
|
-
|
|
949
499
|
/**
|
|
950
500
|
* Request parameters for getSettlement operation in SettlementsApi.
|
|
951
501
|
* @export
|
|
@@ -967,27 +517,6 @@ export interface SettlementsApiGetSettlementRequest {
|
|
|
967
517
|
readonly authorization?: string
|
|
968
518
|
}
|
|
969
519
|
|
|
970
|
-
/**
|
|
971
|
-
* Request parameters for getSettlement1 operation in SettlementsApi.
|
|
972
|
-
* @export
|
|
973
|
-
* @interface SettlementsApiGetSettlement1Request
|
|
974
|
-
*/
|
|
975
|
-
export interface SettlementsApiGetSettlement1Request {
|
|
976
|
-
/**
|
|
977
|
-
*
|
|
978
|
-
* @type {string}
|
|
979
|
-
* @memberof SettlementsApiGetSettlement1
|
|
980
|
-
*/
|
|
981
|
-
readonly code: string
|
|
982
|
-
|
|
983
|
-
/**
|
|
984
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
985
|
-
* @type {string}
|
|
986
|
-
* @memberof SettlementsApiGetSettlement1
|
|
987
|
-
*/
|
|
988
|
-
readonly authorization?: string
|
|
989
|
-
}
|
|
990
|
-
|
|
991
520
|
/**
|
|
992
521
|
* Request parameters for listSettlements operation in SettlementsApi.
|
|
993
522
|
* @export
|
|
@@ -1051,69 +580,6 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
1051
580
|
readonly filters?: string
|
|
1052
581
|
}
|
|
1053
582
|
|
|
1054
|
-
/**
|
|
1055
|
-
* Request parameters for listSettlements1 operation in SettlementsApi.
|
|
1056
|
-
* @export
|
|
1057
|
-
* @interface SettlementsApiListSettlements1Request
|
|
1058
|
-
*/
|
|
1059
|
-
export interface SettlementsApiListSettlements1Request {
|
|
1060
|
-
/**
|
|
1061
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1062
|
-
* @type {string}
|
|
1063
|
-
* @memberof SettlementsApiListSettlements1
|
|
1064
|
-
*/
|
|
1065
|
-
readonly authorization?: string
|
|
1066
|
-
|
|
1067
|
-
/**
|
|
1068
|
-
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1069
|
-
* @type {number}
|
|
1070
|
-
* @memberof SettlementsApiListSettlements1
|
|
1071
|
-
*/
|
|
1072
|
-
readonly pageSize?: number
|
|
1073
|
-
|
|
1074
|
-
/**
|
|
1075
|
-
* 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.
|
|
1076
|
-
* @type {string}
|
|
1077
|
-
* @memberof SettlementsApiListSettlements1
|
|
1078
|
-
*/
|
|
1079
|
-
readonly pageToken?: string
|
|
1080
|
-
|
|
1081
|
-
/**
|
|
1082
|
-
* 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>
|
|
1083
|
-
* @type {string}
|
|
1084
|
-
* @memberof SettlementsApiListSettlements1
|
|
1085
|
-
*/
|
|
1086
|
-
readonly filter?: string
|
|
1087
|
-
|
|
1088
|
-
/**
|
|
1089
|
-
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1090
|
-
* @type {string}
|
|
1091
|
-
* @memberof SettlementsApiListSettlements1
|
|
1092
|
-
*/
|
|
1093
|
-
readonly search?: string
|
|
1094
|
-
|
|
1095
|
-
/**
|
|
1096
|
-
* 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>
|
|
1097
|
-
* @type {string}
|
|
1098
|
-
* @memberof SettlementsApiListSettlements1
|
|
1099
|
-
*/
|
|
1100
|
-
readonly order?: string
|
|
1101
|
-
|
|
1102
|
-
/**
|
|
1103
|
-
* 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>
|
|
1104
|
-
* @type {string}
|
|
1105
|
-
* @memberof SettlementsApiListSettlements1
|
|
1106
|
-
*/
|
|
1107
|
-
readonly expand?: string
|
|
1108
|
-
|
|
1109
|
-
/**
|
|
1110
|
-
* 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>
|
|
1111
|
-
* @type {string}
|
|
1112
|
-
* @memberof SettlementsApiListSettlements1
|
|
1113
|
-
*/
|
|
1114
|
-
readonly filters?: string
|
|
1115
|
-
}
|
|
1116
|
-
|
|
1117
583
|
/**
|
|
1118
584
|
* Request parameters for updateSettlement operation in SettlementsApi.
|
|
1119
585
|
* @export
|
|
@@ -1142,34 +608,6 @@ export interface SettlementsApiUpdateSettlementRequest {
|
|
|
1142
608
|
readonly authorization?: string
|
|
1143
609
|
}
|
|
1144
610
|
|
|
1145
|
-
/**
|
|
1146
|
-
* Request parameters for updateSettlement1 operation in SettlementsApi.
|
|
1147
|
-
* @export
|
|
1148
|
-
* @interface SettlementsApiUpdateSettlement1Request
|
|
1149
|
-
*/
|
|
1150
|
-
export interface SettlementsApiUpdateSettlement1Request {
|
|
1151
|
-
/**
|
|
1152
|
-
*
|
|
1153
|
-
* @type {string}
|
|
1154
|
-
* @memberof SettlementsApiUpdateSettlement1
|
|
1155
|
-
*/
|
|
1156
|
-
readonly code: string
|
|
1157
|
-
|
|
1158
|
-
/**
|
|
1159
|
-
*
|
|
1160
|
-
* @type {UpdateSettlementRequestDto}
|
|
1161
|
-
* @memberof SettlementsApiUpdateSettlement1
|
|
1162
|
-
*/
|
|
1163
|
-
readonly updateSettlementRequestDto: UpdateSettlementRequestDto
|
|
1164
|
-
|
|
1165
|
-
/**
|
|
1166
|
-
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1167
|
-
* @type {string}
|
|
1168
|
-
* @memberof SettlementsApiUpdateSettlement1
|
|
1169
|
-
*/
|
|
1170
|
-
readonly authorization?: string
|
|
1171
|
-
}
|
|
1172
|
-
|
|
1173
611
|
/**
|
|
1174
612
|
* SettlementsApi - object-oriented interface
|
|
1175
613
|
* @export
|
|
@@ -1189,19 +627,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1189
627
|
return SettlementsApiFp(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1190
628
|
}
|
|
1191
629
|
|
|
1192
|
-
/**
|
|
1193
|
-
* This will create a settlement against 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.
|
|
1194
|
-
* @summary Create the settlement
|
|
1195
|
-
* @param {SettlementsApiCreateSettlement1Request} requestParameters Request parameters.
|
|
1196
|
-
* @param {*} [options] Override http request option.
|
|
1197
|
-
* @deprecated
|
|
1198
|
-
* @throws {RequiredError}
|
|
1199
|
-
* @memberof SettlementsApi
|
|
1200
|
-
*/
|
|
1201
|
-
public createSettlement1(requestParameters: SettlementsApiCreateSettlement1Request, options?: AxiosRequestConfig) {
|
|
1202
|
-
return SettlementsApiFp(this.configuration).createSettlement1(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1203
|
-
}
|
|
1204
|
-
|
|
1205
630
|
/**
|
|
1206
631
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
1207
632
|
* @summary Delete the settlement
|
|
@@ -1214,19 +639,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1214
639
|
return SettlementsApiFp(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1215
640
|
}
|
|
1216
641
|
|
|
1217
|
-
/**
|
|
1218
|
-
* This will delete the requested settlement 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.
|
|
1219
|
-
* @summary Delete the settlement
|
|
1220
|
-
* @param {SettlementsApiDeleteSettlement1Request} requestParameters Request parameters.
|
|
1221
|
-
* @param {*} [options] Override http request option.
|
|
1222
|
-
* @deprecated
|
|
1223
|
-
* @throws {RequiredError}
|
|
1224
|
-
* @memberof SettlementsApi
|
|
1225
|
-
*/
|
|
1226
|
-
public deleteSettlement1(requestParameters: SettlementsApiDeleteSettlement1Request, options?: AxiosRequestConfig) {
|
|
1227
|
-
return SettlementsApiFp(this.configuration).deleteSettlement1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1228
|
-
}
|
|
1229
|
-
|
|
1230
642
|
/**
|
|
1231
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\"
|
|
1232
644
|
* @summary Retrieve the settlement
|
|
@@ -1239,19 +651,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1239
651
|
return SettlementsApiFp(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1240
652
|
}
|
|
1241
653
|
|
|
1242
|
-
/**
|
|
1243
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1244
|
-
* @summary Retrieve the settlement
|
|
1245
|
-
* @param {SettlementsApiGetSettlement1Request} requestParameters Request parameters.
|
|
1246
|
-
* @param {*} [options] Override http request option.
|
|
1247
|
-
* @deprecated
|
|
1248
|
-
* @throws {RequiredError}
|
|
1249
|
-
* @memberof SettlementsApi
|
|
1250
|
-
*/
|
|
1251
|
-
public getSettlement1(requestParameters: SettlementsApiGetSettlement1Request, options?: AxiosRequestConfig) {
|
|
1252
|
-
return SettlementsApiFp(this.configuration).getSettlement1(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1253
|
-
}
|
|
1254
|
-
|
|
1255
654
|
/**
|
|
1256
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\"
|
|
1257
656
|
* @summary List settlements
|
|
@@ -1264,19 +663,6 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1264
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));
|
|
1265
664
|
}
|
|
1266
665
|
|
|
1267
|
-
/**
|
|
1268
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1269
|
-
* @summary List settlements
|
|
1270
|
-
* @param {SettlementsApiListSettlements1Request} requestParameters Request parameters.
|
|
1271
|
-
* @param {*} [options] Override http request option.
|
|
1272
|
-
* @deprecated
|
|
1273
|
-
* @throws {RequiredError}
|
|
1274
|
-
* @memberof SettlementsApi
|
|
1275
|
-
*/
|
|
1276
|
-
public listSettlements1(requestParameters: SettlementsApiListSettlements1Request = {}, options?: AxiosRequestConfig) {
|
|
1277
|
-
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));
|
|
1278
|
-
}
|
|
1279
|
-
|
|
1280
666
|
/**
|
|
1281
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\"
|
|
1282
668
|
* @summary Update the settlement
|
|
@@ -1288,17 +674,4 @@ export class SettlementsApi extends BaseAPI {
|
|
|
1288
674
|
public updateSettlement(requestParameters: SettlementsApiUpdateSettlementRequest, options?: AxiosRequestConfig) {
|
|
1289
675
|
return SettlementsApiFp(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1290
676
|
}
|
|
1291
|
-
|
|
1292
|
-
/**
|
|
1293
|
-
* 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\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1294
|
-
* @summary Update the settlement
|
|
1295
|
-
* @param {SettlementsApiUpdateSettlement1Request} requestParameters Request parameters.
|
|
1296
|
-
* @param {*} [options] Override http request option.
|
|
1297
|
-
* @deprecated
|
|
1298
|
-
* @throws {RequiredError}
|
|
1299
|
-
* @memberof SettlementsApi
|
|
1300
|
-
*/
|
|
1301
|
-
public updateSettlement1(requestParameters: SettlementsApiUpdateSettlement1Request, options?: AxiosRequestConfig) {
|
|
1302
|
-
return SettlementsApiFp(this.configuration).updateSettlement1(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1303
|
-
}
|
|
1304
677
|
}
|