@myclub_se/data-access 2.5.12 → 2.5.13

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.
@@ -8,4 +8,5 @@ export interface ApiBookingCalendar {
8
8
  readonly section_name: string | null;
9
9
  team_id: string | null;
10
10
  readonly team_name: string | null;
11
+ status: string;
11
12
  }
@@ -1,6 +1,5 @@
1
1
  export interface ApiBookingSettings {
2
2
  id: string;
3
- club_id: string;
4
3
  calendar_step: string;
5
4
  calendar_min_time: string;
6
5
  calendar_max_time: string;
@@ -9,6 +9,7 @@ export declare class BookingCalendar {
9
9
  name: string;
10
10
  section_name: string | null;
11
11
  team_name: string | null;
12
+ status: string | null;
12
13
  static asFormGroup(calendar?: BookingCalendar): FormGroup<{
13
14
  id: FormControl<string | null>;
14
15
  club_id: FormControl<string | null>;
@@ -19,6 +20,7 @@ export declare class BookingCalendar {
19
20
  name: FormControl<string | null>;
20
21
  section_name: FormControl<string | null>;
21
22
  team_name: FormControl<string | null>;
23
+ status: FormControl<string | null>;
22
24
  }>;
23
- constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, color: string, name: string, section_name: string | null, team_name: string | null);
25
+ constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, color: string, name: string, section_name: string | null, team_name: string | null, status: string | null);
24
26
  }
@@ -1,18 +1,16 @@
1
1
  import { FormControl, FormGroup } from "@angular/forms";
2
2
  export declare class BookingSettings {
3
3
  id: string;
4
- club_id: string;
5
4
  calendar_step: string;
6
5
  calendar_min_time: string;
7
6
  calendar_max_time: string;
8
7
  should_split_booking_into_zones: boolean;
9
8
  static asFormGroup(settings?: BookingSettings): FormGroup<{
10
9
  id: FormControl<string | null>;
11
- club_id: FormControl<string | null>;
12
10
  calendar_step: FormControl<string | null>;
13
11
  calendar_min_time: FormControl<string | null>;
14
12
  calendar_max_time: FormControl<string | null>;
15
13
  should_split_booking_into_zones: FormControl<boolean | null>;
16
14
  }>;
17
- constructor(id: string, club_id: string, calendar_step: string, calendar_min_time: string, calendar_max_time: string, should_split_booking_into_zones: boolean);
15
+ constructor(id: string, calendar_step: string, calendar_min_time: string, calendar_max_time: string, should_split_booking_into_zones: boolean);
18
16
  }
@@ -41,7 +41,9 @@ export declare class BookingCalendarService {
41
41
  getBookingSettings(role: Role, clubOrTeamId: string): import("rxjs").Observable<BookingSettings>;
42
42
  getClubBookingSettings(clubId: string): import("rxjs").Observable<BookingSettings>;
43
43
  getTeamBookingSettings(teamId: string): import("rxjs").Observable<BookingSettings>;
44
+ updateBookingSettings(role: Role, clubOrTeamId: string, bookingSettings: BookingSettings): import("rxjs").Observable<BookingSettings>;
44
45
  updateClubBookingSettings(clubId: string, bookingSettings: BookingSettings): import("rxjs").Observable<BookingSettings>;
46
+ updateTeamBookingSettings(teamId: string, bookingSettings: BookingSettings): import("rxjs").Observable<BookingSettings>;
45
47
  updateClubBookingCalendarApplicationTime(clubId: string, availableTime: BookingCalendarApplicationTime): import("rxjs").Observable<BookingCalendarApplicationTime>;
46
48
  createTeamBookingCalendarApplicationTime(teamId: string, availableTime: Partial<BookingCalendarApplicationTime>): import("rxjs").Observable<BookingCalendarApplicationTime>;
47
49
  updateTeamBookingCalendarApplicationTime(teamId: string, availableTime: BookingCalendarApplicationTime): import("rxjs").Observable<BookingCalendarApplicationTime>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@myclub_se/data-access",
3
3
  "description": "This is the package required to access the api for the MyClub Member API V3 from angular",
4
- "version": "2.5.12",
4
+ "version": "2.5.13",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "peerDependencies": {