@emilgroup/claim-sdk 1.41.0 → 1.41.1-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +15 -0
- package/README.md +2 -2
- package/api/claim-limit-usages-api.ts +644 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1336 -0
- package/api/claim-regulations-api.ts +644 -3
- package/api/claim-statuses-api.ts +752 -5
- package/api/claims-api.ts +863 -11
- package/api/health-check-api.ts +66 -0
- package/api/settlements-api.ts +627 -0
- package/api.ts +4 -0
- package/dist/api/claim-limit-usages-api.d.ts +378 -0
- package/dist/api/claim-limit-usages-api.js +581 -0
- package/dist/api/claim-partner-roles-api.d.ts +358 -0
- package/dist/api/claim-partner-roles-api.js +525 -0
- package/dist/api/claim-partners-api.d.ts +299 -0
- package/dist/api/claim-partners-api.js +428 -0
- package/dist/api/claim-positions-api.d.ts +760 -0
- package/dist/api/claim-positions-api.js +1177 -0
- package/dist/api/claim-regulations-api.d.ts +367 -0
- package/dist/api/claim-regulations-api.js +531 -0
- package/dist/api/claim-statuses-api.d.ts +426 -0
- package/dist/api/claim-statuses-api.js +642 -14
- package/dist/api/claims-api.d.ts +493 -8
- package/dist/api/claims-api.js +734 -10
- package/dist/api/health-check-api.d.ts +33 -0
- package/dist/api/health-check-api.js +73 -0
- package/dist/api/settlements-api.d.ts +358 -0
- package/dist/api/settlements-api.js +525 -0
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/models/calculation-step-result-class.d.ts +72 -0
- package/dist/models/calculation-step-result-class.js +21 -0
- package/dist/models/claim-applied-deductible-class.d.ts +95 -0
- package/dist/models/claim-applied-deductible-class.js +20 -0
- package/dist/models/claim-class.d.ts +25 -0
- package/dist/models/claim-limit-usage-class.d.ts +143 -0
- package/dist/models/claim-limit-usage-class.js +30 -0
- package/dist/models/claim-limit-usage-result-class.d.ts +48 -0
- package/dist/models/claim-limit-usage-result-class.js +21 -0
- package/dist/models/claim-position-class.d.ts +151 -0
- package/dist/models/claim-position-class.js +20 -0
- package/dist/models/create-claim-position-request-dto.d.ts +66 -0
- package/dist/models/create-claim-position-request-dto.js +15 -0
- package/dist/models/create-claim-position-response-class.d.ts +25 -0
- package/dist/models/create-claim-position-response-class.js +15 -0
- package/dist/models/create-claim-request-dto.d.ts +6 -0
- package/dist/models/create-regulation-item-request-dto.d.ts +26 -3
- package/dist/models/create-regulation-item-request-dto.js +5 -1
- package/dist/models/get-claim-limit-usage-response-class.d.ts +25 -0
- package/dist/models/get-claim-limit-usage-response-class.js +15 -0
- package/dist/models/get-claim-position-response-class.d.ts +25 -0
- package/dist/models/get-claim-position-response-class.js +15 -0
- package/dist/models/index.d.ts +13 -0
- package/dist/models/index.js +13 -0
- package/dist/models/list-claim-limit-usages-response-class.d.ts +43 -0
- package/dist/models/list-claim-limit-usages-response-class.js +15 -0
- package/dist/models/list-claim-partner-roles-response-class.d.ts +12 -0
- package/dist/models/list-claim-partners-response-class.d.ts +12 -0
- package/dist/models/list-claim-positions-response-class.d.ts +43 -0
- package/dist/models/list-claim-positions-response-class.js +15 -0
- package/dist/models/list-claim-statuses-response-class.d.ts +13 -1
- package/dist/models/list-claims-response-class.d.ts +12 -0
- package/dist/models/list-regulations-response-class.d.ts +12 -0
- package/dist/models/patch-claim-request-dto.d.ts +39 -33
- package/dist/models/regulation-item-class.d.ts +35 -0
- package/dist/models/regulation-item-class.js +10 -1
- package/dist/models/update-claim-position-request-dto.d.ts +60 -0
- package/dist/models/update-claim-position-request-dto.js +15 -0
- package/dist/models/update-claim-position-response-class.d.ts +25 -0
- package/dist/models/update-claim-position-response-class.js +15 -0
- package/dist/models/update-claim-request-dto.d.ts +39 -33
- package/dist/models/update-regulation-item-request-dto.d.ts +12 -0
- package/dist/models/update-regulation-item-request-dto.js +6 -1
- package/models/calculation-step-result-class.ts +81 -0
- package/models/claim-applied-deductible-class.ts +104 -0
- package/models/claim-class.ts +25 -0
- package/models/claim-limit-usage-class.ts +154 -0
- package/models/claim-limit-usage-result-class.ts +57 -0
- package/models/claim-position-class.ts +160 -0
- package/models/create-claim-position-request-dto.ts +72 -0
- package/models/create-claim-position-response-class.ts +31 -0
- package/models/create-claim-request-dto.ts +6 -0
- package/models/create-regulation-item-request-dto.ts +27 -3
- package/models/get-claim-limit-usage-response-class.ts +31 -0
- package/models/get-claim-position-response-class.ts +31 -0
- package/models/index.ts +13 -0
- package/models/list-claim-limit-usages-response-class.ts +49 -0
- package/models/list-claim-partner-roles-response-class.ts +12 -0
- package/models/list-claim-partners-response-class.ts +12 -0
- package/models/list-claim-positions-response-class.ts +49 -0
- package/models/list-claim-statuses-response-class.ts +13 -1
- package/models/list-claims-response-class.ts +12 -0
- package/models/list-regulations-response-class.ts +12 -0
- package/models/patch-claim-request-dto.ts +39 -33
- package/models/regulation-item-class.ts +37 -0
- package/models/update-claim-position-request-dto.ts +66 -0
- package/models/update-claim-position-response-class.ts +31 -0
- package/models/update-claim-request-dto.ts +39 -33
- package/models/update-regulation-item-request-dto.ts +13 -0
- package/package.json +1 -1
package/api/settlements-api.ts
CHANGED
|
@@ -49,6 +49,54 @@ 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)
|
|
52
100
|
const localVarPath = `/v1/settlements`;
|
|
53
101
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
54
102
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -96,6 +144,52 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
96
144
|
deleteSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
97
145
|
// verify required parameter 'code' is not null or undefined
|
|
98
146
|
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)
|
|
99
193
|
const localVarPath = `/v1/settlements/{code}`
|
|
100
194
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
101
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -141,6 +235,52 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
141
235
|
getSettlement: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
236
|
// verify required parameter 'code' is not null or undefined
|
|
143
237
|
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)
|
|
144
284
|
const localVarPath = `/v1/settlements/{code}`
|
|
145
285
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
286
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -190,6 +330,83 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
190
330
|
* @throws {RequiredError}
|
|
191
331
|
*/
|
|
192
332
|
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> => {
|
|
193
410
|
const localVarPath = `/v1/settlements`;
|
|
194
411
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
195
412
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -265,6 +482,58 @@ export const SettlementsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
265
482
|
assertParamExists('updateSettlement', 'code', code)
|
|
266
483
|
// verify required parameter 'updateSettlementRequestDto' is not null or undefined
|
|
267
484
|
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)
|
|
268
537
|
const localVarPath = `/v1/settlements/{code}`
|
|
269
538
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
270
539
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -324,6 +593,19 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
324
593
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createSettlement(createSettlementRequestDto, authorization, options);
|
|
325
594
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
326
595
|
},
|
|
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
|
+
},
|
|
327
609
|
/**
|
|
328
610
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
329
611
|
* @summary Delete the settlement
|
|
@@ -336,6 +618,19 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
336
618
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteSettlement(code, authorization, options);
|
|
337
619
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
338
620
|
},
|
|
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
|
+
},
|
|
339
634
|
/**
|
|
340
635
|
* 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\"
|
|
341
636
|
* @summary Retrieve the settlement
|
|
@@ -348,6 +643,19 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
348
643
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSettlement(code, authorization, options);
|
|
349
644
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
350
645
|
},
|
|
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
|
+
},
|
|
351
659
|
/**
|
|
352
660
|
* 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\"
|
|
353
661
|
* @summary List settlements
|
|
@@ -366,6 +674,25 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
366
674
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
367
675
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
368
676
|
},
|
|
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
|
+
},
|
|
369
696
|
/**
|
|
370
697
|
* 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\"
|
|
371
698
|
* @summary Update the settlement
|
|
@@ -379,6 +706,20 @@ export const SettlementsApiFp = function(configuration?: Configuration) {
|
|
|
379
706
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateSettlement(code, updateSettlementRequestDto, authorization, options);
|
|
380
707
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
708
|
},
|
|
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
|
+
},
|
|
382
723
|
}
|
|
383
724
|
};
|
|
384
725
|
|
|
@@ -400,6 +741,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
400
741
|
createSettlement(createSettlementRequestDto: CreateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateSettlementResponseClass> {
|
|
401
742
|
return localVarFp.createSettlement(createSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
402
743
|
},
|
|
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
|
+
},
|
|
403
756
|
/**
|
|
404
757
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
405
758
|
* @summary Delete the settlement
|
|
@@ -411,6 +764,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
411
764
|
deleteSettlement(code: string, authorization?: string, options?: any): AxiosPromise<void> {
|
|
412
765
|
return localVarFp.deleteSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
413
766
|
},
|
|
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
|
+
},
|
|
414
779
|
/**
|
|
415
780
|
* 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\"
|
|
416
781
|
* @summary Retrieve the settlement
|
|
@@ -422,6 +787,18 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
422
787
|
getSettlement(code: string, authorization?: string, options?: any): AxiosPromise<GetSettlementResponseClass> {
|
|
423
788
|
return localVarFp.getSettlement(code, authorization, options).then((request) => request(axios, basePath));
|
|
424
789
|
},
|
|
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
|
+
},
|
|
425
802
|
/**
|
|
426
803
|
* 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\"
|
|
427
804
|
* @summary List settlements
|
|
@@ -439,6 +816,24 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
439
816
|
listSettlements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListSettlementsResponseClass> {
|
|
440
817
|
return localVarFp.listSettlements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
441
818
|
},
|
|
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
|
+
},
|
|
442
837
|
/**
|
|
443
838
|
* 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\"
|
|
444
839
|
* @summary Update the settlement
|
|
@@ -451,6 +846,19 @@ export const SettlementsApiFactory = function (configuration?: Configuration, ba
|
|
|
451
846
|
updateSettlement(code: string, updateSettlementRequestDto: UpdateSettlementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateSettlementResponseClass> {
|
|
452
847
|
return localVarFp.updateSettlement(code, updateSettlementRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
453
848
|
},
|
|
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
|
+
},
|
|
454
862
|
};
|
|
455
863
|
};
|
|
456
864
|
|
|
@@ -475,6 +883,27 @@ export interface SettlementsApiCreateSettlementRequest {
|
|
|
475
883
|
readonly authorization?: string
|
|
476
884
|
}
|
|
477
885
|
|
|
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
|
+
|
|
478
907
|
/**
|
|
479
908
|
* Request parameters for deleteSettlement operation in SettlementsApi.
|
|
480
909
|
* @export
|
|
@@ -496,6 +925,27 @@ export interface SettlementsApiDeleteSettlementRequest {
|
|
|
496
925
|
readonly authorization?: string
|
|
497
926
|
}
|
|
498
927
|
|
|
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
|
+
|
|
499
949
|
/**
|
|
500
950
|
* Request parameters for getSettlement operation in SettlementsApi.
|
|
501
951
|
* @export
|
|
@@ -517,6 +967,27 @@ export interface SettlementsApiGetSettlementRequest {
|
|
|
517
967
|
readonly authorization?: string
|
|
518
968
|
}
|
|
519
969
|
|
|
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
|
+
|
|
520
991
|
/**
|
|
521
992
|
* Request parameters for listSettlements operation in SettlementsApi.
|
|
522
993
|
* @export
|
|
@@ -580,6 +1051,69 @@ export interface SettlementsApiListSettlementsRequest {
|
|
|
580
1051
|
readonly filters?: string
|
|
581
1052
|
}
|
|
582
1053
|
|
|
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
|
+
|
|
583
1117
|
/**
|
|
584
1118
|
* Request parameters for updateSettlement operation in SettlementsApi.
|
|
585
1119
|
* @export
|
|
@@ -608,6 +1142,34 @@ export interface SettlementsApiUpdateSettlementRequest {
|
|
|
608
1142
|
readonly authorization?: string
|
|
609
1143
|
}
|
|
610
1144
|
|
|
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
|
+
|
|
611
1173
|
/**
|
|
612
1174
|
* SettlementsApi - object-oriented interface
|
|
613
1175
|
* @export
|
|
@@ -627,6 +1189,19 @@ export class SettlementsApi extends BaseAPI {
|
|
|
627
1189
|
return SettlementsApiFp(this.configuration).createSettlement(requestParameters.createSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
628
1190
|
}
|
|
629
1191
|
|
|
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
|
+
|
|
630
1205
|
/**
|
|
631
1206
|
* This will delete the requested settlement from the database. **Required Permissions** \"claim-management.claims.delete\"
|
|
632
1207
|
* @summary Delete the settlement
|
|
@@ -639,6 +1214,19 @@ export class SettlementsApi extends BaseAPI {
|
|
|
639
1214
|
return SettlementsApiFp(this.configuration).deleteSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
640
1215
|
}
|
|
641
1216
|
|
|
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
|
+
|
|
642
1230
|
/**
|
|
643
1231
|
* 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\"
|
|
644
1232
|
* @summary Retrieve the settlement
|
|
@@ -651,6 +1239,19 @@ export class SettlementsApi extends BaseAPI {
|
|
|
651
1239
|
return SettlementsApiFp(this.configuration).getSettlement(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
652
1240
|
}
|
|
653
1241
|
|
|
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
|
+
|
|
654
1255
|
/**
|
|
655
1256
|
* 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\"
|
|
656
1257
|
* @summary List settlements
|
|
@@ -663,6 +1264,19 @@ export class SettlementsApi extends BaseAPI {
|
|
|
663
1264
|
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));
|
|
664
1265
|
}
|
|
665
1266
|
|
|
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
|
+
|
|
666
1280
|
/**
|
|
667
1281
|
* 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\"
|
|
668
1282
|
* @summary Update the settlement
|
|
@@ -674,4 +1288,17 @@ export class SettlementsApi extends BaseAPI {
|
|
|
674
1288
|
public updateSettlement(requestParameters: SettlementsApiUpdateSettlementRequest, options?: AxiosRequestConfig) {
|
|
675
1289
|
return SettlementsApiFp(this.configuration).updateSettlement(requestParameters.code, requestParameters.updateSettlementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
676
1290
|
}
|
|
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
|
+
}
|
|
677
1304
|
}
|