@emilgroup/claim-sdk-node 1.39.0 → 1.39.1-beta.1
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 +648 -0
- package/api/claim-partner-roles-api.ts +627 -0
- package/api/claim-partners-api.ts +520 -0
- package/api/claim-positions-api.ts +1340 -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 +585 -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 +1181 -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
|
@@ -57,6 +57,54 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
57
57
|
createClaimStatus: async (createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
58
58
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
59
59
|
assertParamExists('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto)
|
|
60
|
+
const localVarPath = `/claimservice/v1/claim-statuses`;
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
let baseAccessToken;
|
|
65
|
+
if (configuration) {
|
|
66
|
+
baseOptions = configuration.baseOptions;
|
|
67
|
+
baseAccessToken = configuration.accessToken;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
71
|
+
const localVarHeaderParameter = {} as any;
|
|
72
|
+
const localVarQueryParameter = {} as any;
|
|
73
|
+
|
|
74
|
+
// authentication bearer required
|
|
75
|
+
// http bearer authentication required
|
|
76
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
77
|
+
|
|
78
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
79
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
85
|
+
|
|
86
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
87
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
88
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
89
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
90
|
+
|
|
91
|
+
return {
|
|
92
|
+
url: toPathString(localVarUrlObj),
|
|
93
|
+
options: localVarRequestOptions,
|
|
94
|
+
};
|
|
95
|
+
},
|
|
96
|
+
/**
|
|
97
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
98
|
+
* @summary Create the claim status
|
|
99
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
100
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
101
|
+
* @param {*} [options] Override http request option.
|
|
102
|
+
* @deprecated
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
createClaimStatus1: async (createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
106
|
+
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
107
|
+
assertParamExists('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto)
|
|
60
108
|
const localVarPath = `/v1/claim-statuses`;
|
|
61
109
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
110
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -104,6 +152,52 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
104
152
|
deleteClaimStatus: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
105
153
|
// verify required parameter 'id' is not null or undefined
|
|
106
154
|
assertParamExists('deleteClaimStatus', 'id', id)
|
|
155
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
156
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
157
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
158
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
159
|
+
let baseOptions;
|
|
160
|
+
let baseAccessToken;
|
|
161
|
+
if (configuration) {
|
|
162
|
+
baseOptions = configuration.baseOptions;
|
|
163
|
+
baseAccessToken = configuration.accessToken;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
167
|
+
const localVarHeaderParameter = {} as any;
|
|
168
|
+
const localVarQueryParameter = {} as any;
|
|
169
|
+
|
|
170
|
+
// authentication bearer required
|
|
171
|
+
// http bearer authentication required
|
|
172
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
173
|
+
|
|
174
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
175
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
181
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
182
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
183
|
+
|
|
184
|
+
return {
|
|
185
|
+
url: toPathString(localVarUrlObj),
|
|
186
|
+
options: localVarRequestOptions,
|
|
187
|
+
};
|
|
188
|
+
},
|
|
189
|
+
/**
|
|
190
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
191
|
+
* @summary Delete the claim status
|
|
192
|
+
* @param {number} id
|
|
193
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
194
|
+
* @param {*} [options] Override http request option.
|
|
195
|
+
* @deprecated
|
|
196
|
+
* @throws {RequiredError}
|
|
197
|
+
*/
|
|
198
|
+
deleteClaimStatus1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
|
+
// verify required parameter 'id' is not null or undefined
|
|
200
|
+
assertParamExists('deleteClaimStatus1', 'id', id)
|
|
107
201
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
108
202
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
109
203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -149,6 +243,52 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
149
243
|
getClaimStatus: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
150
244
|
// verify required parameter 'id' is not null or undefined
|
|
151
245
|
assertParamExists('getClaimStatus', 'id', id)
|
|
246
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
247
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
248
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
249
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
250
|
+
let baseOptions;
|
|
251
|
+
let baseAccessToken;
|
|
252
|
+
if (configuration) {
|
|
253
|
+
baseOptions = configuration.baseOptions;
|
|
254
|
+
baseAccessToken = configuration.accessToken;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
258
|
+
const localVarHeaderParameter = {} as any;
|
|
259
|
+
const localVarQueryParameter = {} as any;
|
|
260
|
+
|
|
261
|
+
// authentication bearer required
|
|
262
|
+
// http bearer authentication required
|
|
263
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
264
|
+
|
|
265
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
266
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
273
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
274
|
+
|
|
275
|
+
return {
|
|
276
|
+
url: toPathString(localVarUrlObj),
|
|
277
|
+
options: localVarRequestOptions,
|
|
278
|
+
};
|
|
279
|
+
},
|
|
280
|
+
/**
|
|
281
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
282
|
+
* @summary Retrieve the claim status
|
|
283
|
+
* @param {number} id
|
|
284
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
285
|
+
* @param {*} [options] Override http request option.
|
|
286
|
+
* @deprecated
|
|
287
|
+
* @throws {RequiredError}
|
|
288
|
+
*/
|
|
289
|
+
getClaimStatus1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
290
|
+
// verify required parameter 'id' is not null or undefined
|
|
291
|
+
assertParamExists('getClaimStatus1', 'id', id)
|
|
152
292
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
153
293
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
154
294
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -198,6 +338,83 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
198
338
|
* @throws {RequiredError}
|
|
199
339
|
*/
|
|
200
340
|
listClaimStatuses: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
341
|
+
const localVarPath = `/claimservice/v1/claim-statuses`;
|
|
342
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
343
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
344
|
+
let baseOptions;
|
|
345
|
+
let baseAccessToken;
|
|
346
|
+
if (configuration) {
|
|
347
|
+
baseOptions = configuration.baseOptions;
|
|
348
|
+
baseAccessToken = configuration.accessToken;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
352
|
+
const localVarHeaderParameter = {} as any;
|
|
353
|
+
const localVarQueryParameter = {} as any;
|
|
354
|
+
|
|
355
|
+
// authentication bearer required
|
|
356
|
+
// http bearer authentication required
|
|
357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
358
|
+
|
|
359
|
+
if (pageSize !== undefined) {
|
|
360
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
if (pageToken !== undefined) {
|
|
364
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (filter !== undefined) {
|
|
368
|
+
localVarQueryParameter['filter'] = filter;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
if (search !== undefined) {
|
|
372
|
+
localVarQueryParameter['search'] = search;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (order !== undefined) {
|
|
376
|
+
localVarQueryParameter['order'] = order;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (expand !== undefined) {
|
|
380
|
+
localVarQueryParameter['expand'] = expand;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
if (filters !== undefined) {
|
|
384
|
+
localVarQueryParameter['filters'] = filters;
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
388
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
394
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
395
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
396
|
+
|
|
397
|
+
return {
|
|
398
|
+
url: toPathString(localVarUrlObj),
|
|
399
|
+
options: localVarRequestOptions,
|
|
400
|
+
};
|
|
401
|
+
},
|
|
402
|
+
/**
|
|
403
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
404
|
+
* @summary List claim statuses
|
|
405
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
406
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
407
|
+
* @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.
|
|
408
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
409
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
410
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
411
|
+
* @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/>
|
|
412
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
413
|
+
* @param {*} [options] Override http request option.
|
|
414
|
+
* @deprecated
|
|
415
|
+
* @throws {RequiredError}
|
|
416
|
+
*/
|
|
417
|
+
listClaimStatuses1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
201
418
|
const localVarPath = `/v1/claim-statuses`;
|
|
202
419
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
203
420
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -273,6 +490,58 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
273
490
|
assertParamExists('patchClaimStatus', 'id', id)
|
|
274
491
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
275
492
|
assertParamExists('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
493
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
494
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
495
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
496
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
497
|
+
let baseOptions;
|
|
498
|
+
let baseAccessToken;
|
|
499
|
+
if (configuration) {
|
|
500
|
+
baseOptions = configuration.baseOptions;
|
|
501
|
+
baseAccessToken = configuration.accessToken;
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
505
|
+
const localVarHeaderParameter = {} as any;
|
|
506
|
+
const localVarQueryParameter = {} as any;
|
|
507
|
+
|
|
508
|
+
// authentication bearer required
|
|
509
|
+
// http bearer authentication required
|
|
510
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
511
|
+
|
|
512
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
513
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
514
|
+
}
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
519
|
+
|
|
520
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
521
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
522
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
523
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
524
|
+
|
|
525
|
+
return {
|
|
526
|
+
url: toPathString(localVarUrlObj),
|
|
527
|
+
options: localVarRequestOptions,
|
|
528
|
+
};
|
|
529
|
+
},
|
|
530
|
+
/**
|
|
531
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
532
|
+
* @summary Patch claim status
|
|
533
|
+
* @param {number} id
|
|
534
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
535
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
536
|
+
* @param {*} [options] Override http request option.
|
|
537
|
+
* @deprecated
|
|
538
|
+
* @throws {RequiredError}
|
|
539
|
+
*/
|
|
540
|
+
patchClaimStatus1: async (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
541
|
+
// verify required parameter 'id' is not null or undefined
|
|
542
|
+
assertParamExists('patchClaimStatus1', 'id', id)
|
|
543
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
544
|
+
assertParamExists('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
276
545
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
277
546
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
278
547
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -324,6 +593,58 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
324
593
|
assertParamExists('updateClaimStatus', 'id', id)
|
|
325
594
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
326
595
|
assertParamExists('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
596
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
597
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
598
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
599
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
600
|
+
let baseOptions;
|
|
601
|
+
let baseAccessToken;
|
|
602
|
+
if (configuration) {
|
|
603
|
+
baseOptions = configuration.baseOptions;
|
|
604
|
+
baseAccessToken = configuration.accessToken;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
608
|
+
const localVarHeaderParameter = {} as any;
|
|
609
|
+
const localVarQueryParameter = {} as any;
|
|
610
|
+
|
|
611
|
+
// authentication bearer required
|
|
612
|
+
// http bearer authentication required
|
|
613
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
614
|
+
|
|
615
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
616
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
622
|
+
|
|
623
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
624
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
625
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
626
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
627
|
+
|
|
628
|
+
return {
|
|
629
|
+
url: toPathString(localVarUrlObj),
|
|
630
|
+
options: localVarRequestOptions,
|
|
631
|
+
};
|
|
632
|
+
},
|
|
633
|
+
/**
|
|
634
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
635
|
+
* @summary Update the claim status
|
|
636
|
+
* @param {number} id
|
|
637
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
638
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
639
|
+
* @param {*} [options] Override http request option.
|
|
640
|
+
* @deprecated
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
updateClaimStatus1: async (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
644
|
+
// verify required parameter 'id' is not null or undefined
|
|
645
|
+
assertParamExists('updateClaimStatus1', 'id', id)
|
|
646
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
647
|
+
assertParamExists('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
327
648
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
328
649
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
329
650
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -383,6 +704,19 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
383
704
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimStatus(createClaimStatusRequestDto, authorization, options);
|
|
384
705
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
385
706
|
},
|
|
707
|
+
/**
|
|
708
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
709
|
+
* @summary Create the claim status
|
|
710
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
711
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
712
|
+
* @param {*} [options] Override http request option.
|
|
713
|
+
* @deprecated
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
*/
|
|
716
|
+
async createClaimStatus1(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimStatusResponseClass>> {
|
|
717
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimStatus1(createClaimStatusRequestDto, authorization, options);
|
|
718
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
719
|
+
},
|
|
386
720
|
/**
|
|
387
721
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
388
722
|
* @summary Delete the claim status
|
|
@@ -395,6 +729,19 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
395
729
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimStatus(id, authorization, options);
|
|
396
730
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
397
731
|
},
|
|
732
|
+
/**
|
|
733
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
734
|
+
* @summary Delete the claim status
|
|
735
|
+
* @param {number} id
|
|
736
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
737
|
+
* @param {*} [options] Override http request option.
|
|
738
|
+
* @deprecated
|
|
739
|
+
* @throws {RequiredError}
|
|
740
|
+
*/
|
|
741
|
+
async deleteClaimStatus1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimStatus1(id, authorization, options);
|
|
743
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
744
|
+
},
|
|
398
745
|
/**
|
|
399
746
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
400
747
|
* @summary Retrieve the claim status
|
|
@@ -407,6 +754,19 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
407
754
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimStatus(id, authorization, options);
|
|
408
755
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
409
756
|
},
|
|
757
|
+
/**
|
|
758
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
759
|
+
* @summary Retrieve the claim status
|
|
760
|
+
* @param {number} id
|
|
761
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
762
|
+
* @param {*} [options] Override http request option.
|
|
763
|
+
* @deprecated
|
|
764
|
+
* @throws {RequiredError}
|
|
765
|
+
*/
|
|
766
|
+
async getClaimStatus1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimStatusResponseClass>> {
|
|
767
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimStatus1(id, authorization, options);
|
|
768
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
769
|
+
},
|
|
410
770
|
/**
|
|
411
771
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
412
772
|
* @summary List claim statuses
|
|
@@ -425,6 +785,25 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
425
785
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
426
786
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
427
787
|
},
|
|
788
|
+
/**
|
|
789
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
790
|
+
* @summary List claim statuses
|
|
791
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
792
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
793
|
+
* @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.
|
|
794
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
795
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
796
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
797
|
+
* @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/>
|
|
798
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
799
|
+
* @param {*} [options] Override http request option.
|
|
800
|
+
* @deprecated
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
async listClaimStatuses1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListClaimStatusesResponseClass>> {
|
|
804
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
805
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
806
|
+
},
|
|
428
807
|
/**
|
|
429
808
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
430
809
|
* @summary Patch claim status
|
|
@@ -434,21 +813,49 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
434
813
|
* @param {*} [options] Override http request option.
|
|
435
814
|
* @throws {RequiredError}
|
|
436
815
|
*/
|
|
437
|
-
async patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
438
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options);
|
|
816
|
+
async patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
817
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options);
|
|
818
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
819
|
+
},
|
|
820
|
+
/**
|
|
821
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
822
|
+
* @summary Patch claim status
|
|
823
|
+
* @param {number} id
|
|
824
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
825
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
826
|
+
* @param {*} [options] Override http request option.
|
|
827
|
+
* @deprecated
|
|
828
|
+
* @throws {RequiredError}
|
|
829
|
+
*/
|
|
830
|
+
async patchClaimStatus1(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
831
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options);
|
|
832
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
833
|
+
},
|
|
834
|
+
/**
|
|
835
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
836
|
+
* @summary Update the claim status
|
|
837
|
+
* @param {number} id
|
|
838
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
839
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
840
|
+
* @param {*} [options] Override http request option.
|
|
841
|
+
* @throws {RequiredError}
|
|
842
|
+
*/
|
|
843
|
+
async updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
844
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options);
|
|
439
845
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
440
846
|
},
|
|
441
847
|
/**
|
|
442
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
848
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
443
849
|
* @summary Update the claim status
|
|
444
850
|
* @param {number} id
|
|
445
851
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
446
852
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
447
853
|
* @param {*} [options] Override http request option.
|
|
854
|
+
* @deprecated
|
|
448
855
|
* @throws {RequiredError}
|
|
449
856
|
*/
|
|
450
|
-
async
|
|
451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
857
|
+
async updateClaimStatus1(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
858
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options);
|
|
452
859
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
860
|
},
|
|
454
861
|
}
|
|
@@ -472,6 +879,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
472
879
|
createClaimStatus(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimStatusResponseClass> {
|
|
473
880
|
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
474
881
|
},
|
|
882
|
+
/**
|
|
883
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
884
|
+
* @summary Create the claim status
|
|
885
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
886
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
887
|
+
* @param {*} [options] Override http request option.
|
|
888
|
+
* @deprecated
|
|
889
|
+
* @throws {RequiredError}
|
|
890
|
+
*/
|
|
891
|
+
createClaimStatus1(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimStatusResponseClass> {
|
|
892
|
+
return localVarFp.createClaimStatus1(createClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
893
|
+
},
|
|
475
894
|
/**
|
|
476
895
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
477
896
|
* @summary Delete the claim status
|
|
@@ -483,6 +902,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
483
902
|
deleteClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
484
903
|
return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
485
904
|
},
|
|
905
|
+
/**
|
|
906
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
907
|
+
* @summary Delete the claim status
|
|
908
|
+
* @param {number} id
|
|
909
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
910
|
+
* @param {*} [options] Override http request option.
|
|
911
|
+
* @deprecated
|
|
912
|
+
* @throws {RequiredError}
|
|
913
|
+
*/
|
|
914
|
+
deleteClaimStatus1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
915
|
+
return localVarFp.deleteClaimStatus1(id, authorization, options).then((request) => request(axios, basePath));
|
|
916
|
+
},
|
|
486
917
|
/**
|
|
487
918
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
488
919
|
* @summary Retrieve the claim status
|
|
@@ -494,6 +925,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
494
925
|
getClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass> {
|
|
495
926
|
return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
496
927
|
},
|
|
928
|
+
/**
|
|
929
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
930
|
+
* @summary Retrieve the claim status
|
|
931
|
+
* @param {number} id
|
|
932
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @deprecated
|
|
935
|
+
* @throws {RequiredError}
|
|
936
|
+
*/
|
|
937
|
+
getClaimStatus1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass> {
|
|
938
|
+
return localVarFp.getClaimStatus1(id, authorization, options).then((request) => request(axios, basePath));
|
|
939
|
+
},
|
|
497
940
|
/**
|
|
498
941
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
499
942
|
* @summary List claim statuses
|
|
@@ -511,6 +954,24 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
511
954
|
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
512
955
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
513
956
|
},
|
|
957
|
+
/**
|
|
958
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
959
|
+
* @summary List claim statuses
|
|
960
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
961
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
962
|
+
* @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.
|
|
963
|
+
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
964
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
965
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
966
|
+
* @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/>
|
|
967
|
+
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
968
|
+
* @param {*} [options] Override http request option.
|
|
969
|
+
* @deprecated
|
|
970
|
+
* @throws {RequiredError}
|
|
971
|
+
*/
|
|
972
|
+
listClaimStatuses1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
973
|
+
return localVarFp.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
974
|
+
},
|
|
514
975
|
/**
|
|
515
976
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
516
977
|
* @summary Patch claim status
|
|
@@ -523,6 +984,19 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
523
984
|
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
524
985
|
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
525
986
|
},
|
|
987
|
+
/**
|
|
988
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
989
|
+
* @summary Patch claim status
|
|
990
|
+
* @param {number} id
|
|
991
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
992
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
993
|
+
* @param {*} [options] Override http request option.
|
|
994
|
+
* @deprecated
|
|
995
|
+
* @throws {RequiredError}
|
|
996
|
+
*/
|
|
997
|
+
patchClaimStatus1(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
998
|
+
return localVarFp.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
999
|
+
},
|
|
526
1000
|
/**
|
|
527
1001
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
528
1002
|
* @summary Update the claim status
|
|
@@ -535,6 +1009,19 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
535
1009
|
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
536
1010
|
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
537
1011
|
},
|
|
1012
|
+
/**
|
|
1013
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1014
|
+
* @summary Update the claim status
|
|
1015
|
+
* @param {number} id
|
|
1016
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1017
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1018
|
+
* @param {*} [options] Override http request option.
|
|
1019
|
+
* @deprecated
|
|
1020
|
+
* @throws {RequiredError}
|
|
1021
|
+
*/
|
|
1022
|
+
updateClaimStatus1(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
1023
|
+
return localVarFp.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1024
|
+
},
|
|
538
1025
|
};
|
|
539
1026
|
};
|
|
540
1027
|
|
|
@@ -559,6 +1046,27 @@ export interface ClaimStatusesApiCreateClaimStatusRequest {
|
|
|
559
1046
|
readonly authorization?: string
|
|
560
1047
|
}
|
|
561
1048
|
|
|
1049
|
+
/**
|
|
1050
|
+
* Request parameters for createClaimStatus1 operation in ClaimStatusesApi.
|
|
1051
|
+
* @export
|
|
1052
|
+
* @interface ClaimStatusesApiCreateClaimStatus1Request
|
|
1053
|
+
*/
|
|
1054
|
+
export interface ClaimStatusesApiCreateClaimStatus1Request {
|
|
1055
|
+
/**
|
|
1056
|
+
*
|
|
1057
|
+
* @type {CreateClaimStatusRequestDto}
|
|
1058
|
+
* @memberof ClaimStatusesApiCreateClaimStatus1
|
|
1059
|
+
*/
|
|
1060
|
+
readonly createClaimStatusRequestDto: CreateClaimStatusRequestDto
|
|
1061
|
+
|
|
1062
|
+
/**
|
|
1063
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1064
|
+
* @type {string}
|
|
1065
|
+
* @memberof ClaimStatusesApiCreateClaimStatus1
|
|
1066
|
+
*/
|
|
1067
|
+
readonly authorization?: string
|
|
1068
|
+
}
|
|
1069
|
+
|
|
562
1070
|
/**
|
|
563
1071
|
* Request parameters for deleteClaimStatus operation in ClaimStatusesApi.
|
|
564
1072
|
* @export
|
|
@@ -580,6 +1088,27 @@ export interface ClaimStatusesApiDeleteClaimStatusRequest {
|
|
|
580
1088
|
readonly authorization?: string
|
|
581
1089
|
}
|
|
582
1090
|
|
|
1091
|
+
/**
|
|
1092
|
+
* Request parameters for deleteClaimStatus1 operation in ClaimStatusesApi.
|
|
1093
|
+
* @export
|
|
1094
|
+
* @interface ClaimStatusesApiDeleteClaimStatus1Request
|
|
1095
|
+
*/
|
|
1096
|
+
export interface ClaimStatusesApiDeleteClaimStatus1Request {
|
|
1097
|
+
/**
|
|
1098
|
+
*
|
|
1099
|
+
* @type {number}
|
|
1100
|
+
* @memberof ClaimStatusesApiDeleteClaimStatus1
|
|
1101
|
+
*/
|
|
1102
|
+
readonly id: number
|
|
1103
|
+
|
|
1104
|
+
/**
|
|
1105
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1106
|
+
* @type {string}
|
|
1107
|
+
* @memberof ClaimStatusesApiDeleteClaimStatus1
|
|
1108
|
+
*/
|
|
1109
|
+
readonly authorization?: string
|
|
1110
|
+
}
|
|
1111
|
+
|
|
583
1112
|
/**
|
|
584
1113
|
* Request parameters for getClaimStatus operation in ClaimStatusesApi.
|
|
585
1114
|
* @export
|
|
@@ -601,6 +1130,27 @@ export interface ClaimStatusesApiGetClaimStatusRequest {
|
|
|
601
1130
|
readonly authorization?: string
|
|
602
1131
|
}
|
|
603
1132
|
|
|
1133
|
+
/**
|
|
1134
|
+
* Request parameters for getClaimStatus1 operation in ClaimStatusesApi.
|
|
1135
|
+
* @export
|
|
1136
|
+
* @interface ClaimStatusesApiGetClaimStatus1Request
|
|
1137
|
+
*/
|
|
1138
|
+
export interface ClaimStatusesApiGetClaimStatus1Request {
|
|
1139
|
+
/**
|
|
1140
|
+
*
|
|
1141
|
+
* @type {number}
|
|
1142
|
+
* @memberof ClaimStatusesApiGetClaimStatus1
|
|
1143
|
+
*/
|
|
1144
|
+
readonly id: number
|
|
1145
|
+
|
|
1146
|
+
/**
|
|
1147
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1148
|
+
* @type {string}
|
|
1149
|
+
* @memberof ClaimStatusesApiGetClaimStatus1
|
|
1150
|
+
*/
|
|
1151
|
+
readonly authorization?: string
|
|
1152
|
+
}
|
|
1153
|
+
|
|
604
1154
|
/**
|
|
605
1155
|
* Request parameters for listClaimStatuses operation in ClaimStatusesApi.
|
|
606
1156
|
* @export
|
|
@@ -664,6 +1214,69 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
664
1214
|
readonly filters?: string
|
|
665
1215
|
}
|
|
666
1216
|
|
|
1217
|
+
/**
|
|
1218
|
+
* Request parameters for listClaimStatuses1 operation in ClaimStatusesApi.
|
|
1219
|
+
* @export
|
|
1220
|
+
* @interface ClaimStatusesApiListClaimStatuses1Request
|
|
1221
|
+
*/
|
|
1222
|
+
export interface ClaimStatusesApiListClaimStatuses1Request {
|
|
1223
|
+
/**
|
|
1224
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1225
|
+
* @type {string}
|
|
1226
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1227
|
+
*/
|
|
1228
|
+
readonly authorization?: string
|
|
1229
|
+
|
|
1230
|
+
/**
|
|
1231
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1232
|
+
* @type {number}
|
|
1233
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1234
|
+
*/
|
|
1235
|
+
readonly pageSize?: number
|
|
1236
|
+
|
|
1237
|
+
/**
|
|
1238
|
+
* 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.
|
|
1239
|
+
* @type {string}
|
|
1240
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1241
|
+
*/
|
|
1242
|
+
readonly pageToken?: string
|
|
1243
|
+
|
|
1244
|
+
/**
|
|
1245
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
1246
|
+
* @type {string}
|
|
1247
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1248
|
+
*/
|
|
1249
|
+
readonly filter?: string
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1253
|
+
* @type {string}
|
|
1254
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1255
|
+
*/
|
|
1256
|
+
readonly search?: string
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id</i>
|
|
1260
|
+
* @type {string}
|
|
1261
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1262
|
+
*/
|
|
1263
|
+
readonly order?: string
|
|
1264
|
+
|
|
1265
|
+
/**
|
|
1266
|
+
* 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/>
|
|
1267
|
+
* @type {string}
|
|
1268
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1269
|
+
*/
|
|
1270
|
+
readonly expand?: string
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, name, productSlug</i>
|
|
1274
|
+
* @type {string}
|
|
1275
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1276
|
+
*/
|
|
1277
|
+
readonly filters?: string
|
|
1278
|
+
}
|
|
1279
|
+
|
|
667
1280
|
/**
|
|
668
1281
|
* Request parameters for patchClaimStatus operation in ClaimStatusesApi.
|
|
669
1282
|
* @export
|
|
@@ -692,6 +1305,34 @@ export interface ClaimStatusesApiPatchClaimStatusRequest {
|
|
|
692
1305
|
readonly authorization?: string
|
|
693
1306
|
}
|
|
694
1307
|
|
|
1308
|
+
/**
|
|
1309
|
+
* Request parameters for patchClaimStatus1 operation in ClaimStatusesApi.
|
|
1310
|
+
* @export
|
|
1311
|
+
* @interface ClaimStatusesApiPatchClaimStatus1Request
|
|
1312
|
+
*/
|
|
1313
|
+
export interface ClaimStatusesApiPatchClaimStatus1Request {
|
|
1314
|
+
/**
|
|
1315
|
+
*
|
|
1316
|
+
* @type {number}
|
|
1317
|
+
* @memberof ClaimStatusesApiPatchClaimStatus1
|
|
1318
|
+
*/
|
|
1319
|
+
readonly id: number
|
|
1320
|
+
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @type {PatchClaimStatusRequestDto}
|
|
1324
|
+
* @memberof ClaimStatusesApiPatchClaimStatus1
|
|
1325
|
+
*/
|
|
1326
|
+
readonly patchClaimStatusRequestDto: PatchClaimStatusRequestDto
|
|
1327
|
+
|
|
1328
|
+
/**
|
|
1329
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1330
|
+
* @type {string}
|
|
1331
|
+
* @memberof ClaimStatusesApiPatchClaimStatus1
|
|
1332
|
+
*/
|
|
1333
|
+
readonly authorization?: string
|
|
1334
|
+
}
|
|
1335
|
+
|
|
695
1336
|
/**
|
|
696
1337
|
* Request parameters for updateClaimStatus operation in ClaimStatusesApi.
|
|
697
1338
|
* @export
|
|
@@ -720,6 +1361,34 @@ export interface ClaimStatusesApiUpdateClaimStatusRequest {
|
|
|
720
1361
|
readonly authorization?: string
|
|
721
1362
|
}
|
|
722
1363
|
|
|
1364
|
+
/**
|
|
1365
|
+
* Request parameters for updateClaimStatus1 operation in ClaimStatusesApi.
|
|
1366
|
+
* @export
|
|
1367
|
+
* @interface ClaimStatusesApiUpdateClaimStatus1Request
|
|
1368
|
+
*/
|
|
1369
|
+
export interface ClaimStatusesApiUpdateClaimStatus1Request {
|
|
1370
|
+
/**
|
|
1371
|
+
*
|
|
1372
|
+
* @type {number}
|
|
1373
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus1
|
|
1374
|
+
*/
|
|
1375
|
+
readonly id: number
|
|
1376
|
+
|
|
1377
|
+
/**
|
|
1378
|
+
*
|
|
1379
|
+
* @type {UpdateClaimStatusRequestDto}
|
|
1380
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus1
|
|
1381
|
+
*/
|
|
1382
|
+
readonly updateClaimStatusRequestDto: UpdateClaimStatusRequestDto
|
|
1383
|
+
|
|
1384
|
+
/**
|
|
1385
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1386
|
+
* @type {string}
|
|
1387
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus1
|
|
1388
|
+
*/
|
|
1389
|
+
readonly authorization?: string
|
|
1390
|
+
}
|
|
1391
|
+
|
|
723
1392
|
/**
|
|
724
1393
|
* ClaimStatusesApi - object-oriented interface
|
|
725
1394
|
* @export
|
|
@@ -739,6 +1408,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
739
1408
|
return ClaimStatusesApiFp(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
740
1409
|
}
|
|
741
1410
|
|
|
1411
|
+
/**
|
|
1412
|
+
* This creates a claim status in the database **Required Permissions** \"claim-management.statuses.create\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1413
|
+
* @summary Create the claim status
|
|
1414
|
+
* @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
|
|
1415
|
+
* @param {*} [options] Override http request option.
|
|
1416
|
+
* @deprecated
|
|
1417
|
+
* @throws {RequiredError}
|
|
1418
|
+
* @memberof ClaimStatusesApi
|
|
1419
|
+
*/
|
|
1420
|
+
public createClaimStatus1(requestParameters: ClaimStatusesApiCreateClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1421
|
+
return ClaimStatusesApiFp(this.configuration).createClaimStatus1(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1422
|
+
}
|
|
1423
|
+
|
|
742
1424
|
/**
|
|
743
1425
|
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\"
|
|
744
1426
|
* @summary Delete the claim status
|
|
@@ -751,6 +1433,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
751
1433
|
return ClaimStatusesApiFp(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
752
1434
|
}
|
|
753
1435
|
|
|
1436
|
+
/**
|
|
1437
|
+
* Permanently deletes the claim status. Supply the unique id that was returned when you created the claim status and this will delete it. **Required Permissions** \"claim-management.statuses.delete\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1438
|
+
* @summary Delete the claim status
|
|
1439
|
+
* @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
|
|
1440
|
+
* @param {*} [options] Override http request option.
|
|
1441
|
+
* @deprecated
|
|
1442
|
+
* @throws {RequiredError}
|
|
1443
|
+
* @memberof ClaimStatusesApi
|
|
1444
|
+
*/
|
|
1445
|
+
public deleteClaimStatus1(requestParameters: ClaimStatusesApiDeleteClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1446
|
+
return ClaimStatusesApiFp(this.configuration).deleteClaimStatus1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1447
|
+
}
|
|
1448
|
+
|
|
754
1449
|
/**
|
|
755
1450
|
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\"
|
|
756
1451
|
* @summary Retrieve the claim status
|
|
@@ -763,6 +1458,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
763
1458
|
return ClaimStatusesApiFp(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
764
1459
|
}
|
|
765
1460
|
|
|
1461
|
+
/**
|
|
1462
|
+
* Retrieves the details of the claim status that was previously created. Supply the unique claim status id that was returned when you created it and Emil Api will return the corresponding claim status information. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1463
|
+
* @summary Retrieve the claim status
|
|
1464
|
+
* @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
|
|
1465
|
+
* @param {*} [options] Override http request option.
|
|
1466
|
+
* @deprecated
|
|
1467
|
+
* @throws {RequiredError}
|
|
1468
|
+
* @memberof ClaimStatusesApi
|
|
1469
|
+
*/
|
|
1470
|
+
public getClaimStatus1(requestParameters: ClaimStatusesApiGetClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1471
|
+
return ClaimStatusesApiFp(this.configuration).getClaimStatus1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1472
|
+
}
|
|
1473
|
+
|
|
766
1474
|
/**
|
|
767
1475
|
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\"
|
|
768
1476
|
* @summary List claim statuses
|
|
@@ -775,6 +1483,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
775
1483
|
return ClaimStatusesApiFp(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
776
1484
|
}
|
|
777
1485
|
|
|
1486
|
+
/**
|
|
1487
|
+
* Returns a list of claim statuses you have previously created. The claim statuses are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"claim-management.statuses.view\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1488
|
+
* @summary List claim statuses
|
|
1489
|
+
* @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
|
|
1490
|
+
* @param {*} [options] Override http request option.
|
|
1491
|
+
* @deprecated
|
|
1492
|
+
* @throws {RequiredError}
|
|
1493
|
+
* @memberof ClaimStatusesApi
|
|
1494
|
+
*/
|
|
1495
|
+
public listClaimStatuses1(requestParameters: ClaimStatusesApiListClaimStatuses1Request = {}, options?: AxiosRequestConfig) {
|
|
1496
|
+
return ClaimStatusesApiFp(this.configuration).listClaimStatuses1(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
|
|
1497
|
+
}
|
|
1498
|
+
|
|
778
1499
|
/**
|
|
779
1500
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
780
1501
|
* @summary Patch claim status
|
|
@@ -787,6 +1508,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
787
1508
|
return ClaimStatusesApiFp(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
788
1509
|
}
|
|
789
1510
|
|
|
1511
|
+
/**
|
|
1512
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1513
|
+
* @summary Patch claim status
|
|
1514
|
+
* @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
|
|
1515
|
+
* @param {*} [options] Override http request option.
|
|
1516
|
+
* @deprecated
|
|
1517
|
+
* @throws {RequiredError}
|
|
1518
|
+
* @memberof ClaimStatusesApi
|
|
1519
|
+
*/
|
|
1520
|
+
public patchClaimStatus1(requestParameters: ClaimStatusesApiPatchClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1521
|
+
return ClaimStatusesApiFp(this.configuration).patchClaimStatus1(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1522
|
+
}
|
|
1523
|
+
|
|
790
1524
|
/**
|
|
791
1525
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
792
1526
|
* @summary Update the claim status
|
|
@@ -798,4 +1532,17 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
798
1532
|
public updateClaimStatus(requestParameters: ClaimStatusesApiUpdateClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
799
1533
|
return ClaimStatusesApiFp(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
800
1534
|
}
|
|
1535
|
+
|
|
1536
|
+
/**
|
|
1537
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\" **Deprecated.** Legacy path. Prefer the claimservice/v1 path for new integrations. This path may be removed in a future release.
|
|
1538
|
+
* @summary Update the claim status
|
|
1539
|
+
* @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
|
|
1540
|
+
* @param {*} [options] Override http request option.
|
|
1541
|
+
* @deprecated
|
|
1542
|
+
* @throws {RequiredError}
|
|
1543
|
+
* @memberof ClaimStatusesApi
|
|
1544
|
+
*/
|
|
1545
|
+
public updateClaimStatus1(requestParameters: ClaimStatusesApiUpdateClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1546
|
+
return ClaimStatusesApiFp(this.configuration).updateClaimStatus1(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1547
|
+
}
|
|
801
1548
|
}
|