@joao.sumi/qdule 0.0.2 → 0.0.4
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 +11 -1
- package/README.md +11 -0
- package/api.ts +195 -106
- package/dist/api.d.ts +209 -129
- package/dist/api.js +19 -15
- 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/TreatmentCreateRequest.md +2 -0
- package/docs/TreatmentResourceApi.md +20 -17
- package/docs/TreatmentResponse.md +34 -0
- package/docs/TreatmentType.md +12 -0
- package/docs/TreatmentUpdateRequest.md +2 -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;
|
|
@@ -114,6 +165,19 @@ export interface TreatmentCreateRequest {
|
|
|
114
165
|
'price'?: number;
|
|
115
166
|
'imagePath'?: string;
|
|
116
167
|
'status'?: TreatmentStatus;
|
|
168
|
+
'type'?: TreatmentType;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
export interface TreatmentResponse {
|
|
173
|
+
'id'?: number;
|
|
174
|
+
'name'?: string;
|
|
175
|
+
'description'?: string;
|
|
176
|
+
'duration'?: string;
|
|
177
|
+
'price'?: number;
|
|
178
|
+
'imagePath'?: string;
|
|
179
|
+
'status'?: TreatmentStatus;
|
|
180
|
+
'type'?: TreatmentType;
|
|
117
181
|
}
|
|
118
182
|
|
|
119
183
|
|
|
@@ -126,6 +190,16 @@ export const TreatmentStatus = {
|
|
|
126
190
|
export type TreatmentStatus = typeof TreatmentStatus[keyof typeof TreatmentStatus];
|
|
127
191
|
|
|
128
192
|
|
|
193
|
+
|
|
194
|
+
export const TreatmentType = {
|
|
195
|
+
Facial: 'FACIAL',
|
|
196
|
+
Body: 'BODY',
|
|
197
|
+
MassageTherapy: 'MASSAGE_THERAPY',
|
|
198
|
+
} as const;
|
|
199
|
+
|
|
200
|
+
export type TreatmentType = typeof TreatmentType[keyof typeof TreatmentType];
|
|
201
|
+
|
|
202
|
+
|
|
129
203
|
export interface TreatmentUpdateRequest {
|
|
130
204
|
'name'?: string;
|
|
131
205
|
'description'?: string;
|
|
@@ -133,6 +207,7 @@ export interface TreatmentUpdateRequest {
|
|
|
133
207
|
'price'?: number;
|
|
134
208
|
'imagePath'?: string;
|
|
135
209
|
'status'?: TreatmentStatus;
|
|
210
|
+
'type'?: TreatmentType;
|
|
136
211
|
}
|
|
137
212
|
|
|
138
213
|
|
|
@@ -141,12 +216,24 @@ export interface UserCreateRequest {
|
|
|
141
216
|
'password'?: string;
|
|
142
217
|
'email'?: string;
|
|
143
218
|
}
|
|
219
|
+
export interface UserResponse {
|
|
220
|
+
'id'?: number;
|
|
221
|
+
'name'?: string;
|
|
222
|
+
'email'?: string;
|
|
223
|
+
}
|
|
144
224
|
export interface WorkScheduleCreateRequest {
|
|
145
225
|
'shiftId'?: number;
|
|
146
226
|
'dayOfWeek'?: DayOfWeek;
|
|
147
227
|
}
|
|
148
228
|
|
|
149
229
|
|
|
230
|
+
export interface WorkScheduleResponse {
|
|
231
|
+
'id'?: number;
|
|
232
|
+
'shift'?: Shift;
|
|
233
|
+
'dayOfWeek'?: DayOfWeek;
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
|
|
150
237
|
export interface WorkScheduleUpdateRequest {
|
|
151
238
|
'shiftId'?: number;
|
|
152
239
|
'dayOfWeek'?: DayOfWeek;
|
|
@@ -210,7 +297,7 @@ export const AuthResourceApiFp = function(configuration?: Configuration) {
|
|
|
210
297
|
* @param {*} [options] Override http request option.
|
|
211
298
|
* @throws {RequiredError}
|
|
212
299
|
*/
|
|
213
|
-
async authPost(authRequest: AuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
300
|
+
async authPost(authRequest: AuthRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AuthResponse>> {
|
|
214
301
|
const localVarAxiosArgs = await localVarAxiosParamCreator.authPost(authRequest, options);
|
|
215
302
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
216
303
|
const localVarOperationServerBasePath = operationServerMap['AuthResourceApi.authPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -232,7 +319,7 @@ export const AuthResourceApiFactory = function (configuration?: Configuration, b
|
|
|
232
319
|
* @param {*} [options] Override http request option.
|
|
233
320
|
* @throws {RequiredError}
|
|
234
321
|
*/
|
|
235
|
-
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
322
|
+
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponse> {
|
|
236
323
|
return localVarFp.authPost(requestParameters.authRequest, options).then((request) => request(axios, basePath));
|
|
237
324
|
},
|
|
238
325
|
};
|
|
@@ -249,7 +336,7 @@ export interface AuthResourceApiInterface {
|
|
|
249
336
|
* @param {*} [options] Override http request option.
|
|
250
337
|
* @throws {RequiredError}
|
|
251
338
|
*/
|
|
252
|
-
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
339
|
+
authPost(requestParameters: AuthResourceApiAuthPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<AuthResponse>;
|
|
253
340
|
|
|
254
341
|
}
|
|
255
342
|
|
|
@@ -346,7 +433,6 @@ export const ChangelogResourceApiAxiosParamCreator = function (configuration?: C
|
|
|
346
433
|
const localVarHeaderParameter = {} as any;
|
|
347
434
|
const localVarQueryParameter = {} as any;
|
|
348
435
|
|
|
349
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
350
436
|
|
|
351
437
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
352
438
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -482,7 +568,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
482
568
|
* @param {*} [options] Override http request option.
|
|
483
569
|
* @throws {RequiredError}
|
|
484
570
|
*/
|
|
485
|
-
async changelogsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
571
|
+
async changelogsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
486
572
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsGet(page, size, options);
|
|
487
573
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
488
574
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -495,7 +581,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
495
581
|
* @param {*} [options] Override http request option.
|
|
496
582
|
* @throws {RequiredError}
|
|
497
583
|
*/
|
|
498
|
-
async changelogsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
584
|
+
async changelogsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
499
585
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsIdDelete(id, options);
|
|
500
586
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
501
587
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -508,7 +594,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
508
594
|
* @param {*} [options] Override http request option.
|
|
509
595
|
* @throws {RequiredError}
|
|
510
596
|
*/
|
|
511
|
-
async changelogsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
597
|
+
async changelogsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangelogResponse>> {
|
|
512
598
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsIdGet(id, options);
|
|
513
599
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
514
600
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -522,7 +608,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
522
608
|
* @param {*} [options] Override http request option.
|
|
523
609
|
* @throws {RequiredError}
|
|
524
610
|
*/
|
|
525
|
-
async changelogsIdPut(id: number, changelogUpdateRequest: ChangelogUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
611
|
+
async changelogsIdPut(id: number, changelogUpdateRequest: ChangelogUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangelogResponse>> {
|
|
526
612
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsIdPut(id, changelogUpdateRequest, options);
|
|
527
613
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
528
614
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -535,7 +621,7 @@ export const ChangelogResourceApiFp = function(configuration?: Configuration) {
|
|
|
535
621
|
* @param {*} [options] Override http request option.
|
|
536
622
|
* @throws {RequiredError}
|
|
537
623
|
*/
|
|
538
|
-
async changelogsPost(changelogCreateRequest: ChangelogCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
624
|
+
async changelogsPost(changelogCreateRequest: ChangelogCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChangelogResponse>> {
|
|
539
625
|
const localVarAxiosArgs = await localVarAxiosParamCreator.changelogsPost(changelogCreateRequest, options);
|
|
540
626
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
541
627
|
const localVarOperationServerBasePath = operationServerMap['ChangelogResourceApi.changelogsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -557,7 +643,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
557
643
|
* @param {*} [options] Override http request option.
|
|
558
644
|
* @throws {RequiredError}
|
|
559
645
|
*/
|
|
560
|
-
changelogsGet(requestParameters: ChangelogResourceApiChangelogsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
646
|
+
changelogsGet(requestParameters: ChangelogResourceApiChangelogsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
561
647
|
return localVarFp.changelogsGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
562
648
|
},
|
|
563
649
|
/**
|
|
@@ -567,7 +653,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
567
653
|
* @param {*} [options] Override http request option.
|
|
568
654
|
* @throws {RequiredError}
|
|
569
655
|
*/
|
|
570
|
-
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
656
|
+
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
571
657
|
return localVarFp.changelogsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
572
658
|
},
|
|
573
659
|
/**
|
|
@@ -577,7 +663,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
577
663
|
* @param {*} [options] Override http request option.
|
|
578
664
|
* @throws {RequiredError}
|
|
579
665
|
*/
|
|
580
|
-
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
666
|
+
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse> {
|
|
581
667
|
return localVarFp.changelogsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
582
668
|
},
|
|
583
669
|
/**
|
|
@@ -587,7 +673,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
587
673
|
* @param {*} [options] Override http request option.
|
|
588
674
|
* @throws {RequiredError}
|
|
589
675
|
*/
|
|
590
|
-
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
676
|
+
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse> {
|
|
591
677
|
return localVarFp.changelogsIdPut(requestParameters.id, requestParameters.changelogUpdateRequest, options).then((request) => request(axios, basePath));
|
|
592
678
|
},
|
|
593
679
|
/**
|
|
@@ -597,7 +683,7 @@ export const ChangelogResourceApiFactory = function (configuration?: Configurati
|
|
|
597
683
|
* @param {*} [options] Override http request option.
|
|
598
684
|
* @throws {RequiredError}
|
|
599
685
|
*/
|
|
600
|
-
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
686
|
+
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse> {
|
|
601
687
|
return localVarFp.changelogsPost(requestParameters.changelogCreateRequest, options).then((request) => request(axios, basePath));
|
|
602
688
|
},
|
|
603
689
|
};
|
|
@@ -614,7 +700,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
614
700
|
* @param {*} [options] Override http request option.
|
|
615
701
|
* @throws {RequiredError}
|
|
616
702
|
*/
|
|
617
|
-
changelogsGet(requestParameters?: ChangelogResourceApiChangelogsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
703
|
+
changelogsGet(requestParameters?: ChangelogResourceApiChangelogsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
618
704
|
|
|
619
705
|
/**
|
|
620
706
|
*
|
|
@@ -623,7 +709,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
623
709
|
* @param {*} [options] Override http request option.
|
|
624
710
|
* @throws {RequiredError}
|
|
625
711
|
*/
|
|
626
|
-
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
712
|
+
changelogsIdDelete(requestParameters: ChangelogResourceApiChangelogsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
627
713
|
|
|
628
714
|
/**
|
|
629
715
|
*
|
|
@@ -632,7 +718,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
632
718
|
* @param {*} [options] Override http request option.
|
|
633
719
|
* @throws {RequiredError}
|
|
634
720
|
*/
|
|
635
|
-
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
721
|
+
changelogsIdGet(requestParameters: ChangelogResourceApiChangelogsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse>;
|
|
636
722
|
|
|
637
723
|
/**
|
|
638
724
|
*
|
|
@@ -641,7 +727,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
641
727
|
* @param {*} [options] Override http request option.
|
|
642
728
|
* @throws {RequiredError}
|
|
643
729
|
*/
|
|
644
|
-
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
730
|
+
changelogsIdPut(requestParameters: ChangelogResourceApiChangelogsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse>;
|
|
645
731
|
|
|
646
732
|
/**
|
|
647
733
|
*
|
|
@@ -650,7 +736,7 @@ export interface ChangelogResourceApiInterface {
|
|
|
650
736
|
* @param {*} [options] Override http request option.
|
|
651
737
|
* @throws {RequiredError}
|
|
652
738
|
*/
|
|
653
|
-
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
739
|
+
changelogsPost(requestParameters: ChangelogResourceApiChangelogsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ChangelogResponse>;
|
|
654
740
|
|
|
655
741
|
}
|
|
656
742
|
|
|
@@ -787,7 +873,6 @@ export const ClientResourceApiAxiosParamCreator = function (configuration?: Conf
|
|
|
787
873
|
// http bearer authentication required
|
|
788
874
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
789
875
|
|
|
790
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
791
876
|
|
|
792
877
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
793
878
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -930,7 +1015,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
930
1015
|
* @param {*} [options] Override http request option.
|
|
931
1016
|
* @throws {RequiredError}
|
|
932
1017
|
*/
|
|
933
|
-
async clientsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1018
|
+
async clientsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
934
1019
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsIdDelete(id, options);
|
|
935
1020
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
936
1021
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -943,7 +1028,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
943
1028
|
* @param {*} [options] Override http request option.
|
|
944
1029
|
* @throws {RequiredError}
|
|
945
1030
|
*/
|
|
946
|
-
async clientsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1031
|
+
async clientsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientResponse>> {
|
|
947
1032
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsIdGet(id, options);
|
|
948
1033
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
949
1034
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -957,7 +1042,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
957
1042
|
* @param {*} [options] Override http request option.
|
|
958
1043
|
* @throws {RequiredError}
|
|
959
1044
|
*/
|
|
960
|
-
async clientsIdPut(id: number, clientUpdateRequest: ClientUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1045
|
+
async clientsIdPut(id: number, clientUpdateRequest: ClientUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientResponse>> {
|
|
961
1046
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsIdPut(id, clientUpdateRequest, options);
|
|
962
1047
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
963
1048
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -970,7 +1055,7 @@ export const ClientResourceApiFp = function(configuration?: Configuration) {
|
|
|
970
1055
|
* @param {*} [options] Override http request option.
|
|
971
1056
|
* @throws {RequiredError}
|
|
972
1057
|
*/
|
|
973
|
-
async clientsPost(clientCreateRequest: ClientCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1058
|
+
async clientsPost(clientCreateRequest: ClientCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClientResponse>> {
|
|
974
1059
|
const localVarAxiosArgs = await localVarAxiosParamCreator.clientsPost(clientCreateRequest, options);
|
|
975
1060
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
976
1061
|
const localVarOperationServerBasePath = operationServerMap['ClientResourceApi.clientsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -992,7 +1077,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
992
1077
|
* @param {*} [options] Override http request option.
|
|
993
1078
|
* @throws {RequiredError}
|
|
994
1079
|
*/
|
|
995
|
-
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1080
|
+
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
996
1081
|
return localVarFp.clientsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
997
1082
|
},
|
|
998
1083
|
/**
|
|
@@ -1002,7 +1087,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
1002
1087
|
* @param {*} [options] Override http request option.
|
|
1003
1088
|
* @throws {RequiredError}
|
|
1004
1089
|
*/
|
|
1005
|
-
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1090
|
+
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse> {
|
|
1006
1091
|
return localVarFp.clientsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1007
1092
|
},
|
|
1008
1093
|
/**
|
|
@@ -1012,7 +1097,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
1012
1097
|
* @param {*} [options] Override http request option.
|
|
1013
1098
|
* @throws {RequiredError}
|
|
1014
1099
|
*/
|
|
1015
|
-
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1100
|
+
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse> {
|
|
1016
1101
|
return localVarFp.clientsIdPut(requestParameters.id, requestParameters.clientUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1017
1102
|
},
|
|
1018
1103
|
/**
|
|
@@ -1022,7 +1107,7 @@ export const ClientResourceApiFactory = function (configuration?: Configuration,
|
|
|
1022
1107
|
* @param {*} [options] Override http request option.
|
|
1023
1108
|
* @throws {RequiredError}
|
|
1024
1109
|
*/
|
|
1025
|
-
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1110
|
+
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse> {
|
|
1026
1111
|
return localVarFp.clientsPost(requestParameters.clientCreateRequest, options).then((request) => request(axios, basePath));
|
|
1027
1112
|
},
|
|
1028
1113
|
};
|
|
@@ -1039,7 +1124,7 @@ export interface ClientResourceApiInterface {
|
|
|
1039
1124
|
* @param {*} [options] Override http request option.
|
|
1040
1125
|
* @throws {RequiredError}
|
|
1041
1126
|
*/
|
|
1042
|
-
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1127
|
+
clientsIdDelete(requestParameters: ClientResourceApiClientsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1043
1128
|
|
|
1044
1129
|
/**
|
|
1045
1130
|
*
|
|
@@ -1048,7 +1133,7 @@ export interface ClientResourceApiInterface {
|
|
|
1048
1133
|
* @param {*} [options] Override http request option.
|
|
1049
1134
|
* @throws {RequiredError}
|
|
1050
1135
|
*/
|
|
1051
|
-
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1136
|
+
clientsIdGet(requestParameters: ClientResourceApiClientsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse>;
|
|
1052
1137
|
|
|
1053
1138
|
/**
|
|
1054
1139
|
*
|
|
@@ -1057,7 +1142,7 @@ export interface ClientResourceApiInterface {
|
|
|
1057
1142
|
* @param {*} [options] Override http request option.
|
|
1058
1143
|
* @throws {RequiredError}
|
|
1059
1144
|
*/
|
|
1060
|
-
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1145
|
+
clientsIdPut(requestParameters: ClientResourceApiClientsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse>;
|
|
1061
1146
|
|
|
1062
1147
|
/**
|
|
1063
1148
|
*
|
|
@@ -1066,7 +1151,7 @@ export interface ClientResourceApiInterface {
|
|
|
1066
1151
|
* @param {*} [options] Override http request option.
|
|
1067
1152
|
* @throws {RequiredError}
|
|
1068
1153
|
*/
|
|
1069
|
-
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1154
|
+
clientsPost(requestParameters: ClientResourceApiClientsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClientResponse>;
|
|
1070
1155
|
|
|
1071
1156
|
}
|
|
1072
1157
|
|
|
@@ -1223,7 +1308,6 @@ export const ScheduleResourceApiAxiosParamCreator = function (configuration?: Co
|
|
|
1223
1308
|
// http bearer authentication required
|
|
1224
1309
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1225
1310
|
|
|
1226
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1227
1311
|
|
|
1228
1312
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1229
1313
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1367,7 +1451,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1367
1451
|
* @param {*} [options] Override http request option.
|
|
1368
1452
|
* @throws {RequiredError}
|
|
1369
1453
|
*/
|
|
1370
|
-
async schedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1454
|
+
async schedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
1371
1455
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesGet(page, size, options);
|
|
1372
1456
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1373
1457
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1380,7 +1464,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1380
1464
|
* @param {*} [options] Override http request option.
|
|
1381
1465
|
* @throws {RequiredError}
|
|
1382
1466
|
*/
|
|
1383
|
-
async schedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1467
|
+
async schedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1384
1468
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesIdDelete(id, options);
|
|
1385
1469
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1386
1470
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1393,7 +1477,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1393
1477
|
* @param {*} [options] Override http request option.
|
|
1394
1478
|
* @throws {RequiredError}
|
|
1395
1479
|
*/
|
|
1396
|
-
async schedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1480
|
+
async schedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleResponse>> {
|
|
1397
1481
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesIdGet(id, options);
|
|
1398
1482
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1399
1483
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1407,7 +1491,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1407
1491
|
* @param {*} [options] Override http request option.
|
|
1408
1492
|
* @throws {RequiredError}
|
|
1409
1493
|
*/
|
|
1410
|
-
async schedulesIdPut(id: number, scheduleUpdateRequest: ScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1494
|
+
async schedulesIdPut(id: number, scheduleUpdateRequest: ScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleResponse>> {
|
|
1411
1495
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesIdPut(id, scheduleUpdateRequest, options);
|
|
1412
1496
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1413
1497
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1420,7 +1504,7 @@ export const ScheduleResourceApiFp = function(configuration?: Configuration) {
|
|
|
1420
1504
|
* @param {*} [options] Override http request option.
|
|
1421
1505
|
* @throws {RequiredError}
|
|
1422
1506
|
*/
|
|
1423
|
-
async schedulesPost(scheduleCreateRequest: ScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1507
|
+
async schedulesPost(scheduleCreateRequest: ScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ScheduleResponse>> {
|
|
1424
1508
|
const localVarAxiosArgs = await localVarAxiosParamCreator.schedulesPost(scheduleCreateRequest, options);
|
|
1425
1509
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1426
1510
|
const localVarOperationServerBasePath = operationServerMap['ScheduleResourceApi.schedulesPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1442,7 +1526,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1442
1526
|
* @param {*} [options] Override http request option.
|
|
1443
1527
|
* @throws {RequiredError}
|
|
1444
1528
|
*/
|
|
1445
|
-
schedulesGet(requestParameters: ScheduleResourceApiSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1529
|
+
schedulesGet(requestParameters: ScheduleResourceApiSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
1446
1530
|
return localVarFp.schedulesGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
1447
1531
|
},
|
|
1448
1532
|
/**
|
|
@@ -1452,7 +1536,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1452
1536
|
* @param {*} [options] Override http request option.
|
|
1453
1537
|
* @throws {RequiredError}
|
|
1454
1538
|
*/
|
|
1455
|
-
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1539
|
+
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1456
1540
|
return localVarFp.schedulesIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1457
1541
|
},
|
|
1458
1542
|
/**
|
|
@@ -1462,7 +1546,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1462
1546
|
* @param {*} [options] Override http request option.
|
|
1463
1547
|
* @throws {RequiredError}
|
|
1464
1548
|
*/
|
|
1465
|
-
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1549
|
+
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse> {
|
|
1466
1550
|
return localVarFp.schedulesIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1467
1551
|
},
|
|
1468
1552
|
/**
|
|
@@ -1472,7 +1556,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1472
1556
|
* @param {*} [options] Override http request option.
|
|
1473
1557
|
* @throws {RequiredError}
|
|
1474
1558
|
*/
|
|
1475
|
-
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1559
|
+
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse> {
|
|
1476
1560
|
return localVarFp.schedulesIdPut(requestParameters.id, requestParameters.scheduleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1477
1561
|
},
|
|
1478
1562
|
/**
|
|
@@ -1482,7 +1566,7 @@ export const ScheduleResourceApiFactory = function (configuration?: Configuratio
|
|
|
1482
1566
|
* @param {*} [options] Override http request option.
|
|
1483
1567
|
* @throws {RequiredError}
|
|
1484
1568
|
*/
|
|
1485
|
-
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1569
|
+
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse> {
|
|
1486
1570
|
return localVarFp.schedulesPost(requestParameters.scheduleCreateRequest, options).then((request) => request(axios, basePath));
|
|
1487
1571
|
},
|
|
1488
1572
|
};
|
|
@@ -1499,7 +1583,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1499
1583
|
* @param {*} [options] Override http request option.
|
|
1500
1584
|
* @throws {RequiredError}
|
|
1501
1585
|
*/
|
|
1502
|
-
schedulesGet(requestParameters?: ScheduleResourceApiSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1586
|
+
schedulesGet(requestParameters?: ScheduleResourceApiSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
1503
1587
|
|
|
1504
1588
|
/**
|
|
1505
1589
|
*
|
|
@@ -1508,7 +1592,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1508
1592
|
* @param {*} [options] Override http request option.
|
|
1509
1593
|
* @throws {RequiredError}
|
|
1510
1594
|
*/
|
|
1511
|
-
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1595
|
+
schedulesIdDelete(requestParameters: ScheduleResourceApiSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
1512
1596
|
|
|
1513
1597
|
/**
|
|
1514
1598
|
*
|
|
@@ -1517,7 +1601,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1517
1601
|
* @param {*} [options] Override http request option.
|
|
1518
1602
|
* @throws {RequiredError}
|
|
1519
1603
|
*/
|
|
1520
|
-
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1604
|
+
schedulesIdGet(requestParameters: ScheduleResourceApiSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse>;
|
|
1521
1605
|
|
|
1522
1606
|
/**
|
|
1523
1607
|
*
|
|
@@ -1526,7 +1610,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1526
1610
|
* @param {*} [options] Override http request option.
|
|
1527
1611
|
* @throws {RequiredError}
|
|
1528
1612
|
*/
|
|
1529
|
-
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1613
|
+
schedulesIdPut(requestParameters: ScheduleResourceApiSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse>;
|
|
1530
1614
|
|
|
1531
1615
|
/**
|
|
1532
1616
|
*
|
|
@@ -1535,7 +1619,7 @@ export interface ScheduleResourceApiInterface {
|
|
|
1535
1619
|
* @param {*} [options] Override http request option.
|
|
1536
1620
|
* @throws {RequiredError}
|
|
1537
1621
|
*/
|
|
1538
|
-
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1622
|
+
schedulesPost(requestParameters: ScheduleResourceApiSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ScheduleResponse>;
|
|
1539
1623
|
|
|
1540
1624
|
}
|
|
1541
1625
|
|
|
@@ -1712,7 +1796,6 @@ export const ShiftResourceApiAxiosParamCreator = function (configuration?: Confi
|
|
|
1712
1796
|
// http bearer authentication required
|
|
1713
1797
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1714
1798
|
|
|
1715
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1716
1799
|
|
|
1717
1800
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1718
1801
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1860,7 +1943,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1860
1943
|
* @param {*} [options] Override http request option.
|
|
1861
1944
|
* @throws {RequiredError}
|
|
1862
1945
|
*/
|
|
1863
|
-
async shiftsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1946
|
+
async shiftsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
1864
1947
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsGet(page, size, options);
|
|
1865
1948
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1866
1949
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1873,7 +1956,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1873
1956
|
* @param {*} [options] Override http request option.
|
|
1874
1957
|
* @throws {RequiredError}
|
|
1875
1958
|
*/
|
|
1876
|
-
async shiftsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1959
|
+
async shiftsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1877
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsIdDelete(id, options);
|
|
1878
1961
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1879
1962
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1886,7 +1969,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1886
1969
|
* @param {*} [options] Override http request option.
|
|
1887
1970
|
* @throws {RequiredError}
|
|
1888
1971
|
*/
|
|
1889
|
-
async shiftsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1972
|
+
async shiftsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftResponse>> {
|
|
1890
1973
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsIdGet(id, options);
|
|
1891
1974
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1892
1975
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1900,7 +1983,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1900
1983
|
* @param {*} [options] Override http request option.
|
|
1901
1984
|
* @throws {RequiredError}
|
|
1902
1985
|
*/
|
|
1903
|
-
async shiftsIdPut(id: number, shiftUpdateRequest: ShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1986
|
+
async shiftsIdPut(id: number, shiftUpdateRequest: ShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftResponse>> {
|
|
1904
1987
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsIdPut(id, shiftUpdateRequest, options);
|
|
1905
1988
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1906
1989
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1913,7 +1996,7 @@ export const ShiftResourceApiFp = function(configuration?: Configuration) {
|
|
|
1913
1996
|
* @param {*} [options] Override http request option.
|
|
1914
1997
|
* @throws {RequiredError}
|
|
1915
1998
|
*/
|
|
1916
|
-
async shiftsPost(shiftCreateRequest: ShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1999
|
+
async shiftsPost(shiftCreateRequest: ShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShiftResponse>> {
|
|
1917
2000
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shiftsPost(shiftCreateRequest, options);
|
|
1918
2001
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
1919
2002
|
const localVarOperationServerBasePath = operationServerMap['ShiftResourceApi.shiftsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -1935,7 +2018,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1935
2018
|
* @param {*} [options] Override http request option.
|
|
1936
2019
|
* @throws {RequiredError}
|
|
1937
2020
|
*/
|
|
1938
|
-
shiftsGet(requestParameters: ShiftResourceApiShiftsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2021
|
+
shiftsGet(requestParameters: ShiftResourceApiShiftsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
1939
2022
|
return localVarFp.shiftsGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
1940
2023
|
},
|
|
1941
2024
|
/**
|
|
@@ -1945,7 +2028,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1945
2028
|
* @param {*} [options] Override http request option.
|
|
1946
2029
|
* @throws {RequiredError}
|
|
1947
2030
|
*/
|
|
1948
|
-
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2031
|
+
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
1949
2032
|
return localVarFp.shiftsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1950
2033
|
},
|
|
1951
2034
|
/**
|
|
@@ -1955,7 +2038,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1955
2038
|
* @param {*} [options] Override http request option.
|
|
1956
2039
|
* @throws {RequiredError}
|
|
1957
2040
|
*/
|
|
1958
|
-
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2041
|
+
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse> {
|
|
1959
2042
|
return localVarFp.shiftsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
1960
2043
|
},
|
|
1961
2044
|
/**
|
|
@@ -1965,7 +2048,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1965
2048
|
* @param {*} [options] Override http request option.
|
|
1966
2049
|
* @throws {RequiredError}
|
|
1967
2050
|
*/
|
|
1968
|
-
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2051
|
+
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse> {
|
|
1969
2052
|
return localVarFp.shiftsIdPut(requestParameters.id, requestParameters.shiftUpdateRequest, options).then((request) => request(axios, basePath));
|
|
1970
2053
|
},
|
|
1971
2054
|
/**
|
|
@@ -1975,7 +2058,7 @@ export const ShiftResourceApiFactory = function (configuration?: Configuration,
|
|
|
1975
2058
|
* @param {*} [options] Override http request option.
|
|
1976
2059
|
* @throws {RequiredError}
|
|
1977
2060
|
*/
|
|
1978
|
-
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2061
|
+
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse> {
|
|
1979
2062
|
return localVarFp.shiftsPost(requestParameters.shiftCreateRequest, options).then((request) => request(axios, basePath));
|
|
1980
2063
|
},
|
|
1981
2064
|
};
|
|
@@ -1992,7 +2075,7 @@ export interface ShiftResourceApiInterface {
|
|
|
1992
2075
|
* @param {*} [options] Override http request option.
|
|
1993
2076
|
* @throws {RequiredError}
|
|
1994
2077
|
*/
|
|
1995
|
-
shiftsGet(requestParameters?: ShiftResourceApiShiftsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2078
|
+
shiftsGet(requestParameters?: ShiftResourceApiShiftsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
1996
2079
|
|
|
1997
2080
|
/**
|
|
1998
2081
|
*
|
|
@@ -2001,7 +2084,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2001
2084
|
* @param {*} [options] Override http request option.
|
|
2002
2085
|
* @throws {RequiredError}
|
|
2003
2086
|
*/
|
|
2004
|
-
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2087
|
+
shiftsIdDelete(requestParameters: ShiftResourceApiShiftsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2005
2088
|
|
|
2006
2089
|
/**
|
|
2007
2090
|
*
|
|
@@ -2010,7 +2093,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2010
2093
|
* @param {*} [options] Override http request option.
|
|
2011
2094
|
* @throws {RequiredError}
|
|
2012
2095
|
*/
|
|
2013
|
-
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2096
|
+
shiftsIdGet(requestParameters: ShiftResourceApiShiftsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse>;
|
|
2014
2097
|
|
|
2015
2098
|
/**
|
|
2016
2099
|
*
|
|
@@ -2019,7 +2102,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2019
2102
|
* @param {*} [options] Override http request option.
|
|
2020
2103
|
* @throws {RequiredError}
|
|
2021
2104
|
*/
|
|
2022
|
-
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2105
|
+
shiftsIdPut(requestParameters: ShiftResourceApiShiftsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse>;
|
|
2023
2106
|
|
|
2024
2107
|
/**
|
|
2025
2108
|
*
|
|
@@ -2028,7 +2111,7 @@ export interface ShiftResourceApiInterface {
|
|
|
2028
2111
|
* @param {*} [options] Override http request option.
|
|
2029
2112
|
* @throws {RequiredError}
|
|
2030
2113
|
*/
|
|
2031
|
-
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2114
|
+
shiftsPost(requestParameters: ShiftResourceApiShiftsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<ShiftResponse>;
|
|
2032
2115
|
|
|
2033
2116
|
}
|
|
2034
2117
|
|
|
@@ -2143,10 +2226,11 @@ export const TreatmentResourceApiAxiosParamCreator = function (configuration?: C
|
|
|
2143
2226
|
* @summary Get Treatments
|
|
2144
2227
|
* @param {number} [page]
|
|
2145
2228
|
* @param {number} [size]
|
|
2229
|
+
* @param {TreatmentType} [type]
|
|
2146
2230
|
* @param {*} [options] Override http request option.
|
|
2147
2231
|
* @throws {RequiredError}
|
|
2148
2232
|
*/
|
|
2149
|
-
treatmentsGet: async (page?: number, size?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2233
|
+
treatmentsGet: async (page?: number, size?: number, type?: TreatmentType, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
2150
2234
|
const localVarPath = `/treatments`;
|
|
2151
2235
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
2152
2236
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -2167,6 +2251,10 @@ export const TreatmentResourceApiAxiosParamCreator = function (configuration?: C
|
|
|
2167
2251
|
localVarQueryParameter['size'] = size;
|
|
2168
2252
|
}
|
|
2169
2253
|
|
|
2254
|
+
if (type !== undefined) {
|
|
2255
|
+
localVarQueryParameter['type'] = type;
|
|
2256
|
+
}
|
|
2257
|
+
|
|
2170
2258
|
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2171
2259
|
|
|
2172
2260
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -2205,7 +2293,6 @@ export const TreatmentResourceApiAxiosParamCreator = function (configuration?: C
|
|
|
2205
2293
|
// http bearer authentication required
|
|
2206
2294
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2207
2295
|
|
|
2208
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2209
2296
|
|
|
2210
2297
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2211
2298
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2346,11 +2433,12 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2346
2433
|
* @summary Get Treatments
|
|
2347
2434
|
* @param {number} [page]
|
|
2348
2435
|
* @param {number} [size]
|
|
2436
|
+
* @param {TreatmentType} [type]
|
|
2349
2437
|
* @param {*} [options] Override http request option.
|
|
2350
2438
|
* @throws {RequiredError}
|
|
2351
2439
|
*/
|
|
2352
|
-
async treatmentsGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2353
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsGet(page, size, options);
|
|
2440
|
+
async treatmentsGet(page?: number, size?: number, type?: TreatmentType, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
2441
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsGet(page, size, type, options);
|
|
2354
2442
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2355
2443
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsGet']?.[localVarOperationServerIndex]?.url;
|
|
2356
2444
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
@@ -2362,7 +2450,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2362
2450
|
* @param {*} [options] Override http request option.
|
|
2363
2451
|
* @throws {RequiredError}
|
|
2364
2452
|
*/
|
|
2365
|
-
async treatmentsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2453
|
+
async treatmentsIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
2366
2454
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsIdDelete(id, options);
|
|
2367
2455
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2368
2456
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2375,7 +2463,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2375
2463
|
* @param {*} [options] Override http request option.
|
|
2376
2464
|
* @throws {RequiredError}
|
|
2377
2465
|
*/
|
|
2378
|
-
async treatmentsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2466
|
+
async treatmentsIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TreatmentResponse>> {
|
|
2379
2467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsIdGet(id, options);
|
|
2380
2468
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2381
2469
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2389,7 +2477,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2389
2477
|
* @param {*} [options] Override http request option.
|
|
2390
2478
|
* @throws {RequiredError}
|
|
2391
2479
|
*/
|
|
2392
|
-
async treatmentsIdPut(id: number, treatmentUpdateRequest: TreatmentUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2480
|
+
async treatmentsIdPut(id: number, treatmentUpdateRequest: TreatmentUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TreatmentResponse>> {
|
|
2393
2481
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsIdPut(id, treatmentUpdateRequest, options);
|
|
2394
2482
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2395
2483
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2402,7 +2490,7 @@ export const TreatmentResourceApiFp = function(configuration?: Configuration) {
|
|
|
2402
2490
|
* @param {*} [options] Override http request option.
|
|
2403
2491
|
* @throws {RequiredError}
|
|
2404
2492
|
*/
|
|
2405
|
-
async treatmentsPost(treatmentCreateRequest: TreatmentCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2493
|
+
async treatmentsPost(treatmentCreateRequest: TreatmentCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TreatmentResponse>> {
|
|
2406
2494
|
const localVarAxiosArgs = await localVarAxiosParamCreator.treatmentsPost(treatmentCreateRequest, options);
|
|
2407
2495
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2408
2496
|
const localVarOperationServerBasePath = operationServerMap['TreatmentResourceApi.treatmentsPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2424,8 +2512,8 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2424
2512
|
* @param {*} [options] Override http request option.
|
|
2425
2513
|
* @throws {RequiredError}
|
|
2426
2514
|
*/
|
|
2427
|
-
treatmentsGet(requestParameters: TreatmentResourceApiTreatmentsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2428
|
-
return localVarFp.treatmentsGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
2515
|
+
treatmentsGet(requestParameters: TreatmentResourceApiTreatmentsGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
2516
|
+
return localVarFp.treatmentsGet(requestParameters.page, requestParameters.size, requestParameters.type, options).then((request) => request(axios, basePath));
|
|
2429
2517
|
},
|
|
2430
2518
|
/**
|
|
2431
2519
|
*
|
|
@@ -2434,7 +2522,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2434
2522
|
* @param {*} [options] Override http request option.
|
|
2435
2523
|
* @throws {RequiredError}
|
|
2436
2524
|
*/
|
|
2437
|
-
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2525
|
+
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
2438
2526
|
return localVarFp.treatmentsIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2439
2527
|
},
|
|
2440
2528
|
/**
|
|
@@ -2444,7 +2532,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2444
2532
|
* @param {*} [options] Override http request option.
|
|
2445
2533
|
* @throws {RequiredError}
|
|
2446
2534
|
*/
|
|
2447
|
-
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2535
|
+
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse> {
|
|
2448
2536
|
return localVarFp.treatmentsIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2449
2537
|
},
|
|
2450
2538
|
/**
|
|
@@ -2454,7 +2542,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2454
2542
|
* @param {*} [options] Override http request option.
|
|
2455
2543
|
* @throws {RequiredError}
|
|
2456
2544
|
*/
|
|
2457
|
-
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2545
|
+
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse> {
|
|
2458
2546
|
return localVarFp.treatmentsIdPut(requestParameters.id, requestParameters.treatmentUpdateRequest, options).then((request) => request(axios, basePath));
|
|
2459
2547
|
},
|
|
2460
2548
|
/**
|
|
@@ -2464,7 +2552,7 @@ export const TreatmentResourceApiFactory = function (configuration?: Configurati
|
|
|
2464
2552
|
* @param {*} [options] Override http request option.
|
|
2465
2553
|
* @throws {RequiredError}
|
|
2466
2554
|
*/
|
|
2467
|
-
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2555
|
+
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse> {
|
|
2468
2556
|
return localVarFp.treatmentsPost(requestParameters.treatmentCreateRequest, options).then((request) => request(axios, basePath));
|
|
2469
2557
|
},
|
|
2470
2558
|
};
|
|
@@ -2481,7 +2569,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2481
2569
|
* @param {*} [options] Override http request option.
|
|
2482
2570
|
* @throws {RequiredError}
|
|
2483
2571
|
*/
|
|
2484
|
-
treatmentsGet(requestParameters?: TreatmentResourceApiTreatmentsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2572
|
+
treatmentsGet(requestParameters?: TreatmentResourceApiTreatmentsGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
2485
2573
|
|
|
2486
2574
|
/**
|
|
2487
2575
|
*
|
|
@@ -2490,7 +2578,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2490
2578
|
* @param {*} [options] Override http request option.
|
|
2491
2579
|
* @throws {RequiredError}
|
|
2492
2580
|
*/
|
|
2493
|
-
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2581
|
+
treatmentsIdDelete(requestParameters: TreatmentResourceApiTreatmentsIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
2494
2582
|
|
|
2495
2583
|
/**
|
|
2496
2584
|
*
|
|
@@ -2499,7 +2587,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2499
2587
|
* @param {*} [options] Override http request option.
|
|
2500
2588
|
* @throws {RequiredError}
|
|
2501
2589
|
*/
|
|
2502
|
-
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2590
|
+
treatmentsIdGet(requestParameters: TreatmentResourceApiTreatmentsIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse>;
|
|
2503
2591
|
|
|
2504
2592
|
/**
|
|
2505
2593
|
*
|
|
@@ -2508,7 +2596,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2508
2596
|
* @param {*} [options] Override http request option.
|
|
2509
2597
|
* @throws {RequiredError}
|
|
2510
2598
|
*/
|
|
2511
|
-
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2599
|
+
treatmentsIdPut(requestParameters: TreatmentResourceApiTreatmentsIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse>;
|
|
2512
2600
|
|
|
2513
2601
|
/**
|
|
2514
2602
|
*
|
|
@@ -2517,7 +2605,7 @@ export interface TreatmentResourceApiInterface {
|
|
|
2517
2605
|
* @param {*} [options] Override http request option.
|
|
2518
2606
|
* @throws {RequiredError}
|
|
2519
2607
|
*/
|
|
2520
|
-
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2608
|
+
treatmentsPost(requestParameters: TreatmentResourceApiTreatmentsPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<TreatmentResponse>;
|
|
2521
2609
|
|
|
2522
2610
|
}
|
|
2523
2611
|
|
|
@@ -2528,6 +2616,8 @@ export interface TreatmentResourceApiTreatmentsGetRequest {
|
|
|
2528
2616
|
readonly page?: number
|
|
2529
2617
|
|
|
2530
2618
|
readonly size?: number
|
|
2619
|
+
|
|
2620
|
+
readonly type?: TreatmentType
|
|
2531
2621
|
}
|
|
2532
2622
|
|
|
2533
2623
|
/**
|
|
@@ -2572,7 +2662,7 @@ export class TreatmentResourceApi extends BaseAPI implements TreatmentResourceAp
|
|
|
2572
2662
|
* @throws {RequiredError}
|
|
2573
2663
|
*/
|
|
2574
2664
|
public treatmentsGet(requestParameters: TreatmentResourceApiTreatmentsGetRequest = {}, options?: RawAxiosRequestConfig) {
|
|
2575
|
-
return TreatmentResourceApiFp(this.configuration).treatmentsGet(requestParameters.page, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
2665
|
+
return TreatmentResourceApiFp(this.configuration).treatmentsGet(requestParameters.page, requestParameters.size, requestParameters.type, options).then((request) => request(this.axios, this.basePath));
|
|
2576
2666
|
}
|
|
2577
2667
|
|
|
2578
2668
|
/**
|
|
@@ -2716,7 +2806,7 @@ export const UserResourceApiFp = function(configuration?: Configuration) {
|
|
|
2716
2806
|
* @param {*} [options] Override http request option.
|
|
2717
2807
|
* @throws {RequiredError}
|
|
2718
2808
|
*/
|
|
2719
|
-
async usersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2809
|
+
async usersIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
2720
2810
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersIdGet(id, options);
|
|
2721
2811
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2722
2812
|
const localVarOperationServerBasePath = operationServerMap['UserResourceApi.usersIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2729,7 +2819,7 @@ export const UserResourceApiFp = function(configuration?: Configuration) {
|
|
|
2729
2819
|
* @param {*} [options] Override http request option.
|
|
2730
2820
|
* @throws {RequiredError}
|
|
2731
2821
|
*/
|
|
2732
|
-
async usersPost(userCreateRequest: UserCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2822
|
+
async usersPost(userCreateRequest: UserCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserResponse>> {
|
|
2733
2823
|
const localVarAxiosArgs = await localVarAxiosParamCreator.usersPost(userCreateRequest, options);
|
|
2734
2824
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2735
2825
|
const localVarOperationServerBasePath = operationServerMap['UserResourceApi.usersPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2751,7 +2841,7 @@ export const UserResourceApiFactory = function (configuration?: Configuration, b
|
|
|
2751
2841
|
* @param {*} [options] Override http request option.
|
|
2752
2842
|
* @throws {RequiredError}
|
|
2753
2843
|
*/
|
|
2754
|
-
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2844
|
+
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
2755
2845
|
return localVarFp.usersIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
2756
2846
|
},
|
|
2757
2847
|
/**
|
|
@@ -2761,7 +2851,7 @@ export const UserResourceApiFactory = function (configuration?: Configuration, b
|
|
|
2761
2851
|
* @param {*} [options] Override http request option.
|
|
2762
2852
|
* @throws {RequiredError}
|
|
2763
2853
|
*/
|
|
2764
|
-
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2854
|
+
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse> {
|
|
2765
2855
|
return localVarFp.usersPost(requestParameters.userCreateRequest, options).then((request) => request(axios, basePath));
|
|
2766
2856
|
},
|
|
2767
2857
|
};
|
|
@@ -2778,7 +2868,7 @@ export interface UserResourceApiInterface {
|
|
|
2778
2868
|
* @param {*} [options] Override http request option.
|
|
2779
2869
|
* @throws {RequiredError}
|
|
2780
2870
|
*/
|
|
2781
|
-
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2871
|
+
usersIdGet(requestParameters: UserResourceApiUsersIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
|
|
2782
2872
|
|
|
2783
2873
|
/**
|
|
2784
2874
|
*
|
|
@@ -2787,7 +2877,7 @@ export interface UserResourceApiInterface {
|
|
|
2787
2877
|
* @param {*} [options] Override http request option.
|
|
2788
2878
|
* @throws {RequiredError}
|
|
2789
2879
|
*/
|
|
2790
|
-
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2880
|
+
usersPost(requestParameters: UserResourceApiUsersPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<UserResponse>;
|
|
2791
2881
|
|
|
2792
2882
|
}
|
|
2793
2883
|
|
|
@@ -2906,7 +2996,6 @@ export const WorkScheduleResourceApiAxiosParamCreator = function (configuration?
|
|
|
2906
2996
|
// http bearer authentication required
|
|
2907
2997
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2908
2998
|
|
|
2909
|
-
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2910
2999
|
|
|
2911
3000
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2912
3001
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3050,7 +3139,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3050
3139
|
* @param {*} [options] Override http request option.
|
|
3051
3140
|
* @throws {RequiredError}
|
|
3052
3141
|
*/
|
|
3053
|
-
async workSchedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3142
|
+
async workSchedulesGet(page?: number, size?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PageResponse>> {
|
|
3054
3143
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesGet(page, size, options);
|
|
3055
3144
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3056
3145
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3063,7 +3152,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3063
3152
|
* @param {*} [options] Override http request option.
|
|
3064
3153
|
* @throws {RequiredError}
|
|
3065
3154
|
*/
|
|
3066
|
-
async workSchedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3155
|
+
async workSchedulesIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
3067
3156
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesIdDelete(id, options);
|
|
3068
3157
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3069
3158
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesIdDelete']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3076,7 +3165,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3076
3165
|
* @param {*} [options] Override http request option.
|
|
3077
3166
|
* @throws {RequiredError}
|
|
3078
3167
|
*/
|
|
3079
|
-
async workSchedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3168
|
+
async workSchedulesIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkScheduleResponse>> {
|
|
3080
3169
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesIdGet(id, options);
|
|
3081
3170
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3082
3171
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesIdGet']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3090,7 +3179,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3090
3179
|
* @param {*} [options] Override http request option.
|
|
3091
3180
|
* @throws {RequiredError}
|
|
3092
3181
|
*/
|
|
3093
|
-
async workSchedulesIdPut(id: number, workScheduleUpdateRequest: WorkScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3182
|
+
async workSchedulesIdPut(id: number, workScheduleUpdateRequest: WorkScheduleUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkScheduleResponse>> {
|
|
3094
3183
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesIdPut(id, workScheduleUpdateRequest, options);
|
|
3095
3184
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3096
3185
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesIdPut']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3103,7 +3192,7 @@ export const WorkScheduleResourceApiFp = function(configuration?: Configuration)
|
|
|
3103
3192
|
* @param {*} [options] Override http request option.
|
|
3104
3193
|
* @throws {RequiredError}
|
|
3105
3194
|
*/
|
|
3106
|
-
async workSchedulesPost(workScheduleCreateRequest: WorkScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3195
|
+
async workSchedulesPost(workScheduleCreateRequest: WorkScheduleCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<WorkScheduleResponse>> {
|
|
3107
3196
|
const localVarAxiosArgs = await localVarAxiosParamCreator.workSchedulesPost(workScheduleCreateRequest, options);
|
|
3108
3197
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3109
3198
|
const localVarOperationServerBasePath = operationServerMap['WorkScheduleResourceApi.workSchedulesPost']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3125,7 +3214,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3125
3214
|
* @param {*} [options] Override http request option.
|
|
3126
3215
|
* @throws {RequiredError}
|
|
3127
3216
|
*/
|
|
3128
|
-
workSchedulesGet(requestParameters: WorkScheduleResourceApiWorkSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3217
|
+
workSchedulesGet(requestParameters: WorkScheduleResourceApiWorkSchedulesGetRequest = {}, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse> {
|
|
3129
3218
|
return localVarFp.workSchedulesGet(requestParameters.page, requestParameters.size, options).then((request) => request(axios, basePath));
|
|
3130
3219
|
},
|
|
3131
3220
|
/**
|
|
@@ -3135,7 +3224,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3135
3224
|
* @param {*} [options] Override http request option.
|
|
3136
3225
|
* @throws {RequiredError}
|
|
3137
3226
|
*/
|
|
3138
|
-
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3227
|
+
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
3139
3228
|
return localVarFp.workSchedulesIdDelete(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3140
3229
|
},
|
|
3141
3230
|
/**
|
|
@@ -3145,7 +3234,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3145
3234
|
* @param {*} [options] Override http request option.
|
|
3146
3235
|
* @throws {RequiredError}
|
|
3147
3236
|
*/
|
|
3148
|
-
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3237
|
+
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse> {
|
|
3149
3238
|
return localVarFp.workSchedulesIdGet(requestParameters.id, options).then((request) => request(axios, basePath));
|
|
3150
3239
|
},
|
|
3151
3240
|
/**
|
|
@@ -3155,7 +3244,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3155
3244
|
* @param {*} [options] Override http request option.
|
|
3156
3245
|
* @throws {RequiredError}
|
|
3157
3246
|
*/
|
|
3158
|
-
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3247
|
+
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse> {
|
|
3159
3248
|
return localVarFp.workSchedulesIdPut(requestParameters.id, requestParameters.workScheduleUpdateRequest, options).then((request) => request(axios, basePath));
|
|
3160
3249
|
},
|
|
3161
3250
|
/**
|
|
@@ -3165,7 +3254,7 @@ export const WorkScheduleResourceApiFactory = function (configuration?: Configur
|
|
|
3165
3254
|
* @param {*} [options] Override http request option.
|
|
3166
3255
|
* @throws {RequiredError}
|
|
3167
3256
|
*/
|
|
3168
|
-
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3257
|
+
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse> {
|
|
3169
3258
|
return localVarFp.workSchedulesPost(requestParameters.workScheduleCreateRequest, options).then((request) => request(axios, basePath));
|
|
3170
3259
|
},
|
|
3171
3260
|
};
|
|
@@ -3182,7 +3271,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3182
3271
|
* @param {*} [options] Override http request option.
|
|
3183
3272
|
* @throws {RequiredError}
|
|
3184
3273
|
*/
|
|
3185
|
-
workSchedulesGet(requestParameters?: WorkScheduleResourceApiWorkSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3274
|
+
workSchedulesGet(requestParameters?: WorkScheduleResourceApiWorkSchedulesGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<PageResponse>;
|
|
3186
3275
|
|
|
3187
3276
|
/**
|
|
3188
3277
|
*
|
|
@@ -3191,7 +3280,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3191
3280
|
* @param {*} [options] Override http request option.
|
|
3192
3281
|
* @throws {RequiredError}
|
|
3193
3282
|
*/
|
|
3194
|
-
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3283
|
+
workSchedulesIdDelete(requestParameters: WorkScheduleResourceApiWorkSchedulesIdDeleteRequest, options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
3195
3284
|
|
|
3196
3285
|
/**
|
|
3197
3286
|
*
|
|
@@ -3200,7 +3289,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3200
3289
|
* @param {*} [options] Override http request option.
|
|
3201
3290
|
* @throws {RequiredError}
|
|
3202
3291
|
*/
|
|
3203
|
-
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3292
|
+
workSchedulesIdGet(requestParameters: WorkScheduleResourceApiWorkSchedulesIdGetRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse>;
|
|
3204
3293
|
|
|
3205
3294
|
/**
|
|
3206
3295
|
*
|
|
@@ -3209,7 +3298,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3209
3298
|
* @param {*} [options] Override http request option.
|
|
3210
3299
|
* @throws {RequiredError}
|
|
3211
3300
|
*/
|
|
3212
|
-
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3301
|
+
workSchedulesIdPut(requestParameters: WorkScheduleResourceApiWorkSchedulesIdPutRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse>;
|
|
3213
3302
|
|
|
3214
3303
|
/**
|
|
3215
3304
|
*
|
|
@@ -3218,7 +3307,7 @@ export interface WorkScheduleResourceApiInterface {
|
|
|
3218
3307
|
* @param {*} [options] Override http request option.
|
|
3219
3308
|
* @throws {RequiredError}
|
|
3220
3309
|
*/
|
|
3221
|
-
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3310
|
+
workSchedulesPost(requestParameters: WorkScheduleResourceApiWorkSchedulesPostRequest, options?: RawAxiosRequestConfig): AxiosPromise<WorkScheduleResponse>;
|
|
3222
3311
|
|
|
3223
3312
|
}
|
|
3224
3313
|
|