@emilgroup/claim-sdk 1.41.0 → 1.41.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 +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
|
@@ -53,6 +53,54 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
53
53
|
createClaimStatus: async (createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
54
|
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
55
55
|
assertParamExists('createClaimStatus', 'createClaimStatusRequestDto', createClaimStatusRequestDto)
|
|
56
|
+
const localVarPath = `/claimservice/v1/claim-statuses`;
|
|
57
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
59
|
+
let baseOptions;
|
|
60
|
+
let baseAccessToken;
|
|
61
|
+
if (configuration) {
|
|
62
|
+
baseOptions = configuration.baseOptions;
|
|
63
|
+
baseAccessToken = configuration.accessToken;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
67
|
+
const localVarHeaderParameter = {} as any;
|
|
68
|
+
const localVarQueryParameter = {} as any;
|
|
69
|
+
|
|
70
|
+
// authentication bearer required
|
|
71
|
+
// http bearer authentication required
|
|
72
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
73
|
+
|
|
74
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
75
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
81
|
+
|
|
82
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
83
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
84
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
85
|
+
localVarRequestOptions.data = serializeDataIfNeeded(createClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
86
|
+
|
|
87
|
+
return {
|
|
88
|
+
url: toPathString(localVarUrlObj),
|
|
89
|
+
options: localVarRequestOptions,
|
|
90
|
+
};
|
|
91
|
+
},
|
|
92
|
+
/**
|
|
93
|
+
* 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.
|
|
94
|
+
* @summary Create the claim status
|
|
95
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
96
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @deprecated
|
|
99
|
+
* @throws {RequiredError}
|
|
100
|
+
*/
|
|
101
|
+
createClaimStatus1: async (createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
|
+
// verify required parameter 'createClaimStatusRequestDto' is not null or undefined
|
|
103
|
+
assertParamExists('createClaimStatus1', 'createClaimStatusRequestDto', createClaimStatusRequestDto)
|
|
56
104
|
const localVarPath = `/v1/claim-statuses`;
|
|
57
105
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
58
106
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -100,6 +148,52 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
100
148
|
deleteClaimStatus: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
101
149
|
// verify required parameter 'id' is not null or undefined
|
|
102
150
|
assertParamExists('deleteClaimStatus', 'id', id)
|
|
151
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
152
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
153
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
154
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
155
|
+
let baseOptions;
|
|
156
|
+
let baseAccessToken;
|
|
157
|
+
if (configuration) {
|
|
158
|
+
baseOptions = configuration.baseOptions;
|
|
159
|
+
baseAccessToken = configuration.accessToken;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
163
|
+
const localVarHeaderParameter = {} as any;
|
|
164
|
+
const localVarQueryParameter = {} as any;
|
|
165
|
+
|
|
166
|
+
// authentication bearer required
|
|
167
|
+
// http bearer authentication required
|
|
168
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
169
|
+
|
|
170
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
171
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
url: toPathString(localVarUrlObj),
|
|
182
|
+
options: localVarRequestOptions,
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* 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.
|
|
187
|
+
* @summary Delete the claim status
|
|
188
|
+
* @param {number} id
|
|
189
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @deprecated
|
|
192
|
+
* @throws {RequiredError}
|
|
193
|
+
*/
|
|
194
|
+
deleteClaimStatus1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
195
|
+
// verify required parameter 'id' is not null or undefined
|
|
196
|
+
assertParamExists('deleteClaimStatus1', 'id', id)
|
|
103
197
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
104
198
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
105
199
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -145,6 +239,52 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
145
239
|
getClaimStatus: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
240
|
// verify required parameter 'id' is not null or undefined
|
|
147
241
|
assertParamExists('getClaimStatus', 'id', id)
|
|
242
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
243
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
244
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
245
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
246
|
+
let baseOptions;
|
|
247
|
+
let baseAccessToken;
|
|
248
|
+
if (configuration) {
|
|
249
|
+
baseOptions = configuration.baseOptions;
|
|
250
|
+
baseAccessToken = configuration.accessToken;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
254
|
+
const localVarHeaderParameter = {} as any;
|
|
255
|
+
const localVarQueryParameter = {} as any;
|
|
256
|
+
|
|
257
|
+
// authentication bearer required
|
|
258
|
+
// http bearer authentication required
|
|
259
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
260
|
+
|
|
261
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
262
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
268
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
269
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
270
|
+
|
|
271
|
+
return {
|
|
272
|
+
url: toPathString(localVarUrlObj),
|
|
273
|
+
options: localVarRequestOptions,
|
|
274
|
+
};
|
|
275
|
+
},
|
|
276
|
+
/**
|
|
277
|
+
* 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.
|
|
278
|
+
* @summary Retrieve the claim status
|
|
279
|
+
* @param {number} id
|
|
280
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
281
|
+
* @param {*} [options] Override http request option.
|
|
282
|
+
* @deprecated
|
|
283
|
+
* @throws {RequiredError}
|
|
284
|
+
*/
|
|
285
|
+
getClaimStatus1: async (id: number, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
286
|
+
// verify required parameter 'id' is not null or undefined
|
|
287
|
+
assertParamExists('getClaimStatus1', 'id', id)
|
|
148
288
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
149
289
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
150
290
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -194,6 +334,83 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
194
334
|
* @throws {RequiredError}
|
|
195
335
|
*/
|
|
196
336
|
listClaimStatuses: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
337
|
+
const localVarPath = `/claimservice/v1/claim-statuses`;
|
|
338
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
339
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
340
|
+
let baseOptions;
|
|
341
|
+
let baseAccessToken;
|
|
342
|
+
if (configuration) {
|
|
343
|
+
baseOptions = configuration.baseOptions;
|
|
344
|
+
baseAccessToken = configuration.accessToken;
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
348
|
+
const localVarHeaderParameter = {} as any;
|
|
349
|
+
const localVarQueryParameter = {} as any;
|
|
350
|
+
|
|
351
|
+
// authentication bearer required
|
|
352
|
+
// http bearer authentication required
|
|
353
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
354
|
+
|
|
355
|
+
if (pageSize !== undefined) {
|
|
356
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (pageToken !== undefined) {
|
|
360
|
+
localVarQueryParameter['pageToken'] = pageToken;
|
|
361
|
+
}
|
|
362
|
+
|
|
363
|
+
if (filter !== undefined) {
|
|
364
|
+
localVarQueryParameter['filter'] = filter;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
if (search !== undefined) {
|
|
368
|
+
localVarQueryParameter['search'] = search;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
if (order !== undefined) {
|
|
372
|
+
localVarQueryParameter['order'] = order;
|
|
373
|
+
}
|
|
374
|
+
|
|
375
|
+
if (expand !== undefined) {
|
|
376
|
+
localVarQueryParameter['expand'] = expand;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
if (filters !== undefined) {
|
|
380
|
+
localVarQueryParameter['filters'] = filters;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
384
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
390
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
391
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
392
|
+
|
|
393
|
+
return {
|
|
394
|
+
url: toPathString(localVarUrlObj),
|
|
395
|
+
options: localVarRequestOptions,
|
|
396
|
+
};
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
* 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.
|
|
400
|
+
* @summary List claim statuses
|
|
401
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
402
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
403
|
+
* @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.
|
|
404
|
+
* @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>
|
|
405
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
406
|
+
* @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>
|
|
407
|
+
* @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/>
|
|
408
|
+
* @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>
|
|
409
|
+
* @param {*} [options] Override http request option.
|
|
410
|
+
* @deprecated
|
|
411
|
+
* @throws {RequiredError}
|
|
412
|
+
*/
|
|
413
|
+
listClaimStatuses1: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
414
|
const localVarPath = `/v1/claim-statuses`;
|
|
198
415
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
199
416
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -269,6 +486,58 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
269
486
|
assertParamExists('patchClaimStatus', 'id', id)
|
|
270
487
|
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
271
488
|
assertParamExists('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
489
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
490
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
491
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
492
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
493
|
+
let baseOptions;
|
|
494
|
+
let baseAccessToken;
|
|
495
|
+
if (configuration) {
|
|
496
|
+
baseOptions = configuration.baseOptions;
|
|
497
|
+
baseAccessToken = configuration.accessToken;
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
501
|
+
const localVarHeaderParameter = {} as any;
|
|
502
|
+
const localVarQueryParameter = {} as any;
|
|
503
|
+
|
|
504
|
+
// authentication bearer required
|
|
505
|
+
// http bearer authentication required
|
|
506
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
507
|
+
|
|
508
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
509
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
515
|
+
|
|
516
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
517
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
518
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
519
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
520
|
+
|
|
521
|
+
return {
|
|
522
|
+
url: toPathString(localVarUrlObj),
|
|
523
|
+
options: localVarRequestOptions,
|
|
524
|
+
};
|
|
525
|
+
},
|
|
526
|
+
/**
|
|
527
|
+
* 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.
|
|
528
|
+
* @summary Patch claim status
|
|
529
|
+
* @param {number} id
|
|
530
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
531
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @deprecated
|
|
534
|
+
* @throws {RequiredError}
|
|
535
|
+
*/
|
|
536
|
+
patchClaimStatus1: async (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
537
|
+
// verify required parameter 'id' is not null or undefined
|
|
538
|
+
assertParamExists('patchClaimStatus1', 'id', id)
|
|
539
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
540
|
+
assertParamExists('patchClaimStatus1', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
272
541
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
273
542
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
274
543
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -320,6 +589,58 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
320
589
|
assertParamExists('updateClaimStatus', 'id', id)
|
|
321
590
|
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
322
591
|
assertParamExists('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
592
|
+
const localVarPath = `/claimservice/v1/claim-statuses/{id}`
|
|
593
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
594
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
595
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
596
|
+
let baseOptions;
|
|
597
|
+
let baseAccessToken;
|
|
598
|
+
if (configuration) {
|
|
599
|
+
baseOptions = configuration.baseOptions;
|
|
600
|
+
baseAccessToken = configuration.accessToken;
|
|
601
|
+
}
|
|
602
|
+
|
|
603
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
604
|
+
const localVarHeaderParameter = {} as any;
|
|
605
|
+
const localVarQueryParameter = {} as any;
|
|
606
|
+
|
|
607
|
+
// authentication bearer required
|
|
608
|
+
// http bearer authentication required
|
|
609
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
610
|
+
|
|
611
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
612
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
613
|
+
}
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
618
|
+
|
|
619
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
620
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
621
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
622
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
623
|
+
|
|
624
|
+
return {
|
|
625
|
+
url: toPathString(localVarUrlObj),
|
|
626
|
+
options: localVarRequestOptions,
|
|
627
|
+
};
|
|
628
|
+
},
|
|
629
|
+
/**
|
|
630
|
+
* 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.
|
|
631
|
+
* @summary Update the claim status
|
|
632
|
+
* @param {number} id
|
|
633
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
634
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
635
|
+
* @param {*} [options] Override http request option.
|
|
636
|
+
* @deprecated
|
|
637
|
+
* @throws {RequiredError}
|
|
638
|
+
*/
|
|
639
|
+
updateClaimStatus1: async (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
640
|
+
// verify required parameter 'id' is not null or undefined
|
|
641
|
+
assertParamExists('updateClaimStatus1', 'id', id)
|
|
642
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
643
|
+
assertParamExists('updateClaimStatus1', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
323
644
|
const localVarPath = `/v1/claim-statuses/{id}`
|
|
324
645
|
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
325
646
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -379,6 +700,19 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
379
700
|
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimStatus(createClaimStatusRequestDto, authorization, options);
|
|
380
701
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
381
702
|
},
|
|
703
|
+
/**
|
|
704
|
+
* 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.
|
|
705
|
+
* @summary Create the claim status
|
|
706
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
707
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
708
|
+
* @param {*} [options] Override http request option.
|
|
709
|
+
* @deprecated
|
|
710
|
+
* @throws {RequiredError}
|
|
711
|
+
*/
|
|
712
|
+
async createClaimStatus1(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateClaimStatusResponseClass>> {
|
|
713
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createClaimStatus1(createClaimStatusRequestDto, authorization, options);
|
|
714
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
715
|
+
},
|
|
382
716
|
/**
|
|
383
717
|
* 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\"
|
|
384
718
|
* @summary Delete the claim status
|
|
@@ -391,6 +725,19 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
391
725
|
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimStatus(id, authorization, options);
|
|
392
726
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
393
727
|
},
|
|
728
|
+
/**
|
|
729
|
+
* 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.
|
|
730
|
+
* @summary Delete the claim status
|
|
731
|
+
* @param {number} id
|
|
732
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
733
|
+
* @param {*} [options] Override http request option.
|
|
734
|
+
* @deprecated
|
|
735
|
+
* @throws {RequiredError}
|
|
736
|
+
*/
|
|
737
|
+
async deleteClaimStatus1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
738
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteClaimStatus1(id, authorization, options);
|
|
739
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
740
|
+
},
|
|
394
741
|
/**
|
|
395
742
|
* 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\"
|
|
396
743
|
* @summary Retrieve the claim status
|
|
@@ -403,6 +750,19 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
403
750
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimStatus(id, authorization, options);
|
|
404
751
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
752
|
},
|
|
753
|
+
/**
|
|
754
|
+
* 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.
|
|
755
|
+
* @summary Retrieve the claim status
|
|
756
|
+
* @param {number} id
|
|
757
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
758
|
+
* @param {*} [options] Override http request option.
|
|
759
|
+
* @deprecated
|
|
760
|
+
* @throws {RequiredError}
|
|
761
|
+
*/
|
|
762
|
+
async getClaimStatus1(id: number, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClaimStatusResponseClass>> {
|
|
763
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getClaimStatus1(id, authorization, options);
|
|
764
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
765
|
+
},
|
|
406
766
|
/**
|
|
407
767
|
* 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\"
|
|
408
768
|
* @summary List claim statuses
|
|
@@ -421,6 +781,25 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
421
781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
422
782
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
423
783
|
},
|
|
784
|
+
/**
|
|
785
|
+
* 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.
|
|
786
|
+
* @summary List claim statuses
|
|
787
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
788
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
789
|
+
* @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.
|
|
790
|
+
* @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>
|
|
791
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
792
|
+
* @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>
|
|
793
|
+
* @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/>
|
|
794
|
+
* @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>
|
|
795
|
+
* @param {*} [options] Override http request option.
|
|
796
|
+
* @deprecated
|
|
797
|
+
* @throws {RequiredError}
|
|
798
|
+
*/
|
|
799
|
+
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>> {
|
|
800
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
801
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
802
|
+
},
|
|
424
803
|
/**
|
|
425
804
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
426
805
|
* @summary Patch claim status
|
|
@@ -430,21 +809,49 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
430
809
|
* @param {*} [options] Override http request option.
|
|
431
810
|
* @throws {RequiredError}
|
|
432
811
|
*/
|
|
433
|
-
async patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
434
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options);
|
|
812
|
+
async patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options);
|
|
814
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
815
|
+
},
|
|
816
|
+
/**
|
|
817
|
+
* 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.
|
|
818
|
+
* @summary Patch claim status
|
|
819
|
+
* @param {number} id
|
|
820
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
821
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
822
|
+
* @param {*} [options] Override http request option.
|
|
823
|
+
* @deprecated
|
|
824
|
+
* @throws {RequiredError}
|
|
825
|
+
*/
|
|
826
|
+
async patchClaimStatus1(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options);
|
|
828
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
829
|
+
},
|
|
830
|
+
/**
|
|
831
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
832
|
+
* @summary Update the claim status
|
|
833
|
+
* @param {number} id
|
|
834
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
835
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
836
|
+
* @param {*} [options] Override http request option.
|
|
837
|
+
* @throws {RequiredError}
|
|
838
|
+
*/
|
|
839
|
+
async updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
840
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options);
|
|
435
841
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
436
842
|
},
|
|
437
843
|
/**
|
|
438
|
-
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
844
|
+
* 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.
|
|
439
845
|
* @summary Update the claim status
|
|
440
846
|
* @param {number} id
|
|
441
847
|
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
442
848
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
443
849
|
* @param {*} [options] Override http request option.
|
|
850
|
+
* @deprecated
|
|
444
851
|
* @throws {RequiredError}
|
|
445
852
|
*/
|
|
446
|
-
async
|
|
447
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
853
|
+
async updateClaimStatus1(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
854
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options);
|
|
448
855
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
449
856
|
},
|
|
450
857
|
}
|
|
@@ -468,6 +875,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
468
875
|
createClaimStatus(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimStatusResponseClass> {
|
|
469
876
|
return localVarFp.createClaimStatus(createClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
470
877
|
},
|
|
878
|
+
/**
|
|
879
|
+
* 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.
|
|
880
|
+
* @summary Create the claim status
|
|
881
|
+
* @param {CreateClaimStatusRequestDto} createClaimStatusRequestDto
|
|
882
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
883
|
+
* @param {*} [options] Override http request option.
|
|
884
|
+
* @deprecated
|
|
885
|
+
* @throws {RequiredError}
|
|
886
|
+
*/
|
|
887
|
+
createClaimStatus1(createClaimStatusRequestDto: CreateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<CreateClaimStatusResponseClass> {
|
|
888
|
+
return localVarFp.createClaimStatus1(createClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
889
|
+
},
|
|
471
890
|
/**
|
|
472
891
|
* 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\"
|
|
473
892
|
* @summary Delete the claim status
|
|
@@ -479,6 +898,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
479
898
|
deleteClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
480
899
|
return localVarFp.deleteClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
481
900
|
},
|
|
901
|
+
/**
|
|
902
|
+
* 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.
|
|
903
|
+
* @summary Delete the claim status
|
|
904
|
+
* @param {number} id
|
|
905
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @deprecated
|
|
908
|
+
* @throws {RequiredError}
|
|
909
|
+
*/
|
|
910
|
+
deleteClaimStatus1(id: number, authorization?: string, options?: any): AxiosPromise<void> {
|
|
911
|
+
return localVarFp.deleteClaimStatus1(id, authorization, options).then((request) => request(axios, basePath));
|
|
912
|
+
},
|
|
482
913
|
/**
|
|
483
914
|
* 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\"
|
|
484
915
|
* @summary Retrieve the claim status
|
|
@@ -490,6 +921,18 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
490
921
|
getClaimStatus(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass> {
|
|
491
922
|
return localVarFp.getClaimStatus(id, authorization, options).then((request) => request(axios, basePath));
|
|
492
923
|
},
|
|
924
|
+
/**
|
|
925
|
+
* 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.
|
|
926
|
+
* @summary Retrieve the claim status
|
|
927
|
+
* @param {number} id
|
|
928
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
929
|
+
* @param {*} [options] Override http request option.
|
|
930
|
+
* @deprecated
|
|
931
|
+
* @throws {RequiredError}
|
|
932
|
+
*/
|
|
933
|
+
getClaimStatus1(id: number, authorization?: string, options?: any): AxiosPromise<GetClaimStatusResponseClass> {
|
|
934
|
+
return localVarFp.getClaimStatus1(id, authorization, options).then((request) => request(axios, basePath));
|
|
935
|
+
},
|
|
493
936
|
/**
|
|
494
937
|
* 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\"
|
|
495
938
|
* @summary List claim statuses
|
|
@@ -507,6 +950,24 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
507
950
|
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
508
951
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
509
952
|
},
|
|
953
|
+
/**
|
|
954
|
+
* 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.
|
|
955
|
+
* @summary List claim statuses
|
|
956
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
957
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
958
|
+
* @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.
|
|
959
|
+
* @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>
|
|
960
|
+
* @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
961
|
+
* @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>
|
|
962
|
+
* @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/>
|
|
963
|
+
* @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>
|
|
964
|
+
* @param {*} [options] Override http request option.
|
|
965
|
+
* @deprecated
|
|
966
|
+
* @throws {RequiredError}
|
|
967
|
+
*/
|
|
968
|
+
listClaimStatuses1(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
969
|
+
return localVarFp.listClaimStatuses1(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
970
|
+
},
|
|
510
971
|
/**
|
|
511
972
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
512
973
|
* @summary Patch claim status
|
|
@@ -519,6 +980,19 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
519
980
|
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
520
981
|
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
521
982
|
},
|
|
983
|
+
/**
|
|
984
|
+
* 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.
|
|
985
|
+
* @summary Patch claim status
|
|
986
|
+
* @param {number} id
|
|
987
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
988
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
989
|
+
* @param {*} [options] Override http request option.
|
|
990
|
+
* @deprecated
|
|
991
|
+
* @throws {RequiredError}
|
|
992
|
+
*/
|
|
993
|
+
patchClaimStatus1(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
994
|
+
return localVarFp.patchClaimStatus1(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
995
|
+
},
|
|
522
996
|
/**
|
|
523
997
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
524
998
|
* @summary Update the claim status
|
|
@@ -531,6 +1005,19 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
531
1005
|
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
532
1006
|
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
533
1007
|
},
|
|
1008
|
+
/**
|
|
1009
|
+
* 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.
|
|
1010
|
+
* @summary Update the claim status
|
|
1011
|
+
* @param {number} id
|
|
1012
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
1013
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1014
|
+
* @param {*} [options] Override http request option.
|
|
1015
|
+
* @deprecated
|
|
1016
|
+
* @throws {RequiredError}
|
|
1017
|
+
*/
|
|
1018
|
+
updateClaimStatus1(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
1019
|
+
return localVarFp.updateClaimStatus1(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
1020
|
+
},
|
|
534
1021
|
};
|
|
535
1022
|
};
|
|
536
1023
|
|
|
@@ -555,6 +1042,27 @@ export interface ClaimStatusesApiCreateClaimStatusRequest {
|
|
|
555
1042
|
readonly authorization?: string
|
|
556
1043
|
}
|
|
557
1044
|
|
|
1045
|
+
/**
|
|
1046
|
+
* Request parameters for createClaimStatus1 operation in ClaimStatusesApi.
|
|
1047
|
+
* @export
|
|
1048
|
+
* @interface ClaimStatusesApiCreateClaimStatus1Request
|
|
1049
|
+
*/
|
|
1050
|
+
export interface ClaimStatusesApiCreateClaimStatus1Request {
|
|
1051
|
+
/**
|
|
1052
|
+
*
|
|
1053
|
+
* @type {CreateClaimStatusRequestDto}
|
|
1054
|
+
* @memberof ClaimStatusesApiCreateClaimStatus1
|
|
1055
|
+
*/
|
|
1056
|
+
readonly createClaimStatusRequestDto: CreateClaimStatusRequestDto
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1060
|
+
* @type {string}
|
|
1061
|
+
* @memberof ClaimStatusesApiCreateClaimStatus1
|
|
1062
|
+
*/
|
|
1063
|
+
readonly authorization?: string
|
|
1064
|
+
}
|
|
1065
|
+
|
|
558
1066
|
/**
|
|
559
1067
|
* Request parameters for deleteClaimStatus operation in ClaimStatusesApi.
|
|
560
1068
|
* @export
|
|
@@ -576,6 +1084,27 @@ export interface ClaimStatusesApiDeleteClaimStatusRequest {
|
|
|
576
1084
|
readonly authorization?: string
|
|
577
1085
|
}
|
|
578
1086
|
|
|
1087
|
+
/**
|
|
1088
|
+
* Request parameters for deleteClaimStatus1 operation in ClaimStatusesApi.
|
|
1089
|
+
* @export
|
|
1090
|
+
* @interface ClaimStatusesApiDeleteClaimStatus1Request
|
|
1091
|
+
*/
|
|
1092
|
+
export interface ClaimStatusesApiDeleteClaimStatus1Request {
|
|
1093
|
+
/**
|
|
1094
|
+
*
|
|
1095
|
+
* @type {number}
|
|
1096
|
+
* @memberof ClaimStatusesApiDeleteClaimStatus1
|
|
1097
|
+
*/
|
|
1098
|
+
readonly id: number
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1102
|
+
* @type {string}
|
|
1103
|
+
* @memberof ClaimStatusesApiDeleteClaimStatus1
|
|
1104
|
+
*/
|
|
1105
|
+
readonly authorization?: string
|
|
1106
|
+
}
|
|
1107
|
+
|
|
579
1108
|
/**
|
|
580
1109
|
* Request parameters for getClaimStatus operation in ClaimStatusesApi.
|
|
581
1110
|
* @export
|
|
@@ -597,6 +1126,27 @@ export interface ClaimStatusesApiGetClaimStatusRequest {
|
|
|
597
1126
|
readonly authorization?: string
|
|
598
1127
|
}
|
|
599
1128
|
|
|
1129
|
+
/**
|
|
1130
|
+
* Request parameters for getClaimStatus1 operation in ClaimStatusesApi.
|
|
1131
|
+
* @export
|
|
1132
|
+
* @interface ClaimStatusesApiGetClaimStatus1Request
|
|
1133
|
+
*/
|
|
1134
|
+
export interface ClaimStatusesApiGetClaimStatus1Request {
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @type {number}
|
|
1138
|
+
* @memberof ClaimStatusesApiGetClaimStatus1
|
|
1139
|
+
*/
|
|
1140
|
+
readonly id: number
|
|
1141
|
+
|
|
1142
|
+
/**
|
|
1143
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1144
|
+
* @type {string}
|
|
1145
|
+
* @memberof ClaimStatusesApiGetClaimStatus1
|
|
1146
|
+
*/
|
|
1147
|
+
readonly authorization?: string
|
|
1148
|
+
}
|
|
1149
|
+
|
|
600
1150
|
/**
|
|
601
1151
|
* Request parameters for listClaimStatuses operation in ClaimStatusesApi.
|
|
602
1152
|
* @export
|
|
@@ -660,6 +1210,69 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
660
1210
|
readonly filters?: string
|
|
661
1211
|
}
|
|
662
1212
|
|
|
1213
|
+
/**
|
|
1214
|
+
* Request parameters for listClaimStatuses1 operation in ClaimStatusesApi.
|
|
1215
|
+
* @export
|
|
1216
|
+
* @interface ClaimStatusesApiListClaimStatuses1Request
|
|
1217
|
+
*/
|
|
1218
|
+
export interface ClaimStatusesApiListClaimStatuses1Request {
|
|
1219
|
+
/**
|
|
1220
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1221
|
+
* @type {string}
|
|
1222
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1223
|
+
*/
|
|
1224
|
+
readonly authorization?: string
|
|
1225
|
+
|
|
1226
|
+
/**
|
|
1227
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
1228
|
+
* @type {number}
|
|
1229
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1230
|
+
*/
|
|
1231
|
+
readonly pageSize?: number
|
|
1232
|
+
|
|
1233
|
+
/**
|
|
1234
|
+
* 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.
|
|
1235
|
+
* @type {string}
|
|
1236
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1237
|
+
*/
|
|
1238
|
+
readonly pageToken?: string
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* 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>
|
|
1242
|
+
* @type {string}
|
|
1243
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1244
|
+
*/
|
|
1245
|
+
readonly filter?: string
|
|
1246
|
+
|
|
1247
|
+
/**
|
|
1248
|
+
* To search the list by any field, pass search=xxx to fetch the result.
|
|
1249
|
+
* @type {string}
|
|
1250
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1251
|
+
*/
|
|
1252
|
+
readonly search?: string
|
|
1253
|
+
|
|
1254
|
+
/**
|
|
1255
|
+
* 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>
|
|
1256
|
+
* @type {string}
|
|
1257
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1258
|
+
*/
|
|
1259
|
+
readonly order?: string
|
|
1260
|
+
|
|
1261
|
+
/**
|
|
1262
|
+
* 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/>
|
|
1263
|
+
* @type {string}
|
|
1264
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1265
|
+
*/
|
|
1266
|
+
readonly expand?: string
|
|
1267
|
+
|
|
1268
|
+
/**
|
|
1269
|
+
* 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>
|
|
1270
|
+
* @type {string}
|
|
1271
|
+
* @memberof ClaimStatusesApiListClaimStatuses1
|
|
1272
|
+
*/
|
|
1273
|
+
readonly filters?: string
|
|
1274
|
+
}
|
|
1275
|
+
|
|
663
1276
|
/**
|
|
664
1277
|
* Request parameters for patchClaimStatus operation in ClaimStatusesApi.
|
|
665
1278
|
* @export
|
|
@@ -688,6 +1301,34 @@ export interface ClaimStatusesApiPatchClaimStatusRequest {
|
|
|
688
1301
|
readonly authorization?: string
|
|
689
1302
|
}
|
|
690
1303
|
|
|
1304
|
+
/**
|
|
1305
|
+
* Request parameters for patchClaimStatus1 operation in ClaimStatusesApi.
|
|
1306
|
+
* @export
|
|
1307
|
+
* @interface ClaimStatusesApiPatchClaimStatus1Request
|
|
1308
|
+
*/
|
|
1309
|
+
export interface ClaimStatusesApiPatchClaimStatus1Request {
|
|
1310
|
+
/**
|
|
1311
|
+
*
|
|
1312
|
+
* @type {number}
|
|
1313
|
+
* @memberof ClaimStatusesApiPatchClaimStatus1
|
|
1314
|
+
*/
|
|
1315
|
+
readonly id: number
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
*
|
|
1319
|
+
* @type {PatchClaimStatusRequestDto}
|
|
1320
|
+
* @memberof ClaimStatusesApiPatchClaimStatus1
|
|
1321
|
+
*/
|
|
1322
|
+
readonly patchClaimStatusRequestDto: PatchClaimStatusRequestDto
|
|
1323
|
+
|
|
1324
|
+
/**
|
|
1325
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1326
|
+
* @type {string}
|
|
1327
|
+
* @memberof ClaimStatusesApiPatchClaimStatus1
|
|
1328
|
+
*/
|
|
1329
|
+
readonly authorization?: string
|
|
1330
|
+
}
|
|
1331
|
+
|
|
691
1332
|
/**
|
|
692
1333
|
* Request parameters for updateClaimStatus operation in ClaimStatusesApi.
|
|
693
1334
|
* @export
|
|
@@ -716,6 +1357,34 @@ export interface ClaimStatusesApiUpdateClaimStatusRequest {
|
|
|
716
1357
|
readonly authorization?: string
|
|
717
1358
|
}
|
|
718
1359
|
|
|
1360
|
+
/**
|
|
1361
|
+
* Request parameters for updateClaimStatus1 operation in ClaimStatusesApi.
|
|
1362
|
+
* @export
|
|
1363
|
+
* @interface ClaimStatusesApiUpdateClaimStatus1Request
|
|
1364
|
+
*/
|
|
1365
|
+
export interface ClaimStatusesApiUpdateClaimStatus1Request {
|
|
1366
|
+
/**
|
|
1367
|
+
*
|
|
1368
|
+
* @type {number}
|
|
1369
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus1
|
|
1370
|
+
*/
|
|
1371
|
+
readonly id: number
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
*
|
|
1375
|
+
* @type {UpdateClaimStatusRequestDto}
|
|
1376
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus1
|
|
1377
|
+
*/
|
|
1378
|
+
readonly updateClaimStatusRequestDto: UpdateClaimStatusRequestDto
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
1382
|
+
* @type {string}
|
|
1383
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus1
|
|
1384
|
+
*/
|
|
1385
|
+
readonly authorization?: string
|
|
1386
|
+
}
|
|
1387
|
+
|
|
719
1388
|
/**
|
|
720
1389
|
* ClaimStatusesApi - object-oriented interface
|
|
721
1390
|
* @export
|
|
@@ -735,6 +1404,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
735
1404
|
return ClaimStatusesApiFp(this.configuration).createClaimStatus(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
736
1405
|
}
|
|
737
1406
|
|
|
1407
|
+
/**
|
|
1408
|
+
* 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.
|
|
1409
|
+
* @summary Create the claim status
|
|
1410
|
+
* @param {ClaimStatusesApiCreateClaimStatus1Request} requestParameters Request parameters.
|
|
1411
|
+
* @param {*} [options] Override http request option.
|
|
1412
|
+
* @deprecated
|
|
1413
|
+
* @throws {RequiredError}
|
|
1414
|
+
* @memberof ClaimStatusesApi
|
|
1415
|
+
*/
|
|
1416
|
+
public createClaimStatus1(requestParameters: ClaimStatusesApiCreateClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1417
|
+
return ClaimStatusesApiFp(this.configuration).createClaimStatus1(requestParameters.createClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1418
|
+
}
|
|
1419
|
+
|
|
738
1420
|
/**
|
|
739
1421
|
* 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\"
|
|
740
1422
|
* @summary Delete the claim status
|
|
@@ -747,6 +1429,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
747
1429
|
return ClaimStatusesApiFp(this.configuration).deleteClaimStatus(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
748
1430
|
}
|
|
749
1431
|
|
|
1432
|
+
/**
|
|
1433
|
+
* 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.
|
|
1434
|
+
* @summary Delete the claim status
|
|
1435
|
+
* @param {ClaimStatusesApiDeleteClaimStatus1Request} requestParameters Request parameters.
|
|
1436
|
+
* @param {*} [options] Override http request option.
|
|
1437
|
+
* @deprecated
|
|
1438
|
+
* @throws {RequiredError}
|
|
1439
|
+
* @memberof ClaimStatusesApi
|
|
1440
|
+
*/
|
|
1441
|
+
public deleteClaimStatus1(requestParameters: ClaimStatusesApiDeleteClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1442
|
+
return ClaimStatusesApiFp(this.configuration).deleteClaimStatus1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1443
|
+
}
|
|
1444
|
+
|
|
750
1445
|
/**
|
|
751
1446
|
* 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\"
|
|
752
1447
|
* @summary Retrieve the claim status
|
|
@@ -759,6 +1454,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
759
1454
|
return ClaimStatusesApiFp(this.configuration).getClaimStatus(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
760
1455
|
}
|
|
761
1456
|
|
|
1457
|
+
/**
|
|
1458
|
+
* 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.
|
|
1459
|
+
* @summary Retrieve the claim status
|
|
1460
|
+
* @param {ClaimStatusesApiGetClaimStatus1Request} requestParameters Request parameters.
|
|
1461
|
+
* @param {*} [options] Override http request option.
|
|
1462
|
+
* @deprecated
|
|
1463
|
+
* @throws {RequiredError}
|
|
1464
|
+
* @memberof ClaimStatusesApi
|
|
1465
|
+
*/
|
|
1466
|
+
public getClaimStatus1(requestParameters: ClaimStatusesApiGetClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1467
|
+
return ClaimStatusesApiFp(this.configuration).getClaimStatus1(requestParameters.id, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1468
|
+
}
|
|
1469
|
+
|
|
762
1470
|
/**
|
|
763
1471
|
* 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\"
|
|
764
1472
|
* @summary List claim statuses
|
|
@@ -771,6 +1479,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
771
1479
|
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));
|
|
772
1480
|
}
|
|
773
1481
|
|
|
1482
|
+
/**
|
|
1483
|
+
* 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.
|
|
1484
|
+
* @summary List claim statuses
|
|
1485
|
+
* @param {ClaimStatusesApiListClaimStatuses1Request} requestParameters Request parameters.
|
|
1486
|
+
* @param {*} [options] Override http request option.
|
|
1487
|
+
* @deprecated
|
|
1488
|
+
* @throws {RequiredError}
|
|
1489
|
+
* @memberof ClaimStatusesApi
|
|
1490
|
+
*/
|
|
1491
|
+
public listClaimStatuses1(requestParameters: ClaimStatusesApiListClaimStatuses1Request = {}, options?: AxiosRequestConfig) {
|
|
1492
|
+
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));
|
|
1493
|
+
}
|
|
1494
|
+
|
|
774
1495
|
/**
|
|
775
1496
|
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
776
1497
|
* @summary Patch claim status
|
|
@@ -783,6 +1504,19 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
783
1504
|
return ClaimStatusesApiFp(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
784
1505
|
}
|
|
785
1506
|
|
|
1507
|
+
/**
|
|
1508
|
+
* 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.
|
|
1509
|
+
* @summary Patch claim status
|
|
1510
|
+
* @param {ClaimStatusesApiPatchClaimStatus1Request} requestParameters Request parameters.
|
|
1511
|
+
* @param {*} [options] Override http request option.
|
|
1512
|
+
* @deprecated
|
|
1513
|
+
* @throws {RequiredError}
|
|
1514
|
+
* @memberof ClaimStatusesApi
|
|
1515
|
+
*/
|
|
1516
|
+
public patchClaimStatus1(requestParameters: ClaimStatusesApiPatchClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1517
|
+
return ClaimStatusesApiFp(this.configuration).patchClaimStatus1(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1518
|
+
}
|
|
1519
|
+
|
|
786
1520
|
/**
|
|
787
1521
|
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
788
1522
|
* @summary Update the claim status
|
|
@@ -794,4 +1528,17 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
794
1528
|
public updateClaimStatus(requestParameters: ClaimStatusesApiUpdateClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
795
1529
|
return ClaimStatusesApiFp(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
796
1530
|
}
|
|
1531
|
+
|
|
1532
|
+
/**
|
|
1533
|
+
* 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.
|
|
1534
|
+
* @summary Update the claim status
|
|
1535
|
+
* @param {ClaimStatusesApiUpdateClaimStatus1Request} requestParameters Request parameters.
|
|
1536
|
+
* @param {*} [options] Override http request option.
|
|
1537
|
+
* @deprecated
|
|
1538
|
+
* @throws {RequiredError}
|
|
1539
|
+
* @memberof ClaimStatusesApi
|
|
1540
|
+
*/
|
|
1541
|
+
public updateClaimStatus1(requestParameters: ClaimStatusesApiUpdateClaimStatus1Request, options?: AxiosRequestConfig) {
|
|
1542
|
+
return ClaimStatusesApiFp(this.configuration).updateClaimStatus1(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
1543
|
+
}
|
|
797
1544
|
}
|