@myclub_se/data-access 3.1.13 → 3.1.14
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/esm2022/lib/services/booking-calendar.service.mjs +47 -45
- package/esm2022/lib/store/actions/booking.actions.mjs +1 -1
- package/esm2022/lib/store/effects/booking.effects.mjs +5 -5
- package/fesm2022/myclub_se-data-access.mjs +50 -48
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/services/booking-calendar.service.d.ts +5 -5
- package/lib/store/actions/booking.actions.d.ts +8 -0
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ export declare class BookingCalendarService {
|
|
|
44
44
|
copyBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, weekRelativeIndexes: number[], onlyCopySlots: boolean | undefined, weekdays: number[] | undefined, bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
|
45
45
|
private copyClubBookingCalendarSlots;
|
|
46
46
|
private copySectionBookingCalendarSlots;
|
|
47
|
-
clearBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, currentWeekStartDate: string, weekRelativeIndexes: number[], onlyDeleteSessions: boolean | undefined, shouldDeleteRepeatingSlots: boolean | undefined, weekdays: number[] | undefined, bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
|
47
|
+
clearBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, currentWeekStartDate: string, weekRelativeIndexes: number[], onlyDeleteSessions: boolean | undefined, shouldDeleteRepeatingSlots: boolean | undefined, weekdays: number[] | undefined, bookingSlotFilter: BookingSlotFilter, send_notification?: boolean): import("rxjs").Observable<boolean>;
|
|
48
48
|
private clearClubBookingCalendarSlots;
|
|
49
49
|
private clearSectionBookingCalendarSlots;
|
|
50
50
|
syncBookingCalendarSlots(role: Role, clubOrSectionOrTeamId: string, currentWeekStartDate: string, weekRelativeIndexes: number[], bookingSlotFilter: BookingSlotFilter): import("rxjs").Observable<boolean>;
|
|
@@ -54,10 +54,10 @@ export declare class BookingCalendarService {
|
|
|
54
54
|
updateBookingCalendarSlot(role: Role, clubOrSectionOrTeamId: string, slot: Partial<BookingCalendarSlot>): import("rxjs").Observable<BookingCalendarSlot>;
|
|
55
55
|
private updateClubBookingCalendarSlot;
|
|
56
56
|
private updateSectionBookingCalendarSlot;
|
|
57
|
-
deleteBookingCalendarSlot(role: Role, clubOrSectionOrTeamId: string, id: string): import("rxjs").Observable<boolean>;
|
|
57
|
+
deleteBookingCalendarSlot(role: Role, clubOrSectionOrTeamId: string, id: string, sendNotification?: boolean): import("rxjs").Observable<boolean>;
|
|
58
58
|
private deleteClubBookingCalendarSlot;
|
|
59
59
|
private deleteSectionBookingCalendarSlot;
|
|
60
|
-
deleteBookingCalendarSlotRepeatable(role: Role, clubOrSectionOrTeamId: string, id: string, deleteUntilDate: string | null): import("rxjs").Observable<boolean>;
|
|
60
|
+
deleteBookingCalendarSlotRepeatable(role: Role, clubOrSectionOrTeamId: string, id: string, deleteUntilDate: string | null, sendNotification?: boolean): import("rxjs").Observable<boolean>;
|
|
61
61
|
private deleteClubBookingCalendarSlotRepeatable;
|
|
62
62
|
private deleteSectionBookingCalendarSlotRepeatable;
|
|
63
63
|
getMemberBookingCalendarSlotSessions(memberId: string): import("rxjs").Observable<import("../models").Collection<BookingCalendarSlotSession>>;
|
|
@@ -72,12 +72,12 @@ export declare class BookingCalendarService {
|
|
|
72
72
|
private updateSectionBookingCalendarSlotSession;
|
|
73
73
|
private updateTeamBookingCalendarSlotSession;
|
|
74
74
|
private updateMemberBookingCalendarSlotSession;
|
|
75
|
-
deleteBookingCalendarSlotSession(role: Role, itemId: string, id: string): import("rxjs").Observable<boolean>;
|
|
75
|
+
deleteBookingCalendarSlotSession(role: Role, itemId: string, id: string, sendNotification?: boolean): import("rxjs").Observable<boolean>;
|
|
76
76
|
private deleteClubBookingCalendarSlotSession;
|
|
77
77
|
private deleteSectionBookingCalendarSlotSession;
|
|
78
78
|
private deleteTeamBookingCalendarSlotSession;
|
|
79
79
|
private deleteMemberBookingCalendarSlotSession;
|
|
80
|
-
deleteBookingCalendarSlotSessionRepeatable(role: Role, clubOrSectionOrTeamId: string, id: string, deleteUntilDate: string | null): import("rxjs").Observable<boolean>;
|
|
80
|
+
deleteBookingCalendarSlotSessionRepeatable(role: Role, clubOrSectionOrTeamId: string, id: string, deleteUntilDate: string | null, sendNotification?: boolean): import("rxjs").Observable<boolean>;
|
|
81
81
|
private deleteClubBookingCalendarSlotSessionRepeatable;
|
|
82
82
|
private deleteSectionBookingCalendarSlotSessionRepeatable;
|
|
83
83
|
private deleteTeamBookingCalendarSlotSessionRepeatable;
|
|
@@ -540,10 +540,12 @@ export declare const deleteBookingCalendarSlotAction: import("@ngrx/store").Acti
|
|
|
540
540
|
role: Role;
|
|
541
541
|
clubOrSectionOrTeamId: string;
|
|
542
542
|
slot: BookingCalendarSlot;
|
|
543
|
+
sendNotification: boolean;
|
|
543
544
|
}) => {
|
|
544
545
|
role: Role;
|
|
545
546
|
clubOrSectionOrTeamId: string;
|
|
546
547
|
slot: BookingCalendarSlot;
|
|
548
|
+
sendNotification: boolean;
|
|
547
549
|
} & import("@ngrx/store").Action<BookingActionTypes.DeleteBookingCalendarSlot>>;
|
|
548
550
|
export declare const deleteBookingCalendarSlotSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.DeleteBookingCalendarSlotSuccess, (props: {
|
|
549
551
|
slot: BookingCalendarSlot;
|
|
@@ -560,11 +562,13 @@ export declare const deleteBookingCalendarRepeatableSlotAction: import("@ngrx/st
|
|
|
560
562
|
clubOrSectionOrTeamId: string;
|
|
561
563
|
slot: BookingCalendarSlot;
|
|
562
564
|
deleteUntilDate: string | null;
|
|
565
|
+
sendNotification: boolean;
|
|
563
566
|
}) => {
|
|
564
567
|
role: Role;
|
|
565
568
|
clubOrSectionOrTeamId: string;
|
|
566
569
|
slot: BookingCalendarSlot;
|
|
567
570
|
deleteUntilDate: string | null;
|
|
571
|
+
sendNotification: boolean;
|
|
568
572
|
} & import("@ngrx/store").Action<BookingActionTypes.DeleteBookingCalendarRepeatableSlot>>;
|
|
569
573
|
export declare const deleteBookingCalendarRepeatableSlotSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.DeleteBookingCalendarRepeatableSlotSuccess, (props: {
|
|
570
574
|
slot: BookingCalendarSlot;
|
|
@@ -654,10 +658,12 @@ export declare const deleteBookingCalendarSlotSessionAction: import("@ngrx/store
|
|
|
654
658
|
role: Role;
|
|
655
659
|
clubOrSectionOrTeamId: string;
|
|
656
660
|
session: BookingCalendarSlotSession;
|
|
661
|
+
sendNotification: boolean;
|
|
657
662
|
}) => {
|
|
658
663
|
role: Role;
|
|
659
664
|
clubOrSectionOrTeamId: string;
|
|
660
665
|
session: BookingCalendarSlotSession;
|
|
666
|
+
sendNotification: boolean;
|
|
661
667
|
} & import("@ngrx/store").Action<BookingActionTypes.DeleteBookingCalendarSlotSession>>;
|
|
662
668
|
export declare const deleteBookingCalendarSlotSessionSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.DeleteBookingCalendarSlotSessionSuccess, (props: {
|
|
663
669
|
session: BookingCalendarSlotSession;
|
|
@@ -674,11 +680,13 @@ export declare const deleteBookingCalendarRepeatableSlotSessionAction: import("@
|
|
|
674
680
|
clubOrSectionOrTeamId: string;
|
|
675
681
|
session: BookingCalendarSlotSession;
|
|
676
682
|
deleteUntilDate: string | null;
|
|
683
|
+
sendNotification: boolean;
|
|
677
684
|
}) => {
|
|
678
685
|
role: Role;
|
|
679
686
|
clubOrSectionOrTeamId: string;
|
|
680
687
|
session: BookingCalendarSlotSession;
|
|
681
688
|
deleteUntilDate: string | null;
|
|
689
|
+
sendNotification: boolean;
|
|
682
690
|
} & import("@ngrx/store").Action<BookingActionTypes.DeleteBookingCalendarRepeatableSlotSession>>;
|
|
683
691
|
export declare const deleteBookingCalendarRepeatableSlotSessionSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.DeleteBookingCalendarRepeatableSlotSessionSuccess, (props: {
|
|
684
692
|
session: BookingCalendarSlotSession;
|
package/package.json
CHANGED