@gewis/grooster-backend-ts 1.11.2 → 1.11.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.d.ts +249 -239
- package/dist/api.js +50 -43
- package/dist/api.js.map +1 -1
- package/package.json +1 -1
package/dist/api.d.ts
CHANGED
|
@@ -16,83 +16,46 @@ import { BaseAPI } from './base';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AnswerCreateRequest
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof ModelsRosterTemplateShiftPreference
|
|
26
|
-
*/
|
|
27
|
-
'createdAt'?: string;
|
|
21
|
+
export interface AnswerCreateRequest {
|
|
28
22
|
/**
|
|
29
23
|
*
|
|
30
24
|
* @type {number}
|
|
31
|
-
* @memberof
|
|
25
|
+
* @memberof AnswerCreateRequest
|
|
32
26
|
*/
|
|
33
|
-
'
|
|
27
|
+
'rosterId'?: number;
|
|
34
28
|
/**
|
|
35
29
|
*
|
|
36
30
|
* @type {number}
|
|
37
|
-
* @memberof
|
|
38
|
-
*/
|
|
39
|
-
'rosterTemplateShiftID'?: number;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof ModelsRosterTemplateShiftPreference
|
|
31
|
+
* @memberof AnswerCreateRequest
|
|
44
32
|
*/
|
|
45
|
-
'
|
|
33
|
+
'rosterShiftId'?: number;
|
|
46
34
|
/**
|
|
47
35
|
*
|
|
48
36
|
* @type {number}
|
|
49
|
-
* @memberof
|
|
37
|
+
* @memberof AnswerCreateRequest
|
|
50
38
|
*/
|
|
51
39
|
'userId'?: number;
|
|
52
40
|
/**
|
|
53
41
|
*
|
|
54
42
|
* @type {string}
|
|
55
|
-
* @memberof
|
|
43
|
+
* @memberof AnswerCreateRequest
|
|
56
44
|
*/
|
|
57
45
|
'value'?: string;
|
|
58
46
|
}
|
|
59
47
|
/**
|
|
60
48
|
*
|
|
61
49
|
* @export
|
|
62
|
-
* @interface
|
|
50
|
+
* @interface AnswerUpdateRequest
|
|
63
51
|
*/
|
|
64
|
-
export interface
|
|
52
|
+
export interface AnswerUpdateRequest {
|
|
65
53
|
/**
|
|
66
54
|
*
|
|
67
55
|
* @type {string}
|
|
68
|
-
* @memberof
|
|
56
|
+
* @memberof AnswerUpdateRequest
|
|
69
57
|
*/
|
|
70
|
-
'
|
|
71
|
-
}
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @export
|
|
75
|
-
* @interface ModelsUserOrgan
|
|
76
|
-
*/
|
|
77
|
-
export interface ModelsUserOrgan {
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {number}
|
|
81
|
-
* @memberof ModelsUserOrgan
|
|
82
|
-
*/
|
|
83
|
-
'organID'?: number;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {number}
|
|
87
|
-
* @memberof ModelsUserOrgan
|
|
88
|
-
*/
|
|
89
|
-
'userID'?: number;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {string}
|
|
93
|
-
* @memberof ModelsUserOrgan
|
|
94
|
-
*/
|
|
95
|
-
'username'?: string;
|
|
58
|
+
'value'?: string;
|
|
96
59
|
}
|
|
97
60
|
/**
|
|
98
61
|
* An organ that users can be part of.
|
|
@@ -228,6 +191,12 @@ export interface RosterAnswer {
|
|
|
228
191
|
* @memberof RosterAnswer
|
|
229
192
|
*/
|
|
230
193
|
'id'?: number;
|
|
194
|
+
/**
|
|
195
|
+
*
|
|
196
|
+
* @type {Roster}
|
|
197
|
+
* @memberof RosterAnswer
|
|
198
|
+
*/
|
|
199
|
+
'roster'?: Roster;
|
|
231
200
|
/**
|
|
232
201
|
*
|
|
233
202
|
* @type {number}
|
|
@@ -259,50 +228,6 @@ export interface RosterAnswer {
|
|
|
259
228
|
*/
|
|
260
229
|
'value'?: string;
|
|
261
230
|
}
|
|
262
|
-
/**
|
|
263
|
-
*
|
|
264
|
-
* @export
|
|
265
|
-
* @interface RosterAnswerCreateRequest
|
|
266
|
-
*/
|
|
267
|
-
export interface RosterAnswerCreateRequest {
|
|
268
|
-
/**
|
|
269
|
-
*
|
|
270
|
-
* @type {number}
|
|
271
|
-
* @memberof RosterAnswerCreateRequest
|
|
272
|
-
*/
|
|
273
|
-
'rosterId'?: number;
|
|
274
|
-
/**
|
|
275
|
-
*
|
|
276
|
-
* @type {number}
|
|
277
|
-
* @memberof RosterAnswerCreateRequest
|
|
278
|
-
*/
|
|
279
|
-
'rosterShiftId'?: number;
|
|
280
|
-
/**
|
|
281
|
-
*
|
|
282
|
-
* @type {number}
|
|
283
|
-
* @memberof RosterAnswerCreateRequest
|
|
284
|
-
*/
|
|
285
|
-
'userId'?: number;
|
|
286
|
-
/**
|
|
287
|
-
*
|
|
288
|
-
* @type {string}
|
|
289
|
-
* @memberof RosterAnswerCreateRequest
|
|
290
|
-
*/
|
|
291
|
-
'value'?: string;
|
|
292
|
-
}
|
|
293
|
-
/**
|
|
294
|
-
*
|
|
295
|
-
* @export
|
|
296
|
-
* @interface RosterAnswerUpdateRequest
|
|
297
|
-
*/
|
|
298
|
-
export interface RosterAnswerUpdateRequest {
|
|
299
|
-
/**
|
|
300
|
-
*
|
|
301
|
-
* @type {string}
|
|
302
|
-
* @memberof RosterAnswerUpdateRequest
|
|
303
|
-
*/
|
|
304
|
-
'value'?: string;
|
|
305
|
-
}
|
|
306
231
|
/**
|
|
307
232
|
*
|
|
308
233
|
* @export
|
|
@@ -383,38 +308,6 @@ export interface RosterShift {
|
|
|
383
308
|
*/
|
|
384
309
|
'updatedAt'?: string;
|
|
385
310
|
}
|
|
386
|
-
/**
|
|
387
|
-
*
|
|
388
|
-
* @export
|
|
389
|
-
* @interface RosterShiftCreateRequest
|
|
390
|
-
*/
|
|
391
|
-
export interface RosterShiftCreateRequest {
|
|
392
|
-
/**
|
|
393
|
-
*
|
|
394
|
-
* @type {string}
|
|
395
|
-
* @memberof RosterShiftCreateRequest
|
|
396
|
-
*/
|
|
397
|
-
'name'?: string;
|
|
398
|
-
/**
|
|
399
|
-
*
|
|
400
|
-
* @type {number}
|
|
401
|
-
* @memberof RosterShiftCreateRequest
|
|
402
|
-
*/
|
|
403
|
-
'rosterId'?: number;
|
|
404
|
-
}
|
|
405
|
-
/**
|
|
406
|
-
*
|
|
407
|
-
* @export
|
|
408
|
-
* @interface RosterShiftUpdateRequest
|
|
409
|
-
*/
|
|
410
|
-
export interface RosterShiftUpdateRequest {
|
|
411
|
-
/**
|
|
412
|
-
*
|
|
413
|
-
* @type {number}
|
|
414
|
-
* @memberof RosterShiftUpdateRequest
|
|
415
|
-
*/
|
|
416
|
-
'order'?: number;
|
|
417
|
-
}
|
|
418
311
|
/**
|
|
419
312
|
*
|
|
420
313
|
* @export
|
|
@@ -458,31 +351,6 @@ export interface RosterTemplate {
|
|
|
458
351
|
*/
|
|
459
352
|
'updatedAt'?: string;
|
|
460
353
|
}
|
|
461
|
-
/**
|
|
462
|
-
*
|
|
463
|
-
* @export
|
|
464
|
-
* @interface RosterTemplateCreateRequest
|
|
465
|
-
*/
|
|
466
|
-
export interface RosterTemplateCreateRequest {
|
|
467
|
-
/**
|
|
468
|
-
*
|
|
469
|
-
* @type {string}
|
|
470
|
-
* @memberof RosterTemplateCreateRequest
|
|
471
|
-
*/
|
|
472
|
-
'name'?: string;
|
|
473
|
-
/**
|
|
474
|
-
*
|
|
475
|
-
* @type {number}
|
|
476
|
-
* @memberof RosterTemplateCreateRequest
|
|
477
|
-
*/
|
|
478
|
-
'organId'?: number;
|
|
479
|
-
/**
|
|
480
|
-
*
|
|
481
|
-
* @type {Array<string>}
|
|
482
|
-
* @memberof RosterTemplateCreateRequest
|
|
483
|
-
*/
|
|
484
|
-
'shifts'?: Array<string>;
|
|
485
|
-
}
|
|
486
354
|
/**
|
|
487
355
|
*
|
|
488
356
|
* @export
|
|
@@ -523,21 +391,45 @@ export interface RosterTemplateShift {
|
|
|
523
391
|
/**
|
|
524
392
|
*
|
|
525
393
|
* @export
|
|
526
|
-
* @interface
|
|
394
|
+
* @interface RosterTemplateShiftPreference
|
|
527
395
|
*/
|
|
528
|
-
export interface
|
|
396
|
+
export interface RosterTemplateShiftPreference {
|
|
529
397
|
/**
|
|
530
398
|
*
|
|
531
399
|
* @type {string}
|
|
532
|
-
* @memberof
|
|
400
|
+
* @memberof RosterTemplateShiftPreference
|
|
533
401
|
*/
|
|
534
|
-
'
|
|
402
|
+
'createdAt'?: string;
|
|
535
403
|
/**
|
|
536
404
|
*
|
|
537
|
-
* @type {
|
|
538
|
-
* @memberof
|
|
405
|
+
* @type {number}
|
|
406
|
+
* @memberof RosterTemplateShiftPreference
|
|
539
407
|
*/
|
|
540
|
-
'
|
|
408
|
+
'id'?: number;
|
|
409
|
+
/**
|
|
410
|
+
*
|
|
411
|
+
* @type {number}
|
|
412
|
+
* @memberof RosterTemplateShiftPreference
|
|
413
|
+
*/
|
|
414
|
+
'rosterTemplateShiftID'?: number;
|
|
415
|
+
/**
|
|
416
|
+
*
|
|
417
|
+
* @type {string}
|
|
418
|
+
* @memberof RosterTemplateShiftPreference
|
|
419
|
+
*/
|
|
420
|
+
'updatedAt'?: string;
|
|
421
|
+
/**
|
|
422
|
+
*
|
|
423
|
+
* @type {number}
|
|
424
|
+
* @memberof RosterTemplateShiftPreference
|
|
425
|
+
*/
|
|
426
|
+
'userId'?: number;
|
|
427
|
+
/**
|
|
428
|
+
*
|
|
429
|
+
* @type {string}
|
|
430
|
+
* @memberof RosterTemplateShiftPreference
|
|
431
|
+
*/
|
|
432
|
+
'value'?: string;
|
|
541
433
|
}
|
|
542
434
|
/**
|
|
543
435
|
*
|
|
@@ -664,6 +556,63 @@ export interface SavedShiftUpdateRequest {
|
|
|
664
556
|
*/
|
|
665
557
|
'users'?: Array<number>;
|
|
666
558
|
}
|
|
559
|
+
/**
|
|
560
|
+
*
|
|
561
|
+
* @export
|
|
562
|
+
* @interface ShiftCreateRequest
|
|
563
|
+
*/
|
|
564
|
+
export interface ShiftCreateRequest {
|
|
565
|
+
/**
|
|
566
|
+
*
|
|
567
|
+
* @type {string}
|
|
568
|
+
* @memberof ShiftCreateRequest
|
|
569
|
+
*/
|
|
570
|
+
'name'?: string;
|
|
571
|
+
/**
|
|
572
|
+
*
|
|
573
|
+
* @type {number}
|
|
574
|
+
* @memberof ShiftCreateRequest
|
|
575
|
+
*/
|
|
576
|
+
'rosterId'?: number;
|
|
577
|
+
}
|
|
578
|
+
/**
|
|
579
|
+
*
|
|
580
|
+
* @export
|
|
581
|
+
* @interface ShiftUpdateRequest
|
|
582
|
+
*/
|
|
583
|
+
export interface ShiftUpdateRequest {
|
|
584
|
+
/**
|
|
585
|
+
*
|
|
586
|
+
* @type {number}
|
|
587
|
+
* @memberof ShiftUpdateRequest
|
|
588
|
+
*/
|
|
589
|
+
'order'?: number;
|
|
590
|
+
}
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
* @export
|
|
594
|
+
* @interface TemplateCreateRequest
|
|
595
|
+
*/
|
|
596
|
+
export interface TemplateCreateRequest {
|
|
597
|
+
/**
|
|
598
|
+
*
|
|
599
|
+
* @type {string}
|
|
600
|
+
* @memberof TemplateCreateRequest
|
|
601
|
+
*/
|
|
602
|
+
'name'?: string;
|
|
603
|
+
/**
|
|
604
|
+
*
|
|
605
|
+
* @type {number}
|
|
606
|
+
* @memberof TemplateCreateRequest
|
|
607
|
+
*/
|
|
608
|
+
'organId'?: number;
|
|
609
|
+
/**
|
|
610
|
+
*
|
|
611
|
+
* @type {Array<string>}
|
|
612
|
+
* @memberof TemplateCreateRequest
|
|
613
|
+
*/
|
|
614
|
+
'shifts'?: Array<string>;
|
|
615
|
+
}
|
|
667
616
|
/**
|
|
668
617
|
*
|
|
669
618
|
* @export
|
|
@@ -702,6 +651,38 @@ export interface TemplateShiftPreferenceUpdateRequest {
|
|
|
702
651
|
*/
|
|
703
652
|
'preference'?: string;
|
|
704
653
|
}
|
|
654
|
+
/**
|
|
655
|
+
*
|
|
656
|
+
* @export
|
|
657
|
+
* @interface TemplateUpdateParams
|
|
658
|
+
*/
|
|
659
|
+
export interface TemplateUpdateParams {
|
|
660
|
+
/**
|
|
661
|
+
*
|
|
662
|
+
* @type {string}
|
|
663
|
+
* @memberof TemplateUpdateParams
|
|
664
|
+
*/
|
|
665
|
+
'name'?: string;
|
|
666
|
+
/**
|
|
667
|
+
*
|
|
668
|
+
* @type {Array<string>}
|
|
669
|
+
* @memberof TemplateUpdateParams
|
|
670
|
+
*/
|
|
671
|
+
'shifts'?: Array<string>;
|
|
672
|
+
}
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @export
|
|
676
|
+
* @interface UpdateMemberSettingsParams
|
|
677
|
+
*/
|
|
678
|
+
export interface UpdateMemberSettingsParams {
|
|
679
|
+
/**
|
|
680
|
+
*
|
|
681
|
+
* @type {string}
|
|
682
|
+
* @memberof UpdateMemberSettingsParams
|
|
683
|
+
*/
|
|
684
|
+
'username'?: string;
|
|
685
|
+
}
|
|
705
686
|
/**
|
|
706
687
|
*
|
|
707
688
|
* @export
|
|
@@ -771,10 +752,35 @@ export interface UserCreateRequest {
|
|
|
771
752
|
'name'?: string;
|
|
772
753
|
/**
|
|
773
754
|
*
|
|
774
|
-
* @type {Array<
|
|
755
|
+
* @type {Array<number>}
|
|
775
756
|
* @memberof UserCreateRequest
|
|
776
757
|
*/
|
|
777
|
-
'
|
|
758
|
+
'organIDs'?: Array<number>;
|
|
759
|
+
}
|
|
760
|
+
/**
|
|
761
|
+
*
|
|
762
|
+
* @export
|
|
763
|
+
* @interface UserOrgan
|
|
764
|
+
*/
|
|
765
|
+
export interface UserOrgan {
|
|
766
|
+
/**
|
|
767
|
+
*
|
|
768
|
+
* @type {number}
|
|
769
|
+
* @memberof UserOrgan
|
|
770
|
+
*/
|
|
771
|
+
'organID'?: number;
|
|
772
|
+
/**
|
|
773
|
+
*
|
|
774
|
+
* @type {number}
|
|
775
|
+
* @memberof UserOrgan
|
|
776
|
+
*/
|
|
777
|
+
'userID'?: number;
|
|
778
|
+
/**
|
|
779
|
+
*
|
|
780
|
+
* @type {string}
|
|
781
|
+
* @memberof UserOrgan
|
|
782
|
+
*/
|
|
783
|
+
'username'?: string;
|
|
778
784
|
}
|
|
779
785
|
/**
|
|
780
786
|
* AuthApi - axios parameter creator
|
|
@@ -956,11 +962,11 @@ export declare const OrganApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
956
962
|
* @summary Update settings for a user within an organ
|
|
957
963
|
* @param {number} id Organ ID
|
|
958
964
|
* @param {number} userId User ID
|
|
959
|
-
* @param {
|
|
965
|
+
* @param {UpdateMemberSettingsParams} updateParams Settings input
|
|
960
966
|
* @param {*} [options] Override http request option.
|
|
961
967
|
* @throws {RequiredError}
|
|
962
968
|
*/
|
|
963
|
-
organIdMemberUserIdPatch: (id: number, userId: number, updateParams:
|
|
969
|
+
organIdMemberUserIdPatch: (id: number, userId: number, updateParams: UpdateMemberSettingsParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
964
970
|
};
|
|
965
971
|
/**
|
|
966
972
|
* OrganApi - functional programming interface
|
|
@@ -975,17 +981,17 @@ export declare const OrganApiFp: (configuration?: Configuration) => {
|
|
|
975
981
|
* @param {*} [options] Override http request option.
|
|
976
982
|
* @throws {RequiredError}
|
|
977
983
|
*/
|
|
978
|
-
organIdMemberUserIdGet(id: number, userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
984
|
+
organIdMemberUserIdGet(id: number, userId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOrgan>>;
|
|
979
985
|
/**
|
|
980
986
|
* Update organ-specific settings like nickname/username
|
|
981
987
|
* @summary Update settings for a user within an organ
|
|
982
988
|
* @param {number} id Organ ID
|
|
983
989
|
* @param {number} userId User ID
|
|
984
|
-
* @param {
|
|
990
|
+
* @param {UpdateMemberSettingsParams} updateParams Settings input
|
|
985
991
|
* @param {*} [options] Override http request option.
|
|
986
992
|
* @throws {RequiredError}
|
|
987
993
|
*/
|
|
988
|
-
organIdMemberUserIdPatch(id: number, userId: number, updateParams:
|
|
994
|
+
organIdMemberUserIdPatch(id: number, userId: number, updateParams: UpdateMemberSettingsParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UserOrgan>>;
|
|
989
995
|
};
|
|
990
996
|
/**
|
|
991
997
|
* OrganApi - factory interface
|
|
@@ -1000,17 +1006,17 @@ export declare const OrganApiFactory: (configuration?: Configuration, basePath?:
|
|
|
1000
1006
|
* @param {*} [options] Override http request option.
|
|
1001
1007
|
* @throws {RequiredError}
|
|
1002
1008
|
*/
|
|
1003
|
-
organIdMemberUserIdGet(id: number, userId: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1009
|
+
organIdMemberUserIdGet(id: number, userId: number, options?: RawAxiosRequestConfig): AxiosPromise<UserOrgan>;
|
|
1004
1010
|
/**
|
|
1005
1011
|
* Update organ-specific settings like nickname/username
|
|
1006
1012
|
* @summary Update settings for a user within an organ
|
|
1007
1013
|
* @param {number} id Organ ID
|
|
1008
1014
|
* @param {number} userId User ID
|
|
1009
|
-
* @param {
|
|
1015
|
+
* @param {UpdateMemberSettingsParams} updateParams Settings input
|
|
1010
1016
|
* @param {*} [options] Override http request option.
|
|
1011
1017
|
* @throws {RequiredError}
|
|
1012
1018
|
*/
|
|
1013
|
-
organIdMemberUserIdPatch(id: number, userId: number, updateParams:
|
|
1019
|
+
organIdMemberUserIdPatch(id: number, userId: number, updateParams: UpdateMemberSettingsParams, options?: RawAxiosRequestConfig): AxiosPromise<UserOrgan>;
|
|
1014
1020
|
};
|
|
1015
1021
|
/**
|
|
1016
1022
|
* OrganApi - object-oriented interface
|
|
@@ -1028,18 +1034,18 @@ export declare class OrganApi extends BaseAPI {
|
|
|
1028
1034
|
* @throws {RequiredError}
|
|
1029
1035
|
* @memberof OrganApi
|
|
1030
1036
|
*/
|
|
1031
|
-
organIdMemberUserIdGet(id: number, userId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1037
|
+
organIdMemberUserIdGet(id: number, userId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserOrgan, any, {}>>;
|
|
1032
1038
|
/**
|
|
1033
1039
|
* Update organ-specific settings like nickname/username
|
|
1034
1040
|
* @summary Update settings for a user within an organ
|
|
1035
1041
|
* @param {number} id Organ ID
|
|
1036
1042
|
* @param {number} userId User ID
|
|
1037
|
-
* @param {
|
|
1043
|
+
* @param {UpdateMemberSettingsParams} updateParams Settings input
|
|
1038
1044
|
* @param {*} [options] Override http request option.
|
|
1039
1045
|
* @throws {RequiredError}
|
|
1040
1046
|
* @memberof OrganApi
|
|
1041
1047
|
*/
|
|
1042
|
-
organIdMemberUserIdPatch(id: number, userId: number, updateParams:
|
|
1048
|
+
organIdMemberUserIdPatch(id: number, userId: number, updateParams: UpdateMemberSettingsParams, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<UserOrgan, any, {}>>;
|
|
1043
1049
|
}
|
|
1044
1050
|
/**
|
|
1045
1051
|
* RosterApi - axios parameter creator
|
|
@@ -1057,11 +1063,11 @@ export declare const RosterApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1057
1063
|
/**
|
|
1058
1064
|
*
|
|
1059
1065
|
* @summary Creates a template of a roster by defining the name of the shifts
|
|
1060
|
-
* @param {
|
|
1066
|
+
* @param {TemplateCreateRequest} [params] Template Params
|
|
1061
1067
|
* @param {*} [options] Override http request option.
|
|
1062
1068
|
* @throws {RequiredError}
|
|
1063
1069
|
*/
|
|
1064
|
-
createRosterTemplate: (params?:
|
|
1070
|
+
createRosterTemplate: (params?: TemplateCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1065
1071
|
/**
|
|
1066
1072
|
*
|
|
1067
1073
|
* @summary Creates a roster template shift preference
|
|
@@ -1122,12 +1128,13 @@ export declare const RosterApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1122
1128
|
/**
|
|
1123
1129
|
*
|
|
1124
1130
|
* @summary Get all rosters or query by date and organ
|
|
1125
|
-
* @param {string} [date]
|
|
1126
|
-
* @param {number} [
|
|
1131
|
+
* @param {string} [date]
|
|
1132
|
+
* @param {number} [id]
|
|
1133
|
+
* @param {number} [organId]
|
|
1127
1134
|
* @param {*} [options] Override http request option.
|
|
1128
1135
|
* @throws {RequiredError}
|
|
1129
1136
|
*/
|
|
1130
|
-
getRosters: (date?: string, organId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1137
|
+
getRosters: (date?: string, id?: number, organId?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1131
1138
|
/**
|
|
1132
1139
|
*
|
|
1133
1140
|
* @summary Update a roster
|
|
@@ -1141,11 +1148,11 @@ export declare const RosterApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
1141
1148
|
*
|
|
1142
1149
|
* @summary Updates a roster template by ID
|
|
1143
1150
|
* @param {number} id Template ID
|
|
1144
|
-
* @param {
|
|
1151
|
+
* @param {TemplateUpdateParams} [params] Update params
|
|
1145
1152
|
* @param {*} [options] Override http request option.
|
|
1146
1153
|
* @throws {RequiredError}
|
|
1147
1154
|
*/
|
|
1148
|
-
updateRosterTemplate: (id: number, params?:
|
|
1155
|
+
updateRosterTemplate: (id: number, params?: TemplateUpdateParams, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1149
1156
|
/**
|
|
1150
1157
|
*
|
|
1151
1158
|
* @summary Updates a roster template shift preference by ID
|
|
@@ -1172,11 +1179,11 @@ export declare const RosterApiFp: (configuration?: Configuration) => {
|
|
|
1172
1179
|
/**
|
|
1173
1180
|
*
|
|
1174
1181
|
* @summary Creates a template of a roster by defining the name of the shifts
|
|
1175
|
-
* @param {
|
|
1182
|
+
* @param {TemplateCreateRequest} [params] Template Params
|
|
1176
1183
|
* @param {*} [options] Override http request option.
|
|
1177
1184
|
* @throws {RequiredError}
|
|
1178
1185
|
*/
|
|
1179
|
-
createRosterTemplate(params?:
|
|
1186
|
+
createRosterTemplate(params?: TemplateCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RosterTemplate>>>;
|
|
1180
1187
|
/**
|
|
1181
1188
|
*
|
|
1182
1189
|
* @summary Creates a roster template shift preference
|
|
@@ -1184,7 +1191,7 @@ export declare const RosterApiFp: (configuration?: Configuration) => {
|
|
|
1184
1191
|
* @param {*} [options] Override http request option.
|
|
1185
1192
|
* @throws {RequiredError}
|
|
1186
1193
|
*/
|
|
1187
|
-
createRosterTemplateShiftPreference(params: TemplateShiftPreferenceCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1194
|
+
createRosterTemplateShiftPreference(params: TemplateShiftPreferenceCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterTemplateShiftPreference>>;
|
|
1188
1195
|
/**
|
|
1189
1196
|
*
|
|
1190
1197
|
* @summary DeleteRoster a roster
|
|
@@ -1225,7 +1232,7 @@ export declare const RosterApiFp: (configuration?: Configuration) => {
|
|
|
1225
1232
|
* @param {*} [options] Override http request option.
|
|
1226
1233
|
* @throws {RequiredError}
|
|
1227
1234
|
*/
|
|
1228
|
-
getRosterTemplateShiftPreferences(userId: number, templateId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<
|
|
1235
|
+
getRosterTemplateShiftPreferences(userId: number, templateId: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<RosterTemplateShiftPreference>>>;
|
|
1229
1236
|
/**
|
|
1230
1237
|
*
|
|
1231
1238
|
* @summary Get all rosters templates or query by organ ID
|
|
@@ -1237,12 +1244,13 @@ export declare const RosterApiFp: (configuration?: Configuration) => {
|
|
|
1237
1244
|
/**
|
|
1238
1245
|
*
|
|
1239
1246
|
* @summary Get all rosters or query by date and organ
|
|
1240
|
-
* @param {string} [date]
|
|
1241
|
-
* @param {number} [
|
|
1247
|
+
* @param {string} [date]
|
|
1248
|
+
* @param {number} [id]
|
|
1249
|
+
* @param {number} [organId]
|
|
1242
1250
|
* @param {*} [options] Override http request option.
|
|
1243
1251
|
* @throws {RequiredError}
|
|
1244
1252
|
*/
|
|
1245
|
-
getRosters(date?: string, organId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Roster>>>;
|
|
1253
|
+
getRosters(date?: string, id?: number, organId?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Roster>>>;
|
|
1246
1254
|
/**
|
|
1247
1255
|
*
|
|
1248
1256
|
* @summary Update a roster
|
|
@@ -1256,11 +1264,11 @@ export declare const RosterApiFp: (configuration?: Configuration) => {
|
|
|
1256
1264
|
*
|
|
1257
1265
|
* @summary Updates a roster template by ID
|
|
1258
1266
|
* @param {number} id Template ID
|
|
1259
|
-
* @param {
|
|
1267
|
+
* @param {TemplateUpdateParams} [params] Update params
|
|
1260
1268
|
* @param {*} [options] Override http request option.
|
|
1261
1269
|
* @throws {RequiredError}
|
|
1262
1270
|
*/
|
|
1263
|
-
updateRosterTemplate(id: number, params?:
|
|
1271
|
+
updateRosterTemplate(id: number, params?: TemplateUpdateParams, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterTemplate>>;
|
|
1264
1272
|
/**
|
|
1265
1273
|
*
|
|
1266
1274
|
* @summary Updates a roster template shift preference by ID
|
|
@@ -1269,7 +1277,7 @@ export declare const RosterApiFp: (configuration?: Configuration) => {
|
|
|
1269
1277
|
* @param {*} [options] Override http request option.
|
|
1270
1278
|
* @throws {RequiredError}
|
|
1271
1279
|
*/
|
|
1272
|
-
updateRosterTemplateShiftPreference(id: number, params: TemplateShiftPreferenceUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
1280
|
+
updateRosterTemplateShiftPreference(id: number, params: TemplateShiftPreferenceUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterTemplateShiftPreference>>;
|
|
1273
1281
|
};
|
|
1274
1282
|
/**
|
|
1275
1283
|
* RosterApi - factory interface
|
|
@@ -1287,11 +1295,11 @@ export declare const RosterApiFactory: (configuration?: Configuration, basePath?
|
|
|
1287
1295
|
/**
|
|
1288
1296
|
*
|
|
1289
1297
|
* @summary Creates a template of a roster by defining the name of the shifts
|
|
1290
|
-
* @param {
|
|
1298
|
+
* @param {TemplateCreateRequest} [params] Template Params
|
|
1291
1299
|
* @param {*} [options] Override http request option.
|
|
1292
1300
|
* @throws {RequiredError}
|
|
1293
1301
|
*/
|
|
1294
|
-
createRosterTemplate(params?:
|
|
1302
|
+
createRosterTemplate(params?: TemplateCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<RosterTemplate>>;
|
|
1295
1303
|
/**
|
|
1296
1304
|
*
|
|
1297
1305
|
* @summary Creates a roster template shift preference
|
|
@@ -1299,7 +1307,7 @@ export declare const RosterApiFactory: (configuration?: Configuration, basePath?
|
|
|
1299
1307
|
* @param {*} [options] Override http request option.
|
|
1300
1308
|
* @throws {RequiredError}
|
|
1301
1309
|
*/
|
|
1302
|
-
createRosterTemplateShiftPreference(params: TemplateShiftPreferenceCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1310
|
+
createRosterTemplateShiftPreference(params: TemplateShiftPreferenceCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterTemplateShiftPreference>;
|
|
1303
1311
|
/**
|
|
1304
1312
|
*
|
|
1305
1313
|
* @summary DeleteRoster a roster
|
|
@@ -1340,7 +1348,7 @@ export declare const RosterApiFactory: (configuration?: Configuration, basePath?
|
|
|
1340
1348
|
* @param {*} [options] Override http request option.
|
|
1341
1349
|
* @throws {RequiredError}
|
|
1342
1350
|
*/
|
|
1343
|
-
getRosterTemplateShiftPreferences(userId: number, templateId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<
|
|
1351
|
+
getRosterTemplateShiftPreferences(userId: number, templateId: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<RosterTemplateShiftPreference>>;
|
|
1344
1352
|
/**
|
|
1345
1353
|
*
|
|
1346
1354
|
* @summary Get all rosters templates or query by organ ID
|
|
@@ -1352,12 +1360,13 @@ export declare const RosterApiFactory: (configuration?: Configuration, basePath?
|
|
|
1352
1360
|
/**
|
|
1353
1361
|
*
|
|
1354
1362
|
* @summary Get all rosters or query by date and organ
|
|
1355
|
-
* @param {string} [date]
|
|
1356
|
-
* @param {number} [
|
|
1363
|
+
* @param {string} [date]
|
|
1364
|
+
* @param {number} [id]
|
|
1365
|
+
* @param {number} [organId]
|
|
1357
1366
|
* @param {*} [options] Override http request option.
|
|
1358
1367
|
* @throws {RequiredError}
|
|
1359
1368
|
*/
|
|
1360
|
-
getRosters(date?: string, organId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Roster>>;
|
|
1369
|
+
getRosters(date?: string, id?: number, organId?: number, options?: RawAxiosRequestConfig): AxiosPromise<Array<Roster>>;
|
|
1361
1370
|
/**
|
|
1362
1371
|
*
|
|
1363
1372
|
* @summary Update a roster
|
|
@@ -1371,11 +1380,11 @@ export declare const RosterApiFactory: (configuration?: Configuration, basePath?
|
|
|
1371
1380
|
*
|
|
1372
1381
|
* @summary Updates a roster template by ID
|
|
1373
1382
|
* @param {number} id Template ID
|
|
1374
|
-
* @param {
|
|
1383
|
+
* @param {TemplateUpdateParams} [params] Update params
|
|
1375
1384
|
* @param {*} [options] Override http request option.
|
|
1376
1385
|
* @throws {RequiredError}
|
|
1377
1386
|
*/
|
|
1378
|
-
updateRosterTemplate(id: number, params?:
|
|
1387
|
+
updateRosterTemplate(id: number, params?: TemplateUpdateParams, options?: RawAxiosRequestConfig): AxiosPromise<RosterTemplate>;
|
|
1379
1388
|
/**
|
|
1380
1389
|
*
|
|
1381
1390
|
* @summary Updates a roster template shift preference by ID
|
|
@@ -1384,7 +1393,7 @@ export declare const RosterApiFactory: (configuration?: Configuration, basePath?
|
|
|
1384
1393
|
* @param {*} [options] Override http request option.
|
|
1385
1394
|
* @throws {RequiredError}
|
|
1386
1395
|
*/
|
|
1387
|
-
updateRosterTemplateShiftPreference(id: number, params: TemplateShiftPreferenceUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
1396
|
+
updateRosterTemplateShiftPreference(id: number, params: TemplateShiftPreferenceUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterTemplateShiftPreference>;
|
|
1388
1397
|
};
|
|
1389
1398
|
/**
|
|
1390
1399
|
* RosterApi - object-oriented interface
|
|
@@ -1405,12 +1414,12 @@ export declare class RosterApi extends BaseAPI {
|
|
|
1405
1414
|
/**
|
|
1406
1415
|
*
|
|
1407
1416
|
* @summary Creates a template of a roster by defining the name of the shifts
|
|
1408
|
-
* @param {
|
|
1417
|
+
* @param {TemplateCreateRequest} [params] Template Params
|
|
1409
1418
|
* @param {*} [options] Override http request option.
|
|
1410
1419
|
* @throws {RequiredError}
|
|
1411
1420
|
* @memberof RosterApi
|
|
1412
1421
|
*/
|
|
1413
|
-
createRosterTemplate(params?:
|
|
1422
|
+
createRosterTemplate(params?: TemplateCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplate[], any, {}>>;
|
|
1414
1423
|
/**
|
|
1415
1424
|
*
|
|
1416
1425
|
* @summary Creates a roster template shift preference
|
|
@@ -1419,7 +1428,7 @@ export declare class RosterApi extends BaseAPI {
|
|
|
1419
1428
|
* @throws {RequiredError}
|
|
1420
1429
|
* @memberof RosterApi
|
|
1421
1430
|
*/
|
|
1422
|
-
createRosterTemplateShiftPreference(params: TemplateShiftPreferenceCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1431
|
+
createRosterTemplateShiftPreference(params: TemplateShiftPreferenceCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplateShiftPreference, any, {}>>;
|
|
1423
1432
|
/**
|
|
1424
1433
|
*
|
|
1425
1434
|
* @summary DeleteRoster a roster
|
|
@@ -1465,7 +1474,7 @@ export declare class RosterApi extends BaseAPI {
|
|
|
1465
1474
|
* @throws {RequiredError}
|
|
1466
1475
|
* @memberof RosterApi
|
|
1467
1476
|
*/
|
|
1468
|
-
getRosterTemplateShiftPreferences(userId: number, templateId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1477
|
+
getRosterTemplateShiftPreferences(userId: number, templateId: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplateShiftPreference[], any, {}>>;
|
|
1469
1478
|
/**
|
|
1470
1479
|
*
|
|
1471
1480
|
* @summary Get all rosters templates or query by organ ID
|
|
@@ -1478,13 +1487,14 @@ export declare class RosterApi extends BaseAPI {
|
|
|
1478
1487
|
/**
|
|
1479
1488
|
*
|
|
1480
1489
|
* @summary Get all rosters or query by date and organ
|
|
1481
|
-
* @param {string} [date]
|
|
1482
|
-
* @param {number} [
|
|
1490
|
+
* @param {string} [date]
|
|
1491
|
+
* @param {number} [id]
|
|
1492
|
+
* @param {number} [organId]
|
|
1483
1493
|
* @param {*} [options] Override http request option.
|
|
1484
1494
|
* @throws {RequiredError}
|
|
1485
1495
|
* @memberof RosterApi
|
|
1486
1496
|
*/
|
|
1487
|
-
getRosters(date?: string, organId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Roster[], any, {}>>;
|
|
1497
|
+
getRosters(date?: string, id?: number, organId?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Roster[], any, {}>>;
|
|
1488
1498
|
/**
|
|
1489
1499
|
*
|
|
1490
1500
|
* @summary Update a roster
|
|
@@ -1499,12 +1509,12 @@ export declare class RosterApi extends BaseAPI {
|
|
|
1499
1509
|
*
|
|
1500
1510
|
* @summary Updates a roster template by ID
|
|
1501
1511
|
* @param {number} id Template ID
|
|
1502
|
-
* @param {
|
|
1512
|
+
* @param {TemplateUpdateParams} [params] Update params
|
|
1503
1513
|
* @param {*} [options] Override http request option.
|
|
1504
1514
|
* @throws {RequiredError}
|
|
1505
1515
|
* @memberof RosterApi
|
|
1506
1516
|
*/
|
|
1507
|
-
updateRosterTemplate(id: number, params?:
|
|
1517
|
+
updateRosterTemplate(id: number, params?: TemplateUpdateParams, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplate, any, {}>>;
|
|
1508
1518
|
/**
|
|
1509
1519
|
*
|
|
1510
1520
|
* @summary Updates a roster template shift preference by ID
|
|
@@ -1514,7 +1524,7 @@ export declare class RosterApi extends BaseAPI {
|
|
|
1514
1524
|
* @throws {RequiredError}
|
|
1515
1525
|
* @memberof RosterApi
|
|
1516
1526
|
*/
|
|
1517
|
-
updateRosterTemplateShiftPreference(id: number, params: TemplateShiftPreferenceUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
1527
|
+
updateRosterTemplateShiftPreference(id: number, params: TemplateShiftPreferenceUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterTemplateShiftPreference, any, {}>>;
|
|
1518
1528
|
}
|
|
1519
1529
|
/**
|
|
1520
1530
|
* RosterAnswerApi - axios parameter creator
|
|
@@ -1524,20 +1534,20 @@ export declare const RosterAnswerApiAxiosParamCreator: (configuration?: Configur
|
|
|
1524
1534
|
/**
|
|
1525
1535
|
*
|
|
1526
1536
|
* @summary Create a new roster shift answer
|
|
1527
|
-
* @param {
|
|
1537
|
+
* @param {AnswerCreateRequest} createParams Roster answer input
|
|
1528
1538
|
* @param {*} [options] Override http request option.
|
|
1529
1539
|
* @throws {RequiredError}
|
|
1530
1540
|
*/
|
|
1531
|
-
createRosterAnswer: (createParams:
|
|
1541
|
+
createRosterAnswer: (createParams: AnswerCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1532
1542
|
/**
|
|
1533
1543
|
*
|
|
1534
1544
|
* @summary Updates a roster answer with the new value
|
|
1535
1545
|
* @param {number} id Roster Answer ID
|
|
1536
|
-
* @param {
|
|
1546
|
+
* @param {AnswerUpdateRequest} updateParams New answer value
|
|
1537
1547
|
* @param {*} [options] Override http request option.
|
|
1538
1548
|
* @throws {RequiredError}
|
|
1539
1549
|
*/
|
|
1540
|
-
updateRosterAnswer: (id: number, updateParams:
|
|
1550
|
+
updateRosterAnswer: (id: number, updateParams: AnswerUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1541
1551
|
};
|
|
1542
1552
|
/**
|
|
1543
1553
|
* RosterAnswerApi - functional programming interface
|
|
@@ -1547,20 +1557,20 @@ export declare const RosterAnswerApiFp: (configuration?: Configuration) => {
|
|
|
1547
1557
|
/**
|
|
1548
1558
|
*
|
|
1549
1559
|
* @summary Create a new roster shift answer
|
|
1550
|
-
* @param {
|
|
1560
|
+
* @param {AnswerCreateRequest} createParams Roster answer input
|
|
1551
1561
|
* @param {*} [options] Override http request option.
|
|
1552
1562
|
* @throws {RequiredError}
|
|
1553
1563
|
*/
|
|
1554
|
-
createRosterAnswer(createParams:
|
|
1564
|
+
createRosterAnswer(createParams: AnswerCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterAnswer>>;
|
|
1555
1565
|
/**
|
|
1556
1566
|
*
|
|
1557
1567
|
* @summary Updates a roster answer with the new value
|
|
1558
1568
|
* @param {number} id Roster Answer ID
|
|
1559
|
-
* @param {
|
|
1569
|
+
* @param {AnswerUpdateRequest} updateParams New answer value
|
|
1560
1570
|
* @param {*} [options] Override http request option.
|
|
1561
1571
|
* @throws {RequiredError}
|
|
1562
1572
|
*/
|
|
1563
|
-
updateRosterAnswer(id: number, updateParams:
|
|
1573
|
+
updateRosterAnswer(id: number, updateParams: AnswerUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterAnswer>>;
|
|
1564
1574
|
};
|
|
1565
1575
|
/**
|
|
1566
1576
|
* RosterAnswerApi - factory interface
|
|
@@ -1570,20 +1580,20 @@ export declare const RosterAnswerApiFactory: (configuration?: Configuration, bas
|
|
|
1570
1580
|
/**
|
|
1571
1581
|
*
|
|
1572
1582
|
* @summary Create a new roster shift answer
|
|
1573
|
-
* @param {
|
|
1583
|
+
* @param {AnswerCreateRequest} createParams Roster answer input
|
|
1574
1584
|
* @param {*} [options] Override http request option.
|
|
1575
1585
|
* @throws {RequiredError}
|
|
1576
1586
|
*/
|
|
1577
|
-
createRosterAnswer(createParams:
|
|
1587
|
+
createRosterAnswer(createParams: AnswerCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterAnswer>;
|
|
1578
1588
|
/**
|
|
1579
1589
|
*
|
|
1580
1590
|
* @summary Updates a roster answer with the new value
|
|
1581
1591
|
* @param {number} id Roster Answer ID
|
|
1582
|
-
* @param {
|
|
1592
|
+
* @param {AnswerUpdateRequest} updateParams New answer value
|
|
1583
1593
|
* @param {*} [options] Override http request option.
|
|
1584
1594
|
* @throws {RequiredError}
|
|
1585
1595
|
*/
|
|
1586
|
-
updateRosterAnswer(id: number, updateParams:
|
|
1596
|
+
updateRosterAnswer(id: number, updateParams: AnswerUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterAnswer>;
|
|
1587
1597
|
};
|
|
1588
1598
|
/**
|
|
1589
1599
|
* RosterAnswerApi - object-oriented interface
|
|
@@ -1595,22 +1605,22 @@ export declare class RosterAnswerApi extends BaseAPI {
|
|
|
1595
1605
|
/**
|
|
1596
1606
|
*
|
|
1597
1607
|
* @summary Create a new roster shift answer
|
|
1598
|
-
* @param {
|
|
1608
|
+
* @param {AnswerCreateRequest} createParams Roster answer input
|
|
1599
1609
|
* @param {*} [options] Override http request option.
|
|
1600
1610
|
* @throws {RequiredError}
|
|
1601
1611
|
* @memberof RosterAnswerApi
|
|
1602
1612
|
*/
|
|
1603
|
-
createRosterAnswer(createParams:
|
|
1613
|
+
createRosterAnswer(createParams: AnswerCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterAnswer, any, {}>>;
|
|
1604
1614
|
/**
|
|
1605
1615
|
*
|
|
1606
1616
|
* @summary Updates a roster answer with the new value
|
|
1607
1617
|
* @param {number} id Roster Answer ID
|
|
1608
|
-
* @param {
|
|
1618
|
+
* @param {AnswerUpdateRequest} updateParams New answer value
|
|
1609
1619
|
* @param {*} [options] Override http request option.
|
|
1610
1620
|
* @throws {RequiredError}
|
|
1611
1621
|
* @memberof RosterAnswerApi
|
|
1612
1622
|
*/
|
|
1613
|
-
updateRosterAnswer(id: number, updateParams:
|
|
1623
|
+
updateRosterAnswer(id: number, updateParams: AnswerUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterAnswer, any, {}>>;
|
|
1614
1624
|
}
|
|
1615
1625
|
/**
|
|
1616
1626
|
* RosterShiftApi - axios parameter creator
|
|
@@ -1620,11 +1630,11 @@ export declare const RosterShiftApiAxiosParamCreator: (configuration?: Configura
|
|
|
1620
1630
|
/**
|
|
1621
1631
|
*
|
|
1622
1632
|
* @summary Create a new roster shift
|
|
1623
|
-
* @param {
|
|
1633
|
+
* @param {ShiftCreateRequest} createParams Roster shift input
|
|
1624
1634
|
* @param {*} [options] Override http request option.
|
|
1625
1635
|
* @throws {RequiredError}
|
|
1626
1636
|
*/
|
|
1627
|
-
createRosterShift: (createParams:
|
|
1637
|
+
createRosterShift: (createParams: ShiftCreateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1628
1638
|
/**
|
|
1629
1639
|
*
|
|
1630
1640
|
* @summary Deletes a roster shift
|
|
@@ -1637,11 +1647,11 @@ export declare const RosterShiftApiAxiosParamCreator: (configuration?: Configura
|
|
|
1637
1647
|
*
|
|
1638
1648
|
* @summary Update a roster shift
|
|
1639
1649
|
* @param {number} id Roster Shift ID
|
|
1640
|
-
* @param {
|
|
1650
|
+
* @param {ShiftUpdateRequest} updateParams Update input
|
|
1641
1651
|
* @param {*} [options] Override http request option.
|
|
1642
1652
|
* @throws {RequiredError}
|
|
1643
1653
|
*/
|
|
1644
|
-
updateRosterShift: (id: number, updateParams:
|
|
1654
|
+
updateRosterShift: (id: number, updateParams: ShiftUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
1645
1655
|
};
|
|
1646
1656
|
/**
|
|
1647
1657
|
* RosterShiftApi - functional programming interface
|
|
@@ -1651,11 +1661,11 @@ export declare const RosterShiftApiFp: (configuration?: Configuration) => {
|
|
|
1651
1661
|
/**
|
|
1652
1662
|
*
|
|
1653
1663
|
* @summary Create a new roster shift
|
|
1654
|
-
* @param {
|
|
1664
|
+
* @param {ShiftCreateRequest} createParams Roster shift input
|
|
1655
1665
|
* @param {*} [options] Override http request option.
|
|
1656
1666
|
* @throws {RequiredError}
|
|
1657
1667
|
*/
|
|
1658
|
-
createRosterShift(createParams:
|
|
1668
|
+
createRosterShift(createParams: ShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterShift>>;
|
|
1659
1669
|
/**
|
|
1660
1670
|
*
|
|
1661
1671
|
* @summary Deletes a roster shift
|
|
@@ -1668,11 +1678,11 @@ export declare const RosterShiftApiFp: (configuration?: Configuration) => {
|
|
|
1668
1678
|
*
|
|
1669
1679
|
* @summary Update a roster shift
|
|
1670
1680
|
* @param {number} id Roster Shift ID
|
|
1671
|
-
* @param {
|
|
1681
|
+
* @param {ShiftUpdateRequest} updateParams Update input
|
|
1672
1682
|
* @param {*} [options] Override http request option.
|
|
1673
1683
|
* @throws {RequiredError}
|
|
1674
1684
|
*/
|
|
1675
|
-
updateRosterShift(id: number, updateParams:
|
|
1685
|
+
updateRosterShift(id: number, updateParams: ShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<RosterShift>>;
|
|
1676
1686
|
};
|
|
1677
1687
|
/**
|
|
1678
1688
|
* RosterShiftApi - factory interface
|
|
@@ -1682,11 +1692,11 @@ export declare const RosterShiftApiFactory: (configuration?: Configuration, base
|
|
|
1682
1692
|
/**
|
|
1683
1693
|
*
|
|
1684
1694
|
* @summary Create a new roster shift
|
|
1685
|
-
* @param {
|
|
1695
|
+
* @param {ShiftCreateRequest} createParams Roster shift input
|
|
1686
1696
|
* @param {*} [options] Override http request option.
|
|
1687
1697
|
* @throws {RequiredError}
|
|
1688
1698
|
*/
|
|
1689
|
-
createRosterShift(createParams:
|
|
1699
|
+
createRosterShift(createParams: ShiftCreateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterShift>;
|
|
1690
1700
|
/**
|
|
1691
1701
|
*
|
|
1692
1702
|
* @summary Deletes a roster shift
|
|
@@ -1699,11 +1709,11 @@ export declare const RosterShiftApiFactory: (configuration?: Configuration, base
|
|
|
1699
1709
|
*
|
|
1700
1710
|
* @summary Update a roster shift
|
|
1701
1711
|
* @param {number} id Roster Shift ID
|
|
1702
|
-
* @param {
|
|
1712
|
+
* @param {ShiftUpdateRequest} updateParams Update input
|
|
1703
1713
|
* @param {*} [options] Override http request option.
|
|
1704
1714
|
* @throws {RequiredError}
|
|
1705
1715
|
*/
|
|
1706
|
-
updateRosterShift(id: number, updateParams:
|
|
1716
|
+
updateRosterShift(id: number, updateParams: ShiftUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<RosterShift>;
|
|
1707
1717
|
};
|
|
1708
1718
|
/**
|
|
1709
1719
|
* RosterShiftApi - object-oriented interface
|
|
@@ -1715,12 +1725,12 @@ export declare class RosterShiftApi extends BaseAPI {
|
|
|
1715
1725
|
/**
|
|
1716
1726
|
*
|
|
1717
1727
|
* @summary Create a new roster shift
|
|
1718
|
-
* @param {
|
|
1728
|
+
* @param {ShiftCreateRequest} createParams Roster shift input
|
|
1719
1729
|
* @param {*} [options] Override http request option.
|
|
1720
1730
|
* @throws {RequiredError}
|
|
1721
1731
|
* @memberof RosterShiftApi
|
|
1722
1732
|
*/
|
|
1723
|
-
createRosterShift(createParams:
|
|
1733
|
+
createRosterShift(createParams: ShiftCreateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterShift, any, {}>>;
|
|
1724
1734
|
/**
|
|
1725
1735
|
*
|
|
1726
1736
|
* @summary Deletes a roster shift
|
|
@@ -1734,12 +1744,12 @@ export declare class RosterShiftApi extends BaseAPI {
|
|
|
1734
1744
|
*
|
|
1735
1745
|
* @summary Update a roster shift
|
|
1736
1746
|
* @param {number} id Roster Shift ID
|
|
1737
|
-
* @param {
|
|
1747
|
+
* @param {ShiftUpdateRequest} updateParams Update input
|
|
1738
1748
|
* @param {*} [options] Override http request option.
|
|
1739
1749
|
* @throws {RequiredError}
|
|
1740
1750
|
* @memberof RosterShiftApi
|
|
1741
1751
|
*/
|
|
1742
|
-
updateRosterShift(id: number, updateParams:
|
|
1752
|
+
updateRosterShift(id: number, updateParams: ShiftUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<RosterShift, any, {}>>;
|
|
1743
1753
|
}
|
|
1744
1754
|
/**
|
|
1745
1755
|
* SavedShiftApi - axios parameter creator
|