@myclub_se/data-access 2.11.0 → 2.11.2
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-slot-session.mjs +1 -1
- package/esm2020/lib/api-models/api-booking-calendar-slot.mjs +1 -1
- package/esm2020/lib/models/booking-calendar-slot-session.mjs +4 -2
- package/esm2020/lib/models/booking-calendar-slot.mjs +4 -2
- package/esm2020/lib/services/booking-calendar.service.mjs +8 -6
- 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 +15 -9
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +15 -9
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-booking-calendar-slot-session.d.ts +1 -0
- package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
- package/lib/models/booking-calendar-slot-session.d.ts +3 -1
- package/lib/models/booking-calendar-slot.d.ts +3 -1
- package/lib/services/booking-calendar.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -20,6 +20,7 @@ export declare class BookingCalendarSlotSession {
|
|
|
20
20
|
activity_type_id: string | null;
|
|
21
21
|
readonly color: string | null;
|
|
22
22
|
update_repeating: boolean;
|
|
23
|
+
update_until_date: string | null;
|
|
23
24
|
static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
|
|
24
25
|
id: FormControl<string | null>;
|
|
25
26
|
section_id: FormControl<string | null>;
|
|
@@ -37,6 +38,7 @@ export declare class BookingCalendarSlotSession {
|
|
|
37
38
|
repeat: FormControl<boolean | null>;
|
|
38
39
|
activity_type_id: FormControl<string | null>;
|
|
39
40
|
update_repeating: FormControl<boolean | null>;
|
|
41
|
+
update_until_date: FormControl<string | null>;
|
|
40
42
|
}>;
|
|
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);
|
|
43
|
+
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, update_until_date?: string | null);
|
|
42
44
|
}
|
|
@@ -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
|
}
|
|
@@ -55,7 +55,7 @@ export declare class BookingCalendarService {
|
|
|
55
55
|
copyBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, weekRelativeIndexes: number[], onlyCopySlots: boolean | undefined, weekdays: number[] | undefined, bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
|
56
56
|
private copyClubBookingCalendarSlots;
|
|
57
57
|
private copySectionBookingCalendarSlots;
|
|
58
|
-
clearBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, currentWeekStartDate: string, weekRelativeIndexes: number[], onlyDeleteSessions: boolean | undefined, shouldDeleteRepeatingSlots: boolean | undefined, bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
|
58
|
+
clearBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, currentWeekStartDate: string, weekRelativeIndexes: number[], onlyDeleteSessions: boolean | undefined, shouldDeleteRepeatingSlots: boolean | undefined, weekdays: number[] | undefined, bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
|
59
59
|
private clearClubBookingCalendarSlots;
|
|
60
60
|
private clearSectionBookingCalendarSlots;
|
|
61
61
|
syncBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, currentWeekStartDate: string, weekRelativeIndexes: number[], bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
package/package.json
CHANGED