@gewis/grooster-backend-ts 1.3.3 → 1.3.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.
Files changed (49) hide show
  1. package/dist/api.d.ts +1551 -0
  2. package/dist/api.js +2067 -0
  3. package/dist/api.js.map +1 -0
  4. package/dist/base.d.ts +66 -0
  5. package/dist/base.js +64 -0
  6. package/dist/base.js.map +1 -0
  7. package/dist/common.d.ts +65 -0
  8. package/dist/common.js +153 -0
  9. package/dist/common.js.map +1 -0
  10. package/{src/configuration.ts → dist/configuration.d.ts} +4 -28
  11. package/dist/configuration.js +51 -0
  12. package/dist/configuration.js.map +1 -0
  13. package/{src/index.ts → dist/index.d.ts} +1 -6
  14. package/dist/index.js +31 -0
  15. package/dist/index.js.map +1 -0
  16. package/package.json +4 -1
  17. package/eslint.config.mjs +0 -10
  18. package/src/.openapi-generator/FILES +0 -31
  19. package/src/.openapi-generator/VERSION +0 -1
  20. package/src/.openapi-generator-ignore +0 -23
  21. package/src/api.ts +0 -2574
  22. package/src/base.ts +0 -86
  23. package/src/common.ts +0 -150
  24. package/src/docs/AuthApi.md +0 -117
  25. package/src/docs/GormDeletedAt.md +0 -22
  26. package/src/docs/Organ.md +0 -31
  27. package/src/docs/Roster.md +0 -42
  28. package/src/docs/RosterAnswer.md +0 -34
  29. package/src/docs/RosterAnswerApi.md +0 -117
  30. package/src/docs/RosterAnswerCreateRequest.md +0 -26
  31. package/src/docs/RosterAnswerUpdateRequest.md +0 -20
  32. package/src/docs/RosterApi.md +0 -545
  33. package/src/docs/RosterCreateRequest.md +0 -26
  34. package/src/docs/RosterShift.md +0 -30
  35. package/src/docs/RosterShiftApi.md +0 -112
  36. package/src/docs/RosterShiftCreateRequest.md +0 -22
  37. package/src/docs/RosterTemplate.md +0 -32
  38. package/src/docs/RosterTemplateCreateRequest.md +0 -24
  39. package/src/docs/RosterTemplateUpdateParams.md +0 -22
  40. package/src/docs/RosterUpdateRequest.md +0 -22
  41. package/src/docs/SavedShift.md +0 -34
  42. package/src/docs/SavedShiftApi.md +0 -170
  43. package/src/docs/SavedShiftUpdateRequest.md +0 -20
  44. package/src/docs/User.md +0 -32
  45. package/src/docs/UserApi.md +0 -224
  46. package/src/docs/UserCreateRequest.md +0 -24
  47. package/src/git_push.sh +0 -57
  48. package/tsconfig.eslint.json +0 -5
  49. package/tsconfig.json +0 -23
package/dist/api.d.ts ADDED
@@ -0,0 +1,1551 @@
1
+ /**
2
+ * GRooster
3
+ * A GEWIS Rooster maker
4
+ *
5
+ * The version of the OpenAPI document: 0.1
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Configuration } from "./configuration";
13
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from "axios";
14
+ import type { RequestArgs } from "./base";
15
+ import { BaseAPI } from "./base";
16
+ /**
17
+ *
18
+ * @export
19
+ * @interface GormDeletedAt
20
+ */
21
+ export interface GormDeletedAt {
22
+ /**
23
+ *
24
+ * @type {string}
25
+ * @memberof GormDeletedAt
26
+ */
27
+ time?: string;
28
+ /**
29
+ * Valid is true if Time is not NULL
30
+ * @type {boolean}
31
+ * @memberof GormDeletedAt
32
+ */
33
+ valid?: boolean;
34
+ }
35
+ /**
36
+ * An organ that users can be part of.
37
+ * @export
38
+ * @interface Organ
39
+ */
40
+ export interface Organ {
41
+ /**
42
+ *
43
+ * @type {string}
44
+ * @memberof Organ
45
+ */
46
+ createdAt?: string;
47
+ /**
48
+ *
49
+ * @type {GormDeletedAt}
50
+ * @memberof Organ
51
+ */
52
+ deletedAt?: GormDeletedAt;
53
+ /**
54
+ *
55
+ * @type {number}
56
+ * @memberof Organ
57
+ */
58
+ id?: number;
59
+ /**
60
+ *
61
+ * @type {string}
62
+ * @memberof Organ
63
+ */
64
+ name?: string;
65
+ /**
66
+ *
67
+ * @type {string}
68
+ * @memberof Organ
69
+ */
70
+ updatedAt?: string;
71
+ /**
72
+ *
73
+ * @type {Array<User>}
74
+ * @memberof Organ
75
+ */
76
+ users?: Array<User>;
77
+ }
78
+ /**
79
+ *
80
+ * @export
81
+ * @interface Roster
82
+ */
83
+ export interface Roster {
84
+ /**
85
+ *
86
+ * @type {string}
87
+ * @memberof Roster
88
+ */
89
+ createdAt?: string;
90
+ /**
91
+ *
92
+ * @type {string}
93
+ * @memberof Roster
94
+ */
95
+ date?: string;
96
+ /**
97
+ *
98
+ * @type {GormDeletedAt}
99
+ * @memberof Roster
100
+ */
101
+ deletedAt?: GormDeletedAt;
102
+ /**
103
+ *
104
+ * @type {number}
105
+ * @memberof Roster
106
+ */
107
+ id?: number;
108
+ /**
109
+ *
110
+ * @type {string}
111
+ * @memberof Roster
112
+ */
113
+ name?: string;
114
+ /**
115
+ *
116
+ * @type {Organ}
117
+ * @memberof Roster
118
+ */
119
+ organ?: Organ;
120
+ /**
121
+ *
122
+ * @type {number}
123
+ * @memberof Roster
124
+ */
125
+ organId?: number;
126
+ /**
127
+ *
128
+ * @type {Array<RosterAnswer>}
129
+ * @memberof Roster
130
+ */
131
+ rosterAnswer?: Array<RosterAnswer>;
132
+ /**
133
+ *
134
+ * @type {Array<RosterShift>}
135
+ * @memberof Roster
136
+ */
137
+ rosterShift?: Array<RosterShift>;
138
+ /**
139
+ *
140
+ * @type {boolean}
141
+ * @memberof Roster
142
+ */
143
+ saved?: boolean;
144
+ /**
145
+ *
146
+ * @type {string}
147
+ * @memberof Roster
148
+ */
149
+ updatedAt?: string;
150
+ /**
151
+ *
152
+ * @type {Array<string>}
153
+ * @memberof Roster
154
+ */
155
+ values?: Array<string>;
156
+ }
157
+ /**
158
+ *
159
+ * @export
160
+ * @interface RosterAnswer
161
+ */
162
+ export interface RosterAnswer {
163
+ /**
164
+ *
165
+ * @type {string}
166
+ * @memberof RosterAnswer
167
+ */
168
+ createdAt?: string;
169
+ /**
170
+ *
171
+ * @type {GormDeletedAt}
172
+ * @memberof RosterAnswer
173
+ */
174
+ deletedAt?: GormDeletedAt;
175
+ /**
176
+ *
177
+ * @type {number}
178
+ * @memberof RosterAnswer
179
+ */
180
+ id?: number;
181
+ /**
182
+ *
183
+ * @type {number}
184
+ * @memberof RosterAnswer
185
+ */
186
+ rosterId?: number;
187
+ /**
188
+ *
189
+ * @type {number}
190
+ * @memberof RosterAnswer
191
+ */
192
+ rosterShiftId?: number;
193
+ /**
194
+ *
195
+ * @type {string}
196
+ * @memberof RosterAnswer
197
+ */
198
+ updatedAt?: string;
199
+ /**
200
+ *
201
+ * @type {number}
202
+ * @memberof RosterAnswer
203
+ */
204
+ userId?: number;
205
+ /**
206
+ *
207
+ * @type {string}
208
+ * @memberof RosterAnswer
209
+ */
210
+ value?: string;
211
+ }
212
+ /**
213
+ *
214
+ * @export
215
+ * @interface RosterAnswerCreateRequest
216
+ */
217
+ export interface RosterAnswerCreateRequest {
218
+ /**
219
+ *
220
+ * @type {number}
221
+ * @memberof RosterAnswerCreateRequest
222
+ */
223
+ rosterId?: number;
224
+ /**
225
+ *
226
+ * @type {number}
227
+ * @memberof RosterAnswerCreateRequest
228
+ */
229
+ rosterShiftId?: number;
230
+ /**
231
+ *
232
+ * @type {number}
233
+ * @memberof RosterAnswerCreateRequest
234
+ */
235
+ userId?: number;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof RosterAnswerCreateRequest
240
+ */
241
+ value?: string;
242
+ }
243
+ /**
244
+ *
245
+ * @export
246
+ * @interface RosterAnswerUpdateRequest
247
+ */
248
+ export interface RosterAnswerUpdateRequest {
249
+ /**
250
+ *
251
+ * @type {string}
252
+ * @memberof RosterAnswerUpdateRequest
253
+ */
254
+ value?: string;
255
+ }
256
+ /**
257
+ *
258
+ * @export
259
+ * @interface RosterCreateRequest
260
+ */
261
+ export interface RosterCreateRequest {
262
+ /**
263
+ *
264
+ * @type {string}
265
+ * @memberof RosterCreateRequest
266
+ */
267
+ date?: string;
268
+ /**
269
+ *
270
+ * @type {string}
271
+ * @memberof RosterCreateRequest
272
+ */
273
+ name?: string;
274
+ /**
275
+ *
276
+ * @type {number}
277
+ * @memberof RosterCreateRequest
278
+ */
279
+ organId?: number;
280
+ /**
281
+ *
282
+ * @type {Array<string>}
283
+ * @memberof RosterCreateRequest
284
+ */
285
+ shifts?: Array<string>;
286
+ }
287
+ /**
288
+ *
289
+ * @export
290
+ * @interface RosterShift
291
+ */
292
+ export interface RosterShift {
293
+ /**
294
+ *
295
+ * @type {string}
296
+ * @memberof RosterShift
297
+ */
298
+ createdAt?: string;
299
+ /**
300
+ *
301
+ * @type {GormDeletedAt}
302
+ * @memberof RosterShift
303
+ */
304
+ deletedAt?: GormDeletedAt;
305
+ /**
306
+ *
307
+ * @type {number}
308
+ * @memberof RosterShift
309
+ */
310
+ id?: number;
311
+ /**
312
+ *
313
+ * @type {string}
314
+ * @memberof RosterShift
315
+ */
316
+ name?: string;
317
+ /**
318
+ *
319
+ * @type {number}
320
+ * @memberof RosterShift
321
+ */
322
+ rosterId?: number;
323
+ /**
324
+ *
325
+ * @type {string}
326
+ * @memberof RosterShift
327
+ */
328
+ updatedAt?: string;
329
+ }
330
+ /**
331
+ *
332
+ * @export
333
+ * @interface RosterShiftCreateRequest
334
+ */
335
+ export interface RosterShiftCreateRequest {
336
+ /**
337
+ *
338
+ * @type {string}
339
+ * @memberof RosterShiftCreateRequest
340
+ */
341
+ name?: string;
342
+ /**
343
+ *
344
+ * @type {number}
345
+ * @memberof RosterShiftCreateRequest
346
+ */
347
+ rosterId?: number;
348
+ }
349
+ /**
350
+ *
351
+ * @export
352
+ * @interface RosterTemplate
353
+ */
354
+ export interface RosterTemplate {
355
+ /**
356
+ *
357
+ * @type {string}
358
+ * @memberof RosterTemplate
359
+ */
360
+ createdAt?: string;
361
+ /**
362
+ *
363
+ * @type {GormDeletedAt}
364
+ * @memberof RosterTemplate
365
+ */
366
+ deletedAt?: GormDeletedAt;
367
+ /**
368
+ *
369
+ * @type {number}
370
+ * @memberof RosterTemplate
371
+ */
372
+ id?: number;
373
+ /**
374
+ *
375
+ * @type {string}
376
+ * @memberof RosterTemplate
377
+ */
378
+ name?: string;
379
+ /**
380
+ *
381
+ * @type {number}
382
+ * @memberof RosterTemplate
383
+ */
384
+ organId?: number;
385
+ /**
386
+ *
387
+ * @type {Array<string>}
388
+ * @memberof RosterTemplate
389
+ */
390
+ shifts?: Array<string>;
391
+ /**
392
+ *
393
+ * @type {string}
394
+ * @memberof RosterTemplate
395
+ */
396
+ updatedAt?: string;
397
+ }
398
+ /**
399
+ *
400
+ * @export
401
+ * @interface RosterTemplateCreateRequest
402
+ */
403
+ export interface RosterTemplateCreateRequest {
404
+ /**
405
+ *
406
+ * @type {string}
407
+ * @memberof RosterTemplateCreateRequest
408
+ */
409
+ name?: string;
410
+ /**
411
+ *
412
+ * @type {number}
413
+ * @memberof RosterTemplateCreateRequest
414
+ */
415
+ organId?: number;
416
+ /**
417
+ *
418
+ * @type {Array<string>}
419
+ * @memberof RosterTemplateCreateRequest
420
+ */
421
+ shifts?: Array<string>;
422
+ }
423
+ /**
424
+ *
425
+ * @export
426
+ * @interface RosterTemplateUpdateParams
427
+ */
428
+ export interface RosterTemplateUpdateParams {
429
+ /**
430
+ *
431
+ * @type {string}
432
+ * @memberof RosterTemplateUpdateParams
433
+ */
434
+ name?: string;
435
+ /**
436
+ *
437
+ * @type {Array<string>}
438
+ * @memberof RosterTemplateUpdateParams
439
+ */
440
+ shifts?: Array<string>;
441
+ }
442
+ /**
443
+ *
444
+ * @export
445
+ * @interface RosterUpdateRequest
446
+ */
447
+ export interface RosterUpdateRequest {
448
+ /**
449
+ *
450
+ * @type {string}
451
+ * @memberof RosterUpdateRequest
452
+ */
453
+ date?: string;
454
+ /**
455
+ *
456
+ * @type {string}
457
+ * @memberof RosterUpdateRequest
458
+ */
459
+ name?: string;
460
+ }
461
+ /**
462
+ *
463
+ * @export
464
+ * @interface SavedShift
465
+ */
466
+ export interface SavedShift {
467
+ /**
468
+ *
469
+ * @type {string}
470
+ * @memberof SavedShift
471
+ */
472
+ createdAt?: string;
473
+ /**
474
+ *
475
+ * @type {GormDeletedAt}
476
+ * @memberof SavedShift
477
+ */
478
+ deletedAt?: GormDeletedAt;
479
+ /**
480
+ *
481
+ * @type {number}
482
+ * @memberof SavedShift
483
+ */
484
+ id?: number;
485
+ /**
486
+ *
487
+ * @type {number}
488
+ * @memberof SavedShift
489
+ */
490
+ rosterId?: number;
491
+ /**
492
+ *
493
+ * @type {RosterShift}
494
+ * @memberof SavedShift
495
+ */
496
+ rosterShift?: RosterShift;
497
+ /**
498
+ *
499
+ * @type {number}
500
+ * @memberof SavedShift
501
+ */
502
+ rosterShiftId?: number;
503
+ /**
504
+ *
505
+ * @type {string}
506
+ * @memberof SavedShift
507
+ */
508
+ updatedAt?: string;
509
+ /**
510
+ *
511
+ * @type {Array<User>}
512
+ * @memberof SavedShift
513
+ */
514
+ users?: Array<User>;
515
+ }
516
+ /**
517
+ *
518
+ * @export
519
+ * @interface SavedShiftUpdateRequest
520
+ */
521
+ export interface SavedShiftUpdateRequest {
522
+ /**
523
+ *
524
+ * @type {Array<number>}
525
+ * @memberof SavedShiftUpdateRequest
526
+ */
527
+ users?: Array<number>;
528
+ }
529
+ /**
530
+ *
531
+ * @export
532
+ * @interface User
533
+ */
534
+ export interface User {
535
+ /**
536
+ *
537
+ * @type {string}
538
+ * @memberof User
539
+ */
540
+ createdAt?: string;
541
+ /**
542
+ *
543
+ * @type {GormDeletedAt}
544
+ * @memberof User
545
+ */
546
+ deletedAt?: GormDeletedAt;
547
+ /**
548
+ *
549
+ * @type {number}
550
+ * @memberof User
551
+ */
552
+ gewis_id?: number;
553
+ /**
554
+ *
555
+ * @type {number}
556
+ * @memberof User
557
+ */
558
+ id?: number;
559
+ /**
560
+ *
561
+ * @type {string}
562
+ * @memberof User
563
+ */
564
+ name?: string;
565
+ /**
566
+ *
567
+ * @type {Array<Organ>}
568
+ * @memberof User
569
+ */
570
+ organs?: Array<Organ>;
571
+ /**
572
+ *
573
+ * @type {string}
574
+ * @memberof User
575
+ */
576
+ updatedAt?: string;
577
+ }
578
+ /**
579
+ *
580
+ * @export
581
+ * @interface UserCreateRequest
582
+ */
583
+ export interface UserCreateRequest {
584
+ /**
585
+ *
586
+ * @type {number}
587
+ * @memberof UserCreateRequest
588
+ */
589
+ gewisid?: number;
590
+ /**
591
+ *
592
+ * @type {string}
593
+ * @memberof UserCreateRequest
594
+ */
595
+ name?: string;
596
+ /**
597
+ *
598
+ * @type {Array<Organ>}
599
+ * @memberof UserCreateRequest
600
+ */
601
+ organs?: Array<Organ>;
602
+ }
603
+ /**
604
+ * AuthApi - axios parameter creator
605
+ * @export
606
+ */
607
+ export declare const AuthApiAxiosParamCreator: (configuration?: Configuration) => {
608
+ /**
609
+ * Validates state, exchanges code for token, and returns user info
610
+ * @summary Handle OAuth2 Callback
611
+ * @param {string} state State returned from provider
612
+ * @param {string} code Authorization code from provider
613
+ * @param {*} [options] Override http request option.
614
+ * @throws {RequiredError}
615
+ */
616
+ authCallbackGet: (state: string, code: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
617
+ /**
618
+ * Generates state, sets a cookie, and redirects to Google OIDC
619
+ * @summary Redirect to OIDC provider
620
+ * @param {string} state State returned from provider
621
+ * @param {*} [options] Override http request option.
622
+ * @throws {RequiredError}
623
+ */
624
+ authRedirectGet: (state: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
625
+ };
626
+ /**
627
+ * AuthApi - functional programming interface
628
+ * @export
629
+ */
630
+ export declare const AuthApiFp: (configuration?: Configuration) => {
631
+ /**
632
+ * Validates state, exchanges code for token, and returns user info
633
+ * @summary Handle OAuth2 Callback
634
+ * @param {string} state State returned from provider
635
+ * @param {string} code Authorization code from provider
636
+ * @param {*} [options] Override http request option.
637
+ * @throws {RequiredError}
638
+ */
639
+ authCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<{
640
+ [key: string]: string;
641
+ }>>;
642
+ /**
643
+ * Generates state, sets a cookie, and redirects to Google OIDC
644
+ * @summary Redirect to OIDC provider
645
+ * @param {string} state State returned from provider
646
+ * @param {*} [options] Override http request option.
647
+ * @throws {RequiredError}
648
+ */
649
+ authRedirectGet(state: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
650
+ };
651
+ /**
652
+ * AuthApi - factory interface
653
+ * @export
654
+ */
655
+ export declare const AuthApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
656
+ /**
657
+ * Validates state, exchanges code for token, and returns user info
658
+ * @summary Handle OAuth2 Callback
659
+ * @param {string} state State returned from provider
660
+ * @param {string} code Authorization code from provider
661
+ * @param {*} [options] Override http request option.
662
+ * @throws {RequiredError}
663
+ */
664
+ authCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): AxiosPromise<{
665
+ [key: string]: string;
666
+ }>;
667
+ /**
668
+ * Generates state, sets a cookie, and redirects to Google OIDC
669
+ * @summary Redirect to OIDC provider
670
+ * @param {string} state State returned from provider
671
+ * @param {*} [options] Override http request option.
672
+ * @throws {RequiredError}
673
+ */
674
+ authRedirectGet(state: string, options?: RawAxiosRequestConfig): AxiosPromise<string>;
675
+ };
676
+ /**
677
+ * AuthApi - object-oriented interface
678
+ * @export
679
+ * @class AuthApi
680
+ * @extends {BaseAPI}
681
+ */
682
+ export declare class AuthApi extends BaseAPI {
683
+ /**
684
+ * Validates state, exchanges code for token, and returns user info
685
+ * @summary Handle OAuth2 Callback
686
+ * @param {string} state State returned from provider
687
+ * @param {string} code Authorization code from provider
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ * @memberof AuthApi
691
+ */
692
+ authCallbackGet(state: string, code: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<{
693
+ [key: string]: string;
694
+ }, any, {}>>;
695
+ /**
696
+ * Generates state, sets a cookie, and redirects to Google OIDC
697
+ * @summary Redirect to OIDC provider
698
+ * @param {string} state State returned from provider
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ * @memberof AuthApi
702
+ */
703
+ authRedirectGet(state: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
704
+ }
705
+ /**
706
+ * RosterApi - axios parameter creator
707
+ * @export
708
+ */
709
+ export declare const RosterApiAxiosParamCreator: (configuration?: Configuration) => {
710
+ /**
711
+ *
712
+ * @summary CreateRoster a new roster
713
+ * @param {RosterCreateRequest} createParams Roster input
714
+ * @param {*} [options] Override http request option.
715
+ * @throws {RequiredError}
716
+ */
717
+ createRoster: (createParams: RosterCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
718
+ /**
719
+ *
720
+ * @summary Creates a template of a roster by defining the name of the shifts
721
+ * @param {RosterTemplateCreateRequest} [params] Template Params
722
+ * @param {*} [options] Override http request option.
723
+ * @throws {RequiredError}
724
+ */
725
+ createRosterTemplate: (params?: RosterTemplateCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
726
+ /**
727
+ *
728
+ * @summary DeleteRoster a roster
729
+ * @param {number} id Roster ID
730
+ * @param {*} [options] Override http request option.
731
+ * @throws {RequiredError}
732
+ */
733
+ deleteRoster: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
734
+ /**
735
+ *
736
+ * @summary Deletes a roster template by ID
737
+ * @param {number} id Template ID
738
+ * @param {*} [options] Override http request option.
739
+ * @throws {RequiredError}
740
+ */
741
+ deleteRosterTemplate: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
742
+ /**
743
+ *
744
+ * @summary Get a specific roster by id
745
+ * @param {number} id Roster ID
746
+ * @param {*} [options] Override http request option.
747
+ * @throws {RequiredError}
748
+ */
749
+ getRoster: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
750
+ /**
751
+ *
752
+ * @summary Get a roster template by ID
753
+ * @param {number} id Template ID
754
+ * @param {*} [options] Override http request option.
755
+ * @throws {RequiredError}
756
+ */
757
+ getRosterTemplate: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
758
+ /**
759
+ *
760
+ * @summary Get all rosters templates or query by organ ID
761
+ * @param {number} [organId]
762
+ * @param {*} [options] Override http request option.
763
+ * @throws {RequiredError}
764
+ */
765
+ getRosterTemplates: (organId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
766
+ /**
767
+ *
768
+ * @summary Get all rosters or query by date and organ
769
+ * @param {string} [date] Date filter (ISO format)
770
+ * @param {number} [organId] Organ ID filter
771
+ * @param {*} [options] Override http request option.
772
+ * @throws {RequiredError}
773
+ */
774
+ getRosters: (date?: string, organId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
775
+ /**
776
+ *
777
+ * @summary Update a roster
778
+ * @param {number} id Roster ID
779
+ * @param {RosterUpdateRequest} updateParams Roster input
780
+ * @param {*} [options] Override http request option.
781
+ * @throws {RequiredError}
782
+ */
783
+ updateRoster: (id: number, updateParams: RosterUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
784
+ /**
785
+ *
786
+ * @summary Updates a roster template by ID
787
+ * @param {number} id Template ID
788
+ * @param {RosterTemplateUpdateParams} [params] Update params
789
+ * @param {*} [options] Override http request option.
790
+ * @throws {RequiredError}
791
+ */
792
+ updateRosterTemplate: (id: number, params?: RosterTemplateUpdateParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
793
+ };
794
+ /**
795
+ * RosterApi - functional programming interface
796
+ * @export
797
+ */
798
+ export declare const RosterApiFp: (configuration?: Configuration) => {
799
+ /**
800
+ *
801
+ * @summary CreateRoster a new roster
802
+ * @param {RosterCreateRequest} createParams Roster input
803
+ * @param {*} [options] Override http request option.
804
+ * @throws {RequiredError}
805
+ */
806
+ createRoster(createParams: RosterCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Roster>>;
807
+ /**
808
+ *
809
+ * @summary Creates a template of a roster by defining the name of the shifts
810
+ * @param {RosterTemplateCreateRequest} [params] Template Params
811
+ * @param {*} [options] Override http request option.
812
+ * @throws {RequiredError}
813
+ */
814
+ createRosterTemplate(params?: RosterTemplateCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RosterTemplate>>>;
815
+ /**
816
+ *
817
+ * @summary DeleteRoster a roster
818
+ * @param {number} id Roster ID
819
+ * @param {*} [options] Override http request option.
820
+ * @throws {RequiredError}
821
+ */
822
+ deleteRoster(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
823
+ /**
824
+ *
825
+ * @summary Deletes a roster template by ID
826
+ * @param {number} id Template ID
827
+ * @param {*} [options] Override http request option.
828
+ * @throws {RequiredError}
829
+ */
830
+ deleteRosterTemplate(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
831
+ /**
832
+ *
833
+ * @summary Get a specific roster by id
834
+ * @param {number} id Roster ID
835
+ * @param {*} [options] Override http request option.
836
+ * @throws {RequiredError}
837
+ */
838
+ getRoster(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Roster>>;
839
+ /**
840
+ *
841
+ * @summary Get a roster template by ID
842
+ * @param {number} id Template ID
843
+ * @param {*} [options] Override http request option.
844
+ * @throws {RequiredError}
845
+ */
846
+ getRosterTemplate(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterTemplate>>;
847
+ /**
848
+ *
849
+ * @summary Get all rosters templates or query by organ ID
850
+ * @param {number} [organId]
851
+ * @param {*} [options] Override http request option.
852
+ * @throws {RequiredError}
853
+ */
854
+ getRosterTemplates(organId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RosterTemplate>>>;
855
+ /**
856
+ *
857
+ * @summary Get all rosters or query by date and organ
858
+ * @param {string} [date] Date filter (ISO format)
859
+ * @param {number} [organId] Organ ID filter
860
+ * @param {*} [options] Override http request option.
861
+ * @throws {RequiredError}
862
+ */
863
+ getRosters(date?: string, organId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Roster>>>;
864
+ /**
865
+ *
866
+ * @summary Update a roster
867
+ * @param {number} id Roster ID
868
+ * @param {RosterUpdateRequest} updateParams Roster input
869
+ * @param {*} [options] Override http request option.
870
+ * @throws {RequiredError}
871
+ */
872
+ updateRoster(id: number, updateParams: RosterUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Roster>>;
873
+ /**
874
+ *
875
+ * @summary Updates a roster template by ID
876
+ * @param {number} id Template ID
877
+ * @param {RosterTemplateUpdateParams} [params] Update params
878
+ * @param {*} [options] Override http request option.
879
+ * @throws {RequiredError}
880
+ */
881
+ updateRosterTemplate(id: number, params?: RosterTemplateUpdateParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterTemplate>>;
882
+ };
883
+ /**
884
+ * RosterApi - factory interface
885
+ * @export
886
+ */
887
+ export declare const RosterApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
888
+ /**
889
+ *
890
+ * @summary CreateRoster a new roster
891
+ * @param {RosterCreateRequest} createParams Roster input
892
+ * @param {*} [options] Override http request option.
893
+ * @throws {RequiredError}
894
+ */
895
+ createRoster(createParams: RosterCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Roster>;
896
+ /**
897
+ *
898
+ * @summary Creates a template of a roster by defining the name of the shifts
899
+ * @param {RosterTemplateCreateRequest} [params] Template Params
900
+ * @param {*} [options] Override http request option.
901
+ * @throws {RequiredError}
902
+ */
903
+ createRosterTemplate(params?: RosterTemplateCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RosterTemplate>>;
904
+ /**
905
+ *
906
+ * @summary DeleteRoster a roster
907
+ * @param {number} id Roster ID
908
+ * @param {*} [options] Override http request option.
909
+ * @throws {RequiredError}
910
+ */
911
+ deleteRoster(id: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
912
+ /**
913
+ *
914
+ * @summary Deletes a roster template by ID
915
+ * @param {number} id Template ID
916
+ * @param {*} [options] Override http request option.
917
+ * @throws {RequiredError}
918
+ */
919
+ deleteRosterTemplate(id: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
920
+ /**
921
+ *
922
+ * @summary Get a specific roster by id
923
+ * @param {number} id Roster ID
924
+ * @param {*} [options] Override http request option.
925
+ * @throws {RequiredError}
926
+ */
927
+ getRoster(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Roster>;
928
+ /**
929
+ *
930
+ * @summary Get a roster template by ID
931
+ * @param {number} id Template ID
932
+ * @param {*} [options] Override http request option.
933
+ * @throws {RequiredError}
934
+ */
935
+ getRosterTemplate(id: number, options?: RawAxiosRequestConfig): AxiosPromise<RosterTemplate>;
936
+ /**
937
+ *
938
+ * @summary Get all rosters templates or query by organ ID
939
+ * @param {number} [organId]
940
+ * @param {*} [options] Override http request option.
941
+ * @throws {RequiredError}
942
+ */
943
+ getRosterTemplates(organId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<RosterTemplate>>;
944
+ /**
945
+ *
946
+ * @summary Get all rosters or query by date and organ
947
+ * @param {string} [date] Date filter (ISO format)
948
+ * @param {number} [organId] Organ ID filter
949
+ * @param {*} [options] Override http request option.
950
+ * @throws {RequiredError}
951
+ */
952
+ getRosters(date?: string, organId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Roster>>;
953
+ /**
954
+ *
955
+ * @summary Update a roster
956
+ * @param {number} id Roster ID
957
+ * @param {RosterUpdateRequest} updateParams Roster input
958
+ * @param {*} [options] Override http request option.
959
+ * @throws {RequiredError}
960
+ */
961
+ updateRoster(id: number, updateParams: RosterUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Roster>;
962
+ /**
963
+ *
964
+ * @summary Updates a roster template by ID
965
+ * @param {number} id Template ID
966
+ * @param {RosterTemplateUpdateParams} [params] Update params
967
+ * @param {*} [options] Override http request option.
968
+ * @throws {RequiredError}
969
+ */
970
+ updateRosterTemplate(id: number, params?: RosterTemplateUpdateParams, options?: RawAxiosRequestConfig): AxiosPromise<RosterTemplate>;
971
+ };
972
+ /**
973
+ * RosterApi - object-oriented interface
974
+ * @export
975
+ * @class RosterApi
976
+ * @extends {BaseAPI}
977
+ */
978
+ export declare class RosterApi extends BaseAPI {
979
+ /**
980
+ *
981
+ * @summary CreateRoster a new roster
982
+ * @param {RosterCreateRequest} createParams Roster input
983
+ * @param {*} [options] Override http request option.
984
+ * @throws {RequiredError}
985
+ * @memberof RosterApi
986
+ */
987
+ createRoster(createParams: RosterCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Roster, any, {}>>;
988
+ /**
989
+ *
990
+ * @summary Creates a template of a roster by defining the name of the shifts
991
+ * @param {RosterTemplateCreateRequest} [params] Template Params
992
+ * @param {*} [options] Override http request option.
993
+ * @throws {RequiredError}
994
+ * @memberof RosterApi
995
+ */
996
+ createRosterTemplate(params?: RosterTemplateCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplate[], any, {}>>;
997
+ /**
998
+ *
999
+ * @summary DeleteRoster a roster
1000
+ * @param {number} id Roster ID
1001
+ * @param {*} [options] Override http request option.
1002
+ * @throws {RequiredError}
1003
+ * @memberof RosterApi
1004
+ */
1005
+ deleteRoster(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
1006
+ /**
1007
+ *
1008
+ * @summary Deletes a roster template by ID
1009
+ * @param {number} id Template ID
1010
+ * @param {*} [options] Override http request option.
1011
+ * @throws {RequiredError}
1012
+ * @memberof RosterApi
1013
+ */
1014
+ deleteRosterTemplate(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
1015
+ /**
1016
+ *
1017
+ * @summary Get a specific roster by id
1018
+ * @param {number} id Roster ID
1019
+ * @param {*} [options] Override http request option.
1020
+ * @throws {RequiredError}
1021
+ * @memberof RosterApi
1022
+ */
1023
+ getRoster(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Roster, any, {}>>;
1024
+ /**
1025
+ *
1026
+ * @summary Get a roster template by ID
1027
+ * @param {number} id Template ID
1028
+ * @param {*} [options] Override http request option.
1029
+ * @throws {RequiredError}
1030
+ * @memberof RosterApi
1031
+ */
1032
+ getRosterTemplate(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplate, any, {}>>;
1033
+ /**
1034
+ *
1035
+ * @summary Get all rosters templates or query by organ ID
1036
+ * @param {number} [organId]
1037
+ * @param {*} [options] Override http request option.
1038
+ * @throws {RequiredError}
1039
+ * @memberof RosterApi
1040
+ */
1041
+ getRosterTemplates(organId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplate[], any, {}>>;
1042
+ /**
1043
+ *
1044
+ * @summary Get all rosters or query by date and organ
1045
+ * @param {string} [date] Date filter (ISO format)
1046
+ * @param {number} [organId] Organ ID filter
1047
+ * @param {*} [options] Override http request option.
1048
+ * @throws {RequiredError}
1049
+ * @memberof RosterApi
1050
+ */
1051
+ getRosters(date?: string, organId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Roster[], any, {}>>;
1052
+ /**
1053
+ *
1054
+ * @summary Update a roster
1055
+ * @param {number} id Roster ID
1056
+ * @param {RosterUpdateRequest} updateParams Roster input
1057
+ * @param {*} [options] Override http request option.
1058
+ * @throws {RequiredError}
1059
+ * @memberof RosterApi
1060
+ */
1061
+ updateRoster(id: number, updateParams: RosterUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Roster, any, {}>>;
1062
+ /**
1063
+ *
1064
+ * @summary Updates a roster template by ID
1065
+ * @param {number} id Template ID
1066
+ * @param {RosterTemplateUpdateParams} [params] Update params
1067
+ * @param {*} [options] Override http request option.
1068
+ * @throws {RequiredError}
1069
+ * @memberof RosterApi
1070
+ */
1071
+ updateRosterTemplate(id: number, params?: RosterTemplateUpdateParams, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplate, any, {}>>;
1072
+ }
1073
+ /**
1074
+ * RosterAnswerApi - axios parameter creator
1075
+ * @export
1076
+ */
1077
+ export declare const RosterAnswerApiAxiosParamCreator: (configuration?: Configuration) => {
1078
+ /**
1079
+ *
1080
+ * @summary Create a new roster shift answer
1081
+ * @param {RosterAnswerCreateRequest} createParams Roster answer input
1082
+ * @param {*} [options] Override http request option.
1083
+ * @throws {RequiredError}
1084
+ */
1085
+ createRosterAnswer: (createParams: RosterAnswerCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1086
+ /**
1087
+ *
1088
+ * @summary Updates a roster answer with the new value
1089
+ * @param {number} id Roster Answer ID
1090
+ * @param {RosterAnswerUpdateRequest} updateParams New answer value
1091
+ * @param {*} [options] Override http request option.
1092
+ * @throws {RequiredError}
1093
+ */
1094
+ updateRosterAnswer: (id: number, updateParams: RosterAnswerUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1095
+ };
1096
+ /**
1097
+ * RosterAnswerApi - functional programming interface
1098
+ * @export
1099
+ */
1100
+ export declare const RosterAnswerApiFp: (configuration?: Configuration) => {
1101
+ /**
1102
+ *
1103
+ * @summary Create a new roster shift answer
1104
+ * @param {RosterAnswerCreateRequest} createParams Roster answer input
1105
+ * @param {*} [options] Override http request option.
1106
+ * @throws {RequiredError}
1107
+ */
1108
+ createRosterAnswer(createParams: RosterAnswerCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterAnswer>>;
1109
+ /**
1110
+ *
1111
+ * @summary Updates a roster answer with the new value
1112
+ * @param {number} id Roster Answer ID
1113
+ * @param {RosterAnswerUpdateRequest} updateParams New answer value
1114
+ * @param {*} [options] Override http request option.
1115
+ * @throws {RequiredError}
1116
+ */
1117
+ updateRosterAnswer(id: number, updateParams: RosterAnswerUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterAnswer>>;
1118
+ };
1119
+ /**
1120
+ * RosterAnswerApi - factory interface
1121
+ * @export
1122
+ */
1123
+ export declare const RosterAnswerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1124
+ /**
1125
+ *
1126
+ * @summary Create a new roster shift answer
1127
+ * @param {RosterAnswerCreateRequest} createParams Roster answer input
1128
+ * @param {*} [options] Override http request option.
1129
+ * @throws {RequiredError}
1130
+ */
1131
+ createRosterAnswer(createParams: RosterAnswerCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterAnswer>;
1132
+ /**
1133
+ *
1134
+ * @summary Updates a roster answer with the new value
1135
+ * @param {number} id Roster Answer ID
1136
+ * @param {RosterAnswerUpdateRequest} updateParams New answer value
1137
+ * @param {*} [options] Override http request option.
1138
+ * @throws {RequiredError}
1139
+ */
1140
+ updateRosterAnswer(id: number, updateParams: RosterAnswerUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterAnswer>;
1141
+ };
1142
+ /**
1143
+ * RosterAnswerApi - object-oriented interface
1144
+ * @export
1145
+ * @class RosterAnswerApi
1146
+ * @extends {BaseAPI}
1147
+ */
1148
+ export declare class RosterAnswerApi extends BaseAPI {
1149
+ /**
1150
+ *
1151
+ * @summary Create a new roster shift answer
1152
+ * @param {RosterAnswerCreateRequest} createParams Roster answer input
1153
+ * @param {*} [options] Override http request option.
1154
+ * @throws {RequiredError}
1155
+ * @memberof RosterAnswerApi
1156
+ */
1157
+ createRosterAnswer(createParams: RosterAnswerCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterAnswer, any, {}>>;
1158
+ /**
1159
+ *
1160
+ * @summary Updates a roster answer with the new value
1161
+ * @param {number} id Roster Answer ID
1162
+ * @param {RosterAnswerUpdateRequest} updateParams New answer value
1163
+ * @param {*} [options] Override http request option.
1164
+ * @throws {RequiredError}
1165
+ * @memberof RosterAnswerApi
1166
+ */
1167
+ updateRosterAnswer(id: number, updateParams: RosterAnswerUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterAnswer, any, {}>>;
1168
+ }
1169
+ /**
1170
+ * RosterShiftApi - axios parameter creator
1171
+ * @export
1172
+ */
1173
+ export declare const RosterShiftApiAxiosParamCreator: (configuration?: Configuration) => {
1174
+ /**
1175
+ *
1176
+ * @summary Create a new roster shift
1177
+ * @param {RosterShiftCreateRequest} createParams Roster shift input
1178
+ * @param {*} [options] Override http request option.
1179
+ * @throws {RequiredError}
1180
+ */
1181
+ createRosterShift: (createParams: RosterShiftCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1182
+ /**
1183
+ *
1184
+ * @summary Deletes a roster shift
1185
+ * @param {number} id Roster Answer ID
1186
+ * @param {*} [options] Override http request option.
1187
+ * @throws {RequiredError}
1188
+ */
1189
+ deleteRosterShift: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1190
+ };
1191
+ /**
1192
+ * RosterShiftApi - functional programming interface
1193
+ * @export
1194
+ */
1195
+ export declare const RosterShiftApiFp: (configuration?: Configuration) => {
1196
+ /**
1197
+ *
1198
+ * @summary Create a new roster shift
1199
+ * @param {RosterShiftCreateRequest} createParams Roster shift input
1200
+ * @param {*} [options] Override http request option.
1201
+ * @throws {RequiredError}
1202
+ */
1203
+ createRosterShift(createParams: RosterShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterShift>>;
1204
+ /**
1205
+ *
1206
+ * @summary Deletes a roster shift
1207
+ * @param {number} id Roster Answer ID
1208
+ * @param {*} [options] Override http request option.
1209
+ * @throws {RequiredError}
1210
+ */
1211
+ deleteRosterShift(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1212
+ };
1213
+ /**
1214
+ * RosterShiftApi - factory interface
1215
+ * @export
1216
+ */
1217
+ export declare const RosterShiftApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1218
+ /**
1219
+ *
1220
+ * @summary Create a new roster shift
1221
+ * @param {RosterShiftCreateRequest} createParams Roster shift input
1222
+ * @param {*} [options] Override http request option.
1223
+ * @throws {RequiredError}
1224
+ */
1225
+ createRosterShift(createParams: RosterShiftCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterShift>;
1226
+ /**
1227
+ *
1228
+ * @summary Deletes a roster shift
1229
+ * @param {number} id Roster Answer ID
1230
+ * @param {*} [options] Override http request option.
1231
+ * @throws {RequiredError}
1232
+ */
1233
+ deleteRosterShift(id: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1234
+ };
1235
+ /**
1236
+ * RosterShiftApi - object-oriented interface
1237
+ * @export
1238
+ * @class RosterShiftApi
1239
+ * @extends {BaseAPI}
1240
+ */
1241
+ export declare class RosterShiftApi extends BaseAPI {
1242
+ /**
1243
+ *
1244
+ * @summary Create a new roster shift
1245
+ * @param {RosterShiftCreateRequest} createParams Roster shift input
1246
+ * @param {*} [options] Override http request option.
1247
+ * @throws {RequiredError}
1248
+ * @memberof RosterShiftApi
1249
+ */
1250
+ createRosterShift(createParams: RosterShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterShift, any, {}>>;
1251
+ /**
1252
+ *
1253
+ * @summary Deletes a roster shift
1254
+ * @param {number} id Roster Answer ID
1255
+ * @param {*} [options] Override http request option.
1256
+ * @throws {RequiredError}
1257
+ * @memberof RosterShiftApi
1258
+ */
1259
+ deleteRosterShift(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
1260
+ }
1261
+ /**
1262
+ * SavedShiftApi - axios parameter creator
1263
+ * @export
1264
+ */
1265
+ export declare const SavedShiftApiAxiosParamCreator: (configuration?: Configuration) => {
1266
+ /**
1267
+ *
1268
+ * @summary Get all saved shifts for a specific roster
1269
+ * @param {number} id Roster ID
1270
+ * @param {*} [options] Override http request option.
1271
+ * @throws {RequiredError}
1272
+ */
1273
+ getSavedRoster: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1274
+ /**
1275
+ *
1276
+ * @summary Save a specific roster
1277
+ * @param {number} id Roster ID
1278
+ * @param {*} [options] Override http request option.
1279
+ * @throws {RequiredError}
1280
+ */
1281
+ rosterSave: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1282
+ /**
1283
+ *
1284
+ * @summary Update a specific saved shift
1285
+ * @param {number} id SavedShift ID
1286
+ * @param {SavedShiftUpdateRequest} updateParams Update data
1287
+ * @param {*} [options] Override http request option.
1288
+ * @throws {RequiredError}
1289
+ */
1290
+ updateSavedShift: (id: number, updateParams: SavedShiftUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1291
+ };
1292
+ /**
1293
+ * SavedShiftApi - functional programming interface
1294
+ * @export
1295
+ */
1296
+ export declare const SavedShiftApiFp: (configuration?: Configuration) => {
1297
+ /**
1298
+ *
1299
+ * @summary Get all saved shifts for a specific roster
1300
+ * @param {number} id Roster ID
1301
+ * @param {*} [options] Override http request option.
1302
+ * @throws {RequiredError}
1303
+ */
1304
+ getSavedRoster(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SavedShift>>>;
1305
+ /**
1306
+ *
1307
+ * @summary Save a specific roster
1308
+ * @param {number} id Roster ID
1309
+ * @param {*} [options] Override http request option.
1310
+ * @throws {RequiredError}
1311
+ */
1312
+ rosterSave(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1313
+ /**
1314
+ *
1315
+ * @summary Update a specific saved shift
1316
+ * @param {number} id SavedShift ID
1317
+ * @param {SavedShiftUpdateRequest} updateParams Update data
1318
+ * @param {*} [options] Override http request option.
1319
+ * @throws {RequiredError}
1320
+ */
1321
+ updateSavedShift(id: number, updateParams: SavedShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedShift>>;
1322
+ };
1323
+ /**
1324
+ * SavedShiftApi - factory interface
1325
+ * @export
1326
+ */
1327
+ export declare const SavedShiftApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1328
+ /**
1329
+ *
1330
+ * @summary Get all saved shifts for a specific roster
1331
+ * @param {number} id Roster ID
1332
+ * @param {*} [options] Override http request option.
1333
+ * @throws {RequiredError}
1334
+ */
1335
+ getSavedRoster(id: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<SavedShift>>;
1336
+ /**
1337
+ *
1338
+ * @summary Save a specific roster
1339
+ * @param {number} id Roster ID
1340
+ * @param {*} [options] Override http request option.
1341
+ * @throws {RequiredError}
1342
+ */
1343
+ rosterSave(id: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1344
+ /**
1345
+ *
1346
+ * @summary Update a specific saved shift
1347
+ * @param {number} id SavedShift ID
1348
+ * @param {SavedShiftUpdateRequest} updateParams Update data
1349
+ * @param {*} [options] Override http request option.
1350
+ * @throws {RequiredError}
1351
+ */
1352
+ updateSavedShift(id: number, updateParams: SavedShiftUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<SavedShift>;
1353
+ };
1354
+ /**
1355
+ * SavedShiftApi - object-oriented interface
1356
+ * @export
1357
+ * @class SavedShiftApi
1358
+ * @extends {BaseAPI}
1359
+ */
1360
+ export declare class SavedShiftApi extends BaseAPI {
1361
+ /**
1362
+ *
1363
+ * @summary Get all saved shifts for a specific roster
1364
+ * @param {number} id Roster ID
1365
+ * @param {*} [options] Override http request option.
1366
+ * @throws {RequiredError}
1367
+ * @memberof SavedShiftApi
1368
+ */
1369
+ getSavedRoster(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedShift[], any, {}>>;
1370
+ /**
1371
+ *
1372
+ * @summary Save a specific roster
1373
+ * @param {number} id Roster ID
1374
+ * @param {*} [options] Override http request option.
1375
+ * @throws {RequiredError}
1376
+ * @memberof SavedShiftApi
1377
+ */
1378
+ rosterSave(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
1379
+ /**
1380
+ *
1381
+ * @summary Update a specific saved shift
1382
+ * @param {number} id SavedShift ID
1383
+ * @param {SavedShiftUpdateRequest} updateParams Update data
1384
+ * @param {*} [options] Override http request option.
1385
+ * @throws {RequiredError}
1386
+ * @memberof SavedShiftApi
1387
+ */
1388
+ updateSavedShift(id: number, updateParams: SavedShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedShift, any, {}>>;
1389
+ }
1390
+ /**
1391
+ * UserApi - axios parameter creator
1392
+ * @export
1393
+ */
1394
+ export declare const UserApiAxiosParamCreator: (configuration?: Configuration) => {
1395
+ /**
1396
+ * create user
1397
+ * @summary CreateRoster a new user
1398
+ * @param {UserCreateRequest} createParams User input
1399
+ * @param {*} [options] Override http request option.
1400
+ * @throws {RequiredError}
1401
+ */
1402
+ userCreatePost: (createParams: UserCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1403
+ /**
1404
+ * Retrieve a list of users with optional query parameter filtering
1405
+ * @summary Get all users with optional filtering
1406
+ * @param {number} [organId] Organ ID
1407
+ * @param {number} [gewisId] GEWIS ID
1408
+ * @param {*} [options] Override http request option.
1409
+ * @throws {RequiredError}
1410
+ */
1411
+ userGet: (organId?: number, gewisId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1412
+ /**
1413
+ *
1414
+ * @summary DeleteRoster a user
1415
+ * @param {number} id User ID
1416
+ * @param {*} [options] Override http request option.
1417
+ * @throws {RequiredError}
1418
+ */
1419
+ userIdDelete: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1420
+ /**
1421
+ * Retrieve a specific user by their unique ID
1422
+ * @summary Get user by ID
1423
+ * @param {number} id User ID
1424
+ * @param {*} [options] Override http request option.
1425
+ * @throws {RequiredError}
1426
+ */
1427
+ userIdGet: (id: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
1428
+ };
1429
+ /**
1430
+ * UserApi - functional programming interface
1431
+ * @export
1432
+ */
1433
+ export declare const UserApiFp: (configuration?: Configuration) => {
1434
+ /**
1435
+ * create user
1436
+ * @summary CreateRoster a new user
1437
+ * @param {UserCreateRequest} createParams User input
1438
+ * @param {*} [options] Override http request option.
1439
+ * @throws {RequiredError}
1440
+ */
1441
+ userCreatePost(createParams: UserCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
1442
+ /**
1443
+ * Retrieve a list of users with optional query parameter filtering
1444
+ * @summary Get all users with optional filtering
1445
+ * @param {number} [organId] Organ ID
1446
+ * @param {number} [gewisId] GEWIS ID
1447
+ * @param {*} [options] Override http request option.
1448
+ * @throws {RequiredError}
1449
+ */
1450
+ userGet(organId?: number, gewisId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<User>>>;
1451
+ /**
1452
+ *
1453
+ * @summary DeleteRoster a user
1454
+ * @param {number} id User ID
1455
+ * @param {*} [options] Override http request option.
1456
+ * @throws {RequiredError}
1457
+ */
1458
+ userIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
1459
+ /**
1460
+ * Retrieve a specific user by their unique ID
1461
+ * @summary Get user by ID
1462
+ * @param {number} id User ID
1463
+ * @param {*} [options] Override http request option.
1464
+ * @throws {RequiredError}
1465
+ */
1466
+ userIdGet(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<User>>;
1467
+ };
1468
+ /**
1469
+ * UserApi - factory interface
1470
+ * @export
1471
+ */
1472
+ export declare const UserApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
1473
+ /**
1474
+ * create user
1475
+ * @summary CreateRoster a new user
1476
+ * @param {UserCreateRequest} createParams User input
1477
+ * @param {*} [options] Override http request option.
1478
+ * @throws {RequiredError}
1479
+ */
1480
+ userCreatePost(createParams: UserCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<User>;
1481
+ /**
1482
+ * Retrieve a list of users with optional query parameter filtering
1483
+ * @summary Get all users with optional filtering
1484
+ * @param {number} [organId] Organ ID
1485
+ * @param {number} [gewisId] GEWIS ID
1486
+ * @param {*} [options] Override http request option.
1487
+ * @throws {RequiredError}
1488
+ */
1489
+ userGet(organId?: number, gewisId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<User>>;
1490
+ /**
1491
+ *
1492
+ * @summary DeleteRoster a user
1493
+ * @param {number} id User ID
1494
+ * @param {*} [options] Override http request option.
1495
+ * @throws {RequiredError}
1496
+ */
1497
+ userIdDelete(id: number, options?: RawAxiosRequestConfig): AxiosPromise<string>;
1498
+ /**
1499
+ * Retrieve a specific user by their unique ID
1500
+ * @summary Get user by ID
1501
+ * @param {number} id User ID
1502
+ * @param {*} [options] Override http request option.
1503
+ * @throws {RequiredError}
1504
+ */
1505
+ userIdGet(id: number, options?: RawAxiosRequestConfig): AxiosPromise<User>;
1506
+ };
1507
+ /**
1508
+ * UserApi - object-oriented interface
1509
+ * @export
1510
+ * @class UserApi
1511
+ * @extends {BaseAPI}
1512
+ */
1513
+ export declare class UserApi extends BaseAPI {
1514
+ /**
1515
+ * create user
1516
+ * @summary CreateRoster a new user
1517
+ * @param {UserCreateRequest} createParams User input
1518
+ * @param {*} [options] Override http request option.
1519
+ * @throws {RequiredError}
1520
+ * @memberof UserApi
1521
+ */
1522
+ userCreatePost(createParams: UserCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
1523
+ /**
1524
+ * Retrieve a list of users with optional query parameter filtering
1525
+ * @summary Get all users with optional filtering
1526
+ * @param {number} [organId] Organ ID
1527
+ * @param {number} [gewisId] GEWIS ID
1528
+ * @param {*} [options] Override http request option.
1529
+ * @throws {RequiredError}
1530
+ * @memberof UserApi
1531
+ */
1532
+ userGet(organId?: number, gewisId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User[], any, {}>>;
1533
+ /**
1534
+ *
1535
+ * @summary DeleteRoster a user
1536
+ * @param {number} id User ID
1537
+ * @param {*} [options] Override http request option.
1538
+ * @throws {RequiredError}
1539
+ * @memberof UserApi
1540
+ */
1541
+ userIdDelete(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any, {}>>;
1542
+ /**
1543
+ * Retrieve a specific user by their unique ID
1544
+ * @summary Get user by ID
1545
+ * @param {number} id User ID
1546
+ * @param {*} [options] Override http request option.
1547
+ * @throws {RequiredError}
1548
+ * @memberof UserApi
1549
+ */
1550
+ userIdGet(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<User, any, {}>>;
1551
+ }