@myclub_se/data-access 2.11.1 → 2.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/esm2020/lib/api-models/api-booking-calendar-application-time.mjs +1 -1
- package/esm2020/lib/api-models/api-booking-calendar-slot-session.mjs +1 -1
- package/esm2020/lib/api-models/api-booking-calendar-slot.mjs +1 -1
- package/esm2020/lib/api-models/api-booking-calendar.mjs +1 -1
- package/esm2020/lib/models/booking-calendar-application-time.mjs +4 -2
- package/esm2020/lib/models/booking-calendar-slot-session.mjs +6 -2
- package/esm2020/lib/models/booking-calendar-slot.mjs +4 -2
- package/esm2020/lib/models/booking-calendar.mjs +5 -3
- package/esm2020/lib/services/factories/booking-calendar-application-time-factory.mjs +2 -2
- package/esm2020/lib/services/factories/booking-calendar-factory.mjs +2 -2
- package/esm2020/lib/services/factories/booking-calendar-slot-factory.mjs +2 -2
- package/esm2020/lib/services/factories/booking-calendar-slot-session-factory.mjs +2 -2
- package/fesm2015/myclub_se-data-access.mjs +19 -9
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +19 -9
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-booking-calendar-application-time.d.ts +1 -0
- package/lib/api-models/api-booking-calendar-slot-session.d.ts +2 -0
- package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
- package/lib/api-models/api-booking-calendar.d.ts +1 -0
- package/lib/models/booking-calendar-application-time.d.ts +3 -1
- package/lib/models/booking-calendar-slot-session.d.ts +5 -1
- package/lib/models/booking-calendar-slot.d.ts +3 -1
- package/lib/models/booking-calendar.d.ts +3 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ export interface ApiBookingCalendarSlotSession {
|
|
|
6
6
|
slot_id: string;
|
|
7
7
|
start_time: string;
|
|
8
8
|
team_id: string;
|
|
9
|
+
title: string;
|
|
9
10
|
readonly team_name: string;
|
|
10
11
|
readonly is_overbooked: boolean;
|
|
11
12
|
readonly type: string;
|
|
@@ -19,4 +20,5 @@ export interface ApiBookingCalendarSlotSession {
|
|
|
19
20
|
activity_type_id: string | null;
|
|
20
21
|
readonly color: string | null;
|
|
21
22
|
update_repeating: boolean;
|
|
23
|
+
update_until_date: string | null;
|
|
22
24
|
}
|
|
@@ -23,6 +23,7 @@ export interface ApiBookingCalendarSlot {
|
|
|
23
23
|
repeat_num?: number | null;
|
|
24
24
|
repeat_type?: string | null;
|
|
25
25
|
update_repeating: boolean;
|
|
26
|
+
update_until_date: string | null;
|
|
26
27
|
reserved_time_enabled: boolean;
|
|
27
28
|
reserved_time?: string | null;
|
|
28
29
|
reserved_time_position?: BookingCalendarSlotReservedTimePosition | null;
|
|
@@ -4,6 +4,7 @@ export declare class BookingCalendarApplicationTime {
|
|
|
4
4
|
section_id: string | null;
|
|
5
5
|
slot_id: string;
|
|
6
6
|
team_id: string | null;
|
|
7
|
+
title: string;
|
|
7
8
|
end_time: string;
|
|
8
9
|
section_name: string | null;
|
|
9
10
|
start_time: string;
|
|
@@ -30,6 +31,7 @@ export declare class BookingCalendarApplicationTime {
|
|
|
30
31
|
section_id: FormControl<string | null>;
|
|
31
32
|
slot_id: FormControl<string | null>;
|
|
32
33
|
team_id: FormControl<string | null>;
|
|
34
|
+
title: FormControl<string | null>;
|
|
33
35
|
end_time: FormControl<string | null>;
|
|
34
36
|
section_name: FormControl<string | null>;
|
|
35
37
|
start_time: FormControl<string | null>;
|
|
@@ -42,5 +44,5 @@ export declare class BookingCalendarApplicationTime {
|
|
|
42
44
|
repeat: FormControl<boolean | null>;
|
|
43
45
|
activity_type_id: FormControl<string | null>;
|
|
44
46
|
}>;
|
|
45
|
-
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, location_zones_taken: number, applicant_comment: string | null, reviewer_comment: string | null, status: string, location_part_id: string | null, location_part_name: string | null, location_id: string, repeat: boolean, activity_type_id: string | null, color: string | null, slot_start_time: string, slot_end_time: string, slot_day: string, slot_number_of_available_sessions: string, slot_last_repeating_date: string | null, created: string, location_name: string);
|
|
47
|
+
constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, title: string, end_time: string, section_name: string | null, start_time: string, team_name: string | null, location_zones_taken: number, applicant_comment: string | null, reviewer_comment: string | null, status: string, location_part_id: string | null, location_part_name: string | null, location_id: string, repeat: boolean, activity_type_id: string | null, color: string | null, slot_start_time: string, slot_end_time: string, slot_day: string, slot_number_of_available_sessions: string, slot_last_repeating_date: string | null, created: string, location_name: string);
|
|
46
48
|
}
|
|
@@ -4,6 +4,7 @@ export declare class BookingCalendarSlotSession {
|
|
|
4
4
|
section_id: string | null;
|
|
5
5
|
slot_id: string;
|
|
6
6
|
team_id: string | null;
|
|
7
|
+
title: string;
|
|
7
8
|
end_time: string;
|
|
8
9
|
section_name: string | null;
|
|
9
10
|
start_time: string;
|
|
@@ -20,11 +21,13 @@ export declare class BookingCalendarSlotSession {
|
|
|
20
21
|
activity_type_id: string | null;
|
|
21
22
|
readonly color: string | null;
|
|
22
23
|
update_repeating: boolean;
|
|
24
|
+
update_until_date: string | null;
|
|
23
25
|
static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
|
|
24
26
|
id: FormControl<string | null>;
|
|
25
27
|
section_id: FormControl<string | null>;
|
|
26
28
|
slot_id: FormControl<string | null>;
|
|
27
29
|
team_id: FormControl<string | null>;
|
|
30
|
+
title: FormControl<string | null>;
|
|
28
31
|
end_time: FormControl<string | null>;
|
|
29
32
|
section_name: FormControl<string | null>;
|
|
30
33
|
start_time: FormControl<string | null>;
|
|
@@ -37,6 +40,7 @@ export declare class BookingCalendarSlotSession {
|
|
|
37
40
|
repeat: FormControl<boolean | null>;
|
|
38
41
|
activity_type_id: FormControl<string | null>;
|
|
39
42
|
update_repeating: FormControl<boolean | null>;
|
|
43
|
+
update_until_date: FormControl<string | null>;
|
|
40
44
|
}>;
|
|
41
|
-
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, slot_index: number, comment: string | null, location_part_id: string | null, location_part_name: string | null, location_id: string, repeat: boolean, activity_type_id: string | null, color: string | null, update_repeating: boolean);
|
|
45
|
+
constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, title: string, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, type: string, location_zones_taken: number, slot_index: number, comment: string | null, location_part_id: string | null, location_part_name: string | null, location_id: string, repeat: boolean, activity_type_id: string | null, color: string | null, update_repeating: boolean, update_until_date?: string | null);
|
|
42
46
|
}
|
|
@@ -20,6 +20,7 @@ export declare class BookingCalendarSlot {
|
|
|
20
20
|
type: BookingCalendarSlotType;
|
|
21
21
|
repeat: string;
|
|
22
22
|
update_repeating: boolean;
|
|
23
|
+
update_until_date: string | null;
|
|
23
24
|
reserved_time_enabled: boolean;
|
|
24
25
|
repeat_num?: number | null | undefined;
|
|
25
26
|
repeat_to_day?: string | null | undefined;
|
|
@@ -43,9 +44,10 @@ export declare class BookingCalendarSlot {
|
|
|
43
44
|
repeat_to_day: FormControl<string | null>;
|
|
44
45
|
repeat_type: FormControl<string | null>;
|
|
45
46
|
update_repeating: FormControl<boolean | null>;
|
|
47
|
+
update_until_date: FormControl<string | null>;
|
|
46
48
|
reserved_time_enabled: FormControl<boolean | null>;
|
|
47
49
|
reserved_time: FormControl<string | null>;
|
|
48
50
|
reserved_time_position: FormControl<string | null>;
|
|
49
51
|
}>;
|
|
50
|
-
constructor(id: string, calendar_id: string, calendar_status: 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_position?: BookingCalendarSlotReservedTimePosition | null | undefined, application_times?: BookingCalendarApplicationTime[] | null | undefined, last_repeating_date?: string | null | undefined);
|
|
52
|
+
constructor(id: string, calendar_id: string, calendar_status: 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, update_until_date: string | null, 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_position?: BookingCalendarSlotReservedTimePosition | null | undefined, application_times?: BookingCalendarApplicationTime[] | null | undefined, last_repeating_date?: string | null | undefined);
|
|
51
53
|
}
|
|
@@ -12,6 +12,7 @@ export declare class BookingCalendar {
|
|
|
12
12
|
status: string | null;
|
|
13
13
|
max_application_number: number;
|
|
14
14
|
allow_team_export: boolean;
|
|
15
|
+
allow_repeated_bookings: boolean;
|
|
15
16
|
location_groups?: ActivityLocationGroup[] | null | undefined;
|
|
16
17
|
static asFormGroup(calendar?: BookingCalendar): FormGroup<{
|
|
17
18
|
id: FormControl<string | null>;
|
|
@@ -26,6 +27,7 @@ export declare class BookingCalendar {
|
|
|
26
27
|
location_groups: FormArray<FormGroup<any>>;
|
|
27
28
|
max_application_number: FormControl<number | null>;
|
|
28
29
|
allow_team_export: FormControl<boolean | null>;
|
|
30
|
+
allow_repeated_bookings: FormControl<boolean | null>;
|
|
29
31
|
}>;
|
|
30
|
-
constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, name: string, section_name: string | null, team_name: string | null, status: string | null, max_application_number: number, allow_team_export: boolean, location_groups?: ActivityLocationGroup[] | null | undefined);
|
|
32
|
+
constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, name: string, section_name: string | null, team_name: string | null, status: string | null, max_application_number: number, allow_team_export: boolean, allow_repeated_bookings: boolean, location_groups?: ActivityLocationGroup[] | null | undefined);
|
|
31
33
|
}
|
package/package.json
CHANGED