@gewis/grooster-backend-ts 1.5.2 → 1.6.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/api.d.ts +41 -41
  2. package/package.json +1 -1
package/dist/api.d.ts CHANGED
@@ -32,44 +32,6 @@ export interface GormDeletedAt {
32
32
  */
33
33
  'valid'?: boolean;
34
34
  }
35
- /**
36
- *
37
- * @export
38
- * @interface ModelsSavedShiftOrdering
39
- */
40
- export interface ModelsSavedShiftOrdering {
41
- /**
42
- *
43
- * @type {string}
44
- * @memberof ModelsSavedShiftOrdering
45
- */
46
- 'shiftName'?: string;
47
- /**
48
- *
49
- * @type {Array<User>}
50
- * @memberof ModelsSavedShiftOrdering
51
- */
52
- 'users'?: Array<User>;
53
- }
54
- /**
55
- *
56
- * @export
57
- * @interface ModelsSavedShiftResponse
58
- */
59
- export interface ModelsSavedShiftResponse {
60
- /**
61
- *
62
- * @type {Array<ModelsSavedShiftOrdering>}
63
- * @memberof ModelsSavedShiftResponse
64
- */
65
- 'savedShiftOrdering'?: Array<ModelsSavedShiftOrdering>;
66
- /**
67
- *
68
- * @type {Array<SavedShift>}
69
- * @memberof ModelsSavedShiftResponse
70
- */
71
- 'savedShifts'?: Array<SavedShift>;
72
- }
73
35
  /**
74
36
  * An organ that users can be part of.
75
37
  * @export
@@ -551,6 +513,44 @@ export interface SavedShift {
551
513
  */
552
514
  'users'?: Array<User>;
553
515
  }
516
+ /**
517
+ *
518
+ * @export
519
+ * @interface SavedShiftOrdering
520
+ */
521
+ export interface SavedShiftOrdering {
522
+ /**
523
+ *
524
+ * @type {string}
525
+ * @memberof SavedShiftOrdering
526
+ */
527
+ 'shiftName'?: string;
528
+ /**
529
+ *
530
+ * @type {Array<User>}
531
+ * @memberof SavedShiftOrdering
532
+ */
533
+ 'users'?: Array<User>;
534
+ }
535
+ /**
536
+ *
537
+ * @export
538
+ * @interface SavedShiftResponse
539
+ */
540
+ export interface SavedShiftResponse {
541
+ /**
542
+ *
543
+ * @type {Array<SavedShiftOrdering>}
544
+ * @memberof SavedShiftResponse
545
+ */
546
+ 'savedShiftOrdering'?: Array<SavedShiftOrdering>;
547
+ /**
548
+ *
549
+ * @type {Array<SavedShift>}
550
+ * @memberof SavedShiftResponse
551
+ */
552
+ 'savedShifts'?: Array<SavedShift>;
553
+ }
554
554
  /**
555
555
  *
556
556
  * @export
@@ -1339,7 +1339,7 @@ export declare const SavedShiftApiFp: (configuration?: Configuration) => {
1339
1339
  * @param {*} [options] Override http request option.
1340
1340
  * @throws {RequiredError}
1341
1341
  */
1342
- getSavedRoster(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModelsSavedShiftResponse>>;
1342
+ getSavedRoster(id: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SavedShiftResponse>>;
1343
1343
  /**
1344
1344
  *
1345
1345
  * @summary Save a specific roster
@@ -1370,7 +1370,7 @@ export declare const SavedShiftApiFactory: (configuration?: Configuration, baseP
1370
1370
  * @param {*} [options] Override http request option.
1371
1371
  * @throws {RequiredError}
1372
1372
  */
1373
- getSavedRoster(id: number, options?: RawAxiosRequestConfig): AxiosPromise<ModelsSavedShiftResponse>;
1373
+ getSavedRoster(id: number, options?: RawAxiosRequestConfig): AxiosPromise<SavedShiftResponse>;
1374
1374
  /**
1375
1375
  *
1376
1376
  * @summary Save a specific roster
@@ -1404,7 +1404,7 @@ export declare class SavedShiftApi extends BaseAPI {
1404
1404
  * @throws {RequiredError}
1405
1405
  * @memberof SavedShiftApi
1406
1406
  */
1407
- getSavedRoster(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ModelsSavedShiftResponse, any, {}>>;
1407
+ getSavedRoster(id: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<SavedShiftResponse, any, {}>>;
1408
1408
  /**
1409
1409
  *
1410
1410
  * @summary Save a specific roster
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gewis/grooster-backend-ts",
3
3
  "main": "./dist/index.js",
4
- "version": "1.5.2",
4
+ "version": "1.6.0",
5
5
  "types": "./dist/index.d.ts",
6
6
  "files": [
7
7
  "dist/"