@joao.sumi/qdule 0.0.2 → 0.0.3
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 +10 -1
- package/README.md +10 -0
- package/api.ts +170 -102
- package/dist/api.d.ts +196 -128
- package/dist/api.js +0 -6
- package/docs/AuthResourceApi.md +3 -3
- package/docs/AuthResponse.md +20 -0
- package/docs/ChangelogResourceApi.md +16 -16
- package/docs/ChangelogResponse.md +26 -0
- package/docs/ClientResourceApi.md +13 -13
- package/docs/ClientResponse.md +26 -0
- package/docs/PageResponse.md +28 -0
- package/docs/ScheduleResourceApi.md +16 -16
- package/docs/ScheduleResponse.md +32 -0
- package/docs/Shift.md +32 -0
- package/docs/ShiftResourceApi.md +16 -16
- package/docs/ShiftResponse.md +32 -0
- package/docs/TreatmentResourceApi.md +16 -16
- package/docs/TreatmentResponse.md +32 -0
- package/docs/UserResourceApi.md +6 -6
- package/docs/UserResponse.md +24 -0
- package/docs/WorkScheduleResourceApi.md +16 -16
- package/docs/WorkScheduleResponse.md +24 -0
- package/package.json +5 -1
package/api.ts
CHANGED
|
@@ -27,11 +27,20 @@ export interface AuthRequest {
|
|
|
27
27
|
'email'?: string;
|
|
28
28
|
'password'?: string;
|
|
29
29
|
}
|
|
30
|
+
export interface AuthResponse {
|
|
31
|
+
'token'?: string;
|
|
32
|
+
}
|
|
30
33
|
export interface ChangelogCreateRequest {
|
|
31
34
|
'dateTime'?: string;
|
|
32
35
|
'description'?: string;
|
|
33
36
|
'scheduleId'?: number;
|
|
34
37
|
}
|
|
38
|
+
export interface ChangelogResponse {
|
|
39
|
+
'id'?: number;
|
|
40
|
+
'dateTime'?: string;
|
|
41
|
+
'description'?: string;
|
|
42
|
+
'scheduleId'?: number;
|
|
43
|
+
}
|
|
35
44
|
export interface ChangelogUpdateRequest {
|
|
36
45
|
'dateTime'?: string;
|
|
37
46
|
'description'?: string;
|
|
@@ -42,6 +51,12 @@ export interface ClientCreateRequest {
|
|
|
42
51
|
'email'?: string;
|
|
43
52
|
'cellPhone'?: string;
|
|
44
53
|
}
|
|
54
|
+
export interface ClientResponse {
|
|
55
|
+
'id'?: number;
|
|
56
|
+
'name'?: string;
|
|
57
|
+
'email'?: string;
|
|
58
|
+
'cellPhone'?: string;
|
|
59
|
+
}
|
|
45
60
|
export interface ClientUpdateRequest {
|
|
46
61
|
'name'?: string;
|
|
47
62
|
'email'?: string;
|
|
@@ -61,6 +76,13 @@ export const DayOfWeek = {
|
|
|
61
76
|
export type DayOfWeek = typeof DayOfWeek[keyof typeof DayOfWeek];
|
|
62
77
|
|
|
63
78
|
|
|
79
|
+
export interface PageResponse {
|
|
80
|
+
'content'?: Array<any>;
|
|
81
|
+
'page'?: number;
|
|
82
|
+
'size'?: number;
|
|
83
|
+
'totalElements'?: number;
|
|
84
|
+
'totalPages'?: number;
|
|
85
|
+
}
|
|
64
86
|
export interface ScheduleCreateRequest {
|
|
65
87
|
'treatmentId'?: number;
|
|
66
88
|
'clientId'?: number;
|
|
@@ -71,6 +93,17 @@ export interface ScheduleCreateRequest {
|
|
|
71
93
|
}
|
|
72
94
|
|
|
73
95
|
|
|
96
|
+
export interface ScheduleResponse {
|
|
97
|
+
'id'?: number;
|
|
98
|
+
'treatmentId'?: number;
|
|
99
|
+
'clientId'?: number;
|
|
100
|
+
'startDateTime'?: string;
|
|
101
|
+
'endDateTime'?: string;
|
|
102
|
+
'reason'?: string;
|
|
103
|
+
'status'?: ScheduleStatus;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
|
|
74
107
|
|
|
75
108
|
export const ScheduleStatus = {
|
|
76
109
|
Done: 'DONE',
|
|
@@ -91,6 +124,15 @@ export interface ScheduleUpdateRequest {
|
|
|
91
124
|
}
|
|
92
125
|
|
|
93
126
|
|
|
127
|
+
export interface Shift {
|
|
128
|
+
'id'?: number;
|
|
129
|
+
'name'?: string;
|
|
130
|
+
'startTime'?: string;
|
|
131
|
+
'endTime'?: string;
|
|
132
|
+
'restTimeBetweenAppointments'?: string;
|
|
133
|
+
'breakStartTime'?: string;
|
|
134
|
+
'breakEndTime'?: string;
|
|
135
|
+
}
|
|
94
136
|
export interface ShiftCreateRequest {
|
|
95
137
|
'name'?: string;
|
|
96
138
|
'startTime'?: string;
|
|
@@ -99,6 +141,15 @@ export interface ShiftCreateRequest {
|
|
|
99
141
|
'breakStartTime'?: string;
|
|
100
142
|
'breakEndTime'?: string;
|
|
101
143
|
}
|
|
144
|
+
export interface ShiftResponse {
|
|
145
|
+
'id'?: number;
|
|
146
|
+
'name'?: string;
|
|
147
|
+
'startTime'?: string;
|
|
148
|
+
'endTime'?: string;
|
|
149
|
+
'restTimeBetweenAppointments'?: string;
|
|
150
|
+
'breakStartTime'?: string;
|
|
151
|
+
'breakEndTime'?: string;
|
|
152
|
+
}
|
|
102
153
|
export interface ShiftUpdateRequest {
|
|
103
154
|
'name'?: string;
|
|
104
155
|
'startTime'?: string;
|
|
@@ -117,6 +168,17 @@ export interface TreatmentCreateRequest {
|
|
|
117
168
|
}
|
|
118
169
|
|
|
119
170
|
|
|
171
|
+
export interface TreatmentResponse {
|
|
172
|
+
'id'?: number;
|
|
173
|
+
'name'?: string;
|
|
174
|
+
'description'?: string;
|
|
175
|
+
'duration'?: string;
|
|
176
|
+
'price'?: number;
|
|
177
|
+
'imagePath'?: string;
|
|
178
|
+
'status'?: TreatmentStatus;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
|
|
120
182
|
|
|
121
183
|
export const TreatmentStatus = {
|
|
122
184
|
Active: 'ACTIVE',
|
|
@@ -141,12 +203,24 @@ export interface UserCreateRequest {
|
|
|
141
203
|
'password'?: string;
|
|
142
204
|
'email'?: string;
|
|
143
205
|
}
|
|
206
|
+
export interface UserResponse {
|
|
207
|
+
'id'?: number;
|
|
208
|
+
'name'?: string;
|
|
209
|
+
'email'?: string;
|
|
210
|
+
}
|
|
144
211
|
export interface WorkScheduleCreateRequest {
|
|
145
212
|
'shiftId'?: number;
|
|
146
213
|
'dayOfWeek'?: DayOfWeek;
|
|
147
214
|
}
|
|
148
215
|
|
|
149
216
|
|
|
217
|
+
export interface WorkScheduleResponse {
|
|
218
|
+
'id'?: number;
|
|
219
|
+
'shift'?: Shift;
|
|
220
|
+
'dayOfWeek'?: DayOfWeek;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
|
|
150
224
|
export interface WorkScheduleUpdateRequest {
|
|
151
225
|
'shiftId'?: number;
|
|
152
226
|
'dayOfWeek'?: DayOfWeek;
|
|
@@ -210,7 +284,7 @@ export const AuthResourceApiFp = function(configuration?: Configuration) {
|
|
|
210
284
|
* @param {*} [options] Override http request option.
|
|
211
285
|
* @throws {RequiredError}
|
|
212
286
|
*/
|
|
213
|
-
async authPost(authRequest: AuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
287
|
+
async authPost(authRequest: AuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResponse>> {
|
|
214
288
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authPost(authRequest, options);
|
|
215
289
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
216
290
|
const localVarOperationServerBasePath = operationServerMap['AuthResourceApi.authPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -232,7 +306,7 @@ export const AuthResourceApiFactory = function (configuration?: Configuration, b
|
|
|
232
306
|
* @param {*} [options] Override http request option.
|
|
233
307
|
* @throws {RequiredError}
|
|
234
308
|
*/
|
|
235
|
-
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
309
|
+
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponse> {
|
|
236
310
|
return localVarFp.authPost(requestParameters.authRequest, options).then((request) => request(axios, basePath));
|
|
237
311
|
},
|
|
238
312
|
};
|
|
@@ -249,7 +323,7 @@ export interface AuthResourceApiInterface {
|
|
|
249
323
|
* @param {*} [options] Override http request option.
|
|
250
324
|
* @throws {RequiredError}
|
|
251
325
|
*/
|
|
252
|
-
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
326
|
+
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponse>;
|
|
253
327
|
|
|
254
328
|
}
|
|
255
329
|
|
|
@@ -346,7 +420,6 @@ export const ChangelogResourceApiAxiosParamCreator = function (configuration?: C
|
|
|
346
420
|
const localVarHeaderParameter = {} as any;
|
|
347
421
|
const localVarQueryParameter = {} as any;
|
|
348
422
|
|
|
349
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
350
423
|
|
|
351
424
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
352
425
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -482,7 +555,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
482
555
|
* @param {*} [options] Override http request option.
|
|
483
556
|
* @throws {RequiredError}
|
|
484
557
|
*/
|
|
485
|
-
async changelogsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
558
|
+
async changelogsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
486
559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsGet(page, size, options);
|
|
487
560
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
488
561
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -495,7 +568,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
495
568
|
* @param {*} [options] Override http request option.
|
|
496
569
|
* @throws {RequiredError}
|
|
497
570
|
*/
|
|
498
|
-
async changelogsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
571
|
+
async changelogsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
499
572
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsIdDelete(id, options);
|
|
500
573
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
501
574
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -508,7 +581,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
508
581
|
* @param {*} [options] Override http request option.
|
|
509
582
|
* @throws {RequiredError}
|
|
510
583
|
*/
|
|
511
|
-
async changelogsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
584
|
+
async changelogsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangelogResponse>> {
|
|
512
585
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsIdGet(id, options);
|
|
513
586
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
514
587
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -522,7 +595,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
522
595
|
* @param {*} [options] Override http request option.
|
|
523
596
|
* @throws {RequiredError}
|
|
524
597
|
*/
|
|
525
|
-
async changelogsIdPut(id: number, changelogUpdateRequest: ChangelogUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
598
|
+
async changelogsIdPut(id: number, changelogUpdateRequest: ChangelogUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangelogResponse>> {
|
|
526
599
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsIdPut(id, changelogUpdateRequest, options);
|
|
527
600
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
528
601
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -535,7 +608,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
535
608
|
* @param {*} [options] Override http request option.
|
|
536
609
|
* @throws {RequiredError}
|
|
537
610
|
*/
|
|
538
|
-
async changelogsPost(changelogCreateRequest: ChangelogCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
611
|
+
async changelogsPost(changelogCreateRequest: ChangelogCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangelogResponse>> {
|
|
539
612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsPost(changelogCreateRequest, options);
|
|
540
613
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
541
614
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -557,7 +630,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
557
630
|
* @param {*} [options] Override http request option.
|
|
558
631
|
* @throws {RequiredError}
|
|
559
632
|
*/
|
|
560
|
-
changelogsGet(requestParameters: ChangelogResourceApiChangelogsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
633
|
+
changelogsGet(requestParameters: ChangelogResourceApiChangelogsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
561
634
|
return localVarFp.changelogsGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
562
635
|
},
|
|
563
636
|
/**
|
|
@@ -567,7 +640,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
567
640
|
* @param {*} [options] Override http request option.
|
|
568
641
|
* @throws {RequiredError}
|
|
569
642
|
*/
|
|
570
|
-
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
643
|
+
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
571
644
|
return localVarFp.changelogsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
572
645
|
},
|
|
573
646
|
/**
|
|
@@ -577,7 +650,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
577
650
|
* @param {*} [options] Override http request option.
|
|
578
651
|
* @throws {RequiredError}
|
|
579
652
|
*/
|
|
580
|
-
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
653
|
+
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse> {
|
|
581
654
|
return localVarFp.changelogsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
582
655
|
},
|
|
583
656
|
/**
|
|
@@ -587,7 +660,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
587
660
|
* @param {*} [options] Override http request option.
|
|
588
661
|
* @throws {RequiredError}
|
|
589
662
|
*/
|
|
590
|
-
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
663
|
+
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse> {
|
|
591
664
|
return localVarFp.changelogsIdPut(requestParameters.id, requestParameters.changelogUpdateRequest, options).then((request) => request(axios, basePath));
|
|
592
665
|
},
|
|
593
666
|
/**
|
|
@@ -597,7 +670,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
597
670
|
* @param {*} [options] Override http request option.
|
|
598
671
|
* @throws {RequiredError}
|
|
599
672
|
*/
|
|
600
|
-
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
673
|
+
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse> {
|
|
601
674
|
return localVarFp.changelogsPost(requestParameters.changelogCreateRequest, options).then((request) => request(axios, basePath));
|
|
602
675
|
},
|
|
603
676
|
};
|
|
@@ -614,7 +687,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
614
687
|
* @param {*} [options] Override http request option.
|
|
615
688
|
* @throws {RequiredError}
|
|
616
689
|
*/
|
|
617
|
-
changelogsGet(requestParameters?: ChangelogResourceApiChangelogsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
690
|
+
changelogsGet(requestParameters?: ChangelogResourceApiChangelogsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
618
691
|
|
|
619
692
|
/**
|
|
620
693
|
*
|
|
@@ -623,7 +696,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
623
696
|
* @param {*} [options] Override http request option.
|
|
624
697
|
* @throws {RequiredError}
|
|
625
698
|
*/
|
|
626
|
-
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
699
|
+
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
627
700
|
|
|
628
701
|
/**
|
|
629
702
|
*
|
|
@@ -632,7 +705,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
632
705
|
* @param {*} [options] Override http request option.
|
|
633
706
|
* @throws {RequiredError}
|
|
634
707
|
*/
|
|
635
|
-
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
708
|
+
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse>;
|
|
636
709
|
|
|
637
710
|
/**
|
|
638
711
|
*
|
|
@@ -641,7 +714,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
641
714
|
* @param {*} [options] Override http request option.
|
|
642
715
|
* @throws {RequiredError}
|
|
643
716
|
*/
|
|
644
|
-
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
717
|
+
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse>;
|
|
645
718
|
|
|
646
719
|
/**
|
|
647
720
|
*
|
|
@@ -650,7 +723,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
650
723
|
* @param {*} [options] Override http request option.
|
|
651
724
|
* @throws {RequiredError}
|
|
652
725
|
*/
|
|
653
|
-
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
726
|
+
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse>;
|
|
654
727
|
|
|
655
728
|
}
|
|
656
729
|
|
|
@@ -787,7 +860,6 @@ export const ClientResourceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
787
860
|
// http bearer authentication required
|
|
788
861
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
789
862
|
|
|
790
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
791
863
|
|
|
792
864
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
793
865
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -930,7 +1002,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
930
1002
|
* @param {*} [options] Override http request option.
|
|
931
1003
|
* @throws {RequiredError}
|
|
932
1004
|
*/
|
|
933
|
-
async clientsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1005
|
+
async clientsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
934
1006
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsIdDelete(id, options);
|
|
935
1007
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
936
1008
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -943,7 +1015,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
943
1015
|
* @param {*} [options] Override http request option.
|
|
944
1016
|
* @throws {RequiredError}
|
|
945
1017
|
*/
|
|
946
|
-
async clientsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1018
|
+
async clientsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientResponse>> {
|
|
947
1019
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsIdGet(id, options);
|
|
948
1020
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
949
1021
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -957,7 +1029,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
957
1029
|
* @param {*} [options] Override http request option.
|
|
958
1030
|
* @throws {RequiredError}
|
|
959
1031
|
*/
|
|
960
|
-
async clientsIdPut(id: number, clientUpdateRequest: ClientUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1032
|
+
async clientsIdPut(id: number, clientUpdateRequest: ClientUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientResponse>> {
|
|
961
1033
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsIdPut(id, clientUpdateRequest, options);
|
|
962
1034
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
963
1035
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -970,7 +1042,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
970
1042
|
* @param {*} [options] Override http request option.
|
|
971
1043
|
* @throws {RequiredError}
|
|
972
1044
|
*/
|
|
973
|
-
async clientsPost(clientCreateRequest: ClientCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1045
|
+
async clientsPost(clientCreateRequest: ClientCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientResponse>> {
|
|
974
1046
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsPost(clientCreateRequest, options);
|
|
975
1047
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
976
1048
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -992,7 +1064,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
992
1064
|
* @param {*} [options] Override http request option.
|
|
993
1065
|
* @throws {RequiredError}
|
|
994
1066
|
*/
|
|
995
|
-
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1067
|
+
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
996
1068
|
return localVarFp.clientsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
997
1069
|
},
|
|
998
1070
|
/**
|
|
@@ -1002,7 +1074,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
1002
1074
|
* @param {*} [options] Override http request option.
|
|
1003
1075
|
* @throws {RequiredError}
|
|
1004
1076
|
*/
|
|
1005
|
-
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1077
|
+
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse> {
|
|
1006
1078
|
return localVarFp.clientsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1007
1079
|
},
|
|
1008
1080
|
/**
|
|
@@ -1012,7 +1084,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
1012
1084
|
* @param {*} [options] Override http request option.
|
|
1013
1085
|
* @throws {RequiredError}
|
|
1014
1086
|
*/
|
|
1015
|
-
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1087
|
+
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse> {
|
|
1016
1088
|
return localVarFp.clientsIdPut(requestParameters.id, requestParameters.clientUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1017
1089
|
},
|
|
1018
1090
|
/**
|
|
@@ -1022,7 +1094,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
1022
1094
|
* @param {*} [options] Override http request option.
|
|
1023
1095
|
* @throws {RequiredError}
|
|
1024
1096
|
*/
|
|
1025
|
-
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1097
|
+
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse> {
|
|
1026
1098
|
return localVarFp.clientsPost(requestParameters.clientCreateRequest, options).then((request) => request(axios, basePath));
|
|
1027
1099
|
},
|
|
1028
1100
|
};
|
|
@@ -1039,7 +1111,7 @@ export interface ClientResourceApiInterface {
|
|
|
1039
1111
|
* @param {*} [options] Override http request option.
|
|
1040
1112
|
* @throws {RequiredError}
|
|
1041
1113
|
*/
|
|
1042
|
-
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1114
|
+
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1043
1115
|
|
|
1044
1116
|
/**
|
|
1045
1117
|
*
|
|
@@ -1048,7 +1120,7 @@ export interface ClientResourceApiInterface {
|
|
|
1048
1120
|
* @param {*} [options] Override http request option.
|
|
1049
1121
|
* @throws {RequiredError}
|
|
1050
1122
|
*/
|
|
1051
|
-
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1123
|
+
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse>;
|
|
1052
1124
|
|
|
1053
1125
|
/**
|
|
1054
1126
|
*
|
|
@@ -1057,7 +1129,7 @@ export interface ClientResourceApiInterface {
|
|
|
1057
1129
|
* @param {*} [options] Override http request option.
|
|
1058
1130
|
* @throws {RequiredError}
|
|
1059
1131
|
*/
|
|
1060
|
-
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1132
|
+
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse>;
|
|
1061
1133
|
|
|
1062
1134
|
/**
|
|
1063
1135
|
*
|
|
@@ -1066,7 +1138,7 @@ export interface ClientResourceApiInterface {
|
|
|
1066
1138
|
* @param {*} [options] Override http request option.
|
|
1067
1139
|
* @throws {RequiredError}
|
|
1068
1140
|
*/
|
|
1069
|
-
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1141
|
+
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse>;
|
|
1070
1142
|
|
|
1071
1143
|
}
|
|
1072
1144
|
|
|
@@ -1223,7 +1295,6 @@ export const ScheduleResourceApiAxiosParamCreator = function (configuration?: Co
|
|
|
1223
1295
|
// http bearer authentication required
|
|
1224
1296
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1225
1297
|
|
|
1226
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1227
1298
|
|
|
1228
1299
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1229
1300
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1367,7 +1438,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1367
1438
|
* @param {*} [options] Override http request option.
|
|
1368
1439
|
* @throws {RequiredError}
|
|
1369
1440
|
*/
|
|
1370
|
-
async schedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1441
|
+
async schedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
1371
1442
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesGet(page, size, options);
|
|
1372
1443
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1373
1444
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1380,7 +1451,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1380
1451
|
* @param {*} [options] Override http request option.
|
|
1381
1452
|
* @throws {RequiredError}
|
|
1382
1453
|
*/
|
|
1383
|
-
async schedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1454
|
+
async schedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1384
1455
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesIdDelete(id, options);
|
|
1385
1456
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1386
1457
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1393,7 +1464,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1393
1464
|
* @param {*} [options] Override http request option.
|
|
1394
1465
|
* @throws {RequiredError}
|
|
1395
1466
|
*/
|
|
1396
|
-
async schedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1467
|
+
async schedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleResponse>> {
|
|
1397
1468
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesIdGet(id, options);
|
|
1398
1469
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1399
1470
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1407,7 +1478,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1407
1478
|
* @param {*} [options] Override http request option.
|
|
1408
1479
|
* @throws {RequiredError}
|
|
1409
1480
|
*/
|
|
1410
|
-
async schedulesIdPut(id: number, scheduleUpdateRequest: ScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1481
|
+
async schedulesIdPut(id: number, scheduleUpdateRequest: ScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleResponse>> {
|
|
1411
1482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesIdPut(id, scheduleUpdateRequest, options);
|
|
1412
1483
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1413
1484
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1420,7 +1491,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1420
1491
|
* @param {*} [options] Override http request option.
|
|
1421
1492
|
* @throws {RequiredError}
|
|
1422
1493
|
*/
|
|
1423
|
-
async schedulesPost(scheduleCreateRequest: ScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1494
|
+
async schedulesPost(scheduleCreateRequest: ScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleResponse>> {
|
|
1424
1495
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesPost(scheduleCreateRequest, options);
|
|
1425
1496
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1426
1497
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1442,7 +1513,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1442
1513
|
* @param {*} [options] Override http request option.
|
|
1443
1514
|
* @throws {RequiredError}
|
|
1444
1515
|
*/
|
|
1445
|
-
schedulesGet(requestParameters: ScheduleResourceApiSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1516
|
+
schedulesGet(requestParameters: ScheduleResourceApiSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
1446
1517
|
return localVarFp.schedulesGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
1447
1518
|
},
|
|
1448
1519
|
/**
|
|
@@ -1452,7 +1523,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1452
1523
|
* @param {*} [options] Override http request option.
|
|
1453
1524
|
* @throws {RequiredError}
|
|
1454
1525
|
*/
|
|
1455
|
-
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1526
|
+
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1456
1527
|
return localVarFp.schedulesIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1457
1528
|
},
|
|
1458
1529
|
/**
|
|
@@ -1462,7 +1533,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1462
1533
|
* @param {*} [options] Override http request option.
|
|
1463
1534
|
* @throws {RequiredError}
|
|
1464
1535
|
*/
|
|
1465
|
-
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1536
|
+
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse> {
|
|
1466
1537
|
return localVarFp.schedulesIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1467
1538
|
},
|
|
1468
1539
|
/**
|
|
@@ -1472,7 +1543,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1472
1543
|
* @param {*} [options] Override http request option.
|
|
1473
1544
|
* @throws {RequiredError}
|
|
1474
1545
|
*/
|
|
1475
|
-
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1546
|
+
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse> {
|
|
1476
1547
|
return localVarFp.schedulesIdPut(requestParameters.id, requestParameters.scheduleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1477
1548
|
},
|
|
1478
1549
|
/**
|
|
@@ -1482,7 +1553,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1482
1553
|
* @param {*} [options] Override http request option.
|
|
1483
1554
|
* @throws {RequiredError}
|
|
1484
1555
|
*/
|
|
1485
|
-
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1556
|
+
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse> {
|
|
1486
1557
|
return localVarFp.schedulesPost(requestParameters.scheduleCreateRequest, options).then((request) => request(axios, basePath));
|
|
1487
1558
|
},
|
|
1488
1559
|
};
|
|
@@ -1499,7 +1570,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1499
1570
|
* @param {*} [options] Override http request option.
|
|
1500
1571
|
* @throws {RequiredError}
|
|
1501
1572
|
*/
|
|
1502
|
-
schedulesGet(requestParameters?: ScheduleResourceApiSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1573
|
+
schedulesGet(requestParameters?: ScheduleResourceApiSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
1503
1574
|
|
|
1504
1575
|
/**
|
|
1505
1576
|
*
|
|
@@ -1508,7 +1579,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1508
1579
|
* @param {*} [options] Override http request option.
|
|
1509
1580
|
* @throws {RequiredError}
|
|
1510
1581
|
*/
|
|
1511
|
-
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1582
|
+
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1512
1583
|
|
|
1513
1584
|
/**
|
|
1514
1585
|
*
|
|
@@ -1517,7 +1588,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1517
1588
|
* @param {*} [options] Override http request option.
|
|
1518
1589
|
* @throws {RequiredError}
|
|
1519
1590
|
*/
|
|
1520
|
-
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1591
|
+
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse>;
|
|
1521
1592
|
|
|
1522
1593
|
/**
|
|
1523
1594
|
*
|
|
@@ -1526,7 +1597,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1526
1597
|
* @param {*} [options] Override http request option.
|
|
1527
1598
|
* @throws {RequiredError}
|
|
1528
1599
|
*/
|
|
1529
|
-
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1600
|
+
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse>;
|
|
1530
1601
|
|
|
1531
1602
|
/**
|
|
1532
1603
|
*
|
|
@@ -1535,7 +1606,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1535
1606
|
* @param {*} [options] Override http request option.
|
|
1536
1607
|
* @throws {RequiredError}
|
|
1537
1608
|
*/
|
|
1538
|
-
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1609
|
+
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse>;
|
|
1539
1610
|
|
|
1540
1611
|
}
|
|
1541
1612
|
|
|
@@ -1712,7 +1783,6 @@ export const ShiftResourceApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1712
1783
|
// http bearer authentication required
|
|
1713
1784
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1714
1785
|
|
|
1715
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1716
1786
|
|
|
1717
1787
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1718
1788
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1860,7 +1930,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1860
1930
|
* @param {*} [options] Override http request option.
|
|
1861
1931
|
* @throws {RequiredError}
|
|
1862
1932
|
*/
|
|
1863
|
-
async shiftsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1933
|
+
async shiftsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
1864
1934
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsGet(page, size, options);
|
|
1865
1935
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1866
1936
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1873,7 +1943,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1873
1943
|
* @param {*} [options] Override http request option.
|
|
1874
1944
|
* @throws {RequiredError}
|
|
1875
1945
|
*/
|
|
1876
|
-
async shiftsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1946
|
+
async shiftsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1877
1947
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsIdDelete(id, options);
|
|
1878
1948
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1879
1949
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1886,7 +1956,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1886
1956
|
* @param {*} [options] Override http request option.
|
|
1887
1957
|
* @throws {RequiredError}
|
|
1888
1958
|
*/
|
|
1889
|
-
async shiftsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1959
|
+
async shiftsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftResponse>> {
|
|
1890
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsIdGet(id, options);
|
|
1891
1961
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1892
1962
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1900,7 +1970,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1900
1970
|
* @param {*} [options] Override http request option.
|
|
1901
1971
|
* @throws {RequiredError}
|
|
1902
1972
|
*/
|
|
1903
|
-
async shiftsIdPut(id: number, shiftUpdateRequest: ShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1973
|
+
async shiftsIdPut(id: number, shiftUpdateRequest: ShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftResponse>> {
|
|
1904
1974
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsIdPut(id, shiftUpdateRequest, options);
|
|
1905
1975
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1906
1976
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1913,7 +1983,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1913
1983
|
* @param {*} [options] Override http request option.
|
|
1914
1984
|
* @throws {RequiredError}
|
|
1915
1985
|
*/
|
|
1916
|
-
async shiftsPost(shiftCreateRequest: ShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1986
|
+
async shiftsPost(shiftCreateRequest: ShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftResponse>> {
|
|
1917
1987
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsPost(shiftCreateRequest, options);
|
|
1918
1988
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1919
1989
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1935,7 +2005,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1935
2005
|
* @param {*} [options] Override http request option.
|
|
1936
2006
|
* @throws {RequiredError}
|
|
1937
2007
|
*/
|
|
1938
|
-
shiftsGet(requestParameters: ShiftResourceApiShiftsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2008
|
+
shiftsGet(requestParameters: ShiftResourceApiShiftsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
1939
2009
|
return localVarFp.shiftsGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
1940
2010
|
},
|
|
1941
2011
|
/**
|
|
@@ -1945,7 +2015,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1945
2015
|
* @param {*} [options] Override http request option.
|
|
1946
2016
|
* @throws {RequiredError}
|
|
1947
2017
|
*/
|
|
1948
|
-
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2018
|
+
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1949
2019
|
return localVarFp.shiftsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1950
2020
|
},
|
|
1951
2021
|
/**
|
|
@@ -1955,7 +2025,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1955
2025
|
* @param {*} [options] Override http request option.
|
|
1956
2026
|
* @throws {RequiredError}
|
|
1957
2027
|
*/
|
|
1958
|
-
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2028
|
+
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse> {
|
|
1959
2029
|
return localVarFp.shiftsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1960
2030
|
},
|
|
1961
2031
|
/**
|
|
@@ -1965,7 +2035,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1965
2035
|
* @param {*} [options] Override http request option.
|
|
1966
2036
|
* @throws {RequiredError}
|
|
1967
2037
|
*/
|
|
1968
|
-
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2038
|
+
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse> {
|
|
1969
2039
|
return localVarFp.shiftsIdPut(requestParameters.id, requestParameters.shiftUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1970
2040
|
},
|
|
1971
2041
|
/**
|
|
@@ -1975,7 +2045,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1975
2045
|
* @param {*} [options] Override http request option.
|
|
1976
2046
|
* @throws {RequiredError}
|
|
1977
2047
|
*/
|
|
1978
|
-
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2048
|
+
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse> {
|
|
1979
2049
|
return localVarFp.shiftsPost(requestParameters.shiftCreateRequest, options).then((request) => request(axios, basePath));
|
|
1980
2050
|
},
|
|
1981
2051
|
};
|
|
@@ -1992,7 +2062,7 @@ export interface ShiftResourceApiInterface {
|
|
|
1992
2062
|
* @param {*} [options] Override http request option.
|
|
1993
2063
|
* @throws {RequiredError}
|
|
1994
2064
|
*/
|
|
1995
|
-
shiftsGet(requestParameters?: ShiftResourceApiShiftsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2065
|
+
shiftsGet(requestParameters?: ShiftResourceApiShiftsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
1996
2066
|
|
|
1997
2067
|
/**
|
|
1998
2068
|
*
|
|
@@ -2001,7 +2071,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2001
2071
|
* @param {*} [options] Override http request option.
|
|
2002
2072
|
* @throws {RequiredError}
|
|
2003
2073
|
*/
|
|
2004
|
-
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2074
|
+
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2005
2075
|
|
|
2006
2076
|
/**
|
|
2007
2077
|
*
|
|
@@ -2010,7 +2080,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2010
2080
|
* @param {*} [options] Override http request option.
|
|
2011
2081
|
* @throws {RequiredError}
|
|
2012
2082
|
*/
|
|
2013
|
-
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2083
|
+
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse>;
|
|
2014
2084
|
|
|
2015
2085
|
/**
|
|
2016
2086
|
*
|
|
@@ -2019,7 +2089,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2019
2089
|
* @param {*} [options] Override http request option.
|
|
2020
2090
|
* @throws {RequiredError}
|
|
2021
2091
|
*/
|
|
2022
|
-
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2092
|
+
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse>;
|
|
2023
2093
|
|
|
2024
2094
|
/**
|
|
2025
2095
|
*
|
|
@@ -2028,7 +2098,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2028
2098
|
* @param {*} [options] Override http request option.
|
|
2029
2099
|
* @throws {RequiredError}
|
|
2030
2100
|
*/
|
|
2031
|
-
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2101
|
+
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse>;
|
|
2032
2102
|
|
|
2033
2103
|
}
|
|
2034
2104
|
|
|
@@ -2205,7 +2275,6 @@ export const TreatmentResourceApiAxiosParamCreator = function (configuration?: C
|
|
|
2205
2275
|
// http bearer authentication required
|
|
2206
2276
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2207
2277
|
|
|
2208
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2209
2278
|
|
|
2210
2279
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2211
2280
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2349,7 +2418,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2349
2418
|
* @param {*} [options] Override http request option.
|
|
2350
2419
|
* @throws {RequiredError}
|
|
2351
2420
|
*/
|
|
2352
|
-
async treatmentsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2421
|
+
async treatmentsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
2353
2422
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsGet(page, size, options);
|
|
2354
2423
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2355
2424
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2362,7 +2431,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2362
2431
|
* @param {*} [options] Override http request option.
|
|
2363
2432
|
* @throws {RequiredError}
|
|
2364
2433
|
*/
|
|
2365
|
-
async treatmentsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2434
|
+
async treatmentsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2366
2435
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsIdDelete(id, options);
|
|
2367
2436
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2368
2437
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2375,7 +2444,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2375
2444
|
* @param {*} [options] Override http request option.
|
|
2376
2445
|
* @throws {RequiredError}
|
|
2377
2446
|
*/
|
|
2378
|
-
async treatmentsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2447
|
+
async treatmentsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TreatmentResponse>> {
|
|
2379
2448
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsIdGet(id, options);
|
|
2380
2449
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2381
2450
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2389,7 +2458,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2389
2458
|
* @param {*} [options] Override http request option.
|
|
2390
2459
|
* @throws {RequiredError}
|
|
2391
2460
|
*/
|
|
2392
|
-
async treatmentsIdPut(id: number, treatmentUpdateRequest: TreatmentUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2461
|
+
async treatmentsIdPut(id: number, treatmentUpdateRequest: TreatmentUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TreatmentResponse>> {
|
|
2393
2462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsIdPut(id, treatmentUpdateRequest, options);
|
|
2394
2463
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2395
2464
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2402,7 +2471,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2402
2471
|
* @param {*} [options] Override http request option.
|
|
2403
2472
|
* @throws {RequiredError}
|
|
2404
2473
|
*/
|
|
2405
|
-
async treatmentsPost(treatmentCreateRequest: TreatmentCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2474
|
+
async treatmentsPost(treatmentCreateRequest: TreatmentCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TreatmentResponse>> {
|
|
2406
2475
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsPost(treatmentCreateRequest, options);
|
|
2407
2476
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2408
2477
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2424,7 +2493,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2424
2493
|
* @param {*} [options] Override http request option.
|
|
2425
2494
|
* @throws {RequiredError}
|
|
2426
2495
|
*/
|
|
2427
|
-
treatmentsGet(requestParameters: TreatmentResourceApiTreatmentsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2496
|
+
treatmentsGet(requestParameters: TreatmentResourceApiTreatmentsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
2428
2497
|
return localVarFp.treatmentsGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
2429
2498
|
},
|
|
2430
2499
|
/**
|
|
@@ -2434,7 +2503,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2434
2503
|
* @param {*} [options] Override http request option.
|
|
2435
2504
|
* @throws {RequiredError}
|
|
2436
2505
|
*/
|
|
2437
|
-
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2506
|
+
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2438
2507
|
return localVarFp.treatmentsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2439
2508
|
},
|
|
2440
2509
|
/**
|
|
@@ -2444,7 +2513,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2444
2513
|
* @param {*} [options] Override http request option.
|
|
2445
2514
|
* @throws {RequiredError}
|
|
2446
2515
|
*/
|
|
2447
|
-
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2516
|
+
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse> {
|
|
2448
2517
|
return localVarFp.treatmentsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2449
2518
|
},
|
|
2450
2519
|
/**
|
|
@@ -2454,7 +2523,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2454
2523
|
* @param {*} [options] Override http request option.
|
|
2455
2524
|
* @throws {RequiredError}
|
|
2456
2525
|
*/
|
|
2457
|
-
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2526
|
+
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse> {
|
|
2458
2527
|
return localVarFp.treatmentsIdPut(requestParameters.id, requestParameters.treatmentUpdateRequest, options).then((request) => request(axios, basePath));
|
|
2459
2528
|
},
|
|
2460
2529
|
/**
|
|
@@ -2464,7 +2533,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2464
2533
|
* @param {*} [options] Override http request option.
|
|
2465
2534
|
* @throws {RequiredError}
|
|
2466
2535
|
*/
|
|
2467
|
-
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2536
|
+
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse> {
|
|
2468
2537
|
return localVarFp.treatmentsPost(requestParameters.treatmentCreateRequest, options).then((request) => request(axios, basePath));
|
|
2469
2538
|
},
|
|
2470
2539
|
};
|
|
@@ -2481,7 +2550,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2481
2550
|
* @param {*} [options] Override http request option.
|
|
2482
2551
|
* @throws {RequiredError}
|
|
2483
2552
|
*/
|
|
2484
|
-
treatmentsGet(requestParameters?: TreatmentResourceApiTreatmentsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2553
|
+
treatmentsGet(requestParameters?: TreatmentResourceApiTreatmentsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
2485
2554
|
|
|
2486
2555
|
/**
|
|
2487
2556
|
*
|
|
@@ -2490,7 +2559,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2490
2559
|
* @param {*} [options] Override http request option.
|
|
2491
2560
|
* @throws {RequiredError}
|
|
2492
2561
|
*/
|
|
2493
|
-
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2562
|
+
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2494
2563
|
|
|
2495
2564
|
/**
|
|
2496
2565
|
*
|
|
@@ -2499,7 +2568,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2499
2568
|
* @param {*} [options] Override http request option.
|
|
2500
2569
|
* @throws {RequiredError}
|
|
2501
2570
|
*/
|
|
2502
|
-
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2571
|
+
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse>;
|
|
2503
2572
|
|
|
2504
2573
|
/**
|
|
2505
2574
|
*
|
|
@@ -2508,7 +2577,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2508
2577
|
* @param {*} [options] Override http request option.
|
|
2509
2578
|
* @throws {RequiredError}
|
|
2510
2579
|
*/
|
|
2511
|
-
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2580
|
+
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse>;
|
|
2512
2581
|
|
|
2513
2582
|
/**
|
|
2514
2583
|
*
|
|
@@ -2517,7 +2586,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2517
2586
|
* @param {*} [options] Override http request option.
|
|
2518
2587
|
* @throws {RequiredError}
|
|
2519
2588
|
*/
|
|
2520
|
-
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2589
|
+
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse>;
|
|
2521
2590
|
|
|
2522
2591
|
}
|
|
2523
2592
|
|
|
@@ -2716,7 +2785,7 @@ export const UserResourceApiFp = function(configuration?: Configuration) {
|
|
|
2716
2785
|
* @param {*} [options] Override http request option.
|
|
2717
2786
|
* @throws {RequiredError}
|
|
2718
2787
|
*/
|
|
2719
|
-
async usersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2788
|
+
async usersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
2720
2789
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersIdGet(id, options);
|
|
2721
2790
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2722
2791
|
const localVarOperationServerBasePath = operationServerMap['UserResourceApi.usersIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2729,7 +2798,7 @@ export const UserResourceApiFp = function(configuration?: Configuration) {
|
|
|
2729
2798
|
* @param {*} [options] Override http request option.
|
|
2730
2799
|
* @throws {RequiredError}
|
|
2731
2800
|
*/
|
|
2732
|
-
async usersPost(userCreateRequest: UserCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2801
|
+
async usersPost(userCreateRequest: UserCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
2733
2802
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(userCreateRequest, options);
|
|
2734
2803
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2735
2804
|
const localVarOperationServerBasePath = operationServerMap['UserResourceApi.usersPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2751,7 +2820,7 @@ export const UserResourceApiFactory = function (configuration?: Configuration, b
|
|
|
2751
2820
|
* @param {*} [options] Override http request option.
|
|
2752
2821
|
* @throws {RequiredError}
|
|
2753
2822
|
*/
|
|
2754
|
-
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2823
|
+
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
2755
2824
|
return localVarFp.usersIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2756
2825
|
},
|
|
2757
2826
|
/**
|
|
@@ -2761,7 +2830,7 @@ export const UserResourceApiFactory = function (configuration?: Configuration, b
|
|
|
2761
2830
|
* @param {*} [options] Override http request option.
|
|
2762
2831
|
* @throws {RequiredError}
|
|
2763
2832
|
*/
|
|
2764
|
-
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2833
|
+
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
2765
2834
|
return localVarFp.usersPost(requestParameters.userCreateRequest, options).then((request) => request(axios, basePath));
|
|
2766
2835
|
},
|
|
2767
2836
|
};
|
|
@@ -2778,7 +2847,7 @@ export interface UserResourceApiInterface {
|
|
|
2778
2847
|
* @param {*} [options] Override http request option.
|
|
2779
2848
|
* @throws {RequiredError}
|
|
2780
2849
|
*/
|
|
2781
|
-
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2850
|
+
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
|
|
2782
2851
|
|
|
2783
2852
|
/**
|
|
2784
2853
|
*
|
|
@@ -2787,7 +2856,7 @@ export interface UserResourceApiInterface {
|
|
|
2787
2856
|
* @param {*} [options] Override http request option.
|
|
2788
2857
|
* @throws {RequiredError}
|
|
2789
2858
|
*/
|
|
2790
|
-
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2859
|
+
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
|
|
2791
2860
|
|
|
2792
2861
|
}
|
|
2793
2862
|
|
|
@@ -2906,7 +2975,6 @@ export const WorkScheduleResourceApiAxiosParamCreator = function (configuration?
|
|
|
2906
2975
|
// http bearer authentication required
|
|
2907
2976
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2908
2977
|
|
|
2909
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2910
2978
|
|
|
2911
2979
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2912
2980
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3050,7 +3118,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3050
3118
|
* @param {*} [options] Override http request option.
|
|
3051
3119
|
* @throws {RequiredError}
|
|
3052
3120
|
*/
|
|
3053
|
-
async workSchedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3121
|
+
async workSchedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
3054
3122
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesGet(page, size, options);
|
|
3055
3123
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3056
3124
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3063,7 +3131,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3063
3131
|
* @param {*} [options] Override http request option.
|
|
3064
3132
|
* @throws {RequiredError}
|
|
3065
3133
|
*/
|
|
3066
|
-
async workSchedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3134
|
+
async workSchedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3067
3135
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesIdDelete(id, options);
|
|
3068
3136
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3069
3137
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3076,7 +3144,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3076
3144
|
* @param {*} [options] Override http request option.
|
|
3077
3145
|
* @throws {RequiredError}
|
|
3078
3146
|
*/
|
|
3079
|
-
async workSchedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3147
|
+
async workSchedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkScheduleResponse>> {
|
|
3080
3148
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesIdGet(id, options);
|
|
3081
3149
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3082
3150
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3090,7 +3158,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3090
3158
|
* @param {*} [options] Override http request option.
|
|
3091
3159
|
* @throws {RequiredError}
|
|
3092
3160
|
*/
|
|
3093
|
-
async workSchedulesIdPut(id: number, workScheduleUpdateRequest: WorkScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3161
|
+
async workSchedulesIdPut(id: number, workScheduleUpdateRequest: WorkScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkScheduleResponse>> {
|
|
3094
3162
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesIdPut(id, workScheduleUpdateRequest, options);
|
|
3095
3163
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3096
3164
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3103,7 +3171,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3103
3171
|
* @param {*} [options] Override http request option.
|
|
3104
3172
|
* @throws {RequiredError}
|
|
3105
3173
|
*/
|
|
3106
|
-
async workSchedulesPost(workScheduleCreateRequest: WorkScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3174
|
+
async workSchedulesPost(workScheduleCreateRequest: WorkScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkScheduleResponse>> {
|
|
3107
3175
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesPost(workScheduleCreateRequest, options);
|
|
3108
3176
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3109
3177
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3125,7 +3193,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3125
3193
|
* @param {*} [options] Override http request option.
|
|
3126
3194
|
* @throws {RequiredError}
|
|
3127
3195
|
*/
|
|
3128
|
-
workSchedulesGet(requestParameters: WorkScheduleResourceApiWorkSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3196
|
+
workSchedulesGet(requestParameters: WorkScheduleResourceApiWorkSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
3129
3197
|
return localVarFp.workSchedulesGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
3130
3198
|
},
|
|
3131
3199
|
/**
|
|
@@ -3135,7 +3203,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3135
3203
|
* @param {*} [options] Override http request option.
|
|
3136
3204
|
* @throws {RequiredError}
|
|
3137
3205
|
*/
|
|
3138
|
-
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3206
|
+
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3139
3207
|
return localVarFp.workSchedulesIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3140
3208
|
},
|
|
3141
3209
|
/**
|
|
@@ -3145,7 +3213,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3145
3213
|
* @param {*} [options] Override http request option.
|
|
3146
3214
|
* @throws {RequiredError}
|
|
3147
3215
|
*/
|
|
3148
|
-
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3216
|
+
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse> {
|
|
3149
3217
|
return localVarFp.workSchedulesIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3150
3218
|
},
|
|
3151
3219
|
/**
|
|
@@ -3155,7 +3223,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3155
3223
|
* @param {*} [options] Override http request option.
|
|
3156
3224
|
* @throws {RequiredError}
|
|
3157
3225
|
*/
|
|
3158
|
-
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3226
|
+
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse> {
|
|
3159
3227
|
return localVarFp.workSchedulesIdPut(requestParameters.id, requestParameters.workScheduleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
3160
3228
|
},
|
|
3161
3229
|
/**
|
|
@@ -3165,7 +3233,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3165
3233
|
* @param {*} [options] Override http request option.
|
|
3166
3234
|
* @throws {RequiredError}
|
|
3167
3235
|
*/
|
|
3168
|
-
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3236
|
+
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse> {
|
|
3169
3237
|
return localVarFp.workSchedulesPost(requestParameters.workScheduleCreateRequest, options).then((request) => request(axios, basePath));
|
|
3170
3238
|
},
|
|
3171
3239
|
};
|
|
@@ -3182,7 +3250,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3182
3250
|
* @param {*} [options] Override http request option.
|
|
3183
3251
|
* @throws {RequiredError}
|
|
3184
3252
|
*/
|
|
3185
|
-
workSchedulesGet(requestParameters?: WorkScheduleResourceApiWorkSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3253
|
+
workSchedulesGet(requestParameters?: WorkScheduleResourceApiWorkSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
3186
3254
|
|
|
3187
3255
|
/**
|
|
3188
3256
|
*
|
|
@@ -3191,7 +3259,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3191
3259
|
* @param {*} [options] Override http request option.
|
|
3192
3260
|
* @throws {RequiredError}
|
|
3193
3261
|
*/
|
|
3194
|
-
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3262
|
+
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3195
3263
|
|
|
3196
3264
|
/**
|
|
3197
3265
|
*
|
|
@@ -3200,7 +3268,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3200
3268
|
* @param {*} [options] Override http request option.
|
|
3201
3269
|
* @throws {RequiredError}
|
|
3202
3270
|
*/
|
|
3203
|
-
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3271
|
+
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse>;
|
|
3204
3272
|
|
|
3205
3273
|
/**
|
|
3206
3274
|
*
|
|
@@ -3209,7 +3277,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3209
3277
|
* @param {*} [options] Override http request option.
|
|
3210
3278
|
* @throws {RequiredError}
|
|
3211
3279
|
*/
|
|
3212
|
-
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3280
|
+
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse>;
|
|
3213
3281
|
|
|
3214
3282
|
/**
|
|
3215
3283
|
*
|
|
@@ -3218,7 +3286,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3218
3286
|
* @param {*} [options] Override http request option.
|
|
3219
3287
|
* @throws {RequiredError}
|
|
3220
3288
|
*/
|
|
3221
|
-
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3289
|
+
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse>;
|
|
3222
3290
|
|
|
3223
3291
|
}
|
|
3224
3292
|
|