@myclub_se/data-access 2.2.2 → 2.2.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.
@@ -9,4 +9,5 @@ export interface ApiBookingCalendarSlotSession {
9
9
  readonly team_name: string;
10
10
  readonly is_overbooked: boolean;
11
11
  readonly type: string;
12
+ location_zones_taken: number;
12
13
  }
@@ -26,4 +26,5 @@ export interface ApiBookingCalendarSlot {
26
26
  reserved_time?: string | null;
27
27
  reserved_time_type?: BookingCalendarSlotReservedTimeType | null;
28
28
  reserved_time_position?: BookingCalendarSlotReservedTimePosition | null;
29
+ available_location_zones: number;
29
30
  }
@@ -3,6 +3,7 @@ export interface ApiMemberTeam {
3
3
  club: ApiClub;
4
4
  id: string;
5
5
  email: string;
6
+ readonly has_extra_members: boolean;
6
7
  name: string;
7
8
  phone: string;
8
9
  section: ApiSection;
@@ -10,6 +10,7 @@ export declare class BookingCalendarSlotSession {
10
10
  team_name: string | null;
11
11
  is_overbooked: boolean;
12
12
  type: string;
13
+ location_zones_taken: number;
13
14
  static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
14
15
  id: FormControl<string | null>;
15
16
  section_id: FormControl<string | null>;
@@ -21,6 +22,7 @@ export declare class BookingCalendarSlotSession {
21
22
  team_name: FormControl<string | null>;
22
23
  is_overbooked: FormControl<boolean | null>;
23
24
  type: FormControl<string | null>;
25
+ location_zones_taken: FormControl<number | null>;
24
26
  }>;
25
- constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, type: string);
27
+ constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, type: string, location_zones_taken: number);
26
28
  }
@@ -20,6 +20,7 @@ export declare class BookingCalendarSlot {
20
20
  repeat: string;
21
21
  update_repeating: boolean;
22
22
  reserved_time_enabled: boolean;
23
+ available_location_zones: number;
23
24
  repeat_num?: number | null | undefined;
24
25
  repeat_to_day?: string | null | undefined;
25
26
  repeat_type?: string | null | undefined;
@@ -45,6 +46,7 @@ export declare class BookingCalendarSlot {
45
46
  reserved_time: FormControl<string | null>;
46
47
  reserved_time_type: FormControl<string | null>;
47
48
  reserved_time_position: FormControl<string | null>;
49
+ available_location_zones: FormControl<number | null>;
48
50
  }>;
49
- constructor(id: string, calendar_id: string, location_id: string, color: string, day: string, end_time: string, group_id: string | null, location_name: string, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, open_sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType, repeat: string, update_repeating: boolean, reserved_time_enabled: boolean, repeat_num?: number | null | undefined, repeat_to_day?: string | null | undefined, repeat_type?: string | null | undefined, reserved_time?: string | null | undefined, reserved_time_type?: BookingCalendarSlotReservedTimeType | null | undefined, reserved_time_position?: BookingCalendarSlotReservedTimePosition | null | undefined);
51
+ constructor(id: string, calendar_id: string, location_id: string, color: string, day: string, end_time: string, group_id: string | null, location_name: string, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, open_sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType, repeat: string, update_repeating: boolean, reserved_time_enabled: boolean, available_location_zones: number, repeat_num?: number | null | undefined, repeat_to_day?: string | null | undefined, repeat_type?: string | null | undefined, reserved_time?: string | null | undefined, reserved_time_type?: BookingCalendarSlotReservedTimeType | null | undefined, reserved_time_position?: BookingCalendarSlotReservedTimePosition | null | undefined);
50
52
  }
@@ -4,8 +4,9 @@ export declare class MemberTeam {
4
4
  section: Section | null;
5
5
  id: string;
6
6
  email: string;
7
+ readonly has_extra_members: boolean;
7
8
  name: string;
8
9
  phone: string;
9
10
  section_name: string | undefined;
10
- constructor(club: Club, section: Section | null, id: string, email: string, name: string, phone: string, section_name: string | undefined);
11
+ constructor(club: Club, section: Section | null, id: string, email: string, has_extra_members: boolean, name: string, phone: string, section_name: string | undefined);
11
12
  }
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.2.2",
4
+ "version": "2.2.3",
5
5
  "license": "MIT",
6
6
  "main": "src/index.ts",
7
7
  "peerDependencies": {