@emilgroup/claim-sdk 1.36.1-beta.8 → 1.37.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +4 -0
- package/README.md +2 -2
- package/api/claim-statuses-api.ts +240 -0
- package/dist/api/claim-statuses-api.d.ts +132 -0
- package/dist/api/claim-statuses-api.js +198 -0
- package/dist/models/index.d.ts +4 -0
- package/dist/models/index.js +4 -0
- package/dist/models/patch-claim-status-request-dto.d.ts +30 -0
- package/dist/models/patch-claim-status-request-dto.js +15 -0
- package/dist/models/patch-claim-status-response-class.d.ts +25 -0
- package/dist/models/patch-claim-status-response-class.js +15 -0
- package/dist/models/update-claim-status-request-dto.d.ts +30 -0
- package/dist/models/update-claim-status-request-dto.js +15 -0
- package/dist/models/update-claim-status-response-class.d.ts +25 -0
- package/dist/models/update-claim-status-response-class.js +15 -0
- package/models/index.ts +4 -0
- package/models/patch-claim-status-request-dto.ts +36 -0
- package/models/patch-claim-status-response-class.ts +31 -0
- package/models/update-claim-status-request-dto.ts +36 -0
- package/models/update-claim-status-response-class.ts +31 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -46,6 +46,8 @@ models/list-regulations-response-class.ts
|
|
|
46
46
|
models/list-settlements-response-class.ts
|
|
47
47
|
models/patch-claim-request-dto.ts
|
|
48
48
|
models/patch-claim-response-class.ts
|
|
49
|
+
models/patch-claim-status-request-dto.ts
|
|
50
|
+
models/patch-claim-status-response-class.ts
|
|
49
51
|
models/payout-details-class.ts
|
|
50
52
|
models/payout-details-dto.ts
|
|
51
53
|
models/regress-details-class.ts
|
|
@@ -60,6 +62,8 @@ models/update-claim-partner-role-request-dto.ts
|
|
|
60
62
|
models/update-claim-partner-role-response-class.ts
|
|
61
63
|
models/update-claim-request-dto.ts
|
|
62
64
|
models/update-claim-response-class.ts
|
|
65
|
+
models/update-claim-status-request-dto.ts
|
|
66
|
+
models/update-claim-status-response-class.ts
|
|
63
67
|
models/update-payout-details-dto.ts
|
|
64
68
|
models/update-regress-details-dto.ts
|
|
65
69
|
models/update-regulation-item-request-dto.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/claim-sdk@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk@1.37.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk@1.37.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `ClaimsApi`.
|
|
@@ -28,6 +28,14 @@ import { CreateClaimStatusResponseClass } from '../models';
|
|
|
28
28
|
import { GetClaimStatusResponseClass } from '../models';
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { ListClaimStatusesResponseClass } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
32
|
+
import { PatchClaimStatusRequestDto } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { PatchClaimStatusResponseClass } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { UpdateClaimStatusRequestDto } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
import { UpdateClaimStatusResponseClass } from '../models';
|
|
31
39
|
/**
|
|
32
40
|
* ClaimStatusesApi - axios parameter creator
|
|
33
41
|
* @export
|
|
@@ -242,6 +250,108 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
242
250
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
243
251
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
244
252
|
|
|
253
|
+
return {
|
|
254
|
+
url: toPathString(localVarUrlObj),
|
|
255
|
+
options: localVarRequestOptions,
|
|
256
|
+
};
|
|
257
|
+
},
|
|
258
|
+
/**
|
|
259
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
260
|
+
* @summary Patch claim status
|
|
261
|
+
* @param {number} id
|
|
262
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
263
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
264
|
+
* @param {*} [options] Override http request option.
|
|
265
|
+
* @throws {RequiredError}
|
|
266
|
+
*/
|
|
267
|
+
patchClaimStatus: async (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
268
|
+
// verify required parameter 'id' is not null or undefined
|
|
269
|
+
assertParamExists('patchClaimStatus', 'id', id)
|
|
270
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
271
|
+
assertParamExists('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
272
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
273
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
274
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
275
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
276
|
+
let baseOptions;
|
|
277
|
+
let baseAccessToken;
|
|
278
|
+
if (configuration) {
|
|
279
|
+
baseOptions = configuration.baseOptions;
|
|
280
|
+
baseAccessToken = configuration.accessToken;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
284
|
+
const localVarHeaderParameter = {} as any;
|
|
285
|
+
const localVarQueryParameter = {} as any;
|
|
286
|
+
|
|
287
|
+
// authentication bearer required
|
|
288
|
+
// http bearer authentication required
|
|
289
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
290
|
+
|
|
291
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
292
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
298
|
+
|
|
299
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
300
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
301
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
302
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
303
|
+
|
|
304
|
+
return {
|
|
305
|
+
url: toPathString(localVarUrlObj),
|
|
306
|
+
options: localVarRequestOptions,
|
|
307
|
+
};
|
|
308
|
+
},
|
|
309
|
+
/**
|
|
310
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
311
|
+
* @summary Update the claim status
|
|
312
|
+
* @param {number} id
|
|
313
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
314
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
315
|
+
* @param {*} [options] Override http request option.
|
|
316
|
+
* @throws {RequiredError}
|
|
317
|
+
*/
|
|
318
|
+
updateClaimStatus: async (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
|
+
// verify required parameter 'id' is not null or undefined
|
|
320
|
+
assertParamExists('updateClaimStatus', 'id', id)
|
|
321
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
322
|
+
assertParamExists('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
323
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
324
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
325
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
327
|
+
let baseOptions;
|
|
328
|
+
let baseAccessToken;
|
|
329
|
+
if (configuration) {
|
|
330
|
+
baseOptions = configuration.baseOptions;
|
|
331
|
+
baseAccessToken = configuration.accessToken;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
335
|
+
const localVarHeaderParameter = {} as any;
|
|
336
|
+
const localVarQueryParameter = {} as any;
|
|
337
|
+
|
|
338
|
+
// authentication bearer required
|
|
339
|
+
// http bearer authentication required
|
|
340
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
341
|
+
|
|
342
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
343
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
344
|
+
}
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
349
|
+
|
|
350
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
351
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
352
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
353
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
354
|
+
|
|
245
355
|
return {
|
|
246
356
|
url: toPathString(localVarUrlObj),
|
|
247
357
|
options: localVarRequestOptions,
|
|
@@ -311,6 +421,32 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
311
421
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
312
422
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
313
423
|
},
|
|
424
|
+
/**
|
|
425
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
426
|
+
* @summary Patch claim status
|
|
427
|
+
* @param {number} id
|
|
428
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
429
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
430
|
+
* @param {*} [options] Override http request option.
|
|
431
|
+
* @throws {RequiredError}
|
|
432
|
+
*/
|
|
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);
|
|
435
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
436
|
+
},
|
|
437
|
+
/**
|
|
438
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
439
|
+
* @summary Update the claim status
|
|
440
|
+
* @param {number} id
|
|
441
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
442
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
443
|
+
* @param {*} [options] Override http request option.
|
|
444
|
+
* @throws {RequiredError}
|
|
445
|
+
*/
|
|
446
|
+
async updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options);
|
|
448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
449
|
+
},
|
|
314
450
|
}
|
|
315
451
|
};
|
|
316
452
|
|
|
@@ -371,6 +507,30 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
371
507
|
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
372
508
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
373
509
|
},
|
|
510
|
+
/**
|
|
511
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
512
|
+
* @summary Patch claim status
|
|
513
|
+
* @param {number} id
|
|
514
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
515
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
516
|
+
* @param {*} [options] Override http request option.
|
|
517
|
+
* @throws {RequiredError}
|
|
518
|
+
*/
|
|
519
|
+
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
520
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
521
|
+
},
|
|
522
|
+
/**
|
|
523
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
524
|
+
* @summary Update the claim status
|
|
525
|
+
* @param {number} id
|
|
526
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
527
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
528
|
+
* @param {*} [options] Override http request option.
|
|
529
|
+
* @throws {RequiredError}
|
|
530
|
+
*/
|
|
531
|
+
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
532
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
533
|
+
},
|
|
374
534
|
};
|
|
375
535
|
};
|
|
376
536
|
|
|
@@ -500,6 +660,62 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
500
660
|
readonly filters?: string
|
|
501
661
|
}
|
|
502
662
|
|
|
663
|
+
/**
|
|
664
|
+
* Request parameters for patchClaimStatus operation in ClaimStatusesApi.
|
|
665
|
+
* @export
|
|
666
|
+
* @interface ClaimStatusesApiPatchClaimStatusRequest
|
|
667
|
+
*/
|
|
668
|
+
export interface ClaimStatusesApiPatchClaimStatusRequest {
|
|
669
|
+
/**
|
|
670
|
+
*
|
|
671
|
+
* @type {number}
|
|
672
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
673
|
+
*/
|
|
674
|
+
readonly id: number
|
|
675
|
+
|
|
676
|
+
/**
|
|
677
|
+
*
|
|
678
|
+
* @type {PatchClaimStatusRequestDto}
|
|
679
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
680
|
+
*/
|
|
681
|
+
readonly patchClaimStatusRequestDto: PatchClaimStatusRequestDto
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
685
|
+
* @type {string}
|
|
686
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
687
|
+
*/
|
|
688
|
+
readonly authorization?: string
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Request parameters for updateClaimStatus operation in ClaimStatusesApi.
|
|
693
|
+
* @export
|
|
694
|
+
* @interface ClaimStatusesApiUpdateClaimStatusRequest
|
|
695
|
+
*/
|
|
696
|
+
export interface ClaimStatusesApiUpdateClaimStatusRequest {
|
|
697
|
+
/**
|
|
698
|
+
*
|
|
699
|
+
* @type {number}
|
|
700
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
701
|
+
*/
|
|
702
|
+
readonly id: number
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
*
|
|
706
|
+
* @type {UpdateClaimStatusRequestDto}
|
|
707
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
708
|
+
*/
|
|
709
|
+
readonly updateClaimStatusRequestDto: UpdateClaimStatusRequestDto
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
713
|
+
* @type {string}
|
|
714
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
715
|
+
*/
|
|
716
|
+
readonly authorization?: string
|
|
717
|
+
}
|
|
718
|
+
|
|
503
719
|
/**
|
|
504
720
|
* ClaimStatusesApi - object-oriented interface
|
|
505
721
|
* @export
|
|
@@ -554,4 +770,28 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
554
770
|
public listClaimStatuses(requestParameters: ClaimStatusesApiListClaimStatusesRequest = {}, options?: AxiosRequestConfig) {
|
|
555
771
|
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));
|
|
556
772
|
}
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
776
|
+
* @summary Patch claim status
|
|
777
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
778
|
+
* @param {*} [options] Override http request option.
|
|
779
|
+
* @throws {RequiredError}
|
|
780
|
+
* @memberof ClaimStatusesApi
|
|
781
|
+
*/
|
|
782
|
+
public patchClaimStatus(requestParameters: ClaimStatusesApiPatchClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
783
|
+
return ClaimStatusesApiFp(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
784
|
+
}
|
|
785
|
+
|
|
786
|
+
/**
|
|
787
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
788
|
+
* @summary Update the claim status
|
|
789
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
790
|
+
* @param {*} [options] Override http request option.
|
|
791
|
+
* @throws {RequiredError}
|
|
792
|
+
* @memberof ClaimStatusesApi
|
|
793
|
+
*/
|
|
794
|
+
public updateClaimStatus(requestParameters: ClaimStatusesApiUpdateClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
795
|
+
return ClaimStatusesApiFp(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
796
|
+
}
|
|
557
797
|
}
|
|
@@ -16,6 +16,10 @@ import { CreateClaimStatusRequestDto } from '../models';
|
|
|
16
16
|
import { CreateClaimStatusResponseClass } from '../models';
|
|
17
17
|
import { GetClaimStatusResponseClass } from '../models';
|
|
18
18
|
import { ListClaimStatusesResponseClass } from '../models';
|
|
19
|
+
import { PatchClaimStatusRequestDto } from '../models';
|
|
20
|
+
import { PatchClaimStatusResponseClass } from '../models';
|
|
21
|
+
import { UpdateClaimStatusRequestDto } from '../models';
|
|
22
|
+
import { UpdateClaimStatusResponseClass } from '../models';
|
|
19
23
|
/**
|
|
20
24
|
* ClaimStatusesApi - axios parameter creator
|
|
21
25
|
* @export
|
|
@@ -63,6 +67,26 @@ export declare const ClaimStatusesApiAxiosParamCreator: (configuration?: Configu
|
|
|
63
67
|
* @throws {RequiredError}
|
|
64
68
|
*/
|
|
65
69
|
listClaimStatuses: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
70
|
+
/**
|
|
71
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
72
|
+
* @summary Patch claim status
|
|
73
|
+
* @param {number} id
|
|
74
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
75
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
76
|
+
* @param {*} [options] Override http request option.
|
|
77
|
+
* @throws {RequiredError}
|
|
78
|
+
*/
|
|
79
|
+
patchClaimStatus: (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
80
|
+
/**
|
|
81
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
82
|
+
* @summary Update the claim status
|
|
83
|
+
* @param {number} id
|
|
84
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
85
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
86
|
+
* @param {*} [options] Override http request option.
|
|
87
|
+
* @throws {RequiredError}
|
|
88
|
+
*/
|
|
89
|
+
updateClaimStatus: (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
66
90
|
};
|
|
67
91
|
/**
|
|
68
92
|
* ClaimStatusesApi - functional programming interface
|
|
@@ -111,6 +135,26 @@ export declare const ClaimStatusesApiFp: (configuration?: Configuration) => {
|
|
|
111
135
|
* @throws {RequiredError}
|
|
112
136
|
*/
|
|
113
137
|
listClaimStatuses(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>>;
|
|
138
|
+
/**
|
|
139
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
140
|
+
* @summary Patch claim status
|
|
141
|
+
* @param {number} id
|
|
142
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
143
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
144
|
+
* @param {*} [options] Override http request option.
|
|
145
|
+
* @throws {RequiredError}
|
|
146
|
+
*/
|
|
147
|
+
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>>;
|
|
148
|
+
/**
|
|
149
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
150
|
+
* @summary Update the claim status
|
|
151
|
+
* @param {number} id
|
|
152
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
153
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
154
|
+
* @param {*} [options] Override http request option.
|
|
155
|
+
* @throws {RequiredError}
|
|
156
|
+
*/
|
|
157
|
+
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>>;
|
|
114
158
|
};
|
|
115
159
|
/**
|
|
116
160
|
* ClaimStatusesApi - factory interface
|
|
@@ -159,6 +203,26 @@ export declare const ClaimStatusesApiFactory: (configuration?: Configuration, ba
|
|
|
159
203
|
* @throws {RequiredError}
|
|
160
204
|
*/
|
|
161
205
|
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass>;
|
|
206
|
+
/**
|
|
207
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
208
|
+
* @summary Patch claim status
|
|
209
|
+
* @param {number} id
|
|
210
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
211
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
212
|
+
* @param {*} [options] Override http request option.
|
|
213
|
+
* @throws {RequiredError}
|
|
214
|
+
*/
|
|
215
|
+
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass>;
|
|
216
|
+
/**
|
|
217
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
218
|
+
* @summary Update the claim status
|
|
219
|
+
* @param {number} id
|
|
220
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
221
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
222
|
+
* @param {*} [options] Override http request option.
|
|
223
|
+
* @throws {RequiredError}
|
|
224
|
+
*/
|
|
225
|
+
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass>;
|
|
162
226
|
};
|
|
163
227
|
/**
|
|
164
228
|
* Request parameters for createClaimStatus operation in ClaimStatusesApi.
|
|
@@ -272,6 +336,56 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
272
336
|
*/
|
|
273
337
|
readonly filters?: string;
|
|
274
338
|
}
|
|
339
|
+
/**
|
|
340
|
+
* Request parameters for patchClaimStatus operation in ClaimStatusesApi.
|
|
341
|
+
* @export
|
|
342
|
+
* @interface ClaimStatusesApiPatchClaimStatusRequest
|
|
343
|
+
*/
|
|
344
|
+
export interface ClaimStatusesApiPatchClaimStatusRequest {
|
|
345
|
+
/**
|
|
346
|
+
*
|
|
347
|
+
* @type {number}
|
|
348
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
349
|
+
*/
|
|
350
|
+
readonly id: number;
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @type {PatchClaimStatusRequestDto}
|
|
354
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
355
|
+
*/
|
|
356
|
+
readonly patchClaimStatusRequestDto: PatchClaimStatusRequestDto;
|
|
357
|
+
/**
|
|
358
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
359
|
+
* @type {string}
|
|
360
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
361
|
+
*/
|
|
362
|
+
readonly authorization?: string;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* Request parameters for updateClaimStatus operation in ClaimStatusesApi.
|
|
366
|
+
* @export
|
|
367
|
+
* @interface ClaimStatusesApiUpdateClaimStatusRequest
|
|
368
|
+
*/
|
|
369
|
+
export interface ClaimStatusesApiUpdateClaimStatusRequest {
|
|
370
|
+
/**
|
|
371
|
+
*
|
|
372
|
+
* @type {number}
|
|
373
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
374
|
+
*/
|
|
375
|
+
readonly id: number;
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @type {UpdateClaimStatusRequestDto}
|
|
379
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
380
|
+
*/
|
|
381
|
+
readonly updateClaimStatusRequestDto: UpdateClaimStatusRequestDto;
|
|
382
|
+
/**
|
|
383
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
384
|
+
* @type {string}
|
|
385
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
386
|
+
*/
|
|
387
|
+
readonly authorization?: string;
|
|
388
|
+
}
|
|
275
389
|
/**
|
|
276
390
|
* ClaimStatusesApi - object-oriented interface
|
|
277
391
|
* @export
|
|
@@ -315,4 +429,22 @@ export declare class ClaimStatusesApi extends BaseAPI {
|
|
|
315
429
|
* @memberof ClaimStatusesApi
|
|
316
430
|
*/
|
|
317
431
|
listClaimStatuses(requestParameters?: ClaimStatusesApiListClaimStatusesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListClaimStatusesResponseClass, any>>;
|
|
432
|
+
/**
|
|
433
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
434
|
+
* @summary Patch claim status
|
|
435
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
* @memberof ClaimStatusesApi
|
|
439
|
+
*/
|
|
440
|
+
patchClaimStatus(requestParameters: ClaimStatusesApiPatchClaimStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatchClaimStatusResponseClass, any>>;
|
|
441
|
+
/**
|
|
442
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
443
|
+
* @summary Update the claim status
|
|
444
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
445
|
+
* @param {*} [options] Override http request option.
|
|
446
|
+
* @throws {RequiredError}
|
|
447
|
+
* @memberof ClaimStatusesApi
|
|
448
|
+
*/
|
|
449
|
+
updateClaimStatus(requestParameters: ClaimStatusesApiUpdateClaimStatusRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateClaimStatusResponseClass, any>>;
|
|
318
450
|
}
|
|
@@ -309,6 +309,112 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
309
309
|
});
|
|
310
310
|
});
|
|
311
311
|
},
|
|
312
|
+
/**
|
|
313
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
314
|
+
* @summary Patch claim status
|
|
315
|
+
* @param {number} id
|
|
316
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
317
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
318
|
+
* @param {*} [options] Override http request option.
|
|
319
|
+
* @throws {RequiredError}
|
|
320
|
+
*/
|
|
321
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
322
|
+
if (options === void 0) { options = {}; }
|
|
323
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
324
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
325
|
+
return __generator(this, function (_a) {
|
|
326
|
+
switch (_a.label) {
|
|
327
|
+
case 0:
|
|
328
|
+
// verify required parameter 'id' is not null or undefined
|
|
329
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
|
|
330
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
331
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
332
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
333
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
334
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
335
|
+
if (configuration) {
|
|
336
|
+
baseOptions = configuration.baseOptions;
|
|
337
|
+
baseAccessToken = configuration.accessToken;
|
|
338
|
+
}
|
|
339
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
340
|
+
localVarHeaderParameter = {};
|
|
341
|
+
localVarQueryParameter = {};
|
|
342
|
+
// authentication bearer required
|
|
343
|
+
// http bearer authentication required
|
|
344
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
345
|
+
case 1:
|
|
346
|
+
// authentication bearer required
|
|
347
|
+
// http bearer authentication required
|
|
348
|
+
_a.sent();
|
|
349
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
350
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
351
|
+
}
|
|
352
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
353
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
354
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
355
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
356
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
357
|
+
return [2 /*return*/, {
|
|
358
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
|
+
options: localVarRequestOptions,
|
|
360
|
+
}];
|
|
361
|
+
}
|
|
362
|
+
});
|
|
363
|
+
});
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
367
|
+
* @summary Update the claim status
|
|
368
|
+
* @param {number} id
|
|
369
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
370
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
371
|
+
* @param {*} [options] Override http request option.
|
|
372
|
+
* @throws {RequiredError}
|
|
373
|
+
*/
|
|
374
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
375
|
+
if (options === void 0) { options = {}; }
|
|
376
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
377
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
378
|
+
return __generator(this, function (_a) {
|
|
379
|
+
switch (_a.label) {
|
|
380
|
+
case 0:
|
|
381
|
+
// verify required parameter 'id' is not null or undefined
|
|
382
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
|
|
383
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
384
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
385
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
386
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
387
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
388
|
+
if (configuration) {
|
|
389
|
+
baseOptions = configuration.baseOptions;
|
|
390
|
+
baseAccessToken = configuration.accessToken;
|
|
391
|
+
}
|
|
392
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
393
|
+
localVarHeaderParameter = {};
|
|
394
|
+
localVarQueryParameter = {};
|
|
395
|
+
// authentication bearer required
|
|
396
|
+
// http bearer authentication required
|
|
397
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
398
|
+
case 1:
|
|
399
|
+
// authentication bearer required
|
|
400
|
+
// http bearer authentication required
|
|
401
|
+
_a.sent();
|
|
402
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
403
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
404
|
+
}
|
|
405
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
406
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
407
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
408
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
409
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
410
|
+
return [2 /*return*/, {
|
|
411
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
412
|
+
options: localVarRequestOptions,
|
|
413
|
+
}];
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
});
|
|
417
|
+
},
|
|
312
418
|
};
|
|
313
419
|
};
|
|
314
420
|
exports.ClaimStatusesApiAxiosParamCreator = ClaimStatusesApiAxiosParamCreator;
|
|
@@ -409,6 +515,50 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
409
515
|
});
|
|
410
516
|
});
|
|
411
517
|
},
|
|
518
|
+
/**
|
|
519
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
520
|
+
* @summary Patch claim status
|
|
521
|
+
* @param {number} id
|
|
522
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
523
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
524
|
+
* @param {*} [options] Override http request option.
|
|
525
|
+
* @throws {RequiredError}
|
|
526
|
+
*/
|
|
527
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
528
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
529
|
+
var localVarAxiosArgs;
|
|
530
|
+
return __generator(this, function (_a) {
|
|
531
|
+
switch (_a.label) {
|
|
532
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options)];
|
|
533
|
+
case 1:
|
|
534
|
+
localVarAxiosArgs = _a.sent();
|
|
535
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
536
|
+
}
|
|
537
|
+
});
|
|
538
|
+
});
|
|
539
|
+
},
|
|
540
|
+
/**
|
|
541
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
542
|
+
* @summary Update the claim status
|
|
543
|
+
* @param {number} id
|
|
544
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
545
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
546
|
+
* @param {*} [options] Override http request option.
|
|
547
|
+
* @throws {RequiredError}
|
|
548
|
+
*/
|
|
549
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
550
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
551
|
+
var localVarAxiosArgs;
|
|
552
|
+
return __generator(this, function (_a) {
|
|
553
|
+
switch (_a.label) {
|
|
554
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options)];
|
|
555
|
+
case 1:
|
|
556
|
+
localVarAxiosArgs = _a.sent();
|
|
557
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
558
|
+
}
|
|
559
|
+
});
|
|
560
|
+
});
|
|
561
|
+
},
|
|
412
562
|
};
|
|
413
563
|
};
|
|
414
564
|
exports.ClaimStatusesApiFp = ClaimStatusesApiFp;
|
|
@@ -469,6 +619,30 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
469
619
|
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
470
620
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
471
621
|
},
|
|
622
|
+
/**
|
|
623
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
624
|
+
* @summary Patch claim status
|
|
625
|
+
* @param {number} id
|
|
626
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
627
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
628
|
+
* @param {*} [options] Override http request option.
|
|
629
|
+
* @throws {RequiredError}
|
|
630
|
+
*/
|
|
631
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
632
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
633
|
+
},
|
|
634
|
+
/**
|
|
635
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
636
|
+
* @summary Update the claim status
|
|
637
|
+
* @param {number} id
|
|
638
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
639
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
640
|
+
* @param {*} [options] Override http request option.
|
|
641
|
+
* @throws {RequiredError}
|
|
642
|
+
*/
|
|
643
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
644
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
645
|
+
},
|
|
472
646
|
};
|
|
473
647
|
};
|
|
474
648
|
exports.ClaimStatusesApiFactory = ClaimStatusesApiFactory;
|
|
@@ -532,6 +706,30 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
532
706
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
533
707
|
return (0, exports.ClaimStatusesApiFp)(this.configuration).listClaimStatuses(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
534
708
|
};
|
|
709
|
+
/**
|
|
710
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
711
|
+
* @summary Patch claim status
|
|
712
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
713
|
+
* @param {*} [options] Override http request option.
|
|
714
|
+
* @throws {RequiredError}
|
|
715
|
+
* @memberof ClaimStatusesApi
|
|
716
|
+
*/
|
|
717
|
+
ClaimStatusesApi.prototype.patchClaimStatus = function (requestParameters, options) {
|
|
718
|
+
var _this = this;
|
|
719
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
720
|
+
};
|
|
721
|
+
/**
|
|
722
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
723
|
+
* @summary Update the claim status
|
|
724
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
725
|
+
* @param {*} [options] Override http request option.
|
|
726
|
+
* @throws {RequiredError}
|
|
727
|
+
* @memberof ClaimStatusesApi
|
|
728
|
+
*/
|
|
729
|
+
ClaimStatusesApi.prototype.updateClaimStatus = function (requestParameters, options) {
|
|
730
|
+
var _this = this;
|
|
731
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
732
|
+
};
|
|
535
733
|
return ClaimStatusesApi;
|
|
536
734
|
}(base_1.BaseAPI));
|
|
537
735
|
exports.ClaimStatusesApi = ClaimStatusesApi;
|
package/dist/models/index.d.ts
CHANGED
|
@@ -28,6 +28,8 @@ export * from './list-regulations-response-class';
|
|
|
28
28
|
export * from './list-settlements-response-class';
|
|
29
29
|
export * from './patch-claim-request-dto';
|
|
30
30
|
export * from './patch-claim-response-class';
|
|
31
|
+
export * from './patch-claim-status-request-dto';
|
|
32
|
+
export * from './patch-claim-status-response-class';
|
|
31
33
|
export * from './payout-details-class';
|
|
32
34
|
export * from './payout-details-dto';
|
|
33
35
|
export * from './regress-details-class';
|
|
@@ -42,6 +44,8 @@ export * from './update-claim-partner-role-request-dto';
|
|
|
42
44
|
export * from './update-claim-partner-role-response-class';
|
|
43
45
|
export * from './update-claim-request-dto';
|
|
44
46
|
export * from './update-claim-response-class';
|
|
47
|
+
export * from './update-claim-status-request-dto';
|
|
48
|
+
export * from './update-claim-status-response-class';
|
|
45
49
|
export * from './update-payout-details-dto';
|
|
46
50
|
export * from './update-regress-details-dto';
|
|
47
51
|
export * from './update-regulation-item-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -44,6 +44,8 @@ __exportStar(require("./list-regulations-response-class"), exports);
|
|
|
44
44
|
__exportStar(require("./list-settlements-response-class"), exports);
|
|
45
45
|
__exportStar(require("./patch-claim-request-dto"), exports);
|
|
46
46
|
__exportStar(require("./patch-claim-response-class"), exports);
|
|
47
|
+
__exportStar(require("./patch-claim-status-request-dto"), exports);
|
|
48
|
+
__exportStar(require("./patch-claim-status-response-class"), exports);
|
|
47
49
|
__exportStar(require("./payout-details-class"), exports);
|
|
48
50
|
__exportStar(require("./payout-details-dto"), exports);
|
|
49
51
|
__exportStar(require("./regress-details-class"), exports);
|
|
@@ -58,6 +60,8 @@ __exportStar(require("./update-claim-partner-role-request-dto"), exports);
|
|
|
58
60
|
__exportStar(require("./update-claim-partner-role-response-class"), exports);
|
|
59
61
|
__exportStar(require("./update-claim-request-dto"), exports);
|
|
60
62
|
__exportStar(require("./update-claim-response-class"), exports);
|
|
63
|
+
__exportStar(require("./update-claim-status-request-dto"), exports);
|
|
64
|
+
__exportStar(require("./update-claim-status-response-class"), exports);
|
|
61
65
|
__exportStar(require("./update-payout-details-dto"), exports);
|
|
62
66
|
__exportStar(require("./update-regress-details-dto"), exports);
|
|
63
67
|
__exportStar(require("./update-regulation-item-request-dto"), exports);
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface PatchClaimStatusRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PatchClaimStatusRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Name of the claim status. Tenants can add their own custom claim statuses, if default statuses are not suitable for their products.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof PatchClaimStatusRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name'?: string;
|
|
24
|
+
/**
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PatchClaimStatusRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productSlug'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PatchClaimStatusResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface PatchClaimStatusResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The claim status response.
|
|
21
|
+
* @type {ClaimStatusClass}
|
|
22
|
+
* @memberof PatchClaimStatusResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'claimStatus': ClaimStatusClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface UpdateClaimStatusRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateClaimStatusRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Name of the claim status. Tenants can add their own custom claim statuses, if default statuses are not suitable for their products.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateClaimStatusRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateClaimStatusRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'productSlug': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL ClaimService
|
|
3
|
+
* The EMIL ClaimService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateClaimStatusResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateClaimStatusResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* The claim status response.
|
|
21
|
+
* @type {ClaimStatusClass}
|
|
22
|
+
* @memberof UpdateClaimStatusResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'claimStatus': ClaimStatusClass;
|
|
25
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL ClaimService
|
|
6
|
+
* The EMIL ClaimService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
package/models/index.ts
CHANGED
|
@@ -28,6 +28,8 @@ export * from './list-regulations-response-class';
|
|
|
28
28
|
export * from './list-settlements-response-class';
|
|
29
29
|
export * from './patch-claim-request-dto';
|
|
30
30
|
export * from './patch-claim-response-class';
|
|
31
|
+
export * from './patch-claim-status-request-dto';
|
|
32
|
+
export * from './patch-claim-status-response-class';
|
|
31
33
|
export * from './payout-details-class';
|
|
32
34
|
export * from './payout-details-dto';
|
|
33
35
|
export * from './regress-details-class';
|
|
@@ -42,6 +44,8 @@ export * from './update-claim-partner-role-request-dto';
|
|
|
42
44
|
export * from './update-claim-partner-role-response-class';
|
|
43
45
|
export * from './update-claim-request-dto';
|
|
44
46
|
export * from './update-claim-response-class';
|
|
47
|
+
export * from './update-claim-status-request-dto';
|
|
48
|
+
export * from './update-claim-status-response-class';
|
|
45
49
|
export * from './update-payout-details-dto';
|
|
46
50
|
export * from './update-regress-details-dto';
|
|
47
51
|
export * from './update-regulation-item-request-dto';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface PatchClaimStatusRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PatchClaimStatusRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the claim status. Tenants can add their own custom claim statuses, if default statuses are not suitable for their products.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof PatchClaimStatusRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof PatchClaimStatusRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productSlug'?: string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PatchClaimStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface PatchClaimStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The claim status response.
|
|
26
|
+
* @type {ClaimStatusClass}
|
|
27
|
+
* @memberof PatchClaimStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'claimStatus': ClaimStatusClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateClaimStatusRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateClaimStatusRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Name of the claim status. Tenants can add their own custom claim statuses, if default statuses are not suitable for their products.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateClaimStatusRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateClaimStatusRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'productSlug': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL ClaimService
|
|
5
|
+
* The EMIL ClaimService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
import { ClaimStatusClass } from './claim-status-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdateClaimStatusResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdateClaimStatusResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* The claim status response.
|
|
26
|
+
* @type {ClaimStatusClass}
|
|
27
|
+
* @memberof UpdateClaimStatusResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'claimStatus': ClaimStatusClass;
|
|
30
|
+
}
|
|
31
|
+
|