@emilgroup/claim-sdk-node 1.35.1-beta.8 → 1.36.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-node@1.
|
|
20
|
+
npm install @emilgroup/claim-sdk-node@1.36.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/claim-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/claim-sdk-node@1.36.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
|
// URLSearchParams not necessarily used
|
|
32
40
|
// @ts-ignore
|
|
33
41
|
import { URL, URLSearchParams } from 'url';
|
|
@@ -246,6 +254,108 @@ export const ClaimStatusesApiAxiosParamCreator = function (configuration?: Confi
|
|
|
246
254
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
247
255
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
248
256
|
|
|
257
|
+
return {
|
|
258
|
+
url: toPathString(localVarUrlObj),
|
|
259
|
+
options: localVarRequestOptions,
|
|
260
|
+
};
|
|
261
|
+
},
|
|
262
|
+
/**
|
|
263
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
264
|
+
* @summary Patch claim status
|
|
265
|
+
* @param {number} id
|
|
266
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
267
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
268
|
+
* @param {*} [options] Override http request option.
|
|
269
|
+
* @throws {RequiredError}
|
|
270
|
+
*/
|
|
271
|
+
patchClaimStatus: async (id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
272
|
+
// verify required parameter 'id' is not null or undefined
|
|
273
|
+
assertParamExists('patchClaimStatus', 'id', id)
|
|
274
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
275
|
+
assertParamExists('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto)
|
|
276
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
277
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
278
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
279
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
280
|
+
let baseOptions;
|
|
281
|
+
let baseAccessToken;
|
|
282
|
+
if (configuration) {
|
|
283
|
+
baseOptions = configuration.baseOptions;
|
|
284
|
+
baseAccessToken = configuration.accessToken;
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
const localVarRequestOptions = { method: 'PATCH', ...baseOptions, ...options};
|
|
288
|
+
const localVarHeaderParameter = {} as any;
|
|
289
|
+
const localVarQueryParameter = {} as any;
|
|
290
|
+
|
|
291
|
+
// authentication bearer required
|
|
292
|
+
// http bearer authentication required
|
|
293
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
294
|
+
|
|
295
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
296
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
302
|
+
|
|
303
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
304
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
305
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
306
|
+
localVarRequestOptions.data = serializeDataIfNeeded(patchClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
307
|
+
|
|
308
|
+
return {
|
|
309
|
+
url: toPathString(localVarUrlObj),
|
|
310
|
+
options: localVarRequestOptions,
|
|
311
|
+
};
|
|
312
|
+
},
|
|
313
|
+
/**
|
|
314
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
315
|
+
* @summary Update the claim status
|
|
316
|
+
* @param {number} id
|
|
317
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
318
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
319
|
+
* @param {*} [options] Override http request option.
|
|
320
|
+
* @throws {RequiredError}
|
|
321
|
+
*/
|
|
322
|
+
updateClaimStatus: async (id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
323
|
+
// verify required parameter 'id' is not null or undefined
|
|
324
|
+
assertParamExists('updateClaimStatus', 'id', id)
|
|
325
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
326
|
+
assertParamExists('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto)
|
|
327
|
+
const localVarPath = `/v1/claim-statuses/{id}`
|
|
328
|
+
.replace(`{${"id"}}`, encodeURIComponent(String(id)));
|
|
329
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
330
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
331
|
+
let baseOptions;
|
|
332
|
+
let baseAccessToken;
|
|
333
|
+
if (configuration) {
|
|
334
|
+
baseOptions = configuration.baseOptions;
|
|
335
|
+
baseAccessToken = configuration.accessToken;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
339
|
+
const localVarHeaderParameter = {} as any;
|
|
340
|
+
const localVarQueryParameter = {} as any;
|
|
341
|
+
|
|
342
|
+
// authentication bearer required
|
|
343
|
+
// http bearer authentication required
|
|
344
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
345
|
+
|
|
346
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
347
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
353
|
+
|
|
354
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
355
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
357
|
+
localVarRequestOptions.data = serializeDataIfNeeded(updateClaimStatusRequestDto, localVarRequestOptions, configuration)
|
|
358
|
+
|
|
249
359
|
return {
|
|
250
360
|
url: toPathString(localVarUrlObj),
|
|
251
361
|
options: localVarRequestOptions,
|
|
@@ -315,6 +425,32 @@ export const ClaimStatusesApiFp = function(configuration?: Configuration) {
|
|
|
315
425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
|
|
316
426
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
317
427
|
},
|
|
428
|
+
/**
|
|
429
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
430
|
+
* @summary Patch claim status
|
|
431
|
+
* @param {number} id
|
|
432
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
433
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
434
|
+
* @param {*} [options] Override http request option.
|
|
435
|
+
* @throws {RequiredError}
|
|
436
|
+
*/
|
|
437
|
+
async patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatchClaimStatusResponseClass>> {
|
|
438
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options);
|
|
439
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
440
|
+
},
|
|
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 {number} id
|
|
445
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
446
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
447
|
+
* @param {*} [options] Override http request option.
|
|
448
|
+
* @throws {RequiredError}
|
|
449
|
+
*/
|
|
450
|
+
async updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateClaimStatusResponseClass>> {
|
|
451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options);
|
|
452
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
|
+
},
|
|
318
454
|
}
|
|
319
455
|
};
|
|
320
456
|
|
|
@@ -375,6 +511,30 @@ export const ClaimStatusesApiFactory = function (configuration?: Configuration,
|
|
|
375
511
|
listClaimStatuses(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListClaimStatusesResponseClass> {
|
|
376
512
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
|
|
377
513
|
},
|
|
514
|
+
/**
|
|
515
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
516
|
+
* @summary Patch claim status
|
|
517
|
+
* @param {number} id
|
|
518
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
519
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
520
|
+
* @param {*} [options] Override http request option.
|
|
521
|
+
* @throws {RequiredError}
|
|
522
|
+
*/
|
|
523
|
+
patchClaimStatus(id: number, patchClaimStatusRequestDto: PatchClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<PatchClaimStatusResponseClass> {
|
|
524
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
525
|
+
},
|
|
526
|
+
/**
|
|
527
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
528
|
+
* @summary Update the claim status
|
|
529
|
+
* @param {number} id
|
|
530
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
531
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
|
+
* @param {*} [options] Override http request option.
|
|
533
|
+
* @throws {RequiredError}
|
|
534
|
+
*/
|
|
535
|
+
updateClaimStatus(id: number, updateClaimStatusRequestDto: UpdateClaimStatusRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateClaimStatusResponseClass> {
|
|
536
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then((request) => request(axios, basePath));
|
|
537
|
+
},
|
|
378
538
|
};
|
|
379
539
|
};
|
|
380
540
|
|
|
@@ -504,6 +664,62 @@ export interface ClaimStatusesApiListClaimStatusesRequest {
|
|
|
504
664
|
readonly filters?: string
|
|
505
665
|
}
|
|
506
666
|
|
|
667
|
+
/**
|
|
668
|
+
* Request parameters for patchClaimStatus operation in ClaimStatusesApi.
|
|
669
|
+
* @export
|
|
670
|
+
* @interface ClaimStatusesApiPatchClaimStatusRequest
|
|
671
|
+
*/
|
|
672
|
+
export interface ClaimStatusesApiPatchClaimStatusRequest {
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @type {number}
|
|
676
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
677
|
+
*/
|
|
678
|
+
readonly id: number
|
|
679
|
+
|
|
680
|
+
/**
|
|
681
|
+
*
|
|
682
|
+
* @type {PatchClaimStatusRequestDto}
|
|
683
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
684
|
+
*/
|
|
685
|
+
readonly patchClaimStatusRequestDto: PatchClaimStatusRequestDto
|
|
686
|
+
|
|
687
|
+
/**
|
|
688
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
689
|
+
* @type {string}
|
|
690
|
+
* @memberof ClaimStatusesApiPatchClaimStatus
|
|
691
|
+
*/
|
|
692
|
+
readonly authorization?: string
|
|
693
|
+
}
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Request parameters for updateClaimStatus operation in ClaimStatusesApi.
|
|
697
|
+
* @export
|
|
698
|
+
* @interface ClaimStatusesApiUpdateClaimStatusRequest
|
|
699
|
+
*/
|
|
700
|
+
export interface ClaimStatusesApiUpdateClaimStatusRequest {
|
|
701
|
+
/**
|
|
702
|
+
*
|
|
703
|
+
* @type {number}
|
|
704
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
705
|
+
*/
|
|
706
|
+
readonly id: number
|
|
707
|
+
|
|
708
|
+
/**
|
|
709
|
+
*
|
|
710
|
+
* @type {UpdateClaimStatusRequestDto}
|
|
711
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
712
|
+
*/
|
|
713
|
+
readonly updateClaimStatusRequestDto: UpdateClaimStatusRequestDto
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Bearer Token: provided by the login endpoint under the name accessToken.
|
|
717
|
+
* @type {string}
|
|
718
|
+
* @memberof ClaimStatusesApiUpdateClaimStatus
|
|
719
|
+
*/
|
|
720
|
+
readonly authorization?: string
|
|
721
|
+
}
|
|
722
|
+
|
|
507
723
|
/**
|
|
508
724
|
* ClaimStatusesApi - object-oriented interface
|
|
509
725
|
* @export
|
|
@@ -558,4 +774,28 @@ export class ClaimStatusesApi extends BaseAPI {
|
|
|
558
774
|
public listClaimStatuses(requestParameters: ClaimStatusesApiListClaimStatusesRequest = {}, options?: AxiosRequestConfig) {
|
|
559
775
|
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));
|
|
560
776
|
}
|
|
777
|
+
|
|
778
|
+
/**
|
|
779
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
780
|
+
* @summary Patch claim status
|
|
781
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
782
|
+
* @param {*} [options] Override http request option.
|
|
783
|
+
* @throws {RequiredError}
|
|
784
|
+
* @memberof ClaimStatusesApi
|
|
785
|
+
*/
|
|
786
|
+
public patchClaimStatus(requestParameters: ClaimStatusesApiPatchClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
787
|
+
return ClaimStatusesApiFp(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
792
|
+
* @summary Update the claim status
|
|
793
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
794
|
+
* @param {*} [options] Override http request option.
|
|
795
|
+
* @throws {RequiredError}
|
|
796
|
+
* @memberof ClaimStatusesApi
|
|
797
|
+
*/
|
|
798
|
+
public updateClaimStatus(requestParameters: ClaimStatusesApiUpdateClaimStatusRequest, options?: AxiosRequestConfig) {
|
|
799
|
+
return ClaimStatusesApiFp(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
800
|
+
}
|
|
561
801
|
}
|
|
@@ -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
|
}
|
|
@@ -313,6 +313,112 @@ var ClaimStatusesApiAxiosParamCreator = function (configuration) {
|
|
|
313
313
|
});
|
|
314
314
|
});
|
|
315
315
|
},
|
|
316
|
+
/**
|
|
317
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
318
|
+
* @summary Patch claim status
|
|
319
|
+
* @param {number} id
|
|
320
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
321
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
326
|
+
if (options === void 0) { options = {}; }
|
|
327
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
328
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
329
|
+
return __generator(this, function (_a) {
|
|
330
|
+
switch (_a.label) {
|
|
331
|
+
case 0:
|
|
332
|
+
// verify required parameter 'id' is not null or undefined
|
|
333
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'id', id);
|
|
334
|
+
// verify required parameter 'patchClaimStatusRequestDto' is not null or undefined
|
|
335
|
+
(0, common_1.assertParamExists)('patchClaimStatus', 'patchClaimStatusRequestDto', patchClaimStatusRequestDto);
|
|
336
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
337
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
338
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
339
|
+
if (configuration) {
|
|
340
|
+
baseOptions = configuration.baseOptions;
|
|
341
|
+
baseAccessToken = configuration.accessToken;
|
|
342
|
+
}
|
|
343
|
+
localVarRequestOptions = __assign(__assign({ method: 'PATCH' }, baseOptions), options);
|
|
344
|
+
localVarHeaderParameter = {};
|
|
345
|
+
localVarQueryParameter = {};
|
|
346
|
+
// authentication bearer required
|
|
347
|
+
// http bearer authentication required
|
|
348
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
349
|
+
case 1:
|
|
350
|
+
// authentication bearer required
|
|
351
|
+
// http bearer authentication required
|
|
352
|
+
_a.sent();
|
|
353
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
354
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
355
|
+
}
|
|
356
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
357
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(patchClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
361
|
+
return [2 /*return*/, {
|
|
362
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
363
|
+
options: localVarRequestOptions,
|
|
364
|
+
}];
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
});
|
|
368
|
+
},
|
|
369
|
+
/**
|
|
370
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
371
|
+
* @summary Update the claim status
|
|
372
|
+
* @param {number} id
|
|
373
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
374
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
375
|
+
* @param {*} [options] Override http request option.
|
|
376
|
+
* @throws {RequiredError}
|
|
377
|
+
*/
|
|
378
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
379
|
+
if (options === void 0) { options = {}; }
|
|
380
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
381
|
+
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
382
|
+
return __generator(this, function (_a) {
|
|
383
|
+
switch (_a.label) {
|
|
384
|
+
case 0:
|
|
385
|
+
// verify required parameter 'id' is not null or undefined
|
|
386
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'id', id);
|
|
387
|
+
// verify required parameter 'updateClaimStatusRequestDto' is not null or undefined
|
|
388
|
+
(0, common_1.assertParamExists)('updateClaimStatus', 'updateClaimStatusRequestDto', updateClaimStatusRequestDto);
|
|
389
|
+
localVarPath = "/v1/claim-statuses/{id}"
|
|
390
|
+
.replace("{".concat("id", "}"), encodeURIComponent(String(id)));
|
|
391
|
+
localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
392
|
+
if (configuration) {
|
|
393
|
+
baseOptions = configuration.baseOptions;
|
|
394
|
+
baseAccessToken = configuration.accessToken;
|
|
395
|
+
}
|
|
396
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
397
|
+
localVarHeaderParameter = {};
|
|
398
|
+
localVarQueryParameter = {};
|
|
399
|
+
// authentication bearer required
|
|
400
|
+
// http bearer authentication required
|
|
401
|
+
return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
|
|
402
|
+
case 1:
|
|
403
|
+
// authentication bearer required
|
|
404
|
+
// http bearer authentication required
|
|
405
|
+
_a.sent();
|
|
406
|
+
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
407
|
+
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
408
|
+
}
|
|
409
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
410
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
411
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
412
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
413
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateClaimStatusRequestDto, localVarRequestOptions, configuration);
|
|
414
|
+
return [2 /*return*/, {
|
|
415
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
416
|
+
options: localVarRequestOptions,
|
|
417
|
+
}];
|
|
418
|
+
}
|
|
419
|
+
});
|
|
420
|
+
});
|
|
421
|
+
},
|
|
316
422
|
};
|
|
317
423
|
};
|
|
318
424
|
exports.ClaimStatusesApiAxiosParamCreator = ClaimStatusesApiAxiosParamCreator;
|
|
@@ -413,6 +519,50 @@ var ClaimStatusesApiFp = function (configuration) {
|
|
|
413
519
|
});
|
|
414
520
|
});
|
|
415
521
|
},
|
|
522
|
+
/**
|
|
523
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
524
|
+
* @summary Patch claim status
|
|
525
|
+
* @param {number} id
|
|
526
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
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
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
532
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
533
|
+
var localVarAxiosArgs;
|
|
534
|
+
return __generator(this, function (_a) {
|
|
535
|
+
switch (_a.label) {
|
|
536
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options)];
|
|
537
|
+
case 1:
|
|
538
|
+
localVarAxiosArgs = _a.sent();
|
|
539
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
540
|
+
}
|
|
541
|
+
});
|
|
542
|
+
});
|
|
543
|
+
},
|
|
544
|
+
/**
|
|
545
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
546
|
+
* @summary Update the claim status
|
|
547
|
+
* @param {number} id
|
|
548
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
549
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
550
|
+
* @param {*} [options] Override http request option.
|
|
551
|
+
* @throws {RequiredError}
|
|
552
|
+
*/
|
|
553
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
554
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
555
|
+
var localVarAxiosArgs;
|
|
556
|
+
return __generator(this, function (_a) {
|
|
557
|
+
switch (_a.label) {
|
|
558
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options)];
|
|
559
|
+
case 1:
|
|
560
|
+
localVarAxiosArgs = _a.sent();
|
|
561
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
562
|
+
}
|
|
563
|
+
});
|
|
564
|
+
});
|
|
565
|
+
},
|
|
416
566
|
};
|
|
417
567
|
};
|
|
418
568
|
exports.ClaimStatusesApiFp = ClaimStatusesApiFp;
|
|
@@ -473,6 +623,30 @@ var ClaimStatusesApiFactory = function (configuration, basePath, axios) {
|
|
|
473
623
|
listClaimStatuses: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
474
624
|
return localVarFp.listClaimStatuses(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
475
625
|
},
|
|
626
|
+
/**
|
|
627
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
628
|
+
* @summary Patch claim status
|
|
629
|
+
* @param {number} id
|
|
630
|
+
* @param {PatchClaimStatusRequestDto} patchClaimStatusRequestDto
|
|
631
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
632
|
+
* @param {*} [options] Override http request option.
|
|
633
|
+
* @throws {RequiredError}
|
|
634
|
+
*/
|
|
635
|
+
patchClaimStatus: function (id, patchClaimStatusRequestDto, authorization, options) {
|
|
636
|
+
return localVarFp.patchClaimStatus(id, patchClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
637
|
+
},
|
|
638
|
+
/**
|
|
639
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
640
|
+
* @summary Update the claim status
|
|
641
|
+
* @param {number} id
|
|
642
|
+
* @param {UpdateClaimStatusRequestDto} updateClaimStatusRequestDto
|
|
643
|
+
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
644
|
+
* @param {*} [options] Override http request option.
|
|
645
|
+
* @throws {RequiredError}
|
|
646
|
+
*/
|
|
647
|
+
updateClaimStatus: function (id, updateClaimStatusRequestDto, authorization, options) {
|
|
648
|
+
return localVarFp.updateClaimStatus(id, updateClaimStatusRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
649
|
+
},
|
|
476
650
|
};
|
|
477
651
|
};
|
|
478
652
|
exports.ClaimStatusesApiFactory = ClaimStatusesApiFactory;
|
|
@@ -536,6 +710,30 @@ var ClaimStatusesApi = /** @class */ (function (_super) {
|
|
|
536
710
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
537
711
|
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); });
|
|
538
712
|
};
|
|
713
|
+
/**
|
|
714
|
+
* This will patch the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
715
|
+
* @summary Patch claim status
|
|
716
|
+
* @param {ClaimStatusesApiPatchClaimStatusRequest} requestParameters Request parameters.
|
|
717
|
+
* @param {*} [options] Override http request option.
|
|
718
|
+
* @throws {RequiredError}
|
|
719
|
+
* @memberof ClaimStatusesApi
|
|
720
|
+
*/
|
|
721
|
+
ClaimStatusesApi.prototype.patchClaimStatus = function (requestParameters, options) {
|
|
722
|
+
var _this = this;
|
|
723
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).patchClaimStatus(requestParameters.id, requestParameters.patchClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
724
|
+
};
|
|
725
|
+
/**
|
|
726
|
+
* This will update the identified claim status in the database **Required Permissions** \"claim-management.statuses.update\"
|
|
727
|
+
* @summary Update the claim status
|
|
728
|
+
* @param {ClaimStatusesApiUpdateClaimStatusRequest} requestParameters Request parameters.
|
|
729
|
+
* @param {*} [options] Override http request option.
|
|
730
|
+
* @throws {RequiredError}
|
|
731
|
+
* @memberof ClaimStatusesApi
|
|
732
|
+
*/
|
|
733
|
+
ClaimStatusesApi.prototype.updateClaimStatus = function (requestParameters, options) {
|
|
734
|
+
var _this = this;
|
|
735
|
+
return (0, exports.ClaimStatusesApiFp)(this.configuration).updateClaimStatus(requestParameters.id, requestParameters.updateClaimStatusRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
736
|
+
};
|
|
539
737
|
return ClaimStatusesApi;
|
|
540
738
|
}(base_1.BaseAPI));
|
|
541
739
|
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
|
+
|