@myclub_se/data-access 3.1.6 → 3.1.7
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/api-models/api-bookable-item.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar-application-time.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar-slot-session.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar-slot.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar.mjs +1 -1
- package/esm2022/lib/api-models/api-invoice/api-payment-order.mjs +2 -0
- package/esm2022/lib/api-models/api-invoice/index.mjs +2 -1
- package/esm2022/lib/models/activity-type.mjs +3 -3
- package/esm2022/lib/models/bookable-item.mjs +4 -2
- package/esm2022/lib/models/booking-calendar-application-time.mjs +6 -2
- package/esm2022/lib/models/booking-calendar-slot-session.mjs +8 -2
- package/esm2022/lib/models/booking-calendar-slot.mjs +5 -2
- package/esm2022/lib/models/booking-calendar.mjs +8 -2
- package/esm2022/lib/models/booking-slot-filter.mjs +4 -1
- package/esm2022/lib/models/invoice/index.mjs +2 -1
- package/esm2022/lib/models/invoice/payment-order.mjs +21 -0
- package/esm2022/lib/services/activity.service.mjs +17 -6
- package/esm2022/lib/services/bookable.service.mjs +46 -14
- package/esm2022/lib/services/booking-calendar.service.mjs +94 -26
- package/esm2022/lib/services/constant.service.mjs +9 -1
- package/esm2022/lib/services/constants.mjs +2 -0
- package/esm2022/lib/services/factories/bookable-item-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-application-time-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-slot-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-slot-session-factory.mjs +2 -2
- package/esm2022/lib/services/factories/payment-order-factory.mjs +5 -0
- package/esm2022/lib/services/feature-flags.service.mjs +5 -2
- package/esm2022/lib/services/invoice/index.mjs +2 -1
- package/esm2022/lib/services/invoice/payment-order.service.mjs +34 -0
- package/esm2022/lib/services/member.service.mjs +5 -2
- package/esm2022/lib/services/team.service.mjs +5 -2
- package/esm2022/lib/store/actions/booking.actions.mjs +19 -1
- package/esm2022/lib/store/actions/constant.actions.mjs +13 -1
- package/esm2022/lib/store/actions/invoice.actions.mjs +15 -1
- package/esm2022/lib/store/effects/booking.effects.mjs +49 -3
- package/esm2022/lib/store/effects/constant.effects.mjs +8 -2
- package/esm2022/lib/store/effects/invoice.effects.mjs +22 -3
- package/esm2022/lib/store/reducers/booking.reducers.mjs +63 -12
- package/esm2022/lib/store/reducers/constant.reducer.mjs +14 -2
- package/esm2022/lib/store/reducers/invoice.reducer.mjs +4 -4
- package/esm2022/lib/store/selectors/booking.selectors.mjs +4 -1
- package/esm2022/lib/store/selectors/constant.selectors.mjs +3 -1
- package/esm2022/lib/store/selectors/invoice.selectors.mjs +3 -1
- package/esm2022/lib/store/state/booking.state.mjs +4 -1
- package/esm2022/lib/store/state/constant.state.mjs +3 -1
- package/esm2022/lib/store/state/invoice.state.mjs +3 -1
- package/fesm2022/myclub_se-data-access.mjs +461 -70
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-bookable-item.d.ts +1 -0
- package/lib/api-models/api-booking-calendar-application-time.d.ts +2 -0
- package/lib/api-models/api-booking-calendar-slot-session.d.ts +3 -0
- package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
- package/lib/api-models/api-booking-calendar.d.ts +2 -0
- package/lib/api-models/api-invoice/api-payment-order.d.ts +11 -0
- package/lib/api-models/api-invoice/index.d.ts +1 -0
- package/lib/models/bookable-item.d.ts +2 -1
- package/lib/models/booking-calendar-application-time.d.ts +3 -1
- package/lib/models/booking-calendar-slot-session.d.ts +4 -1
- package/lib/models/booking-calendar-slot.d.ts +3 -1
- package/lib/models/booking-calendar.d.ts +5 -1
- package/lib/models/booking-slot-filter.d.ts +1 -0
- package/lib/models/invoice/index.d.ts +1 -0
- package/lib/models/invoice/payment-order.d.ts +12 -0
- package/lib/services/bookable.service.d.ts +2 -1
- package/lib/services/booking-calendar.service.d.ts +2 -0
- package/lib/services/constant.service.d.ts +2 -0
- package/lib/services/constants.d.ts +1 -0
- package/lib/services/factories/payment-order-factory.d.ts +3 -0
- package/lib/services/invoice/index.d.ts +1 -0
- package/lib/services/invoice/payment-order.service.d.ts +15 -0
- package/lib/store/actions/booking.actions.d.ts +60 -0
- package/lib/store/actions/constant.actions.d.ts +28 -0
- package/lib/store/actions/invoice.actions.d.ts +46 -2
- package/lib/store/effects/booking.effects.d.ts +15 -0
- package/lib/store/effects/constant.effects.d.ts +10 -0
- package/lib/store/effects/invoice.effects.d.ts +12 -1
- package/lib/store/selectors/booking.selectors.d.ts +3 -0
- package/lib/store/selectors/constant.selectors.d.ts +2 -0
- package/lib/store/selectors/invoice.selectors.d.ts +2 -0
- package/lib/store/state/booking.state.d.ts +4 -1
- package/lib/store/state/constant.state.d.ts +2 -0
- package/lib/store/state/invoice.state.d.ts +3 -1
- package/package.json +1 -1
|
@@ -240,6 +240,9 @@ var BookingActionTypes;
|
|
|
240
240
|
BookingActionTypes["ListCalendar"] = "[Booking] List calendars";
|
|
241
241
|
BookingActionTypes["ListCalendarSuccess"] = "[Booking] List calendars success";
|
|
242
242
|
BookingActionTypes["ListCalendarFailure"] = "[Booking] List calendars failure";
|
|
243
|
+
BookingActionTypes["ListMemberCalendar"] = "[Booking] List member calendars";
|
|
244
|
+
BookingActionTypes["ListMemberCalendarSuccess"] = "[Booking] List member calendars success";
|
|
245
|
+
BookingActionTypes["ListMemberCalendarFailure"] = "[Booking] List member calendars failure";
|
|
243
246
|
BookingActionTypes["ListLocation"] = "[Booking] List locations";
|
|
244
247
|
BookingActionTypes["ListLocationSuccess"] = "[Booking] List locations success";
|
|
245
248
|
BookingActionTypes["ListLocationFailure"] = "[Booking] List locations failure";
|
|
@@ -312,6 +315,12 @@ var BookingActionTypes;
|
|
|
312
315
|
BookingActionTypes["DeleteBookingCalendarRepeatableSlot"] = "[Booking] Delete booking calendar repeatable slot";
|
|
313
316
|
BookingActionTypes["DeleteBookingCalendarRepeatableSlotSuccess"] = "[Booking] Delete booking calendar repeatable slot success";
|
|
314
317
|
BookingActionTypes["DeleteBookingCalendarRepeatableSlotFailure"] = "[Booking] Delete booking calendar repeatable slot failure";
|
|
318
|
+
BookingActionTypes["ListMemberBookingCalendarSlotSession"] = "[Booking] List member booking calendar slot session";
|
|
319
|
+
BookingActionTypes["ListMemberBookingCalendarSlotSessionSuccess"] = "[Booking] List member booking calendar slot session success";
|
|
320
|
+
BookingActionTypes["ListMemberBookingCalendarSlotSessionFailure"] = "[Booking] List member booking calendar slot session failure";
|
|
321
|
+
BookingActionTypes["ListMemberBookingCalendarBookableSlots"] = "[Booking] List member booking calendar bookable slots";
|
|
322
|
+
BookingActionTypes["ListMemberBookingCalendarBookableSlotsSuccess"] = "[Booking] List member booking calendar bookable slots success";
|
|
323
|
+
BookingActionTypes["ListMemberBookingCalendarBookableSlotsFailure"] = "[Booking] List member booking calendar bookable slots failure";
|
|
315
324
|
BookingActionTypes["CreateBookingCalendarSlotSession"] = "[Booking] Create booking calendar slot session";
|
|
316
325
|
BookingActionTypes["CreateBookingCalendarSlotSessionSuccess"] = "[Booking] Create booking calendar slot session success";
|
|
317
326
|
BookingActionTypes["CreateBookingCalendarSlotSessionFailure"] = "[Booking] Create booking calendar slot session failure";
|
|
@@ -332,6 +341,9 @@ var BookingActionTypes;
|
|
|
332
341
|
const listCalendarAction = createAction(BookingActionTypes.ListCalendar, props());
|
|
333
342
|
const listCalendarSuccessAction = createAction(BookingActionTypes.ListCalendarSuccess, props());
|
|
334
343
|
const listCalendarFailureAction = createAction(BookingActionTypes.ListCalendarFailure, props());
|
|
344
|
+
const listMemberCalendarAction = createAction(BookingActionTypes.ListMemberCalendar, props());
|
|
345
|
+
const listMemberCalendarSuccessAction = createAction(BookingActionTypes.ListMemberCalendarSuccess, props());
|
|
346
|
+
const listMemberCalendarFailureAction = createAction(BookingActionTypes.ListMemberCalendarFailure, props());
|
|
335
347
|
const listLocationAction = createAction(BookingActionTypes.ListLocation, props());
|
|
336
348
|
const listLocationSuccessAction = createAction(BookingActionTypes.ListLocationSuccess, props());
|
|
337
349
|
const listLocationFailureAction = createAction(BookingActionTypes.ListLocationFailure, props());
|
|
@@ -404,6 +416,12 @@ const deleteBookingCalendarSlotFailureAction = createAction(BookingActionTypes.D
|
|
|
404
416
|
const deleteBookingCalendarRepeatableSlotAction = createAction(BookingActionTypes.DeleteBookingCalendarRepeatableSlot, props());
|
|
405
417
|
const deleteBookingCalendarRepeatableSlotSuccessAction = createAction(BookingActionTypes.DeleteBookingCalendarRepeatableSlotSuccess, props());
|
|
406
418
|
const deleteBookingCalendarRepeatableSlotFailureAction = createAction(BookingActionTypes.DeleteBookingCalendarRepeatableSlotFailure, props());
|
|
419
|
+
const listMemberBookingCalendarSlotSessionAction = createAction(BookingActionTypes.ListMemberBookingCalendarSlotSession, props());
|
|
420
|
+
const listMemberBookingCalendarSlotSessionSuccessAction = createAction(BookingActionTypes.ListMemberBookingCalendarSlotSessionSuccess, props());
|
|
421
|
+
const listMemberBookingCalendarSlotSessionFailureAction = createAction(BookingActionTypes.ListMemberBookingCalendarSlotSessionFailure, props());
|
|
422
|
+
const listMemberBookingCalendarBookableSlotsAction = createAction(BookingActionTypes.ListMemberBookingCalendarBookableSlots, props());
|
|
423
|
+
const listMemberBookingCalendarBookableSlotsSuccessAction = createAction(BookingActionTypes.ListMemberBookingCalendarBookableSlotsSuccess, props());
|
|
424
|
+
const listMemberBookingCalendarBookableSlotsFailureAction = createAction(BookingActionTypes.ListMemberBookingCalendarBookableSlotsFailure, props());
|
|
407
425
|
const createBookingCalendarSlotSessionAction = createAction(BookingActionTypes.CreateBookingCalendarSlotSession, props());
|
|
408
426
|
const createBookingCalendarSlotSessionSuccessAction = createAction(BookingActionTypes.CreateBookingCalendarSlotSessionSuccess, props());
|
|
409
427
|
const createBookingCalendarSlotSessionFailureAction = createAction(BookingActionTypes.CreateBookingCalendarSlotSessionFailure, props());
|
|
@@ -557,6 +575,12 @@ var ConstantActionType;
|
|
|
557
575
|
ConstantActionType["RetrieveBookingSlotTypes"] = "[Constant] Retrieve Booking Slot Types";
|
|
558
576
|
ConstantActionType["RetrieveBookingSlotTypesSuccess"] = "[Constant] Retrieve Booking Slot Types success";
|
|
559
577
|
ConstantActionType["RetrieveBookingSlotTypesFailure"] = "[Constant] Retrieve Booking Slot Types failure";
|
|
578
|
+
ConstantActionType["RetrieveTeamBookingSlotTypes"] = "[Constant] Retrieve Team Booking Slot Types";
|
|
579
|
+
ConstantActionType["RetrieveTeamBookingSlotTypesSuccess"] = "[Constant] Retrieve Team Booking Slot Types success";
|
|
580
|
+
ConstantActionType["RetrieveTeamBookingSlotTypesFailure"] = "[Constant] Retrieve Team Booking Slot Types failure";
|
|
581
|
+
ConstantActionType["RetrieveMemberBookingSlotTypes"] = "[Constant] Retrieve Member Booking Slot Types";
|
|
582
|
+
ConstantActionType["RetrieveMemberBookingSlotTypesSuccess"] = "[Constant] Retrieve Member Booking Slot Types success";
|
|
583
|
+
ConstantActionType["RetrieveMemberBookingSlotTypesFailure"] = "[Constant] Retrieve Member Booking Slot Types failure";
|
|
560
584
|
ConstantActionType["RetrieveBookingSlotReservedTimePositions"] = "[Constant] Retrieve Booking Slot Reserved Time Positions";
|
|
561
585
|
ConstantActionType["RetrieveBookingSlotReservedTimePositionsSuccess"] = "[Constant] Retrieve Booking Slot Reserved Time Positions success";
|
|
562
586
|
ConstantActionType["RetrieveBookingSlotReservedTimePositionsFailure"] = "[Constant] Retrieve Booking Slot Reserved Time Positions failure";
|
|
@@ -621,6 +645,12 @@ const retrieveMemberContactTypesConstantsSuccessAction = createAction(ConstantAc
|
|
|
621
645
|
const retrieveBookingSlotTypesAction = createAction(ConstantActionType.RetrieveBookingSlotTypes);
|
|
622
646
|
const retrieveBookingSlotTypesSuccessAction = createAction(ConstantActionType.RetrieveBookingSlotTypesSuccess, props());
|
|
623
647
|
const retrieveBookingSlotTypesFailureAction = createAction(ConstantActionType.RetrieveBookingSlotTypesFailure, props());
|
|
648
|
+
const retrieveTeamBookingSlotTypesAction = createAction(ConstantActionType.RetrieveTeamBookingSlotTypes);
|
|
649
|
+
const retrieveTeamBookingSlotTypesSuccessAction = createAction(ConstantActionType.RetrieveTeamBookingSlotTypesSuccess, props());
|
|
650
|
+
const retrieveTeamBookingSlotTypesFailureAction = createAction(ConstantActionType.RetrieveTeamBookingSlotTypesFailure, props());
|
|
651
|
+
const retrieveMemberBookingSlotTypesAction = createAction(ConstantActionType.RetrieveMemberBookingSlotTypes);
|
|
652
|
+
const retrieveMemberBookingSlotTypesSuccessAction = createAction(ConstantActionType.RetrieveMemberBookingSlotTypesSuccess, props());
|
|
653
|
+
const retrieveMemberBookingSlotTypesFailureAction = createAction(ConstantActionType.RetrieveMemberBookingSlotTypesFailure, props());
|
|
624
654
|
// Booking Slot Reserved Time Positions Actions
|
|
625
655
|
const retrieveBookingSlotReservedTimePositionsAction = createAction(ConstantActionType.RetrieveBookingSlotReservedTimePositions);
|
|
626
656
|
const retrieveBookingSlotReservedTimePositionsSuccessAction = createAction(ConstantActionType.RetrieveBookingSlotReservedTimePositionsSuccess, props());
|
|
@@ -713,6 +743,7 @@ const retrieveTeamDirectoriesSuccessAction = createAction(FileActionTypes.Retrie
|
|
|
713
743
|
var InvoiceActionType;
|
|
714
744
|
(function (InvoiceActionType) {
|
|
715
745
|
InvoiceActionType["ClearMemberInvoice"] = "[Invoice] Clear member invoice";
|
|
746
|
+
InvoiceActionType["ClearPaymentOrder"] = "[Invoice] Clear payment order";
|
|
716
747
|
InvoiceActionType["CreateMondidoMemberPayment"] = "[Invoice] Create Mondido member payment";
|
|
717
748
|
InvoiceActionType["CreateMondidoPublicPayment"] = "[Invoice] Create Mondido public payment";
|
|
718
749
|
InvoiceActionType["CreateMondidoPaymentFailure"] = "[Invoice] Create Mondido payment failure";
|
|
@@ -747,8 +778,15 @@ var InvoiceActionType;
|
|
|
747
778
|
InvoiceActionType["RetrievePublicSwishQRCode"] = "[Invoice] Get public swish QR code";
|
|
748
779
|
InvoiceActionType["RetrieveSwishQRCodeFailure"] = "[Invoice] Get swish QR code failure";
|
|
749
780
|
InvoiceActionType["RetrieveSwishQRCodeSuccess"] = "[Invoice] Get swish QR code success";
|
|
781
|
+
InvoiceActionType["ListMemberPaymentOrders"] = "[Invoice] List payment orders";
|
|
782
|
+
InvoiceActionType["ListMemberPaymentOrdersFailure"] = "[Invoice] List payment orders failure";
|
|
783
|
+
InvoiceActionType["ListMemberPaymentOrdersSuccess"] = "[Invoice] List payment orders success";
|
|
784
|
+
InvoiceActionType["RetrievePaymentOrder"] = "[Invoice] Retrieve payment order";
|
|
785
|
+
InvoiceActionType["RetrievePaymentOrderFailure"] = "[Invoice] Retrieve payment order failure";
|
|
786
|
+
InvoiceActionType["RetrievePaymentOrderSuccess"] = "[Invoice] Retrieve payment order success";
|
|
750
787
|
})(InvoiceActionType || (InvoiceActionType = {}));
|
|
751
788
|
const clearMemberInvoiceAction = createAction(InvoiceActionType.ClearMemberInvoice);
|
|
789
|
+
const clearPaymentOrderAction = createAction(InvoiceActionType.ClearPaymentOrder);
|
|
752
790
|
const createMondidoMemberPaymentAction = createAction(InvoiceActionType.CreateMondidoMemberPayment, props());
|
|
753
791
|
const createMondidoPublicPaymentAction = createAction(InvoiceActionType.CreateMondidoPublicPayment, props());
|
|
754
792
|
const createMondidoPaymentFailureAction = createAction(InvoiceActionType.CreateMondidoPaymentFailure, props());
|
|
@@ -767,6 +805,12 @@ const listMemberInvoicesSuccessAction = createAction(InvoiceActionType.ListMembe
|
|
|
767
805
|
const retrieveMemberInvoiceAction = createAction(InvoiceActionType.RetrieveMemberInvoice, props());
|
|
768
806
|
const retrieveMemberInvoiceFailureAction = createAction(InvoiceActionType.RetrieveMemberInvoiceFailure, props());
|
|
769
807
|
const retrieveMemberInvoiceSuccessAction = createAction(InvoiceActionType.RetrieveMemberInvoiceSuccess, props());
|
|
808
|
+
const listMemberPaymentOrdersAction = createAction(InvoiceActionType.ListMemberPaymentOrders, props());
|
|
809
|
+
const listMemberPaymentOrdersFailureAction = createAction(InvoiceActionType.ListMemberPaymentOrdersFailure, props());
|
|
810
|
+
const listMemberPaymentOrdersSuccessAction = createAction(InvoiceActionType.ListMemberPaymentOrdersSuccess, props());
|
|
811
|
+
const retrievePaymentOrderAction = createAction(InvoiceActionType.RetrievePaymentOrder, props());
|
|
812
|
+
const retrievePaymentOrderFailureAction = createAction(InvoiceActionType.RetrievePaymentOrderFailure, props());
|
|
813
|
+
const retrievePaymentOrderSuccessAction = createAction(InvoiceActionType.RetrievePaymentOrderSuccess, props());
|
|
770
814
|
const retrieveMemberPaymentAttemptAction = createAction(InvoiceActionType.RetrieveMemberPaymentAttempt, props());
|
|
771
815
|
const retrieveMemberPaymentAttemptFailureAction = createAction(InvoiceActionType.RetrieveMemberPaymentAttemptFailure, props());
|
|
772
816
|
const retrieveMemberPaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrieveMemberPaymentAttemptSuccess, props());
|
|
@@ -1548,7 +1592,7 @@ class ActivityType {
|
|
|
1548
1592
|
name;
|
|
1549
1593
|
is_available_for_booking;
|
|
1550
1594
|
color;
|
|
1551
|
-
constructor(id, club_id, section_id, active, base_type, name, is_available_for_booking = true, color = '#
|
|
1595
|
+
constructor(id, club_id, section_id, active, base_type, name, is_available_for_booking = true, color = '#AAAAAA') {
|
|
1552
1596
|
this.id = id;
|
|
1553
1597
|
this.club_id = club_id;
|
|
1554
1598
|
this.section_id = section_id;
|
|
@@ -1567,7 +1611,7 @@ class ActivityType {
|
|
|
1567
1611
|
base_type: new FormControl(type?.base_type || ''),
|
|
1568
1612
|
name: new FormControl(type?.name || '', Validators.required),
|
|
1569
1613
|
is_available_for_booking: new FormControl(typeof type?.is_available_for_booking === 'undefined' ? true : type?.is_available_for_booking),
|
|
1570
|
-
color: new FormControl(type?.color || '#
|
|
1614
|
+
color: new FormControl(type?.color || '#AAAAAA'),
|
|
1571
1615
|
});
|
|
1572
1616
|
}
|
|
1573
1617
|
}
|
|
@@ -1723,6 +1767,7 @@ class BookableItem {
|
|
|
1723
1767
|
description;
|
|
1724
1768
|
tags;
|
|
1725
1769
|
parts;
|
|
1770
|
+
next_available_datetime;
|
|
1726
1771
|
static asFormGroup(bookable) {
|
|
1727
1772
|
const tags = [];
|
|
1728
1773
|
const parts = [];
|
|
@@ -1744,7 +1789,7 @@ class BookableItem {
|
|
|
1744
1789
|
parts: new FormArray(parts),
|
|
1745
1790
|
});
|
|
1746
1791
|
}
|
|
1747
|
-
constructor(id, club_id, section_id, group_id, active, name, location_id, description, tags, parts) {
|
|
1792
|
+
constructor(id, club_id, section_id, group_id, active, name, location_id, description, tags, parts, next_available_datetime) {
|
|
1748
1793
|
this.id = id;
|
|
1749
1794
|
this.club_id = club_id;
|
|
1750
1795
|
this.section_id = section_id;
|
|
@@ -1755,6 +1800,7 @@ class BookableItem {
|
|
|
1755
1800
|
this.description = description;
|
|
1756
1801
|
this.tags = tags;
|
|
1757
1802
|
this.parts = parts;
|
|
1803
|
+
this.next_available_datetime = next_available_datetime;
|
|
1758
1804
|
}
|
|
1759
1805
|
}
|
|
1760
1806
|
|
|
@@ -1797,6 +1843,8 @@ class BookingCalendar {
|
|
|
1797
1843
|
allow_team_export;
|
|
1798
1844
|
allow_repeated_bookings;
|
|
1799
1845
|
is_default;
|
|
1846
|
+
payment_limit_in_minutes;
|
|
1847
|
+
price_per_hour;
|
|
1800
1848
|
available_for_teams;
|
|
1801
1849
|
bookable_groups;
|
|
1802
1850
|
type;
|
|
@@ -1831,9 +1879,11 @@ class BookingCalendar {
|
|
|
1831
1879
|
allow_team_export: new FormControl(calendar?.allow_team_export || false),
|
|
1832
1880
|
allow_repeated_bookings: new FormControl(calendar?.allow_repeated_bookings || false),
|
|
1833
1881
|
type: new FormControl(calendar?.type || null),
|
|
1882
|
+
price_per_hour: new FormControl(calendar?.price_per_hour || 0),
|
|
1883
|
+
payment_limit_in_minutes: new FormControl(calendar?.payment_limit_in_minutes || 0),
|
|
1834
1884
|
});
|
|
1835
1885
|
}
|
|
1836
|
-
constructor(id, club_id, section_id, team_id, club_name, name, section_name, team_name, status, max_application_number, allow_team_export, allow_repeated_bookings, is_default, available_for_teams, bookable_groups, type, type_display) {
|
|
1886
|
+
constructor(id, club_id, section_id, team_id, club_name, name, section_name, team_name, status, max_application_number, allow_team_export, allow_repeated_bookings, is_default, payment_limit_in_minutes = 0, price_per_hour = 0, available_for_teams, bookable_groups, type, type_display) {
|
|
1837
1887
|
this.id = id;
|
|
1838
1888
|
this.club_id = club_id;
|
|
1839
1889
|
this.section_id = section_id;
|
|
@@ -1847,6 +1897,8 @@ class BookingCalendar {
|
|
|
1847
1897
|
this.allow_team_export = allow_team_export;
|
|
1848
1898
|
this.allow_repeated_bookings = allow_repeated_bookings;
|
|
1849
1899
|
this.is_default = is_default;
|
|
1900
|
+
this.payment_limit_in_minutes = payment_limit_in_minutes;
|
|
1901
|
+
this.price_per_hour = price_per_hour;
|
|
1850
1902
|
this.available_for_teams = available_for_teams;
|
|
1851
1903
|
this.bookable_groups = bookable_groups;
|
|
1852
1904
|
this.type = type;
|
|
@@ -1877,6 +1929,7 @@ class BookingCalendarApplicationTime {
|
|
|
1877
1929
|
slot_last_repeating_date;
|
|
1878
1930
|
created;
|
|
1879
1931
|
bookable_zones_taken;
|
|
1932
|
+
bookable_zones_taken_display;
|
|
1880
1933
|
bookable_part_id;
|
|
1881
1934
|
bookable_part_name;
|
|
1882
1935
|
bookable_id;
|
|
@@ -1884,6 +1937,7 @@ class BookingCalendarApplicationTime {
|
|
|
1884
1937
|
member_id;
|
|
1885
1938
|
member_name;
|
|
1886
1939
|
member_email;
|
|
1940
|
+
price;
|
|
1887
1941
|
static asFormGroup(session) {
|
|
1888
1942
|
return new FormGroup({
|
|
1889
1943
|
id: new FormControl(session?.id || ''),
|
|
@@ -1905,7 +1959,7 @@ class BookingCalendarApplicationTime {
|
|
|
1905
1959
|
member_id: new FormControl(session?.member_id || ''),
|
|
1906
1960
|
});
|
|
1907
1961
|
}
|
|
1908
|
-
constructor(id, section_id, slot_id, team_id, title, end_time, section_name, start_time, team_name, applicant_comment, reviewer_comment, status, repeat, activity_type_id, color = null, slot_start_time, slot_end_time, slot_day, slot_number_of_available_sessions, slot_last_repeating_date, created, bookable_zones_taken, bookable_part_id, bookable_part_name, bookable_id, bookable_name, member_id, member_name, member_email) {
|
|
1962
|
+
constructor(id, section_id, slot_id, team_id, title, end_time, section_name, start_time, team_name, applicant_comment, reviewer_comment, status, repeat, activity_type_id, color = null, slot_start_time, slot_end_time, slot_day, slot_number_of_available_sessions, slot_last_repeating_date, created, bookable_zones_taken, bookable_zones_taken_display, bookable_part_id, bookable_part_name, bookable_id, bookable_name, member_id, member_name, member_email, price = 0) {
|
|
1909
1963
|
this.id = id;
|
|
1910
1964
|
this.section_id = section_id;
|
|
1911
1965
|
this.slot_id = slot_id;
|
|
@@ -1928,6 +1982,7 @@ class BookingCalendarApplicationTime {
|
|
|
1928
1982
|
this.slot_last_repeating_date = slot_last_repeating_date;
|
|
1929
1983
|
this.created = created;
|
|
1930
1984
|
this.bookable_zones_taken = bookable_zones_taken;
|
|
1985
|
+
this.bookable_zones_taken_display = bookable_zones_taken_display;
|
|
1931
1986
|
this.bookable_part_id = bookable_part_id;
|
|
1932
1987
|
this.bookable_part_name = bookable_part_name;
|
|
1933
1988
|
this.bookable_id = bookable_id;
|
|
@@ -1935,6 +1990,7 @@ class BookingCalendarApplicationTime {
|
|
|
1935
1990
|
this.member_id = member_id;
|
|
1936
1991
|
this.member_name = member_name;
|
|
1937
1992
|
this.member_email = member_email;
|
|
1993
|
+
this.price = price;
|
|
1938
1994
|
}
|
|
1939
1995
|
}
|
|
1940
1996
|
|
|
@@ -1964,6 +2020,7 @@ class BookingCalendarSlot {
|
|
|
1964
2020
|
last_repeating_date;
|
|
1965
2021
|
bookable_name;
|
|
1966
2022
|
bookable_id;
|
|
2023
|
+
price;
|
|
1967
2024
|
static asFormGroup(slot) {
|
|
1968
2025
|
return new FormGroup({
|
|
1969
2026
|
id: new FormControl(slot?.id || ''),
|
|
@@ -1984,9 +2041,10 @@ class BookingCalendarSlot {
|
|
|
1984
2041
|
reserved_time: new FormControl(moment(slot?.reserved_time || '00:00', 'HH:mm')),
|
|
1985
2042
|
reserved_time_position: new FormControl(slot?.reserved_time_position || ''),
|
|
1986
2043
|
bookable_id: new FormControl(slot?.bookable_id || '', Validators.required),
|
|
2044
|
+
price: new FormControl(slot?.price || null),
|
|
1987
2045
|
});
|
|
1988
2046
|
}
|
|
1989
|
-
constructor(id, calendar_id, calendar_status, color, day, end_time, group_id, number_of_available_sessions, sessions, open_sessions, start_time, type, repeat, update_repeating, update_until_date = null, reserved_time_enabled, repeat_num, repeat_to_day, repeat_type, reserved_time, reserved_time_position, application_times, last_repeating_date, bookable_name, bookable_id) {
|
|
2047
|
+
constructor(id, calendar_id, calendar_status, color, day, end_time, group_id, number_of_available_sessions, sessions, open_sessions, start_time, type, repeat, update_repeating, update_until_date = null, reserved_time_enabled, repeat_num, repeat_to_day, repeat_type, reserved_time, reserved_time_position, application_times, last_repeating_date, bookable_name, bookable_id, price = null) {
|
|
1990
2048
|
this.id = id;
|
|
1991
2049
|
this.calendar_id = calendar_id;
|
|
1992
2050
|
this.calendar_status = calendar_status;
|
|
@@ -2012,6 +2070,7 @@ class BookingCalendarSlot {
|
|
|
2012
2070
|
this.last_repeating_date = last_repeating_date;
|
|
2013
2071
|
this.bookable_name = bookable_name;
|
|
2014
2072
|
this.bookable_id = bookable_id;
|
|
2073
|
+
this.price = price;
|
|
2015
2074
|
}
|
|
2016
2075
|
}
|
|
2017
2076
|
|
|
@@ -2037,6 +2096,7 @@ class BookingCalendarSlotSession {
|
|
|
2037
2096
|
update_repeating;
|
|
2038
2097
|
update_until_date;
|
|
2039
2098
|
bookable_zones_taken;
|
|
2099
|
+
bookable_zones_taken_display;
|
|
2040
2100
|
bookable_part_id;
|
|
2041
2101
|
bookable_part_name;
|
|
2042
2102
|
bookable_name;
|
|
@@ -2044,6 +2104,8 @@ class BookingCalendarSlotSession {
|
|
|
2044
2104
|
member_id;
|
|
2045
2105
|
member_name;
|
|
2046
2106
|
member_email;
|
|
2107
|
+
price;
|
|
2108
|
+
payment_order_id;
|
|
2047
2109
|
static asFormGroup(session) {
|
|
2048
2110
|
return new FormGroup({
|
|
2049
2111
|
id: new FormControl(session?.id || ''),
|
|
@@ -2068,7 +2130,7 @@ class BookingCalendarSlotSession {
|
|
|
2068
2130
|
member_id: new FormControl(session?.member_id || '')
|
|
2069
2131
|
});
|
|
2070
2132
|
}
|
|
2071
|
-
constructor(id, section_id, slot_id, team_id, title, end_time, section_name, start_time, team_name, is_overbooked, last_repeating_date, type, slot_index, comment, day, repeat, activity_type_id, color = null, update_repeating, update_until_date = null, bookable_zones_taken, bookable_part_id, bookable_part_name, bookable_name, bookable_id, member_id, member_name, member_email) {
|
|
2133
|
+
constructor(id, section_id, slot_id, team_id, title, end_time, section_name, start_time, team_name, is_overbooked, last_repeating_date, type, slot_index, comment, day, repeat, activity_type_id, color = null, update_repeating, update_until_date = null, bookable_zones_taken, bookable_zones_taken_display, bookable_part_id, bookable_part_name, bookable_name, bookable_id, member_id, member_name, member_email, price = 0, payment_order_id) {
|
|
2072
2134
|
this.id = id;
|
|
2073
2135
|
this.section_id = section_id;
|
|
2074
2136
|
this.slot_id = slot_id;
|
|
@@ -2090,6 +2152,7 @@ class BookingCalendarSlotSession {
|
|
|
2090
2152
|
this.update_repeating = update_repeating;
|
|
2091
2153
|
this.update_until_date = update_until_date;
|
|
2092
2154
|
this.bookable_zones_taken = bookable_zones_taken;
|
|
2155
|
+
this.bookable_zones_taken_display = bookable_zones_taken_display;
|
|
2093
2156
|
this.bookable_part_id = bookable_part_id;
|
|
2094
2157
|
this.bookable_part_name = bookable_part_name;
|
|
2095
2158
|
this.bookable_name = bookable_name;
|
|
@@ -2097,6 +2160,8 @@ class BookingCalendarSlotSession {
|
|
|
2097
2160
|
this.member_id = member_id;
|
|
2098
2161
|
this.member_name = member_name;
|
|
2099
2162
|
this.member_email = member_email;
|
|
2163
|
+
this.price = price;
|
|
2164
|
+
this.payment_order_id = payment_order_id;
|
|
2100
2165
|
}
|
|
2101
2166
|
}
|
|
2102
2167
|
|
|
@@ -2157,6 +2222,9 @@ class BookingSlotFilter {
|
|
|
2157
2222
|
static fromFilter(filter) {
|
|
2158
2223
|
return new this(filter.startDate, filter.endDate, filter.calendarIds, filter.locationIds, filter.bookableItemIds, filter.tagIds, filter.teamIds, filter.bookableGroupIds, filter.activityTypeIds, filter.hasOpenSessions, filter.showApplicationTimes, filter.sortBy);
|
|
2159
2224
|
}
|
|
2225
|
+
static fromDates(startDate, endDate, calendarIds, hasOpenSessions = null, showApplicationTimes = null) {
|
|
2226
|
+
return new this(startDate, endDate, calendarIds, null, null, null, null, null, null, hasOpenSessions, showApplicationTimes);
|
|
2227
|
+
}
|
|
2160
2228
|
toParams() {
|
|
2161
2229
|
const params = { limit: 'null' };
|
|
2162
2230
|
if (this.startDate) {
|
|
@@ -2880,6 +2948,27 @@ class PaymentAttempt {
|
|
|
2880
2948
|
}
|
|
2881
2949
|
}
|
|
2882
2950
|
|
|
2951
|
+
class PaymentOrder {
|
|
2952
|
+
id;
|
|
2953
|
+
amount;
|
|
2954
|
+
creditCard;
|
|
2955
|
+
clubName;
|
|
2956
|
+
isPaid;
|
|
2957
|
+
memberId;
|
|
2958
|
+
organisationName;
|
|
2959
|
+
swish;
|
|
2960
|
+
constructor(id, amount, creditCard, clubName, isPaid, memberId, organisationName, swish) {
|
|
2961
|
+
this.id = id;
|
|
2962
|
+
this.amount = amount;
|
|
2963
|
+
this.creditCard = creditCard;
|
|
2964
|
+
this.clubName = clubName;
|
|
2965
|
+
this.isPaid = isPaid;
|
|
2966
|
+
this.memberId = memberId;
|
|
2967
|
+
this.organisationName = organisationName;
|
|
2968
|
+
this.swish = swish;
|
|
2969
|
+
}
|
|
2970
|
+
}
|
|
2971
|
+
|
|
2883
2972
|
class CreditCard {
|
|
2884
2973
|
clubId;
|
|
2885
2974
|
sectionId;
|
|
@@ -3971,7 +4060,7 @@ const bookableTagFactory = (apiBookableTag) => {
|
|
|
3971
4060
|
return new BookableTag(apiBookableTag.id, apiBookableTag.club_id, apiBookableTag.section_id, apiBookableTag.name, apiBookableTag.bookable_item_names);
|
|
3972
4061
|
};
|
|
3973
4062
|
|
|
3974
|
-
const bookableItemFactory = (apiBookableItem) => new BookableItem(apiBookableItem.id, apiBookableItem.club_id, apiBookableItem.section_id, apiBookableItem.group_id, apiBookableItem.active, apiBookableItem.name, apiBookableItem.location_id, apiBookableItem.description, apiBookableItem.tags && apiBookableItem.tags.length > 0 ? apiBookableItem.tags.map((apiBookableTag) => bookableTagFactory(apiBookableTag)) : [], apiBookableItem.parts && apiBookableItem.parts.length > 0 ? apiBookableItem.parts.map((apiBookablePart) => bookablePartFactory(apiBookablePart)) : []);
|
|
4063
|
+
const bookableItemFactory = (apiBookableItem) => new BookableItem(apiBookableItem.id, apiBookableItem.club_id, apiBookableItem.section_id, apiBookableItem.group_id, apiBookableItem.active, apiBookableItem.name, apiBookableItem.location_id, apiBookableItem.description, apiBookableItem.tags && apiBookableItem.tags.length > 0 ? apiBookableItem.tags.map((apiBookableTag) => bookableTagFactory(apiBookableTag)) : [], apiBookableItem.parts && apiBookableItem.parts.length > 0 ? apiBookableItem.parts.map((apiBookablePart) => bookablePartFactory(apiBookablePart)) : [], apiBookableItem.next_available_datetime);
|
|
3975
4064
|
|
|
3976
4065
|
const bookableGroupFactory = (apiBookableGroup) => {
|
|
3977
4066
|
return new BookableGroup(apiBookableGroup.id, apiBookableGroup.club_id, apiBookableGroup.section_id, apiBookableGroup.active, apiBookableGroup.name, apiBookableGroup.bookable_items && apiBookableGroup.bookable_items.length ? apiBookableGroup.bookable_items.map((apiBookableItem) => bookableItemFactory(apiBookableItem)) : []);
|
|
@@ -3983,13 +4072,13 @@ const sectionFactory = (apiSection) => new Section(apiSection.id, apiSection.nam
|
|
|
3983
4072
|
|
|
3984
4073
|
const searchTeamFactory = (apiSearchTeam) => new SearchTeam(apiSearchTeam.club ? clubFactory(apiSearchTeam.club) : undefined, apiSearchTeam.section ? sectionFactory(apiSearchTeam.section) : undefined, apiSearchTeam.id, apiSearchTeam.club_name, apiSearchTeam.name, apiSearchTeam.section_name, apiSearchTeam.show_memberships);
|
|
3985
4074
|
|
|
3986
|
-
const bookingCalendarFactory = (apiBookingCalendar) => new BookingCalendar(apiBookingCalendar.id, apiBookingCalendar.club_id, apiBookingCalendar.section_id, apiBookingCalendar.team_id, apiBookingCalendar.club_name, apiBookingCalendar.name, apiBookingCalendar.section_name, apiBookingCalendar.team_name, apiBookingCalendar.status, apiBookingCalendar.max_application_number, apiBookingCalendar.allow_team_export, apiBookingCalendar.allow_repeated_bookings, apiBookingCalendar.is_default, apiBookingCalendar.available_for_teams && apiBookingCalendar.available_for_teams.length ? apiBookingCalendar.available_for_teams.map((apiSearchTeam) => searchTeamFactory(apiSearchTeam)) : [], apiBookingCalendar.bookable_groups && apiBookingCalendar.bookable_groups.length ? apiBookingCalendar.bookable_groups.map((apiBookableGroup) => bookableGroupFactory(apiBookableGroup)) : [], apiBookingCalendar.type, apiBookingCalendar.type_display);
|
|
4075
|
+
const bookingCalendarFactory = (apiBookingCalendar) => new BookingCalendar(apiBookingCalendar.id, apiBookingCalendar.club_id, apiBookingCalendar.section_id, apiBookingCalendar.team_id, apiBookingCalendar.club_name, apiBookingCalendar.name, apiBookingCalendar.section_name, apiBookingCalendar.team_name, apiBookingCalendar.status, apiBookingCalendar.max_application_number, apiBookingCalendar.allow_team_export, apiBookingCalendar.allow_repeated_bookings, apiBookingCalendar.is_default, apiBookingCalendar.payment_limit_in_minutes, apiBookingCalendar.price_per_hour, apiBookingCalendar.available_for_teams && apiBookingCalendar.available_for_teams.length ? apiBookingCalendar.available_for_teams.map((apiSearchTeam) => searchTeamFactory(apiSearchTeam)) : [], apiBookingCalendar.bookable_groups && apiBookingCalendar.bookable_groups.length ? apiBookingCalendar.bookable_groups.map((apiBookableGroup) => bookableGroupFactory(apiBookableGroup)) : [], apiBookingCalendar.type, apiBookingCalendar.type_display);
|
|
3987
4076
|
|
|
3988
|
-
const bookingCalendarApplicationTimeFactory = (apiBookingApplicationTime) => new BookingCalendarApplicationTime(apiBookingApplicationTime.id, apiBookingApplicationTime.section_id, apiBookingApplicationTime.slot_id, apiBookingApplicationTime.team_id, apiBookingApplicationTime.title, apiBookingApplicationTime.end_time, apiBookingApplicationTime.section_name, apiBookingApplicationTime.start_time, apiBookingApplicationTime.team_name, apiBookingApplicationTime.applicant_comment, apiBookingApplicationTime.reviewer_comment, apiBookingApplicationTime.status, apiBookingApplicationTime.repeat, apiBookingApplicationTime.activity_type_id, apiBookingApplicationTime.color, apiBookingApplicationTime.slot_start_time, apiBookingApplicationTime.slot_end_time, apiBookingApplicationTime.slot_day, apiBookingApplicationTime.slot_number_of_available_sessions, apiBookingApplicationTime.slot_last_repeating_date, apiBookingApplicationTime.created, apiBookingApplicationTime.bookable_zones_taken, apiBookingApplicationTime.bookable_part_id, apiBookingApplicationTime.bookable_part_name, apiBookingApplicationTime.bookable_id, apiBookingApplicationTime.bookable_name, apiBookingApplicationTime.member_id, apiBookingApplicationTime.member_name, apiBookingApplicationTime.member_email);
|
|
4077
|
+
const bookingCalendarApplicationTimeFactory = (apiBookingApplicationTime) => new BookingCalendarApplicationTime(apiBookingApplicationTime.id, apiBookingApplicationTime.section_id, apiBookingApplicationTime.slot_id, apiBookingApplicationTime.team_id, apiBookingApplicationTime.title, apiBookingApplicationTime.end_time, apiBookingApplicationTime.section_name, apiBookingApplicationTime.start_time, apiBookingApplicationTime.team_name, apiBookingApplicationTime.applicant_comment, apiBookingApplicationTime.reviewer_comment, apiBookingApplicationTime.status, apiBookingApplicationTime.repeat, apiBookingApplicationTime.activity_type_id, apiBookingApplicationTime.color, apiBookingApplicationTime.slot_start_time, apiBookingApplicationTime.slot_end_time, apiBookingApplicationTime.slot_day, apiBookingApplicationTime.slot_number_of_available_sessions, apiBookingApplicationTime.slot_last_repeating_date, apiBookingApplicationTime.created, apiBookingApplicationTime.bookable_zones_taken, apiBookingApplicationTime.bookable_zones_taken_display, apiBookingApplicationTime.bookable_part_id, apiBookingApplicationTime.bookable_part_name, apiBookingApplicationTime.bookable_id, apiBookingApplicationTime.bookable_name, apiBookingApplicationTime.member_id, apiBookingApplicationTime.member_name, apiBookingApplicationTime.member_email, apiBookingApplicationTime.price);
|
|
3989
4078
|
|
|
3990
|
-
const bookingCalendarSlotSessionFactory = (apiBookingSlotSession) => new BookingCalendarSlotSession(apiBookingSlotSession.id, apiBookingSlotSession.section_id, apiBookingSlotSession.slot_id, apiBookingSlotSession.team_id, apiBookingSlotSession.title, apiBookingSlotSession.end_time, apiBookingSlotSession.section_name, apiBookingSlotSession.start_time, apiBookingSlotSession.team_name, apiBookingSlotSession.is_overbooked, apiBookingSlotSession.last_repeating_date, apiBookingSlotSession.type, apiBookingSlotSession.slot_index, apiBookingSlotSession.comment, apiBookingSlotSession.day, apiBookingSlotSession.repeat, apiBookingSlotSession.activity_type_id, apiBookingSlotSession.color, apiBookingSlotSession.update_repeating, apiBookingSlotSession.update_until_date, apiBookingSlotSession.bookable_zones_taken, apiBookingSlotSession.bookable_part_id, apiBookingSlotSession.bookable_part_name, apiBookingSlotSession.bookable_name, apiBookingSlotSession.bookable_id, apiBookingSlotSession.member_id, apiBookingSlotSession.member_name, apiBookingSlotSession.member_email);
|
|
4079
|
+
const bookingCalendarSlotSessionFactory = (apiBookingSlotSession) => new BookingCalendarSlotSession(apiBookingSlotSession.id, apiBookingSlotSession.section_id, apiBookingSlotSession.slot_id, apiBookingSlotSession.team_id, apiBookingSlotSession.title, apiBookingSlotSession.end_time, apiBookingSlotSession.section_name, apiBookingSlotSession.start_time, apiBookingSlotSession.team_name, apiBookingSlotSession.is_overbooked, apiBookingSlotSession.last_repeating_date, apiBookingSlotSession.type, apiBookingSlotSession.slot_index, apiBookingSlotSession.comment, apiBookingSlotSession.day, apiBookingSlotSession.repeat, apiBookingSlotSession.activity_type_id, apiBookingSlotSession.color, apiBookingSlotSession.update_repeating, apiBookingSlotSession.update_until_date, apiBookingSlotSession.bookable_zones_taken, apiBookingSlotSession.bookable_zones_taken_display, apiBookingSlotSession.bookable_part_id, apiBookingSlotSession.bookable_part_name, apiBookingSlotSession.bookable_name, apiBookingSlotSession.bookable_id, apiBookingSlotSession.member_id, apiBookingSlotSession.member_name, apiBookingSlotSession.member_email, apiBookingSlotSession.price, apiBookingSlotSession.payment_order_id);
|
|
3991
4080
|
|
|
3992
|
-
const bookingCalendarSlotFactory = (apiBookingSlot) => new BookingCalendarSlot(apiBookingSlot.id, apiBookingSlot.calendar_id, apiBookingSlot.calendar_status, apiBookingSlot.color, apiBookingSlot.day, apiBookingSlot.end_time, apiBookingSlot.group_id, apiBookingSlot.number_of_available_sessions, apiBookingSlot.sessions && apiBookingSlot.sessions.length ? apiBookingSlot.sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.open_sessions && apiBookingSlot.open_sessions.length ? apiBookingSlot.open_sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.start_time, apiBookingSlot.type, 'none', apiBookingSlot.update_repeating, apiBookingSlot.update_until_date, false, 6, format(new Date(), 'yyyy-MM-dd'), 'repeat_until', apiBookingSlot.reserved_time, apiBookingSlot.reserved_time_position, apiBookingSlot.application_times && apiBookingSlot.application_times.length ? apiBookingSlot.application_times.map((apiBookingApplicationTime) => bookingCalendarApplicationTimeFactory(apiBookingApplicationTime)) : [], apiBookingSlot.last_repeating_date, apiBookingSlot.bookable_name, apiBookingSlot.bookable_id);
|
|
4081
|
+
const bookingCalendarSlotFactory = (apiBookingSlot) => new BookingCalendarSlot(apiBookingSlot.id, apiBookingSlot.calendar_id, apiBookingSlot.calendar_status, apiBookingSlot.color, apiBookingSlot.day, apiBookingSlot.end_time, apiBookingSlot.group_id, apiBookingSlot.number_of_available_sessions, apiBookingSlot.sessions && apiBookingSlot.sessions.length ? apiBookingSlot.sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.open_sessions && apiBookingSlot.open_sessions.length ? apiBookingSlot.open_sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.start_time, apiBookingSlot.type, 'none', apiBookingSlot.update_repeating, apiBookingSlot.update_until_date, false, 6, format(new Date(), 'yyyy-MM-dd'), 'repeat_until', apiBookingSlot.reserved_time, apiBookingSlot.reserved_time_position, apiBookingSlot.application_times && apiBookingSlot.application_times.length ? apiBookingSlot.application_times.map((apiBookingApplicationTime) => bookingCalendarApplicationTimeFactory(apiBookingApplicationTime)) : [], apiBookingSlot.last_repeating_date, apiBookingSlot.bookable_name, apiBookingSlot.bookable_id, apiBookingSlot.price);
|
|
3993
4082
|
|
|
3994
4083
|
const bookingSettingsFactory = (apiBookingSettings) => new BookingSettings(apiBookingSettings.id, apiBookingSettings.calendar_step, apiBookingSettings.calendar_min_time, apiBookingSettings.calendar_max_time, apiBookingSettings.calendar_session_duration, apiBookingSettings.should_split_booking_into_zones);
|
|
3995
4084
|
|
|
@@ -4297,6 +4386,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
4297
4386
|
}]
|
|
4298
4387
|
}], ctorParameters: () => [{ type: ApiService }] });
|
|
4299
4388
|
|
|
4389
|
+
const invalidRoleError = new Error("Invalid role provided");
|
|
4390
|
+
|
|
4300
4391
|
const PUBLIC_ACTIVITY_INVITE_PATH = 'activities/:id/:token/';
|
|
4301
4392
|
const PUBLIC_OPEN_ACTIVITIES_PATH = 'open-activities/';
|
|
4302
4393
|
const PUBLIC_OPEN_ACTIVITIES_ACTIVITY_TYPES_PATH = 'open-activities/types/';
|
|
@@ -4498,8 +4589,10 @@ class ActivityService {
|
|
|
4498
4589
|
return this.getSectionActivityLocations(itemId, force);
|
|
4499
4590
|
case Role.TeamAdmin:
|
|
4500
4591
|
return this.getTeamActivityLocations(itemId, force);
|
|
4501
|
-
|
|
4592
|
+
case Role.MemberAdmin:
|
|
4502
4593
|
return this.getMemberActivityLocations(itemId, force);
|
|
4594
|
+
default:
|
|
4595
|
+
throw invalidRoleError;
|
|
4503
4596
|
}
|
|
4504
4597
|
}
|
|
4505
4598
|
getTeamActivityLocations(teamId, force = false) {
|
|
@@ -4546,8 +4639,10 @@ class ActivityService {
|
|
|
4546
4639
|
switch (role) {
|
|
4547
4640
|
case Role.ClubAdmin:
|
|
4548
4641
|
return this.updateClubActivityLocation(clubOrSectionOrTeamId, location);
|
|
4549
|
-
|
|
4642
|
+
case Role.SectionAdmin:
|
|
4550
4643
|
return this.updateSectionActivityLocation(clubOrSectionOrTeamId, location);
|
|
4644
|
+
default:
|
|
4645
|
+
throw invalidRoleError;
|
|
4551
4646
|
}
|
|
4552
4647
|
}
|
|
4553
4648
|
updateClubActivityLocation(clubId, location) {
|
|
@@ -4590,8 +4685,10 @@ class ActivityService {
|
|
|
4590
4685
|
return this.getSectionActivitySettings(itemId);
|
|
4591
4686
|
case Role.TeamAdmin:
|
|
4592
4687
|
return this.getTeamActivitySettings(itemId);
|
|
4593
|
-
|
|
4688
|
+
case Role.MemberAdmin:
|
|
4594
4689
|
return this.getMemberActivitySettings(itemId);
|
|
4690
|
+
default:
|
|
4691
|
+
throw invalidRoleError;
|
|
4595
4692
|
}
|
|
4596
4693
|
}
|
|
4597
4694
|
getTeamActivitySettings(teamId) {
|
|
@@ -4624,8 +4721,10 @@ class ActivityService {
|
|
|
4624
4721
|
return this.getSectionActivityTypes(itemId);
|
|
4625
4722
|
case Role.TeamAdmin:
|
|
4626
4723
|
return this.getTeamActivityTypes(itemId);
|
|
4627
|
-
|
|
4724
|
+
case Role.MemberAdmin:
|
|
4628
4725
|
return this.getMemberActivityTypes(itemId);
|
|
4726
|
+
default:
|
|
4727
|
+
throw invalidRoleError;
|
|
4629
4728
|
}
|
|
4630
4729
|
}
|
|
4631
4730
|
getTeamActivityTypes(teamId) {
|
|
@@ -4648,8 +4747,10 @@ class ActivityService {
|
|
|
4648
4747
|
switch (role) {
|
|
4649
4748
|
case Role.ClubAdmin:
|
|
4650
4749
|
return this.updateClubActivityType(clubOrSectionOrTeamId, activityType);
|
|
4651
|
-
|
|
4750
|
+
case Role.SectionAdmin:
|
|
4652
4751
|
return this.updateSectionActivityType(clubOrSectionOrTeamId, activityType);
|
|
4752
|
+
default:
|
|
4753
|
+
throw invalidRoleError;
|
|
4653
4754
|
}
|
|
4654
4755
|
}
|
|
4655
4756
|
updateClubActivityType(clubId, activityType) {
|
|
@@ -4850,6 +4951,7 @@ const TEAM_BOOKABLE_GROUPS_PATH = ':teamId/activities/bookables/groups/';
|
|
|
4850
4951
|
const TEAM_BOOKABLE_TAGS_PATH = ':teamId/activities/bookables/tags/';
|
|
4851
4952
|
const TEAM_BOOKABLE_PARTS_PATH = ':teamId/activities/bookables/:bookableId/parts/';
|
|
4852
4953
|
const MEMBER_BOOKABLES_PATH = ':memberId/activities/bookables/';
|
|
4954
|
+
const MEMBER_BOOKABLE_PATH = ':memberId/activities/bookables/:bookableId/';
|
|
4853
4955
|
const MEMBER_BOOKABLE_GROUPS_PATH = ':memberId/activities/bookables/groups/';
|
|
4854
4956
|
const MEMBER_BOOKABLE_TAGS_PATH = ':memberId/activities/bookables/tags/';
|
|
4855
4957
|
const MEMBER_BOOKABLE_PARTS_PATH = ':memberId/activities/bookables/:bookableId/parts/';
|
|
@@ -4867,17 +4969,23 @@ class BookableService {
|
|
|
4867
4969
|
return this.getSectionBookableItems(itemId);
|
|
4868
4970
|
case Role.TeamAdmin:
|
|
4869
4971
|
return this.getTeamBookableItems(itemId);
|
|
4870
|
-
|
|
4972
|
+
case Role.MemberAdmin:
|
|
4871
4973
|
return this.getMemberBookableItems(itemId);
|
|
4974
|
+
default:
|
|
4975
|
+
throw invalidRoleError;
|
|
4872
4976
|
}
|
|
4873
4977
|
}
|
|
4874
4978
|
getTeamBookableItems(teamId) {
|
|
4875
4979
|
return this.apiService
|
|
4876
4980
|
.getCollection(bookableItemFactory, Role.TeamAdmin, TEAM_BOOKABLES_PATH, { teamId }, { params: { limit: 'null' } });
|
|
4877
4981
|
}
|
|
4878
|
-
getMemberBookableItems(memberId) {
|
|
4982
|
+
getMemberBookableItems(memberId, date = null) {
|
|
4983
|
+
const params = { limit: 'null', has_available_sessions: 'true' };
|
|
4984
|
+
if (date) {
|
|
4985
|
+
params['day'] = date;
|
|
4986
|
+
}
|
|
4879
4987
|
return this.apiService
|
|
4880
|
-
.getCollection(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLES_PATH, { memberId }, { params:
|
|
4988
|
+
.getCollection(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLES_PATH, { memberId }, { params: params });
|
|
4881
4989
|
}
|
|
4882
4990
|
getClubBookableItems(clubId) {
|
|
4883
4991
|
return this.apiService
|
|
@@ -4887,12 +4995,18 @@ class BookableService {
|
|
|
4887
4995
|
return this.apiService
|
|
4888
4996
|
.getCollection(bookableItemFactory, Role.SectionAdmin, SECTION_BOOKABLES_PATH, { sectionId }, { params: { limit: 'null' } });
|
|
4889
4997
|
}
|
|
4998
|
+
getMemberBookableItem(memberId, bookableId) {
|
|
4999
|
+
return this.apiService
|
|
5000
|
+
.getResource(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLE_PATH, { memberId, bookableId });
|
|
5001
|
+
}
|
|
4890
5002
|
updateBookableItem(role, clubOrSectionOrTeamId, bookableItem) {
|
|
4891
5003
|
switch (role) {
|
|
4892
5004
|
case Role.ClubAdmin:
|
|
4893
5005
|
return this.updateClubBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
4894
|
-
|
|
5006
|
+
case Role.SectionAdmin:
|
|
4895
5007
|
return this.updateSectionBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
5008
|
+
default:
|
|
5009
|
+
throw invalidRoleError;
|
|
4896
5010
|
}
|
|
4897
5011
|
}
|
|
4898
5012
|
updateClubBookableItem(clubId, bookableItem) {
|
|
@@ -4913,8 +5027,10 @@ class BookableService {
|
|
|
4913
5027
|
switch (role) {
|
|
4914
5028
|
case Role.ClubAdmin:
|
|
4915
5029
|
return this.createClubBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
4916
|
-
|
|
5030
|
+
case Role.SectionAdmin:
|
|
4917
5031
|
return this.createSectionBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
5032
|
+
default:
|
|
5033
|
+
throw invalidRoleError;
|
|
4918
5034
|
}
|
|
4919
5035
|
}
|
|
4920
5036
|
createClubBookableItem(clubId, bookableItem) {
|
|
@@ -4941,8 +5057,10 @@ class BookableService {
|
|
|
4941
5057
|
return this.getSectionBookableGroups(itemId);
|
|
4942
5058
|
case Role.TeamAdmin:
|
|
4943
5059
|
return this.getTeamBookableGroups(itemId);
|
|
4944
|
-
|
|
5060
|
+
case Role.MemberAdmin:
|
|
4945
5061
|
return this.getMemberBookableGroups(itemId);
|
|
5062
|
+
default:
|
|
5063
|
+
throw invalidRoleError;
|
|
4946
5064
|
}
|
|
4947
5065
|
}
|
|
4948
5066
|
getClubBookableGroups(clubId) {
|
|
@@ -4965,8 +5083,10 @@ class BookableService {
|
|
|
4965
5083
|
switch (role) {
|
|
4966
5084
|
case Role.ClubAdmin:
|
|
4967
5085
|
return this.updateClubBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
4968
|
-
|
|
5086
|
+
case Role.SectionAdmin:
|
|
4969
5087
|
return this.updateSectionBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
5088
|
+
default:
|
|
5089
|
+
throw invalidRoleError;
|
|
4970
5090
|
}
|
|
4971
5091
|
}
|
|
4972
5092
|
updateClubBookableGroup(clubId, bookableGroup) {
|
|
@@ -4987,8 +5107,10 @@ class BookableService {
|
|
|
4987
5107
|
switch (role) {
|
|
4988
5108
|
case Role.ClubAdmin:
|
|
4989
5109
|
return this.createClubBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
4990
|
-
|
|
5110
|
+
case Role.SectionAdmin:
|
|
4991
5111
|
return this.createSectionBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
5112
|
+
default:
|
|
5113
|
+
throw invalidRoleError;
|
|
4992
5114
|
}
|
|
4993
5115
|
}
|
|
4994
5116
|
createClubBookableGroup(clubId, bookableGroup) {
|
|
@@ -5015,8 +5137,10 @@ class BookableService {
|
|
|
5015
5137
|
return this.getSectionBookableTags(itemId);
|
|
5016
5138
|
case Role.TeamAdmin:
|
|
5017
5139
|
return this.getTeamBookableTags(itemId);
|
|
5018
|
-
|
|
5140
|
+
case Role.MemberAdmin:
|
|
5019
5141
|
return this.getMemberBookableTags(itemId);
|
|
5142
|
+
default:
|
|
5143
|
+
throw invalidRoleError;
|
|
5020
5144
|
}
|
|
5021
5145
|
}
|
|
5022
5146
|
getClubBookableTags(clubId) {
|
|
@@ -5043,8 +5167,10 @@ class BookableService {
|
|
|
5043
5167
|
return this.createSectionBookableTag(itemId, tag);
|
|
5044
5168
|
case Role.TeamAdmin:
|
|
5045
5169
|
return this.createTeamBookableTag(itemId, tag);
|
|
5046
|
-
|
|
5170
|
+
case Role.MemberAdmin:
|
|
5047
5171
|
return this.createMemberBookableTag(itemId, tag);
|
|
5172
|
+
default:
|
|
5173
|
+
throw invalidRoleError;
|
|
5048
5174
|
}
|
|
5049
5175
|
}
|
|
5050
5176
|
createClubBookableTag(clubId, tag) {
|
|
@@ -5071,8 +5197,10 @@ class BookableService {
|
|
|
5071
5197
|
switch (role) {
|
|
5072
5198
|
case Role.ClubAdmin:
|
|
5073
5199
|
return this.updateClubBookableTag(clubOrSectionOrTeamId, tag);
|
|
5074
|
-
|
|
5200
|
+
case Role.SectionAdmin:
|
|
5075
5201
|
return this.updateSectionBookableTag(clubOrSectionOrTeamId, tag);
|
|
5202
|
+
default:
|
|
5203
|
+
throw invalidRoleError;
|
|
5076
5204
|
}
|
|
5077
5205
|
}
|
|
5078
5206
|
updateClubBookableTag(clubId, tag) {
|
|
@@ -5093,8 +5221,10 @@ class BookableService {
|
|
|
5093
5221
|
switch (role) {
|
|
5094
5222
|
case Role.ClubAdmin:
|
|
5095
5223
|
return this.deleteClubBookableTag(clubOrSectionOrTeamId, tag);
|
|
5096
|
-
|
|
5224
|
+
case Role.SectionAdmin:
|
|
5097
5225
|
return this.deleteSectionBookableTag(clubOrSectionOrTeamId, tag);
|
|
5226
|
+
default:
|
|
5227
|
+
throw invalidRoleError;
|
|
5098
5228
|
}
|
|
5099
5229
|
}
|
|
5100
5230
|
deleteClubBookableTag(clubId, tag) {
|
|
@@ -5121,8 +5251,10 @@ class BookableService {
|
|
|
5121
5251
|
return this.getSectionBookableParts(itemId, bookableId);
|
|
5122
5252
|
case Role.TeamAdmin:
|
|
5123
5253
|
return this.getTeamBookableParts(itemId, bookableId);
|
|
5124
|
-
|
|
5254
|
+
case Role.MemberAdmin:
|
|
5125
5255
|
return this.getMemberBookableParts(itemId, bookableId);
|
|
5256
|
+
default:
|
|
5257
|
+
throw invalidRoleError;
|
|
5126
5258
|
}
|
|
5127
5259
|
}
|
|
5128
5260
|
getClubBookableParts(clubId, bookableId) {
|
|
@@ -5204,6 +5336,7 @@ const MEMBER_BOOKING_CALENDAR_SLOT_SESSION_PATH = ':memberId/activities/sessions
|
|
|
5204
5336
|
const MEMBER_BOOKING_CALENDAR_SLOT_PATH = ':memberId/activities/slots/:id/';
|
|
5205
5337
|
const MEMBER_BOOKING_CALENDAR_APPLICATION_TIMES_PATH = ':memberId/activities/application-times/';
|
|
5206
5338
|
const MEMBER_BOOKING_CALENDAR_APPLICATION_TIME_PATH = ':memberId/activities/application-times/:id/';
|
|
5339
|
+
const MEMBER_BOOKING_CALENDAR_BOOKABLE_SLOTS_PATH = ':memberId/activities/bookables/:bookableId/slots/';
|
|
5207
5340
|
class BookingCalendarService {
|
|
5208
5341
|
apiService;
|
|
5209
5342
|
constructor(apiService) {
|
|
@@ -5214,8 +5347,10 @@ class BookingCalendarService {
|
|
|
5214
5347
|
switch (role) {
|
|
5215
5348
|
case Role.ClubAdmin:
|
|
5216
5349
|
return this.createClubBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5217
|
-
|
|
5350
|
+
case Role.SectionAdmin:
|
|
5218
5351
|
return this.createSectionBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5352
|
+
default:
|
|
5353
|
+
throw invalidRoleError;
|
|
5219
5354
|
}
|
|
5220
5355
|
}
|
|
5221
5356
|
createClubBookingCalendar(clubId, calendar) {
|
|
@@ -5240,8 +5375,10 @@ class BookingCalendarService {
|
|
|
5240
5375
|
return this.getSectionBookingCalendars(itemId, name);
|
|
5241
5376
|
case Role.TeamAdmin:
|
|
5242
5377
|
return this.getTeamBookingCalendars(itemId, name);
|
|
5243
|
-
|
|
5378
|
+
case Role.MemberAdmin:
|
|
5244
5379
|
return this.getMemberBookingCalendars(itemId, name);
|
|
5380
|
+
default:
|
|
5381
|
+
throw invalidRoleError;
|
|
5245
5382
|
}
|
|
5246
5383
|
}
|
|
5247
5384
|
getClubBookingCalendars(clubId, name = null) {
|
|
@@ -5288,8 +5425,10 @@ class BookingCalendarService {
|
|
|
5288
5425
|
switch (role) {
|
|
5289
5426
|
case Role.ClubAdmin:
|
|
5290
5427
|
return this.updateClubBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5291
|
-
|
|
5428
|
+
case Role.SectionAdmin:
|
|
5292
5429
|
return this.updateSectionBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5430
|
+
default:
|
|
5431
|
+
throw invalidRoleError;
|
|
5293
5432
|
}
|
|
5294
5433
|
}
|
|
5295
5434
|
updateClubBookingCalendar(clubId, calendar) {
|
|
@@ -5310,8 +5449,10 @@ class BookingCalendarService {
|
|
|
5310
5449
|
switch (role) {
|
|
5311
5450
|
case Role.ClubAdmin:
|
|
5312
5451
|
return this.deleteClubBookingCalendar(clubOrSectionOrTeamId, id);
|
|
5313
|
-
|
|
5452
|
+
case Role.SectionAdmin:
|
|
5314
5453
|
return this.deleteSectionBookingCalendar(clubOrSectionOrTeamId, id);
|
|
5454
|
+
default:
|
|
5455
|
+
throw invalidRoleError;
|
|
5315
5456
|
}
|
|
5316
5457
|
}
|
|
5317
5458
|
deleteClubBookingCalendar(clubId, id) {
|
|
@@ -5334,8 +5475,10 @@ class BookingCalendarService {
|
|
|
5334
5475
|
switch (role) {
|
|
5335
5476
|
case Role.ClubAdmin:
|
|
5336
5477
|
return this.createClubBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5337
|
-
|
|
5478
|
+
case Role.SectionAdmin:
|
|
5338
5479
|
return this.createSectionBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5480
|
+
default:
|
|
5481
|
+
throw invalidRoleError;
|
|
5339
5482
|
}
|
|
5340
5483
|
}
|
|
5341
5484
|
createClubBookingCalendarSlot(clubId, slot) {
|
|
@@ -5360,8 +5503,10 @@ class BookingCalendarService {
|
|
|
5360
5503
|
return this.getSectionBookingCalendarSlots(itemId, bookingSlotFilter);
|
|
5361
5504
|
case Role.TeamAdmin:
|
|
5362
5505
|
return this.getTeamBookingCalendarSlots(itemId, bookingSlotFilter);
|
|
5363
|
-
|
|
5506
|
+
case Role.MemberAdmin:
|
|
5364
5507
|
return this.getMemberBookingCalendarSlots(itemId, bookingSlotFilter);
|
|
5508
|
+
default:
|
|
5509
|
+
throw invalidRoleError;
|
|
5365
5510
|
}
|
|
5366
5511
|
}
|
|
5367
5512
|
getClubBookingCalendarSlots(clubId, bookingSlotFilter) {
|
|
@@ -5400,8 +5545,10 @@ class BookingCalendarService {
|
|
|
5400
5545
|
return this.getSectionBookingCalendarSlot(itemId, slotId);
|
|
5401
5546
|
case Role.TeamAdmin:
|
|
5402
5547
|
return this.getTeamBookingCalendarSlot(itemId, slotId);
|
|
5403
|
-
|
|
5548
|
+
case Role.MemberAdmin:
|
|
5404
5549
|
return this.getMemberBookingCalendarSlot(itemId, slotId);
|
|
5550
|
+
default:
|
|
5551
|
+
throw invalidRoleError;
|
|
5405
5552
|
}
|
|
5406
5553
|
}
|
|
5407
5554
|
getClubBookingCalendarSlot(clubId, slotId) {
|
|
@@ -5440,8 +5587,10 @@ class BookingCalendarService {
|
|
|
5440
5587
|
return this.getSectionBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
|
|
5441
5588
|
case Role.TeamAdmin:
|
|
5442
5589
|
return this.getTeamBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
|
|
5443
|
-
|
|
5590
|
+
case Role.MemberAdmin:
|
|
5444
5591
|
return this.getMemberBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
|
|
5592
|
+
default:
|
|
5593
|
+
throw invalidRoleError;
|
|
5445
5594
|
}
|
|
5446
5595
|
}
|
|
5447
5596
|
getClubBookingCalendarApplicationTimeSlots(clubId, bookingSlotFilter) {
|
|
@@ -5480,8 +5629,10 @@ class BookingCalendarService {
|
|
|
5480
5629
|
return this.getSectionBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
|
|
5481
5630
|
case Role.TeamAdmin:
|
|
5482
5631
|
return this.getTeamBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
|
|
5483
|
-
|
|
5632
|
+
case Role.MemberAdmin:
|
|
5484
5633
|
return this.getMemberBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
|
|
5634
|
+
default:
|
|
5635
|
+
throw invalidRoleError;
|
|
5485
5636
|
}
|
|
5486
5637
|
}
|
|
5487
5638
|
getClubBookingCalendarApplicationTimes(clubId, bookingSlotFilter) {
|
|
@@ -5516,8 +5667,10 @@ class BookingCalendarService {
|
|
|
5516
5667
|
switch (role) {
|
|
5517
5668
|
case Role.ClubAdmin:
|
|
5518
5669
|
return this.copyClubBookingCalendarSlots(clubOrSectionOrTeamId, weekRelativeIndexes, onlyCopySlots, weekdays, bookingSlotFilter);
|
|
5519
|
-
|
|
5670
|
+
case Role.SectionAdmin:
|
|
5520
5671
|
return this.copySectionBookingCalendarSlots(clubOrSectionOrTeamId, weekRelativeIndexes, onlyCopySlots, weekdays, bookingSlotFilter);
|
|
5672
|
+
default:
|
|
5673
|
+
throw invalidRoleError;
|
|
5521
5674
|
}
|
|
5522
5675
|
}
|
|
5523
5676
|
copyClubBookingCalendarSlots(clubId, weekRelativeIndexes, onlyCopySlots = false, weekdays = [], bookingSlotFilter) {
|
|
@@ -5546,8 +5699,10 @@ class BookingCalendarService {
|
|
|
5546
5699
|
switch (role) {
|
|
5547
5700
|
case Role.ClubAdmin:
|
|
5548
5701
|
return this.clearClubBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions, shouldDeleteRepeatingSlots, weekdays, bookingSlotFilter);
|
|
5549
|
-
|
|
5702
|
+
case Role.SectionAdmin:
|
|
5550
5703
|
return this.clearSectionBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions, shouldDeleteRepeatingSlots, weekdays, bookingSlotFilter);
|
|
5704
|
+
default:
|
|
5705
|
+
throw invalidRoleError;
|
|
5551
5706
|
}
|
|
5552
5707
|
}
|
|
5553
5708
|
clearClubBookingCalendarSlots(clubId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions = false, shouldDeleteRepeatingSlots = false, weekdays = [], bookingSlotFilter) {
|
|
@@ -5584,8 +5739,10 @@ class BookingCalendarService {
|
|
|
5584
5739
|
return this.syncClubBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
|
|
5585
5740
|
case Role.SectionAdmin:
|
|
5586
5741
|
return this.syncSectionBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
|
|
5587
|
-
|
|
5742
|
+
case Role.TeamAdmin:
|
|
5588
5743
|
return this.syncTeamBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
|
|
5744
|
+
default:
|
|
5745
|
+
throw invalidRoleError;
|
|
5589
5746
|
}
|
|
5590
5747
|
}
|
|
5591
5748
|
syncClubBookingCalendarSlots(clubId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter) {
|
|
@@ -5616,8 +5773,10 @@ class BookingCalendarService {
|
|
|
5616
5773
|
switch (role) {
|
|
5617
5774
|
case Role.ClubAdmin:
|
|
5618
5775
|
return this.updateClubBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5619
|
-
|
|
5776
|
+
case Role.SectionAdmin:
|
|
5620
5777
|
return this.updateSectionBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5778
|
+
default:
|
|
5779
|
+
throw invalidRoleError;
|
|
5621
5780
|
}
|
|
5622
5781
|
}
|
|
5623
5782
|
updateClubBookingCalendarSlot(clubId, slot) {
|
|
@@ -5638,8 +5797,10 @@ class BookingCalendarService {
|
|
|
5638
5797
|
switch (role) {
|
|
5639
5798
|
case Role.ClubAdmin:
|
|
5640
5799
|
return this.deleteClubBookingCalendarSlot(clubOrSectionOrTeamId, id);
|
|
5641
|
-
|
|
5800
|
+
case Role.SectionAdmin:
|
|
5642
5801
|
return this.deleteSectionBookingCalendarSlot(clubOrSectionOrTeamId, id);
|
|
5802
|
+
default:
|
|
5803
|
+
throw invalidRoleError;
|
|
5643
5804
|
}
|
|
5644
5805
|
}
|
|
5645
5806
|
deleteClubBookingCalendarSlot(clubId, id) {
|
|
@@ -5660,8 +5821,10 @@ class BookingCalendarService {
|
|
|
5660
5821
|
switch (role) {
|
|
5661
5822
|
case Role.ClubAdmin:
|
|
5662
5823
|
return this.deleteClubBookingCalendarSlotRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5663
|
-
|
|
5824
|
+
case Role.SectionAdmin:
|
|
5664
5825
|
return this.deleteSectionBookingCalendarSlotRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5826
|
+
default:
|
|
5827
|
+
throw invalidRoleError;
|
|
5665
5828
|
}
|
|
5666
5829
|
}
|
|
5667
5830
|
deleteClubBookingCalendarSlotRepeatable(clubId, id, deleteUntilDate) {
|
|
@@ -5680,6 +5843,22 @@ class BookingCalendarService {
|
|
|
5680
5843
|
}
|
|
5681
5844
|
// endregion
|
|
5682
5845
|
// region Booking calendar slot session
|
|
5846
|
+
getMemberBookingCalendarSlotSessions(memberId) {
|
|
5847
|
+
const params = { limit: 'null' };
|
|
5848
|
+
return this.apiService
|
|
5849
|
+
.getCollection(bookingCalendarSlotSessionFactory, Role.MemberAdmin, MEMBER_BOOKING_CALENDAR_SLOT_SESSIONS_PATH, { memberId }, { params });
|
|
5850
|
+
}
|
|
5851
|
+
getMemberBookingCalendarBookableSlots(memberId, bookableId, startDate, endDate) {
|
|
5852
|
+
const params = { limit: 'null' };
|
|
5853
|
+
if (startDate) {
|
|
5854
|
+
params['day__gte'] = startDate;
|
|
5855
|
+
}
|
|
5856
|
+
if (endDate) {
|
|
5857
|
+
params['day__lte'] = endDate;
|
|
5858
|
+
}
|
|
5859
|
+
return this.apiService
|
|
5860
|
+
.getCollection(bookingCalendarSlotFactory, Role.MemberAdmin, MEMBER_BOOKING_CALENDAR_BOOKABLE_SLOTS_PATH, { memberId, bookableId }, { params });
|
|
5861
|
+
}
|
|
5683
5862
|
createBookingCalendarSlotSession(role, itemId, session) {
|
|
5684
5863
|
switch (role) {
|
|
5685
5864
|
case Role.ClubAdmin:
|
|
@@ -5688,8 +5867,10 @@ class BookingCalendarService {
|
|
|
5688
5867
|
return this.createSectionBookingCalendarSlotSession(itemId, session);
|
|
5689
5868
|
case Role.TeamAdmin:
|
|
5690
5869
|
return this.createTeamBookingCalendarSlotSession(itemId, session);
|
|
5691
|
-
|
|
5870
|
+
case Role.MemberAdmin:
|
|
5692
5871
|
return this.createMemberBookingCalendarSlotSession(itemId, session);
|
|
5872
|
+
default:
|
|
5873
|
+
throw invalidRoleError;
|
|
5693
5874
|
}
|
|
5694
5875
|
}
|
|
5695
5876
|
createClubBookingCalendarSlotSession(clubId, session) {
|
|
@@ -5724,8 +5905,10 @@ class BookingCalendarService {
|
|
|
5724
5905
|
return this.updateSectionBookingCalendarSlotSession(itemId, session);
|
|
5725
5906
|
case Role.TeamAdmin:
|
|
5726
5907
|
return this.updateTeamBookingCalendarSlotSession(itemId, session);
|
|
5727
|
-
|
|
5908
|
+
case Role.MemberAdmin:
|
|
5728
5909
|
return this.updateMemberBookingCalendarSlotSession(itemId, session);
|
|
5910
|
+
default:
|
|
5911
|
+
throw invalidRoleError;
|
|
5729
5912
|
}
|
|
5730
5913
|
}
|
|
5731
5914
|
updateClubBookingCalendarSlotSession(clubId, session) {
|
|
@@ -5764,8 +5947,10 @@ class BookingCalendarService {
|
|
|
5764
5947
|
return this.deleteSectionBookingCalendarSlotSession(itemId, id);
|
|
5765
5948
|
case Role.TeamAdmin:
|
|
5766
5949
|
return this.deleteTeamBookingCalendarSlotSession(itemId, id);
|
|
5767
|
-
|
|
5950
|
+
case Role.MemberAdmin:
|
|
5768
5951
|
return this.deleteMemberBookingCalendarSlotSession(itemId, id);
|
|
5952
|
+
default:
|
|
5953
|
+
throw invalidRoleError;
|
|
5769
5954
|
}
|
|
5770
5955
|
}
|
|
5771
5956
|
deleteClubBookingCalendarSlotSession(clubId, id) {
|
|
@@ -5800,8 +5985,10 @@ class BookingCalendarService {
|
|
|
5800
5985
|
switch (role) {
|
|
5801
5986
|
case Role.ClubAdmin:
|
|
5802
5987
|
return this.deleteClubBookingCalendarSlotSessionRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5803
|
-
|
|
5988
|
+
case Role.SectionAdmin:
|
|
5804
5989
|
return this.deleteSectionBookingCalendarSlotSessionRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5990
|
+
default:
|
|
5991
|
+
throw invalidRoleError;
|
|
5805
5992
|
}
|
|
5806
5993
|
}
|
|
5807
5994
|
deleteClubBookingCalendarSlotSessionRepeatable(clubId, id, deleteUntilDate) {
|
|
@@ -5828,8 +6015,10 @@ class BookingCalendarService {
|
|
|
5828
6015
|
return this.getSectionBookingSettings(itemId);
|
|
5829
6016
|
case Role.TeamAdmin:
|
|
5830
6017
|
return this.getTeamBookingSettings(itemId);
|
|
5831
|
-
|
|
6018
|
+
case Role.MemberAdmin:
|
|
5832
6019
|
return this.getMemberBookingSettings(itemId);
|
|
6020
|
+
default:
|
|
6021
|
+
throw invalidRoleError;
|
|
5833
6022
|
}
|
|
5834
6023
|
}
|
|
5835
6024
|
getClubBookingSettings(clubId) {
|
|
@@ -5856,8 +6045,10 @@ class BookingCalendarService {
|
|
|
5856
6045
|
return this.updateSectionBookingSettings(itemId, bookingSettings);
|
|
5857
6046
|
case Role.TeamAdmin:
|
|
5858
6047
|
return this.updateTeamBookingSettings(itemId, bookingSettings);
|
|
5859
|
-
|
|
6048
|
+
case Role.MemberAdmin:
|
|
5860
6049
|
return this.updateMemberBookingSettings(itemId, bookingSettings);
|
|
6050
|
+
default:
|
|
6051
|
+
throw invalidRoleError;
|
|
5861
6052
|
}
|
|
5862
6053
|
}
|
|
5863
6054
|
updateClubBookingSettings(clubId, bookingSettings) {
|
|
@@ -5892,8 +6083,10 @@ class BookingCalendarService {
|
|
|
5892
6083
|
return this.updateSectionBookingCalendarApplicationTime(itemId, availableTime);
|
|
5893
6084
|
case Role.TeamAdmin:
|
|
5894
6085
|
return this.updateTeamBookingCalendarApplicationTime(itemId, availableTime);
|
|
5895
|
-
|
|
6086
|
+
case Role.MemberAdmin:
|
|
5896
6087
|
return this.updateMemberBookingCalendarApplicationTime(itemId, availableTime);
|
|
6088
|
+
default:
|
|
6089
|
+
throw invalidRoleError;
|
|
5897
6090
|
}
|
|
5898
6091
|
}
|
|
5899
6092
|
updateClubBookingCalendarApplicationTime(clubId, availableTime) {
|
|
@@ -5944,8 +6137,10 @@ class BookingCalendarService {
|
|
|
5944
6137
|
return this.deleteSectionBookingCalendarApplicationTime(itemId, availableTimeId);
|
|
5945
6138
|
case Role.TeamAdmin:
|
|
5946
6139
|
return this.deleteTeamBookingCalendarApplicationTime(itemId, availableTimeId);
|
|
5947
|
-
|
|
6140
|
+
case Role.MemberAdmin:
|
|
5948
6141
|
return this.deleteMemberBookingCalendarApplicationTime(itemId, availableTimeId);
|
|
6142
|
+
default:
|
|
6143
|
+
throw invalidRoleError;
|
|
5949
6144
|
}
|
|
5950
6145
|
}
|
|
5951
6146
|
deleteClubBookingCalendarApplicationTime(clubId, id) {
|
|
@@ -5982,8 +6177,10 @@ class BookingCalendarService {
|
|
|
5982
6177
|
switch (role) {
|
|
5983
6178
|
case Role.ClubAdmin:
|
|
5984
6179
|
return this.getClubOverbookedSessions(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
5985
|
-
|
|
6180
|
+
case Role.SectionAdmin:
|
|
5986
6181
|
return this.getSectionOverbookedSessions(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
6182
|
+
default:
|
|
6183
|
+
throw invalidRoleError;
|
|
5987
6184
|
}
|
|
5988
6185
|
}
|
|
5989
6186
|
getClubOverbookedSessions(clubId, bookingSlotFilter) {
|
|
@@ -6006,8 +6203,10 @@ class BookingCalendarService {
|
|
|
6006
6203
|
switch (role) {
|
|
6007
6204
|
case Role.ClubAdmin:
|
|
6008
6205
|
return this.getClubOverbookedBookables(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
6009
|
-
|
|
6206
|
+
case Role.SectionAdmin:
|
|
6010
6207
|
return this.getSectionOverbookedBookables(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
6208
|
+
default:
|
|
6209
|
+
throw invalidRoleError;
|
|
6011
6210
|
}
|
|
6012
6211
|
}
|
|
6013
6212
|
getClubOverbookedBookables(clubId, bookingSlotFilter) {
|
|
@@ -6076,6 +6275,8 @@ const COUNTRIES_PATH = 'every-admin/constants/countries/';
|
|
|
6076
6275
|
const LANGUAGES_PATH = 'every-admin/constants/languages/';
|
|
6077
6276
|
const MEMBER_CONTACT_TYPES_PATH = 'every-admin/constants/member-contact-types/';
|
|
6078
6277
|
const BOOKING_SLOT_TYPES_PATH = 'every-admin/constants/booking-slot-types/';
|
|
6278
|
+
const TEAM_BOOKING_SLOT_TYPES_PATH = 'every-admin/constants/team-booking-slot-types/';
|
|
6279
|
+
const MEMBER_BOOKING_SLOT_TYPES_PATH = 'every-admin/constants/member-booking-slot-types/';
|
|
6079
6280
|
const BOOKING_SLOT_RESERVED_TIME_POSITIONS_PATH = 'every-admin/constants/booking-slot-reserved-time-positions/';
|
|
6080
6281
|
const BOOKING_SLOT_SESSION_TYPES_PATH = 'every-admin/constants/booking-slot-session-types/';
|
|
6081
6282
|
const BOOKING_CALENDAR_STATUSES_PATH = 'every-admin/constants/booking-calendar-statuses/';
|
|
@@ -6115,6 +6316,12 @@ class ConstantService {
|
|
|
6115
6316
|
getBookingSlotTypes() {
|
|
6116
6317
|
return this.getConstants(BOOKING_SLOT_TYPES_PATH);
|
|
6117
6318
|
}
|
|
6319
|
+
getTeamBookingSlotTypes() {
|
|
6320
|
+
return this.getConstants(TEAM_BOOKING_SLOT_TYPES_PATH);
|
|
6321
|
+
}
|
|
6322
|
+
getMemberBookingSlotTypes() {
|
|
6323
|
+
return this.getConstants(MEMBER_BOOKING_SLOT_TYPES_PATH);
|
|
6324
|
+
}
|
|
6118
6325
|
getBookingSlotReservedTimePositions() {
|
|
6119
6326
|
return this.getConstants(BOOKING_SLOT_RESERVED_TIME_POSITIONS_PATH);
|
|
6120
6327
|
}
|
|
@@ -6217,8 +6424,10 @@ class FeatureFlagsService {
|
|
|
6217
6424
|
return this.getSectionFeatureFlags(itemId);
|
|
6218
6425
|
case Role.TeamAdmin:
|
|
6219
6426
|
return this.getTeamFeatureFlags(itemId);
|
|
6220
|
-
|
|
6427
|
+
case Role.MemberAdmin:
|
|
6221
6428
|
return this.getMemberFeatureFlags(itemId);
|
|
6429
|
+
default:
|
|
6430
|
+
throw invalidRoleError;
|
|
6222
6431
|
}
|
|
6223
6432
|
}
|
|
6224
6433
|
getClubFeatureFlags(clubId) {
|
|
@@ -6401,6 +6610,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
6401
6610
|
}]
|
|
6402
6611
|
}], ctorParameters: () => [{ type: ApiService }] });
|
|
6403
6612
|
|
|
6613
|
+
const paymentOrderFactory = (apiPaymentOrder) => new PaymentOrder(apiPaymentOrder.id, apiPaymentOrder.amount, apiPaymentOrder.credit_card ? creditCardFactory(apiPaymentOrder.credit_card) : null, apiPaymentOrder.club_name, apiPaymentOrder.is_paid, apiPaymentOrder.member_id, apiPaymentOrder.organisation_name, apiPaymentOrder.swish ? swishFactory(apiPaymentOrder.swish) : null);
|
|
6614
|
+
|
|
6615
|
+
const MEMBER_PAYMENT_ORDER_PATH = ':memberId/payment-orders/:paymentOrderId/';
|
|
6616
|
+
const MEMBER_PAYMENT_ORDERS_PATH = ':memberId/payment-orders/';
|
|
6617
|
+
class PaymentOrderService {
|
|
6618
|
+
apiService;
|
|
6619
|
+
constructor(apiService) {
|
|
6620
|
+
this.apiService = apiService;
|
|
6621
|
+
}
|
|
6622
|
+
getMemberPaymentOrder(memberId, paymentOrderId) {
|
|
6623
|
+
return this.getPaymentOrder(Role.MemberAdmin, MEMBER_PAYMENT_ORDER_PATH, { memberId, paymentOrderId });
|
|
6624
|
+
}
|
|
6625
|
+
getMemberPaymentOrders(memberId, filterParams = {}) {
|
|
6626
|
+
return this.getPaymentOrders(Role.MemberAdmin, MEMBER_PAYMENT_ORDERS_PATH, { memberId }, filterParams);
|
|
6627
|
+
}
|
|
6628
|
+
getPaymentOrder(role, path, pathParams) {
|
|
6629
|
+
return this.apiService.getResource(paymentOrderFactory, role, path, pathParams);
|
|
6630
|
+
}
|
|
6631
|
+
getPaymentOrders(role, path, pathParams, filterParams = {}) {
|
|
6632
|
+
return this.apiService.getCollection(paymentOrderFactory, role, path, pathParams, { params: filterParams });
|
|
6633
|
+
}
|
|
6634
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PaymentOrderService, deps: [{ token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
6635
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PaymentOrderService, providedIn: 'root' });
|
|
6636
|
+
}
|
|
6637
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PaymentOrderService, decorators: [{
|
|
6638
|
+
type: Injectable,
|
|
6639
|
+
args: [{
|
|
6640
|
+
providedIn: 'root'
|
|
6641
|
+
}]
|
|
6642
|
+
}], ctorParameters: () => [{ type: ApiService }] });
|
|
6643
|
+
|
|
6404
6644
|
class MaintenanceModeService {
|
|
6405
6645
|
maintenanceMode = new BehaviorSubject(false);
|
|
6406
6646
|
maintenanceMode$ = this.maintenanceMode.asObservable();
|
|
@@ -6476,8 +6716,10 @@ class MemberService {
|
|
|
6476
6716
|
return this.getClubMembers(itemId);
|
|
6477
6717
|
case Role.SectionAdmin:
|
|
6478
6718
|
return this.getSectionMembers(itemId);
|
|
6479
|
-
|
|
6719
|
+
case Role.TeamAdmin:
|
|
6480
6720
|
return this.getTeamMembers(itemId);
|
|
6721
|
+
default:
|
|
6722
|
+
throw invalidRoleError;
|
|
6481
6723
|
}
|
|
6482
6724
|
}
|
|
6483
6725
|
getClubMembers(clubId) {
|
|
@@ -6831,8 +7073,10 @@ class TeamService {
|
|
|
6831
7073
|
switch (role) {
|
|
6832
7074
|
case Role.ClubAdmin:
|
|
6833
7075
|
return this.getClubTeams(itemId);
|
|
6834
|
-
|
|
7076
|
+
case Role.SectionAdmin:
|
|
6835
7077
|
return this.getSectionTeams(itemId);
|
|
7078
|
+
default:
|
|
7079
|
+
throw invalidRoleError;
|
|
6836
7080
|
}
|
|
6837
7081
|
}
|
|
6838
7082
|
getClubTeams(clubId) {
|
|
@@ -7388,6 +7632,51 @@ class BookingEffects {
|
|
|
7388
7632
|
activityService = inject(ActivityService);
|
|
7389
7633
|
teamService = inject(TeamService);
|
|
7390
7634
|
listCalendars$ = createEffect(() => this.actions$.pipe(ofType(listCalendarAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.bookingCalendarService.getBookingCalendars(role, clubOrSectionOrTeamId).pipe(map((calendars) => listCalendarSuccessAction({ bookingCalendars: calendars.toArray() })))), catchError$1((error) => of(listCalendarFailureAction({ payload: error })))));
|
|
7635
|
+
listMemberCalendars$ = createEffect(() => this.actions$
|
|
7636
|
+
.pipe(ofType(listMemberCalendarAction), mergeMap$1(({ memberIds }) => forkJoin(memberIds.map((id) => this.bookingCalendarService.getBookingCalendars(Role.MemberAdmin, id)
|
|
7637
|
+
.pipe(map((calendars) => ({ id, calendars: calendars.toArray() })), catchError$1((error) => of({ id, error }))))).pipe(mergeMap$1((results) => {
|
|
7638
|
+
const calendarMap = new Map();
|
|
7639
|
+
const errors = results.filter(result => result.error);
|
|
7640
|
+
if (errors.length) {
|
|
7641
|
+
return of(listMemberCalendarFailureAction({ payload: errors[0].error }));
|
|
7642
|
+
}
|
|
7643
|
+
results.forEach((result) => {
|
|
7644
|
+
if (result.calendars) {
|
|
7645
|
+
calendarMap.set(result.id, result.calendars);
|
|
7646
|
+
}
|
|
7647
|
+
});
|
|
7648
|
+
return of(listMemberCalendarSuccessAction({ bookingCalendarsMap: calendarMap }));
|
|
7649
|
+
})))));
|
|
7650
|
+
listMemberSessions$ = createEffect(() => this.actions$
|
|
7651
|
+
.pipe(ofType(listMemberBookingCalendarSlotSessionAction), mergeMap$1(({ memberIds }) => forkJoin(memberIds.map((id) => this.bookingCalendarService.getMemberBookingCalendarSlotSessions(id)
|
|
7652
|
+
.pipe(map((sessions) => ({ id, sessions: sessions.toArray() })), catchError$1((error) => of({ id, error }))))).pipe(mergeMap$1((results) => {
|
|
7653
|
+
const sessionsMap = new Map();
|
|
7654
|
+
const errors = results.filter(result => result.error);
|
|
7655
|
+
if (errors.length) {
|
|
7656
|
+
return of(listMemberBookingCalendarSlotSessionFailureAction({ payload: errors[0].error }));
|
|
7657
|
+
}
|
|
7658
|
+
results.forEach((result) => {
|
|
7659
|
+
if (result.sessions) {
|
|
7660
|
+
sessionsMap.set(result.id, result.sessions);
|
|
7661
|
+
}
|
|
7662
|
+
});
|
|
7663
|
+
return of(listMemberBookingCalendarSlotSessionSuccessAction({ sessionsMap: sessionsMap }));
|
|
7664
|
+
})))));
|
|
7665
|
+
listMemberBookableSlots$ = createEffect(() => this.actions$
|
|
7666
|
+
.pipe(ofType(listMemberBookingCalendarBookableSlotsAction), mergeMap$1(({ bookableId, memberIds, startDate, endDate }) => forkJoin(memberIds.map((id) => this.bookingCalendarService.getMemberBookingCalendarBookableSlots(id, bookableId, startDate, endDate)
|
|
7667
|
+
.pipe(map((slots) => ({ id, slots: slots.toArray() })), catchError$1((error) => of({ id, error }))))).pipe(mergeMap$1((results) => {
|
|
7668
|
+
const slotsMap = new Map();
|
|
7669
|
+
const errors = results.filter(result => result.error);
|
|
7670
|
+
if (errors.length) {
|
|
7671
|
+
return of(listMemberBookingCalendarBookableSlotsFailureAction({ payload: errors[0].error }));
|
|
7672
|
+
}
|
|
7673
|
+
results.forEach((result) => {
|
|
7674
|
+
if (result.slots) {
|
|
7675
|
+
slotsMap.set(result.id, result.slots);
|
|
7676
|
+
}
|
|
7677
|
+
});
|
|
7678
|
+
return of(listMemberBookingCalendarBookableSlotsSuccessAction({ slotsMap: slotsMap }));
|
|
7679
|
+
})))));
|
|
7391
7680
|
listLocations$ = createEffect(() => this.actions$.pipe(ofType(listLocationAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.activityService.getActivityLocations(role, clubOrSectionOrTeamId, true).pipe(map((locations) => listLocationSuccessAction({ locations: locations.toArray() })))), catchError$1((error) => of(listLocationFailureAction({ payload: error })))));
|
|
7392
7681
|
listBookableItems$ = createEffect(() => this.actions$.pipe(ofType(listBookableItemAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.bookableService.getBookableItems(role, clubOrSectionOrTeamId).pipe(map((bookableItems) => listBookableItemSuccessAction({ items: bookableItems.toArray() })))), catchError$1((error) => of(listBookableItemFailureAction({ payload: error })))));
|
|
7393
7682
|
listBookableGroups$ = createEffect(() => this.actions$.pipe(ofType(listBookableGroupAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.bookableService.getBookableGroups(role, clubOrSectionOrTeamId).pipe(map((bookableGroups) => listBookableGroupSuccessAction({ groups: bookableGroups.toArray() })))), catchError$1((error) => of(listBookableGroupFailureAction({ payload: error })))));
|
|
@@ -7612,6 +7901,12 @@ class ConstantEffects {
|
|
|
7612
7901
|
retrieveBookingSlotTypes$ = createEffect(() => this.actions$
|
|
7613
7902
|
.pipe(ofType(retrieveBookingSlotTypesAction), exhaustMap(() => this.constantService.getBookingSlotTypes()
|
|
7614
7903
|
.pipe(map((constants) => retrieveBookingSlotTypesSuccessAction({ payload: constants })), catchError((error) => of(retrieveBookingSlotTypesFailureAction({ payload: error })))))));
|
|
7904
|
+
retrieveTeamBookingSlotTypes$ = createEffect(() => this.actions$
|
|
7905
|
+
.pipe(ofType(retrieveTeamBookingSlotTypesAction), exhaustMap(() => this.constantService.getTeamBookingSlotTypes()
|
|
7906
|
+
.pipe(map((constants) => retrieveTeamBookingSlotTypesSuccessAction({ payload: constants })), catchError((error) => of(retrieveTeamBookingSlotTypesFailureAction({ payload: error })))))));
|
|
7907
|
+
retrieveMemberBookingSlotTypes$ = createEffect(() => this.actions$
|
|
7908
|
+
.pipe(ofType(retrieveMemberBookingSlotTypesAction), exhaustMap(() => this.constantService.getMemberBookingSlotTypes()
|
|
7909
|
+
.pipe(map((constants) => retrieveMemberBookingSlotTypesSuccessAction({ payload: constants })), catchError((error) => of(retrieveMemberBookingSlotTypesFailureAction({ payload: error })))))));
|
|
7615
7910
|
retrieveBookingSlotReservedTimePositions$ = createEffect(() => this.actions$
|
|
7616
7911
|
.pipe(ofType(retrieveBookingSlotReservedTimePositionsAction), exhaustMap(() => this.constantService.getBookingSlotReservedTimePositions()
|
|
7617
7912
|
.pipe(map((constants) => retrieveBookingSlotReservedTimePositionsSuccessAction({ payload: constants })), catchError((error) => of(retrieveBookingSlotReservedTimePositionsFailureAction({ payload: error })))))));
|
|
@@ -7647,6 +7942,9 @@ const selectBookableItems = createSelector(bookingState, (state) => state.bookab
|
|
|
7647
7942
|
const selectBookableGroups = createSelector(bookingState, (state) => state.bookableGroups);
|
|
7648
7943
|
const selectBookableTags = createSelector(bookingState, (state) => state.bookableTags);
|
|
7649
7944
|
const selectCalendars = createSelector(bookingState, (state) => state.calendars);
|
|
7945
|
+
const selectMemberCalendars = createSelector(bookingState, (state) => state.memberCalendars);
|
|
7946
|
+
const selectMemberSlots = createSelector(bookingState, (state) => state.memberSlots);
|
|
7947
|
+
const selectMemberSessions = createSelector(bookingState, (state) => state.memberSessions);
|
|
7650
7948
|
const selectBookingSettings = createSelector(bookingState, (state) => state.bookingSettings);
|
|
7651
7949
|
const selectBookingActivitySettings = createSelector(bookingState, (state) => state.bookingActivitySettings);
|
|
7652
7950
|
const selectActivityTypes = createSelector(bookingState, (state) => state.activityTypes);
|
|
@@ -7700,6 +7998,8 @@ const selectCountries = createSelector(constantState, (state) => state.countries
|
|
|
7700
7998
|
const selectMemberContactTypes = createSelector(constantState, (state) => state.memberContactTypes);
|
|
7701
7999
|
// Selector for booking slot types
|
|
7702
8000
|
const selectBookingSlotTypes = createSelector(constantState, (state) => state.bookingSlotTypes);
|
|
8001
|
+
const selectTeamBookingSlotTypes = createSelector(constantState, (state) => state.teamBookingSlotTypes);
|
|
8002
|
+
const selectMemberBookingSlotTypes = createSelector(constantState, (state) => state.memberBookingSlotTypes);
|
|
7703
8003
|
// Selector for booking slot reserved time positions
|
|
7704
8004
|
const selectBookingSlotReservedTimePositions = createSelector(constantState, (state) => state.bookingSlotReservedTimePositions);
|
|
7705
8005
|
// Selector for booking slot session types
|
|
@@ -7728,6 +8028,8 @@ const pluginState$8 = createFeatureSelector('dataAccess');
|
|
|
7728
8028
|
const invoiceState = createSelector(pluginState$8, (state) => state.invoices);
|
|
7729
8029
|
const selectInvoice = createSelector(invoiceState, (state) => state.invoice);
|
|
7730
8030
|
const selectInvoiceList = createSelector(invoiceState, (state) => state.invoiceList);
|
|
8031
|
+
const selectPaymentOrder = createSelector(invoiceState, (state) => state.paymentOrder);
|
|
8032
|
+
const selectPaymentOrderList = createSelector(invoiceState, (state) => state.paymentOrderList);
|
|
7731
8033
|
|
|
7732
8034
|
const pluginState$7 = createFeatureSelector('dataAccess');
|
|
7733
8035
|
const memberState = createSelector(pluginState$7, (state) => state.members);
|
|
@@ -7969,6 +8271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
7969
8271
|
class InvoiceEffects {
|
|
7970
8272
|
actions$ = inject(Actions);
|
|
7971
8273
|
invoiceService = inject(InvoiceService);
|
|
8274
|
+
paymentOrderService = inject(PaymentOrderService);
|
|
7972
8275
|
paymentAttemptService = inject(PaymentAttemptService);
|
|
7973
8276
|
createMemberMondidoPayment$ = createEffect(() => this.actions$
|
|
7974
8277
|
.pipe(ofType(createMondidoMemberPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentAttempt(payload.memberId, payload.invoiceId, 'mondido')
|
|
@@ -8006,6 +8309,24 @@ class InvoiceEffects {
|
|
|
8006
8309
|
retrieveMemberInvoice$ = createEffect(() => this.actions$
|
|
8007
8310
|
.pipe(ofType(retrieveMemberInvoiceAction), exhaustMap(({ payload }) => this.invoiceService.getMemberInvoice(payload.memberId, payload.invoiceId)
|
|
8008
8311
|
.pipe(map((invoice) => retrieveMemberInvoiceSuccessAction({ payload: invoice })), catchError((error) => of(retrieveMemberInvoiceFailureAction({ payload: error })))))));
|
|
8312
|
+
listMemberPaymentOrders$ = createEffect(() => this.actions$
|
|
8313
|
+
.pipe(ofType(listMemberPaymentOrdersAction), mergeMap(({ payload }) => forkJoin(payload.map((id) => this.paymentOrderService.getMemberPaymentOrders(id)
|
|
8314
|
+
.pipe(map((paymentOrders) => ({ id, paymentOrders: paymentOrders.toArray() })), catchError((error) => of({ id, error }))))).pipe(mergeMap((results) => {
|
|
8315
|
+
const paymentOrderMap = new Map();
|
|
8316
|
+
const errors = results.filter(result => result.error);
|
|
8317
|
+
if (errors.length) {
|
|
8318
|
+
return of(listMemberPaymentOrdersFailureAction({ payload: errors[0].error }));
|
|
8319
|
+
}
|
|
8320
|
+
results.forEach((result) => {
|
|
8321
|
+
if (result.paymentOrders) {
|
|
8322
|
+
paymentOrderMap.set(result.id, result.paymentOrders);
|
|
8323
|
+
}
|
|
8324
|
+
});
|
|
8325
|
+
return of(listMemberPaymentOrdersSuccessAction({ payload: paymentOrderMap }));
|
|
8326
|
+
})))));
|
|
8327
|
+
retrievePaymentOrder$ = createEffect(() => this.actions$
|
|
8328
|
+
.pipe(ofType(retrievePaymentOrderAction), exhaustMap(({ payload }) => this.paymentOrderService.getMemberPaymentOrder(payload.memberId, payload.paymentOrderId)
|
|
8329
|
+
.pipe(map((paymentOrder) => retrievePaymentOrderSuccessAction({ payload: paymentOrder })), catchError((error) => of(retrievePaymentOrderFailureAction({ payload: error })))))));
|
|
8009
8330
|
retrieveMemberPaymentAttempt$ = createEffect(() => this.actions$
|
|
8010
8331
|
.pipe(ofType(retrieveMemberPaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberPaymentAttempt(payload.memberId, payload.invoiceId, payload.paymentAttemptId)
|
|
8011
8332
|
.pipe(map((paymentAttempt) => retrieveMemberPaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrieveMemberPaymentAttemptFailureAction({ payload: error })))))));
|
|
@@ -8677,6 +8998,9 @@ const initialAuthState = {
|
|
|
8677
8998
|
|
|
8678
8999
|
const initialBookingState = {
|
|
8679
9000
|
calendars: emptyListResultFactory(),
|
|
9001
|
+
memberCalendars: undefined,
|
|
9002
|
+
memberSlots: undefined,
|
|
9003
|
+
memberSessions: undefined,
|
|
8680
9004
|
locations: emptyListResultFactory(),
|
|
8681
9005
|
bookableItems: emptyListResultFactory(),
|
|
8682
9006
|
bookableGroups: emptyListResultFactory(),
|
|
@@ -8723,6 +9047,8 @@ const initialConstantState = {
|
|
|
8723
9047
|
countries: emptyListResultFactory(),
|
|
8724
9048
|
memberContactTypes: emptyListResultFactory(),
|
|
8725
9049
|
bookingSlotTypes: emptyListResultFactory(),
|
|
9050
|
+
teamBookingSlotTypes: emptyListResultFactory(),
|
|
9051
|
+
memberBookingSlotTypes: emptyListResultFactory(),
|
|
8726
9052
|
bookingSlotReservedTimePositions: emptyListResultFactory(),
|
|
8727
9053
|
bookingSlotSessionTypes: emptyListResultFactory(),
|
|
8728
9054
|
bookingCalendarStatuses: emptyListResultFactory(),
|
|
@@ -8744,6 +9070,8 @@ const initialExternalLinkState = {
|
|
|
8744
9070
|
const initialInvoiceState = {
|
|
8745
9071
|
invoice: undefined,
|
|
8746
9072
|
invoiceList: undefined,
|
|
9073
|
+
paymentOrder: undefined,
|
|
9074
|
+
paymentOrderList: undefined
|
|
8747
9075
|
};
|
|
8748
9076
|
|
|
8749
9077
|
const initialFileState = {
|
|
@@ -9523,6 +9851,18 @@ on(retrieveBookingSlotTypesAction, (state) => ({ ...state, bookingSlotTypes: lis
|
|
|
9523
9851
|
})), on(retrieveBookingSlotTypesSuccessAction, (state, { payload }) => ({
|
|
9524
9852
|
...state,
|
|
9525
9853
|
bookingSlotTypes: listLoadSuccess(payload)
|
|
9854
|
+
})), on(retrieveTeamBookingSlotTypesAction, (state) => ({ ...state, teamBookingSlotTypes: listStartLoading() })), on(retrieveTeamBookingSlotTypesFailureAction, (state, { payload }) => ({
|
|
9855
|
+
...state,
|
|
9856
|
+
teamBookingSlotTypes: listLoadFailure(payload)
|
|
9857
|
+
})), on(retrieveTeamBookingSlotTypesSuccessAction, (state, { payload }) => ({
|
|
9858
|
+
...state,
|
|
9859
|
+
teamBookingSlotTypes: listLoadSuccess(payload)
|
|
9860
|
+
})), on(retrieveMemberBookingSlotTypesAction, (state) => ({ ...state, memberBookingSlotTypes: listStartLoading() })), on(retrieveMemberBookingSlotTypesFailureAction, (state, { payload }) => ({
|
|
9861
|
+
...state,
|
|
9862
|
+
memberBookingSlotTypes: listLoadFailure(payload)
|
|
9863
|
+
})), on(retrieveMemberBookingSlotTypesSuccessAction, (state, { payload }) => ({
|
|
9864
|
+
...state,
|
|
9865
|
+
memberBookingSlotTypes: listLoadSuccess(payload)
|
|
9526
9866
|
})),
|
|
9527
9867
|
// Booking Slot Reserved Time Positions
|
|
9528
9868
|
on(retrieveBookingSlotReservedTimePositionsAction, (state) => ({
|
|
@@ -9713,7 +10053,7 @@ const fileReducer = createReducer(initialFileState, on(clearStoreAction, () => i
|
|
|
9713
10053
|
|
|
9714
10054
|
const externalLinkReducer = createReducer(initialExternalLinkState, on(clearStoreAction, () => initialExternalLinkState), on(getMemberExternalLinksAction, (state) => ({ ...state, links: listStartLoading() })), on(getMemberExternalLinksFailureAction, (state, { payload }) => ({ ...state, links: listLoadFailure(payload) })), on(getMemberExternalLinksSuccessAction, (state, { payload }) => ({ ...state, links: listLoadSuccess(payload) })));
|
|
9715
10055
|
|
|
9716
|
-
const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, () => initialInvoiceState), on(clearMemberInvoiceAction, (state) => ({ ...state, invoice: undefined })), on(listMemberInvoicesAction, (state) => ({ ...state, invoiceList: retrieveStartLoading(state.invoiceList) })), on(listMemberInvoicesFailureAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadFailure(payload) })), on(listMemberInvoicesSuccessAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadSuccess(payload) })), on(retrieveMemberInvoiceAction, (state) => ({ ...state, invoice: retrieveStartLoading(state.invoice) })), on(retrieveMemberInvoiceFailureAction, (state, { payload }) => ({ ...state, invoice: retrieveLoadFailure(payload) })), on(retrieveMemberInvoiceSuccessAction, (state, { payload }) => {
|
|
10056
|
+
const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, () => initialInvoiceState), on(clearMemberInvoiceAction, (state) => ({ ...state, invoice: undefined })), on(clearPaymentOrderAction, (state) => ({ ...state, paymentOrder: undefined })), on(listMemberInvoicesAction, (state) => ({ ...state, invoiceList: retrieveStartLoading(state.invoiceList) })), on(listMemberInvoicesFailureAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadFailure(payload) })), on(listMemberInvoicesSuccessAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadSuccess(payload) })), on(retrieveMemberInvoiceAction, (state) => ({ ...state, invoice: retrieveStartLoading(state.invoice) })), on(retrieveMemberInvoiceFailureAction, (state, { payload }) => ({ ...state, invoice: retrieveLoadFailure(payload) })), on(retrieveMemberInvoiceSuccessAction, (state, { payload }) => {
|
|
9717
10057
|
let newState = { ...state, invoice: retrieveLoadSuccess(payload) };
|
|
9718
10058
|
const memberInvoices = newState.invoiceList?.result?.get(payload.memberId);
|
|
9719
10059
|
if (memberInvoices) {
|
|
@@ -9735,7 +10075,7 @@ const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, (
|
|
|
9735
10075
|
};
|
|
9736
10076
|
}
|
|
9737
10077
|
return newState;
|
|
9738
|
-
}));
|
|
10078
|
+
}), on(listMemberPaymentOrdersAction, (state) => ({ ...state, paymentOrderList: retrieveStartLoading(state.paymentOrderList) })), on(listMemberPaymentOrdersSuccessAction, (state, { payload }) => ({ ...state, paymentOrderList: retrieveLoadSuccess(payload) })), on(listMemberPaymentOrdersFailureAction, (state, { payload }) => ({ ...state, paymentOrderList: retrieveLoadFailure(payload) })), on(retrievePaymentOrderAction, (state) => ({ ...state, paymentOrder: retrieveStartLoading(state.paymentOrder) })), on(retrievePaymentOrderSuccessAction, (state, { payload }) => ({ ...state, paymentOrder: retrieveLoadSuccess(payload) })), on(retrievePaymentOrderFailureAction, (state, { payload }) => ({ ...state, paymentOrder: retrieveLoadFailure(payload) })));
|
|
9739
10079
|
|
|
9740
10080
|
const memberCardReducer = createReducer(initialMemberCardState, on(clearStoreAction, () => initialMemberCardState), on(clearMemberCardAction, (state) => ({ ...state, currentMemberCard: undefined })), on(retrieveMemberCardAction, (state) => ({
|
|
9741
10081
|
...state,
|
|
@@ -10105,47 +10445,98 @@ const bookingReducer = createReducer(initialBookingState, on(clearStoreAction, (
|
|
|
10105
10445
|
...state,
|
|
10106
10446
|
calendars: listLoadSuccess(bookingCalendars),
|
|
10107
10447
|
};
|
|
10108
|
-
}), on(
|
|
10448
|
+
}), on(listCalendarFailureAction, (state, { payload }) => ({
|
|
10449
|
+
...state,
|
|
10450
|
+
calendars: listLoadFailure(payload)
|
|
10451
|
+
})), on(listMemberCalendarSuccessAction, (state, { bookingCalendarsMap }) => {
|
|
10452
|
+
return {
|
|
10453
|
+
...state,
|
|
10454
|
+
memberCalendars: retrieveLoadSuccess(bookingCalendarsMap),
|
|
10455
|
+
};
|
|
10456
|
+
}), on(listMemberCalendarFailureAction, (state, { payload }) => ({
|
|
10457
|
+
...state,
|
|
10458
|
+
memberCalendars: retrieveLoadFailure(payload)
|
|
10459
|
+
})), on(listMemberBookingCalendarBookableSlotsSuccessAction, (state, { slotsMap }) => {
|
|
10460
|
+
return {
|
|
10461
|
+
...state,
|
|
10462
|
+
memberSlots: retrieveLoadSuccess(slotsMap),
|
|
10463
|
+
};
|
|
10464
|
+
}), on(listMemberBookingCalendarBookableSlotsFailureAction, (state, { payload }) => ({
|
|
10465
|
+
...state,
|
|
10466
|
+
memberSlots: retrieveLoadFailure(payload)
|
|
10467
|
+
})), on(listMemberBookingCalendarSlotSessionSuccessAction, (state, { sessionsMap }) => {
|
|
10468
|
+
return {
|
|
10469
|
+
...state,
|
|
10470
|
+
memberSessions: retrieveLoadSuccess(sessionsMap),
|
|
10471
|
+
};
|
|
10472
|
+
}), on(listMemberBookingCalendarSlotSessionFailureAction, (state, { payload }) => ({
|
|
10473
|
+
...state,
|
|
10474
|
+
memberSessions: retrieveLoadFailure(payload)
|
|
10475
|
+
})), on(listLocationSuccessAction, (state, { locations }) => {
|
|
10109
10476
|
return {
|
|
10110
10477
|
...state,
|
|
10111
10478
|
locations: listLoadSuccess(locations),
|
|
10112
10479
|
};
|
|
10113
|
-
}), on(
|
|
10480
|
+
}), on(listLocationFailureAction, (state, { payload }) => ({
|
|
10481
|
+
...state,
|
|
10482
|
+
locations: listLoadFailure(payload)
|
|
10483
|
+
})), on(listBookableItemSuccessAction, (state, { items }) => {
|
|
10114
10484
|
return {
|
|
10115
10485
|
...state,
|
|
10116
10486
|
bookableItems: listLoadSuccess(items),
|
|
10117
10487
|
};
|
|
10118
|
-
}), on(
|
|
10488
|
+
}), on(listBookableItemFailureAction, (state, { payload }) => ({
|
|
10489
|
+
...state,
|
|
10490
|
+
bookableItems: listLoadFailure(payload)
|
|
10491
|
+
})), on(listBookableGroupSuccessAction, (state, { groups }) => {
|
|
10119
10492
|
return {
|
|
10120
10493
|
...state,
|
|
10121
10494
|
bookableGroups: listLoadSuccess(groups),
|
|
10122
10495
|
};
|
|
10123
|
-
}), on(
|
|
10496
|
+
}), on(listBookableGroupFailureAction, (state, { payload }) => ({
|
|
10497
|
+
...state,
|
|
10498
|
+
bookableGroups: listLoadFailure(payload)
|
|
10499
|
+
})), on(listBookableTagSuccessAction, (state, { tags }) => {
|
|
10124
10500
|
return {
|
|
10125
10501
|
...state,
|
|
10126
10502
|
bookableTags: listLoadSuccess(tags),
|
|
10127
10503
|
};
|
|
10128
|
-
}), on(
|
|
10504
|
+
}), on(listBookableTagFailureAction, (state, { payload }) => ({
|
|
10505
|
+
...state,
|
|
10506
|
+
bookableTags: listLoadFailure(payload)
|
|
10507
|
+
})), on(listTeamSuccessAction, (state, { teams }) => {
|
|
10129
10508
|
return {
|
|
10130
10509
|
...state,
|
|
10131
10510
|
bookingTeams: listLoadSuccess(teams),
|
|
10132
10511
|
};
|
|
10133
|
-
}), on(
|
|
10512
|
+
}), on(listTeamFailureAction, (state, { payload }) => ({
|
|
10513
|
+
...state,
|
|
10514
|
+
bookingTeams: listLoadFailure(payload)
|
|
10515
|
+
})), on(listActivityTypeSuccessAction, (state, { activityTypes }) => {
|
|
10134
10516
|
return {
|
|
10135
10517
|
...state,
|
|
10136
10518
|
activityTypes: listLoadSuccess(activityTypes),
|
|
10137
10519
|
};
|
|
10138
|
-
}), on(
|
|
10520
|
+
}), on(listActivityTypeFailureAction, (state, { payload }) => ({
|
|
10521
|
+
...state,
|
|
10522
|
+
activityTypes: listLoadFailure(payload)
|
|
10523
|
+
})), on(retrieveSettingsSuccessAction, (state, { settings }) => {
|
|
10139
10524
|
return {
|
|
10140
10525
|
...state,
|
|
10141
10526
|
bookingActivitySettings: retrieveLoadSuccess(settings),
|
|
10142
10527
|
};
|
|
10143
|
-
}), on(
|
|
10528
|
+
}), on(retrieveSettingsFailureAction, (state, { payload }) => ({
|
|
10529
|
+
...state,
|
|
10530
|
+
bookingActivitySettings: retrieveLoadFailure(payload)
|
|
10531
|
+
})), on(retrieveBookingSettingsSuccessAction, (state, { settings }) => {
|
|
10144
10532
|
return {
|
|
10145
10533
|
...state,
|
|
10146
10534
|
bookingSettings: retrieveLoadSuccess(settings),
|
|
10147
10535
|
};
|
|
10148
|
-
}), on(
|
|
10536
|
+
}), on(retrieveBookingSettingsFailureAction, (state, { payload }) => ({
|
|
10537
|
+
...state,
|
|
10538
|
+
bookingSettings: retrieveLoadFailure(payload)
|
|
10539
|
+
})), on(selectCurrentCalendarAction, (state, { calendar }) => {
|
|
10149
10540
|
return {
|
|
10150
10541
|
...state,
|
|
10151
10542
|
currentCalendar: calendar,
|
|
@@ -10491,5 +10882,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
10491
10882
|
* Generated bundle index. Do not edit.
|
|
10492
10883
|
*/
|
|
10493
10884
|
|
|
10494
|
-
export { APP, Activity, ActivityActionTypes, ActivityExtraMember, ActivityInvite, ActivityLocation, ActivityLocationGroup, ActivityLocationPart, ActivityLocationTag, ActivityParticipant, ActivityService, ActivitySettings, ActivityType, Auth, AuthActionType, AuthMember, AuthSection, AuthService, AuthTeam, AuthTeamSection, AuthenticatedGuard, Authentication, AuthenticationInterceptor, AuthenticationService, BookableGroup, BookableItem, BookablePart, BookableService, BookableTag, BookingActionTypes, BookingCalendar, BookingCalendarApplicationTime, BookingCalendarService, BookingCalendarSlot, BookingCalendarSlotSession, BookingSettings, BookingSlotFilter, Calendar, CalendarActionTypes, CalendarEvent, Card, CardDeal, CardLogo, CardLogoUrls, CardMemberTicket, CardTheme, CardTicket, CardTicketLocation, Club, ClubImage, ClubInfoActionType, ClubSection, ClubService, Collection, ConstantActionType, ConstantService, Contact, CreditCard, DataAccessModule, Directory, Email, EmailActionTypes, EmailService, Event, ExternalLink, ExternalLinkActionType, ExternalLinkService, FeatureFlags, FeatureFlagsService, FileActionTypes, FileObject, FileService, GeneralImage, Giro, GroupRole, HandleGrantTokenGuard, HomeTeam, ImageUrls, InvoiceActionType, InvoiceService, MaintenanceModeService, Member, MemberActionType, MemberActivityInvite, MemberAttribute, MemberCard, MemberCardActionType, MemberCardService, MemberContact, MemberFee, MemberFunction, MemberInvoice, MemberInvoiceRow, MemberPublicForm, MemberPublicFormField, MemberPublicFormFieldOption, MemberPublicFormService, MemberService, MemberTeam, MemberTeamThrough, MemberType, MemberValidationSettings, News, NewsActionType, NewsService, OpenActivity, OptionalFee, OtherMember, OtherMemberField, OverbookedBookableItem, OverbookedLocation, Partner, PaymentAttempt, PaymentAttemptService, PublicAuthentication, PublicFormActionType, RegistrationQRCode, RegistrationQRCodeService, Role, STORAGE_SELECTED_AUTH, STORAGE_SELECTED_MEMBERS, STORAGE_TOKEN, SearchClub, SearchMember, SearchMemberCard, SearchMemberInvoice, SearchTeam, Section, SectionService, SelectedField, StorageService, StoreActionTypes, Swish, SwishIncident, SwishIncidentActionTypes, SwishQrCode, TeamActionTypes, TeamService, Token, TokenActionType, TokenService, USER_NOTIFICATIONS_PATH, UnpaidMemberInvoice, User, UserActionType, UserNotification, UserNotificationService, UserService, Zimpler, activateCardTicketAction, activateCardTicketFailureAction, activateCardTicketSuccessAction, activatePublicCardTicketAction, activatePublicCardTicketFailureAction, activatePublicCardTicketSuccessAction, activateUserAction, activateUserFailureAction, activateUserSuccessAction, addEmailRecipientsAction, addTeamLeaderActivityInviteAction, addTeamLeaderActivityInviteFailureAction, addTeamLeaderActivityInviteSuccessAction, authState, bookingState, calendarState, clearAuthenticationAction, clearAuthenticationSuccessAction, clearCurrentExtraMemberAction, clearCurrentMemberAction, clearCurrentPublicTokenAction, clearCurrentTeamAction, clearCurrentTokenAction, clearEmailAction, clearMemberActivityAction, clearMemberActivityInviteAction, clearMemberCardAction, clearMemberInvoiceAction, clearMemberOpenActivityAction, clearMemberOtherMemberAction, clearMemberTeamsAction, clearPublicOpenActivityAction, clearStoreAction, clearTeamActivityAction, clearTeamOtherMemberAction, clearUserNotificationsAction, clubInfoState, constantState, createBookableGroupAction, createBookableGroupFailureAction, createBookableGroupSuccessAction, createBookableItemAction, createBookableItemFailureAction, createBookableItemSuccessAction, createBookableTagAction, createBookableTagFailureAction, createBookableTagSuccessAction, createBookingCalendarAction, createBookingCalendarFailureAction, createBookingCalendarSlotAction, createBookingCalendarSlotFailureAction, createBookingCalendarSlotSessionAction, createBookingCalendarSlotSessionFailureAction, createBookingCalendarSlotSessionSuccessAction, createBookingCalendarSlotSuccessAction, createBookingCalendarSuccessAction, createMondidoMemberPaymentAction, createMondidoPaymentFailureAction, createMondidoPaymentSuccessAction, createMondidoPublicPaymentAction, createSwishMemberPaymentAction, createSwishPaymentFailureAction, createSwishPaymentSuccessAction, createSwishPublicPaymentAction, createTeamActivityAction, createTeamActivityFailureAction, createTeamActivitySuccessAction, createTeamDirectoryAction, createTeamDirectoryFailureAction, createTeamDirectorySuccessAction, createTeamFileAction, createTeamFileFailureAction, createTeamFileSuccessAction, createTeamNewsAction, createTeamNewsFailureAction, createTeamNewsSuccessAction, createUserAction, createUserFailureAction, createUserSuccessAction, createZimplerMemberPaymentAction, createZimplerPaymentFailureAction, createZimplerPaymentSuccessAction, createZimplerPublicPaymentAction, dataAccessEffects, dataAccessReducer, deleteBookableTagAction, deleteBookableTagFailureAction, deleteBookableTagSuccessAction, deleteBookingCalendarAction, deleteBookingCalendarFailureAction, deleteBookingCalendarRepeatableSlotAction, deleteBookingCalendarRepeatableSlotFailureAction, deleteBookingCalendarRepeatableSlotSessionAction, deleteBookingCalendarRepeatableSlotSessionFailureAction, deleteBookingCalendarRepeatableSlotSessionSuccessAction, deleteBookingCalendarRepeatableSlotSuccessAction, deleteBookingCalendarSlotAction, deleteBookingCalendarSlotFailureAction, deleteBookingCalendarSlotSessionAction, deleteBookingCalendarSlotSessionFailureAction, deleteBookingCalendarSlotSessionSuccessAction, deleteBookingCalendarSlotSuccessAction, deleteBookingCalendarSuccessAction, deleteCurrentUserAction, deleteCurrentUserFailureAction, deleteCurrentUserSuccessAction, deleteEmailRecipientAction, deleteTeamActivityAction, deleteTeamActivityFailureAction, deleteTeamActivityInviteAction, deleteTeamActivityInviteFailureAction, deleteTeamActivityInviteSuccessAction, deleteTeamActivitySuccessAction, deleteTeamDirectoryAction, deleteTeamDirectoryFailureAction, deleteTeamDirectorySuccessAction, deleteTeamFileAction, deleteTeamFileFailureAction, deleteTeamFileSuccessAction, deleteTeamLeaderMemberAction, deleteTeamLeaderMemberFailureAction, deleteTeamLeaderMemberSuccessAction, deleteTeamNewsAction, deleteTeamNewsFailureAction, deleteTeamNewsSuccessAction, emailState, emptyListResultFactory, emptyRetrieveResultFactory, ensureAuths, ensureConstants, ensureCurrentAuth, ensureCurrentUser, ensureItemLoadingDone, ensureListLoadingDone, ensureMemberCalendarEventsLoadingDone, ensureOpenActivitiesLoadingDone, ensureOpenActivityLocationLoadingDone, ensureOpenActivityTypeLoadingDone, ensurePublicOpenActivitiesLoadingDone, ensureTeamCalendarEventsLoadingDone, ensureUpdatedData, externalLinkState, fileState, getCurrentAuthAction, getCurrentAuthSuccessAction, getCurrentMemberClubInfoAction, getCurrentMemberClubInfoFailureAction, getCurrentMemberClubInfoSuccessAction, getCurrentPublicClubInfoAction, getCurrentPublicClubInfoFailureAction, getCurrentPublicClubInfoSuccessAction, getCurrentTeamClubInfoAction, getCurrentTeamClubInfoFailureAction, getCurrentTeamClubInfoSuccessAction, getCurrentTokenAction, getCurrentTokenSuccessAction, getCurrentUserAction, getCurrentUserFailureAction, getCurrentUserSuccessAction, getMemberExternalLinksAction, getMemberExternalLinksFailureAction, getMemberExternalLinksSuccessAction, initialAuthState, initialBookingState, initialCalendarState, initialClubInfoState, initialConstantState, initialEmailState, initialExternalLinkState, initialFileState, initialInvoiceState, initialMemberCardState, initialMemberState, initialNewsState, initialPublicFormState, initialPublicState, initialTeamState, initialTokenState, initialUserState, invoiceState, listActivityTypeAction, listActivityTypeFailureAction, listActivityTypeSuccessAction, listAllMemberOpenActivityLocationsAction, listAllMemberOpenActivityLocationsFailureAction, listAllMemberOpenActivityLocationsSuccessAction, listAllMemberOpenActivityTypesAction, listAllMemberOpenActivityTypesFailureAction, listAllMemberOpenActivityTypesSuccessAction, listAllPublicOpenActivityLocationsAction, listAllPublicOpenActivityLocationsFailureAction, listAllPublicOpenActivityLocationsSuccessAction, listAllPublicOpenActivityTypesAction, listAllPublicOpenActivityTypesFailureAction, listAllPublicOpenActivityTypesSuccessAction, listAuthAction, listAuthFailureAction, listAuthSuccessAction, listAuthTeamsAction, listAuthTeamsFailureAction, listAuthTeamsSuccessAction, listBookableGroupAction, listBookableGroupFailureAction, listBookableGroupSuccessAction, listBookableItemAction, listBookableItemFailureAction, listBookableItemSuccessAction, listBookableTagAction, listBookableTagFailureAction, listBookableTagSuccessAction, listCalendarAction, listCalendarFailureAction, listCalendarSuccessAction, listLocationAction, listLocationFailureAction, listLocationSuccessAction, listMemberActivitiesAction, listMemberActivitiesFailureAction, listMemberActivitiesSuccessAction, listMemberActivityInvitesAction, listMemberActivityInvitesFailureAction, listMemberActivityInvitesSuccessAction, listMemberCardsAction, listMemberCardsFailureAction, listMemberCardsSuccessAction, listMemberInvoicesAction, listMemberInvoicesFailureAction, listMemberInvoicesSuccessAction, listMemberLeaderExtraMembersAction, listMemberLeaderExtraMembersFailureAction, listMemberLeaderExtraMembersSuccessAction, listMemberLeaderMembersAction, listMemberLeaderMembersFailureAction, listMemberLeaderMembersSuccessAction, listMemberNewsAction, listMemberNewsFailureAction, listMemberNewsSuccessAction, listMemberOpenActivitiesAction, listMemberOpenActivitiesFailureAction, listMemberOpenActivitiesSuccessAction, listMemberOpenActivityLocationsAction, listMemberOpenActivityLocationsFailureAction, listMemberOpenActivityLocationsSuccessAction, listMemberOpenActivityTypesAction, listMemberOpenActivityTypesFailureAction, listMemberOpenActivityTypesSuccessAction, listMemberOtherMembersAction, listMemberOtherMembersFailureAction, listMemberOtherMembersSuccessAction, listMemberTeamsAction, listMemberTeamsFailureAction, listMemberTeamsSuccessAction, listMembersAction, listMembersFailureAction, listMembersSuccessAction, listPublicFormAction, listPublicFormFailureAction, listPublicFormSuccessAction, listPublicMembersAction, listPublicMembersFailureAction, listPublicMembersSuccessAction, listPublicOpenActivitiesAction, listPublicOpenActivitiesFailureAction, listPublicOpenActivitiesSuccessAction, listPublicOpenActivityLocationsAction, listPublicOpenActivityLocationsFailureAction, listPublicOpenActivityLocationsSuccessAction, listPublicOpenActivityTypesAction, listPublicOpenActivityTypesFailureAction, listPublicOpenActivityTypesSuccessAction, listSwishIncidentsAction, listSwishIncidentsFailureAction, listSwishIncidentsSuccessAction, listTeamAction, listTeamActivitiesAction, listTeamActivitiesFailureAction, listTeamActivitiesSuccessAction, listTeamActivityParticipantsAction, listTeamActivityParticipantsFailureAction, listTeamActivityParticipantsSuccessAction, listTeamFailureAction, listTeamLeaderExtraMembersAction, listTeamLeaderExtraMembersFailureAction, listTeamLeaderExtraMembersSuccessAction, listTeamLeaderMembersAction, listTeamLeaderMembersFailureAction, listTeamLeaderMembersSuccessAction, listTeamNewsAction, listTeamNewsFailureAction, listTeamNewsSuccessAction, listTeamOtherMembersAction, listTeamOtherMembersFailureAction, listTeamOtherMembersSuccessAction, listTeamSuccessAction, listUserNotificationsAction, listUserNotificationsFailureAction, listUserNotificationsSuccessAction, loginTokenAction, loginTokenFailureAction, loginTokenSuccessAction, loginWithSessionAction, loginWithSessionFailureAction, loginWithTokenAction, loginWithTokenFailureAction, memberCardState, memberLoginAction, memberLoginFailureAction, memberLoginSuccessAction, memberSendCodeAction, memberSendCodeFailureAction, memberSendCodeSuccessAction, memberState, newsState, publicFormState, publicState, reauthenticateTokenAction, reauthenticateTokenFailureAction, reauthenticateTokenSuccessAction, refreshAuthsAction, refreshAuthsFailureAction, refreshAuthsSuccessAction, removeMemberAuthAction, removeMemberAuthFailureAction, removeMemberAuthSuccessAction, removeMemberOpenActivityAction, removeMemberOpenActivityFailureAction, removeMemberOpenActivitySuccessAction, removeMemberProfileContactAction, removeMemberProfileContactFailureAction, removeMemberProfileContactSuccessAction, removePublicOpenActivityAction, removePublicOpenActivityFailureAction, removePublicOpenActivitySuccessAction, removeTeamAuthAction, removeTeamAuthFailureAction, removeTeamAuthSuccessAction, removeTeamMemberProfileContactAction, removeTeamMemberProfileContactFailureAction, removeTeamMemberProfileContactSuccessAction, resendTeamActivityMemberInviteAction, resendTeamActivityMemberInviteFailureAction, resendTeamActivityMemberInviteSuccessAction, resetBookingStateAction, resetPasswordAction, resetPasswordFailureAction, resetPasswordSuccessAction, retrieveActivityMaxAttendantsTypesConstantsAction, retrieveActivityMaxAttendantsTypesConstantsFailureAction, retrieveActivityMaxAttendantsTypesConstantsSuccessAction, retrieveActivityMeetUpTimesConstantsAction, retrieveActivityMeetUpTimesConstantsFailureAction, retrieveActivityMeetUpTimesConstantsSuccessAction, retrieveActivityReminderDaysConstantsAction, retrieveActivityReminderDaysConstantsFailureAction, retrieveActivityReminderDaysConstantsSuccessAction, retrieveActivityReminderReceiversConstantsAction, retrieveActivityReminderReceiversConstantsFailureAction, retrieveActivityReminderReceiversConstantsSuccessAction, retrieveActivityReminderTimesConstantsAction, retrieveActivityReminderTimesConstantsFailureAction, retrieveActivityReminderTimesConstantsSuccessAction, retrieveActivityRepeatOptionsConstantsAction, retrieveActivityRepeatOptionsConstantsFailureAction, retrieveActivityRepeatOptionsConstantsSuccessAction, retrieveActivityRepeatTypeOptionsConstantsAction, retrieveActivityRepeatTypeOptionsConstantsFailureAction, retrieveActivityRepeatTypeOptionsConstantsSuccessAction, retrieveActivitySettingsConstantsAction, retrieveActivitySettingsConstantsFailureAction, retrieveActivitySettingsConstantsSuccessAction, retrieveBookingCalendarStatusesAction, retrieveBookingCalendarStatusesFailureAction, retrieveBookingCalendarStatusesSuccessAction, retrieveBookingCalendarTypesAction, retrieveBookingCalendarTypesFailureAction, retrieveBookingCalendarTypesSuccessAction, retrieveBookingSettingsAction, retrieveBookingSettingsFailureAction, retrieveBookingSettingsSuccessAction, retrieveBookingSlotReservedTimePositionsAction, retrieveBookingSlotReservedTimePositionsFailureAction, retrieveBookingSlotReservedTimePositionsSuccessAction, retrieveBookingSlotSessionTypesAction, retrieveBookingSlotSessionTypesFailureAction, retrieveBookingSlotSessionTypesSuccessAction, retrieveBookingSlotTypesAction, retrieveBookingSlotTypesFailureAction, retrieveBookingSlotTypesSuccessAction, retrieveCountriesConstantsAction, retrieveCountriesConstantsFailureAction, retrieveCountriesConstantsSuccessAction, retrieveFeatureFlagsAction, retrieveFeatureFlagsFailureAction, retrieveFeatureFlagsSuccessAction, retrieveLanguagesConstantsAction, retrieveLanguagesConstantsFailureAction, retrieveLanguagesConstantsSuccessAction, retrieveMemberActivityAction, retrieveMemberActivityFailureAction, retrieveMemberActivityInviteAction, retrieveMemberActivityInviteFailureAction, retrieveMemberActivityInviteSuccessAction, retrieveMemberActivitySuccessAction, retrieveMemberCardAction, retrieveMemberCardDealsAction, retrieveMemberCardDealsFailureAction, retrieveMemberCardDealsSuccessAction, retrieveMemberCardFailureAction, retrieveMemberCardQRCodeAction, retrieveMemberCardQRCodeFailureAction, retrieveMemberCardQRCodeSuccessAction, retrieveMemberCardSuccessAction, retrieveMemberCardTicketsAction, retrieveMemberCardTicketsFailureAction, retrieveMemberCardTicketsSuccessAction, retrieveMemberContactTypesConstantsAction, retrieveMemberContactTypesConstantsFailureAction, retrieveMemberContactTypesConstantsSuccessAction, retrieveMemberDirectoriesAction, retrieveMemberDirectoriesFailureAction, retrieveMemberDirectoriesSuccessAction, retrieveMemberInvoiceAction, retrieveMemberInvoiceFailureAction, retrieveMemberInvoiceSuccessAction, retrieveMemberLeaderExtraMemberAction, retrieveMemberLeaderExtraMemberFailureAction, retrieveMemberLeaderExtraMemberSuccessAction, retrieveMemberLeaderGroupAction, retrieveMemberLeaderGroupFailureAction, retrieveMemberLeaderGroupSuccessAction, retrieveMemberLeaderMemberAction, retrieveMemberLeaderMemberFailureAction, retrieveMemberLeaderMemberSuccessAction, retrieveMemberNewsAction, retrieveMemberNewsFailureAction, retrieveMemberNewsSuccessAction, retrieveMemberOpenActivityAction, retrieveMemberOpenActivityFailureAction, retrieveMemberOpenActivitySuccessAction, retrieveMemberOtherMemberAction, retrieveMemberOtherMemberFailureAction, retrieveMemberOtherMemberSuccessAction, retrieveMemberPaymentAttemptAction, retrieveMemberPaymentAttemptFailureAction, retrieveMemberPaymentAttemptSuccessAction, retrieveMemberProfileAction, retrieveMemberProfileFailureAction, retrieveMemberProfileSuccessAction, retrieveMemberSwishQRCodeAction, retrievePublicActivityInviteAction, retrievePublicActivityInviteFailureAction, retrievePublicActivityInviteSuccessAction, retrievePublicFormAction, retrievePublicFormFailureAction, retrievePublicFormSuccessAction, retrievePublicInvoiceAction, retrievePublicInvoiceFailureAction, retrievePublicInvoiceLogoAction, retrievePublicInvoiceLogoFailureAction, retrievePublicInvoiceLogoSuccessAction, retrievePublicInvoiceSuccessAction, retrievePublicMemberCardAction, retrievePublicMemberCardDealsAction, retrievePublicMemberCardDealsFailureAction, retrievePublicMemberCardDealsSuccessAction, retrievePublicMemberCardFailureAction, retrievePublicMemberCardQRCodeAction, retrievePublicMemberCardQRCodeFailureAction, retrievePublicMemberCardQRCodeSuccessAction, retrievePublicMemberCardRegisterAction, retrievePublicMemberCardRegisterFailureAction, retrievePublicMemberCardRegisterSuccessAction, retrievePublicMemberCardSuccessAction, retrievePublicMemberCardTicketsAction, retrievePublicMemberCardTicketsFailureAction, retrievePublicMemberCardTicketsSuccessAction, retrievePublicOpenActivityAction, retrievePublicOpenActivityFailureAction, retrievePublicOpenActivitySuccessAction, retrievePublicPaymentAttemptAction, retrievePublicPaymentAttemptFailureAction, retrievePublicPaymentAttemptSuccessAction, retrievePublicSwishQRCodeAction, retrieveSettingsAction, retrieveSettingsFailureAction, retrieveSettingsSuccessAction, retrieveSwishQRCodeFailureAction, retrieveSwishQRCodeSuccessAction, retrieveTeamActivityAction, retrieveTeamActivityFailureAction, retrieveTeamActivityQRCodeAction, retrieveTeamActivityQRCodeFailureAction, retrieveTeamActivityQRCodeSuccessAction, retrieveTeamActivitySettingsAction, retrieveTeamActivitySettingsFailureAction, retrieveTeamActivitySettingsSuccessAction, retrieveTeamActivitySuccessAction, retrieveTeamDefaultActivitySettingsAction, retrieveTeamDefaultActivitySettingsFailureAction, retrieveTeamDefaultActivitySettingsSuccessAction, retrieveTeamDirectoriesAction, retrieveTeamDirectoriesFailureAction, retrieveTeamDirectoriesSuccessAction, retrieveTeamLeaderExtraMemberAction, retrieveTeamLeaderExtraMemberFailureAction, retrieveTeamLeaderExtraMemberSuccessAction, retrieveTeamLeaderGroupAction, retrieveTeamLeaderGroupFailureAction, retrieveTeamLeaderGroupSuccessAction, retrieveTeamLeaderMemberAction, retrieveTeamLeaderMemberFailureAction, retrieveTeamLeaderMemberSuccessAction, retrieveTeamNewsAction, retrieveTeamNewsFailureAction, retrieveTeamNewsSuccessAction, retrieveTeamOtherMemberAction, retrieveTeamOtherMemberFailureAction, retrieveTeamOtherMemberSuccessAction, selectActivityInvites, selectActivityMaxAttendees, selectActivityMeetUpTimes, selectActivityReminderDays, selectActivityReminderReceivers, selectActivityReminderTimes, selectActivityRepeatOptions, selectActivityRepeatTypeOptions, selectActivitySettings, selectActivityTypes, selectAllAuths, selectAllMemberCards, selectAllOpenActivityLocations, selectAllOpenActivityTypes, selectAllPublicForms, selectBookableGroups, selectBookableItems, selectBookableTags, selectBookingActivitySettings, selectBookingCalendarStatuses, selectBookingCalendarTypes, selectBookingSettings, selectBookingSlotFilter, selectBookingSlotReservedTimePositions, selectBookingSlotSessionTypes, selectBookingSlotTypes, selectBookingTeams, selectCalendars, selectCardDeals, selectCardTickets, selectClubInfo, selectCountries, selectCurrentAuth, selectCurrentCalendar, selectCurrentCalendarAction, selectCurrentExtraMember, selectCurrentMember, selectCurrentMemberActivity, selectCurrentMemberActivityInvite, selectCurrentMemberNewsItem, selectCurrentMemberOpenActivity, selectCurrentPublicToken, selectCurrentTeam, selectCurrentTeamActivity, selectCurrentTeamNewsItem, selectCurrentToken, selectCurrentUser, selectEmailSettings, selectExternalLinks, selectFeatureFlags, selectInvoice, selectInvoiceList, selectLanguages, selectLocations, selectMemberCalendarEvents, selectMemberCard, selectMemberContactTypes, selectMemberDirectories, selectMemberNewsList, selectMemberOpenActivities, selectMemberOpenActivityLocations, selectMemberOpenActivityTypes, selectMemberOtherMember, selectMemberOtherMembers, selectMemberProfile, selectMemberTeams, selectMembers, selectNewTeamActivity, selectPublicActivityInvite, selectPublicAllOpenActivityLocations, selectPublicAllOpenActivityTypes, selectPublicCardDeals, selectPublicCardTickets, selectPublicClubInfo, selectPublicInvoice, selectPublicInvoiceLogo, selectPublicMemberAction, selectPublicMemberCard, selectPublicMemberFailureAction, selectPublicMemberSuccessAction, selectPublicMembers, selectPublicOpenActivities, selectPublicOpenActivity, selectPublicOpenActivityLocations, selectPublicOpenActivityTypes, selectTeamActivitySettings, selectTeamCalendarEvents, selectTeamDirectories, selectTeamExtraMembers, selectTeamExtraMembersId, selectTeamMembers, selectTeamMembersId, selectTeamNewsList, selectTeamOtherMember, selectTeamOtherMembers, selectUserNotifications, sendEmailAction, sendEmailFailureAction, sendEmailSuccessAction, setCurrentAuthAction, setCurrentTokenAction, setEmailSettingsAction, swishIncidentGetMostSevereStatus, teamState, tokenState, updateActivityTypeAction, updateActivityTypeFailureAction, updateActivityTypeSuccessAction, updateApplicationTimeAction, updateBookableGroupAction, updateBookableGroupFailureAction, updateBookableGroupSuccessAction, updateBookableItemAction, updateBookableItemFailureAction, updateBookableItemSuccessAction, updateBookableTagAction, updateBookableTagFailureAction, updateBookableTagSuccessAction, updateBookingCalendarAction, updateBookingCalendarFailureAction, updateBookingCalendarSlotAction, updateBookingCalendarSlotFailureAction, updateBookingCalendarSlotSessionAction, updateBookingCalendarSlotSessionFailureAction, updateBookingCalendarSlotSessionSuccessAction, updateBookingCalendarSlotSuccessAction, updateBookingCalendarSuccessAction, updateBookingFilterAction, updateBookingSettingsAction, updateBookingSettingsFailureAction, updateBookingSettingsSuccessAction, updateCurrentUserAction, updateCurrentUserFailureAction, updateCurrentUserSuccessAction, updateMemberActivityAttendanceAction, updateMemberActivityAttendanceFailureAction, updateMemberActivityAttendanceSuccessAction, updateMemberActivityInviteAction, updateMemberActivityInviteFailureAction, updateMemberActivityInviteSuccessAction, updateMemberOpenActivityAction, updateMemberOpenActivityFailureAction, updateMemberOpenActivitySuccessAction, updateMemberProfileAction, updateMemberProfileFailureAction, updateMemberProfileSuccessAction, updatePublicActivityInviteAction, updatePublicActivityInviteFailureAction, updatePublicActivityInviteSuccessAction, updatePublicOpenActivityAction, updatePublicOpenActivityFailureAction, updatePublicOpenActivityInviteAction, updatePublicOpenActivityInviteFailureAction, updatePublicOpenActivityInviteSuccessAction, updatePublicOpenActivitySuccessAction, updateTeamActivityAction, updateTeamActivityAttendanceAction, updateTeamActivityAttendanceFailureAction, updateTeamActivityAttendanceSuccessAction, updateTeamActivityFailureAction, updateTeamActivitySuccessAction, updateTeamLeaderMemberAction, updateTeamLeaderMemberFailureAction, updateTeamLeaderMemberSuccessAction, updateTeamMemberActivityInviteAction, updateTeamMemberActivityInviteFailureAction, updateTeamMemberActivityInviteSuccessAction, updateTeamNewsAction, updateTeamNewsFailureAction, updateTeamNewsSuccessAction, userState };
|
|
10885
|
+
export { APP, Activity, ActivityActionTypes, ActivityExtraMember, ActivityInvite, ActivityLocation, ActivityLocationGroup, ActivityLocationPart, ActivityLocationTag, ActivityParticipant, ActivityService, ActivitySettings, ActivityType, Auth, AuthActionType, AuthMember, AuthSection, AuthService, AuthTeam, AuthTeamSection, AuthenticatedGuard, Authentication, AuthenticationInterceptor, AuthenticationService, BookableGroup, BookableItem, BookablePart, BookableService, BookableTag, BookingActionTypes, BookingCalendar, BookingCalendarApplicationTime, BookingCalendarService, BookingCalendarSlot, BookingCalendarSlotSession, BookingSettings, BookingSlotFilter, Calendar, CalendarActionTypes, CalendarEvent, Card, CardDeal, CardLogo, CardLogoUrls, CardMemberTicket, CardTheme, CardTicket, CardTicketLocation, Club, ClubImage, ClubInfoActionType, ClubSection, ClubService, Collection, ConstantActionType, ConstantService, Contact, CreditCard, DataAccessModule, Directory, Email, EmailActionTypes, EmailService, Event, ExternalLink, ExternalLinkActionType, ExternalLinkService, FeatureFlags, FeatureFlagsService, FileActionTypes, FileObject, FileService, GeneralImage, Giro, GroupRole, HandleGrantTokenGuard, HomeTeam, ImageUrls, InvoiceActionType, InvoiceService, MaintenanceModeService, Member, MemberActionType, MemberActivityInvite, MemberAttribute, MemberCard, MemberCardActionType, MemberCardService, MemberContact, MemberFee, MemberFunction, MemberInvoice, MemberInvoiceRow, MemberPublicForm, MemberPublicFormField, MemberPublicFormFieldOption, MemberPublicFormService, MemberService, MemberTeam, MemberTeamThrough, MemberType, MemberValidationSettings, News, NewsActionType, NewsService, OpenActivity, OptionalFee, OtherMember, OtherMemberField, OverbookedBookableItem, OverbookedLocation, Partner, PaymentAttempt, PaymentAttemptService, PaymentOrder, PaymentOrderService, PublicAuthentication, PublicFormActionType, RegistrationQRCode, RegistrationQRCodeService, Role, STORAGE_SELECTED_AUTH, STORAGE_SELECTED_MEMBERS, STORAGE_TOKEN, SearchClub, SearchMember, SearchMemberCard, SearchMemberInvoice, SearchTeam, Section, SectionService, SelectedField, StorageService, StoreActionTypes, Swish, SwishIncident, SwishIncidentActionTypes, SwishQrCode, TeamActionTypes, TeamService, Token, TokenActionType, TokenService, USER_NOTIFICATIONS_PATH, UnpaidMemberInvoice, User, UserActionType, UserNotification, UserNotificationService, UserService, Zimpler, activateCardTicketAction, activateCardTicketFailureAction, activateCardTicketSuccessAction, activatePublicCardTicketAction, activatePublicCardTicketFailureAction, activatePublicCardTicketSuccessAction, activateUserAction, activateUserFailureAction, activateUserSuccessAction, addEmailRecipientsAction, addTeamLeaderActivityInviteAction, addTeamLeaderActivityInviteFailureAction, addTeamLeaderActivityInviteSuccessAction, authState, bookingState, calendarState, clearAuthenticationAction, clearAuthenticationSuccessAction, clearCurrentExtraMemberAction, clearCurrentMemberAction, clearCurrentPublicTokenAction, clearCurrentTeamAction, clearCurrentTokenAction, clearEmailAction, clearMemberActivityAction, clearMemberActivityInviteAction, clearMemberCardAction, clearMemberInvoiceAction, clearMemberOpenActivityAction, clearMemberOtherMemberAction, clearMemberTeamsAction, clearPaymentOrderAction, clearPublicOpenActivityAction, clearStoreAction, clearTeamActivityAction, clearTeamOtherMemberAction, clearUserNotificationsAction, clubInfoState, constantState, createBookableGroupAction, createBookableGroupFailureAction, createBookableGroupSuccessAction, createBookableItemAction, createBookableItemFailureAction, createBookableItemSuccessAction, createBookableTagAction, createBookableTagFailureAction, createBookableTagSuccessAction, createBookingCalendarAction, createBookingCalendarFailureAction, createBookingCalendarSlotAction, createBookingCalendarSlotFailureAction, createBookingCalendarSlotSessionAction, createBookingCalendarSlotSessionFailureAction, createBookingCalendarSlotSessionSuccessAction, createBookingCalendarSlotSuccessAction, createBookingCalendarSuccessAction, createMondidoMemberPaymentAction, createMondidoPaymentFailureAction, createMondidoPaymentSuccessAction, createMondidoPublicPaymentAction, createSwishMemberPaymentAction, createSwishPaymentFailureAction, createSwishPaymentSuccessAction, createSwishPublicPaymentAction, createTeamActivityAction, createTeamActivityFailureAction, createTeamActivitySuccessAction, createTeamDirectoryAction, createTeamDirectoryFailureAction, createTeamDirectorySuccessAction, createTeamFileAction, createTeamFileFailureAction, createTeamFileSuccessAction, createTeamNewsAction, createTeamNewsFailureAction, createTeamNewsSuccessAction, createUserAction, createUserFailureAction, createUserSuccessAction, createZimplerMemberPaymentAction, createZimplerPaymentFailureAction, createZimplerPaymentSuccessAction, createZimplerPublicPaymentAction, dataAccessEffects, dataAccessReducer, deleteBookableTagAction, deleteBookableTagFailureAction, deleteBookableTagSuccessAction, deleteBookingCalendarAction, deleteBookingCalendarFailureAction, deleteBookingCalendarRepeatableSlotAction, deleteBookingCalendarRepeatableSlotFailureAction, deleteBookingCalendarRepeatableSlotSessionAction, deleteBookingCalendarRepeatableSlotSessionFailureAction, deleteBookingCalendarRepeatableSlotSessionSuccessAction, deleteBookingCalendarRepeatableSlotSuccessAction, deleteBookingCalendarSlotAction, deleteBookingCalendarSlotFailureAction, deleteBookingCalendarSlotSessionAction, deleteBookingCalendarSlotSessionFailureAction, deleteBookingCalendarSlotSessionSuccessAction, deleteBookingCalendarSlotSuccessAction, deleteBookingCalendarSuccessAction, deleteCurrentUserAction, deleteCurrentUserFailureAction, deleteCurrentUserSuccessAction, deleteEmailRecipientAction, deleteTeamActivityAction, deleteTeamActivityFailureAction, deleteTeamActivityInviteAction, deleteTeamActivityInviteFailureAction, deleteTeamActivityInviteSuccessAction, deleteTeamActivitySuccessAction, deleteTeamDirectoryAction, deleteTeamDirectoryFailureAction, deleteTeamDirectorySuccessAction, deleteTeamFileAction, deleteTeamFileFailureAction, deleteTeamFileSuccessAction, deleteTeamLeaderMemberAction, deleteTeamLeaderMemberFailureAction, deleteTeamLeaderMemberSuccessAction, deleteTeamNewsAction, deleteTeamNewsFailureAction, deleteTeamNewsSuccessAction, emailState, emptyListResultFactory, emptyRetrieveResultFactory, ensureAuths, ensureConstants, ensureCurrentAuth, ensureCurrentUser, ensureItemLoadingDone, ensureListLoadingDone, ensureMemberCalendarEventsLoadingDone, ensureOpenActivitiesLoadingDone, ensureOpenActivityLocationLoadingDone, ensureOpenActivityTypeLoadingDone, ensurePublicOpenActivitiesLoadingDone, ensureTeamCalendarEventsLoadingDone, ensureUpdatedData, externalLinkState, fileState, getCurrentAuthAction, getCurrentAuthSuccessAction, getCurrentMemberClubInfoAction, getCurrentMemberClubInfoFailureAction, getCurrentMemberClubInfoSuccessAction, getCurrentPublicClubInfoAction, getCurrentPublicClubInfoFailureAction, getCurrentPublicClubInfoSuccessAction, getCurrentTeamClubInfoAction, getCurrentTeamClubInfoFailureAction, getCurrentTeamClubInfoSuccessAction, getCurrentTokenAction, getCurrentTokenSuccessAction, getCurrentUserAction, getCurrentUserFailureAction, getCurrentUserSuccessAction, getMemberExternalLinksAction, getMemberExternalLinksFailureAction, getMemberExternalLinksSuccessAction, initialAuthState, initialBookingState, initialCalendarState, initialClubInfoState, initialConstantState, initialEmailState, initialExternalLinkState, initialFileState, initialInvoiceState, initialMemberCardState, initialMemberState, initialNewsState, initialPublicFormState, initialPublicState, initialTeamState, initialTokenState, initialUserState, invoiceState, listActivityTypeAction, listActivityTypeFailureAction, listActivityTypeSuccessAction, listAllMemberOpenActivityLocationsAction, listAllMemberOpenActivityLocationsFailureAction, listAllMemberOpenActivityLocationsSuccessAction, listAllMemberOpenActivityTypesAction, listAllMemberOpenActivityTypesFailureAction, listAllMemberOpenActivityTypesSuccessAction, listAllPublicOpenActivityLocationsAction, listAllPublicOpenActivityLocationsFailureAction, listAllPublicOpenActivityLocationsSuccessAction, listAllPublicOpenActivityTypesAction, listAllPublicOpenActivityTypesFailureAction, listAllPublicOpenActivityTypesSuccessAction, listAuthAction, listAuthFailureAction, listAuthSuccessAction, listAuthTeamsAction, listAuthTeamsFailureAction, listAuthTeamsSuccessAction, listBookableGroupAction, listBookableGroupFailureAction, listBookableGroupSuccessAction, listBookableItemAction, listBookableItemFailureAction, listBookableItemSuccessAction, listBookableTagAction, listBookableTagFailureAction, listBookableTagSuccessAction, listCalendarAction, listCalendarFailureAction, listCalendarSuccessAction, listLocationAction, listLocationFailureAction, listLocationSuccessAction, listMemberActivitiesAction, listMemberActivitiesFailureAction, listMemberActivitiesSuccessAction, listMemberActivityInvitesAction, listMemberActivityInvitesFailureAction, listMemberActivityInvitesSuccessAction, listMemberBookingCalendarBookableSlotsAction, listMemberBookingCalendarBookableSlotsFailureAction, listMemberBookingCalendarBookableSlotsSuccessAction, listMemberBookingCalendarSlotSessionAction, listMemberBookingCalendarSlotSessionFailureAction, listMemberBookingCalendarSlotSessionSuccessAction, listMemberCalendarAction, listMemberCalendarFailureAction, listMemberCalendarSuccessAction, listMemberCardsAction, listMemberCardsFailureAction, listMemberCardsSuccessAction, listMemberInvoicesAction, listMemberInvoicesFailureAction, listMemberInvoicesSuccessAction, listMemberLeaderExtraMembersAction, listMemberLeaderExtraMembersFailureAction, listMemberLeaderExtraMembersSuccessAction, listMemberLeaderMembersAction, listMemberLeaderMembersFailureAction, listMemberLeaderMembersSuccessAction, listMemberNewsAction, listMemberNewsFailureAction, listMemberNewsSuccessAction, listMemberOpenActivitiesAction, listMemberOpenActivitiesFailureAction, listMemberOpenActivitiesSuccessAction, listMemberOpenActivityLocationsAction, listMemberOpenActivityLocationsFailureAction, listMemberOpenActivityLocationsSuccessAction, listMemberOpenActivityTypesAction, listMemberOpenActivityTypesFailureAction, listMemberOpenActivityTypesSuccessAction, listMemberOtherMembersAction, listMemberOtherMembersFailureAction, listMemberOtherMembersSuccessAction, listMemberPaymentOrdersAction, listMemberPaymentOrdersFailureAction, listMemberPaymentOrdersSuccessAction, listMemberTeamsAction, listMemberTeamsFailureAction, listMemberTeamsSuccessAction, listMembersAction, listMembersFailureAction, listMembersSuccessAction, listPublicFormAction, listPublicFormFailureAction, listPublicFormSuccessAction, listPublicMembersAction, listPublicMembersFailureAction, listPublicMembersSuccessAction, listPublicOpenActivitiesAction, listPublicOpenActivitiesFailureAction, listPublicOpenActivitiesSuccessAction, listPublicOpenActivityLocationsAction, listPublicOpenActivityLocationsFailureAction, listPublicOpenActivityLocationsSuccessAction, listPublicOpenActivityTypesAction, listPublicOpenActivityTypesFailureAction, listPublicOpenActivityTypesSuccessAction, listSwishIncidentsAction, listSwishIncidentsFailureAction, listSwishIncidentsSuccessAction, listTeamAction, listTeamActivitiesAction, listTeamActivitiesFailureAction, listTeamActivitiesSuccessAction, listTeamActivityParticipantsAction, listTeamActivityParticipantsFailureAction, listTeamActivityParticipantsSuccessAction, listTeamFailureAction, listTeamLeaderExtraMembersAction, listTeamLeaderExtraMembersFailureAction, listTeamLeaderExtraMembersSuccessAction, listTeamLeaderMembersAction, listTeamLeaderMembersFailureAction, listTeamLeaderMembersSuccessAction, listTeamNewsAction, listTeamNewsFailureAction, listTeamNewsSuccessAction, listTeamOtherMembersAction, listTeamOtherMembersFailureAction, listTeamOtherMembersSuccessAction, listTeamSuccessAction, listUserNotificationsAction, listUserNotificationsFailureAction, listUserNotificationsSuccessAction, loginTokenAction, loginTokenFailureAction, loginTokenSuccessAction, loginWithSessionAction, loginWithSessionFailureAction, loginWithTokenAction, loginWithTokenFailureAction, memberCardState, memberLoginAction, memberLoginFailureAction, memberLoginSuccessAction, memberSendCodeAction, memberSendCodeFailureAction, memberSendCodeSuccessAction, memberState, newsState, publicFormState, publicState, reauthenticateTokenAction, reauthenticateTokenFailureAction, reauthenticateTokenSuccessAction, refreshAuthsAction, refreshAuthsFailureAction, refreshAuthsSuccessAction, removeMemberAuthAction, removeMemberAuthFailureAction, removeMemberAuthSuccessAction, removeMemberOpenActivityAction, removeMemberOpenActivityFailureAction, removeMemberOpenActivitySuccessAction, removeMemberProfileContactAction, removeMemberProfileContactFailureAction, removeMemberProfileContactSuccessAction, removePublicOpenActivityAction, removePublicOpenActivityFailureAction, removePublicOpenActivitySuccessAction, removeTeamAuthAction, removeTeamAuthFailureAction, removeTeamAuthSuccessAction, removeTeamMemberProfileContactAction, removeTeamMemberProfileContactFailureAction, removeTeamMemberProfileContactSuccessAction, resendTeamActivityMemberInviteAction, resendTeamActivityMemberInviteFailureAction, resendTeamActivityMemberInviteSuccessAction, resetBookingStateAction, resetPasswordAction, resetPasswordFailureAction, resetPasswordSuccessAction, retrieveActivityMaxAttendantsTypesConstantsAction, retrieveActivityMaxAttendantsTypesConstantsFailureAction, retrieveActivityMaxAttendantsTypesConstantsSuccessAction, retrieveActivityMeetUpTimesConstantsAction, retrieveActivityMeetUpTimesConstantsFailureAction, retrieveActivityMeetUpTimesConstantsSuccessAction, retrieveActivityReminderDaysConstantsAction, retrieveActivityReminderDaysConstantsFailureAction, retrieveActivityReminderDaysConstantsSuccessAction, retrieveActivityReminderReceiversConstantsAction, retrieveActivityReminderReceiversConstantsFailureAction, retrieveActivityReminderReceiversConstantsSuccessAction, retrieveActivityReminderTimesConstantsAction, retrieveActivityReminderTimesConstantsFailureAction, retrieveActivityReminderTimesConstantsSuccessAction, retrieveActivityRepeatOptionsConstantsAction, retrieveActivityRepeatOptionsConstantsFailureAction, retrieveActivityRepeatOptionsConstantsSuccessAction, retrieveActivityRepeatTypeOptionsConstantsAction, retrieveActivityRepeatTypeOptionsConstantsFailureAction, retrieveActivityRepeatTypeOptionsConstantsSuccessAction, retrieveActivitySettingsConstantsAction, retrieveActivitySettingsConstantsFailureAction, retrieveActivitySettingsConstantsSuccessAction, retrieveBookingCalendarStatusesAction, retrieveBookingCalendarStatusesFailureAction, retrieveBookingCalendarStatusesSuccessAction, retrieveBookingCalendarTypesAction, retrieveBookingCalendarTypesFailureAction, retrieveBookingCalendarTypesSuccessAction, retrieveBookingSettingsAction, retrieveBookingSettingsFailureAction, retrieveBookingSettingsSuccessAction, retrieveBookingSlotReservedTimePositionsAction, retrieveBookingSlotReservedTimePositionsFailureAction, retrieveBookingSlotReservedTimePositionsSuccessAction, retrieveBookingSlotSessionTypesAction, retrieveBookingSlotSessionTypesFailureAction, retrieveBookingSlotSessionTypesSuccessAction, retrieveBookingSlotTypesAction, retrieveBookingSlotTypesFailureAction, retrieveBookingSlotTypesSuccessAction, retrieveCountriesConstantsAction, retrieveCountriesConstantsFailureAction, retrieveCountriesConstantsSuccessAction, retrieveFeatureFlagsAction, retrieveFeatureFlagsFailureAction, retrieveFeatureFlagsSuccessAction, retrieveLanguagesConstantsAction, retrieveLanguagesConstantsFailureAction, retrieveLanguagesConstantsSuccessAction, retrieveMemberActivityAction, retrieveMemberActivityFailureAction, retrieveMemberActivityInviteAction, retrieveMemberActivityInviteFailureAction, retrieveMemberActivityInviteSuccessAction, retrieveMemberActivitySuccessAction, retrieveMemberBookingSlotTypesAction, retrieveMemberBookingSlotTypesFailureAction, retrieveMemberBookingSlotTypesSuccessAction, retrieveMemberCardAction, retrieveMemberCardDealsAction, retrieveMemberCardDealsFailureAction, retrieveMemberCardDealsSuccessAction, retrieveMemberCardFailureAction, retrieveMemberCardQRCodeAction, retrieveMemberCardQRCodeFailureAction, retrieveMemberCardQRCodeSuccessAction, retrieveMemberCardSuccessAction, retrieveMemberCardTicketsAction, retrieveMemberCardTicketsFailureAction, retrieveMemberCardTicketsSuccessAction, retrieveMemberContactTypesConstantsAction, retrieveMemberContactTypesConstantsFailureAction, retrieveMemberContactTypesConstantsSuccessAction, retrieveMemberDirectoriesAction, retrieveMemberDirectoriesFailureAction, retrieveMemberDirectoriesSuccessAction, retrieveMemberInvoiceAction, retrieveMemberInvoiceFailureAction, retrieveMemberInvoiceSuccessAction, retrieveMemberLeaderExtraMemberAction, retrieveMemberLeaderExtraMemberFailureAction, retrieveMemberLeaderExtraMemberSuccessAction, retrieveMemberLeaderGroupAction, retrieveMemberLeaderGroupFailureAction, retrieveMemberLeaderGroupSuccessAction, retrieveMemberLeaderMemberAction, retrieveMemberLeaderMemberFailureAction, retrieveMemberLeaderMemberSuccessAction, retrieveMemberNewsAction, retrieveMemberNewsFailureAction, retrieveMemberNewsSuccessAction, retrieveMemberOpenActivityAction, retrieveMemberOpenActivityFailureAction, retrieveMemberOpenActivitySuccessAction, retrieveMemberOtherMemberAction, retrieveMemberOtherMemberFailureAction, retrieveMemberOtherMemberSuccessAction, retrieveMemberPaymentAttemptAction, retrieveMemberPaymentAttemptFailureAction, retrieveMemberPaymentAttemptSuccessAction, retrieveMemberProfileAction, retrieveMemberProfileFailureAction, retrieveMemberProfileSuccessAction, retrieveMemberSwishQRCodeAction, retrievePaymentOrderAction, retrievePaymentOrderFailureAction, retrievePaymentOrderSuccessAction, retrievePublicActivityInviteAction, retrievePublicActivityInviteFailureAction, retrievePublicActivityInviteSuccessAction, retrievePublicFormAction, retrievePublicFormFailureAction, retrievePublicFormSuccessAction, retrievePublicInvoiceAction, retrievePublicInvoiceFailureAction, retrievePublicInvoiceLogoAction, retrievePublicInvoiceLogoFailureAction, retrievePublicInvoiceLogoSuccessAction, retrievePublicInvoiceSuccessAction, retrievePublicMemberCardAction, retrievePublicMemberCardDealsAction, retrievePublicMemberCardDealsFailureAction, retrievePublicMemberCardDealsSuccessAction, retrievePublicMemberCardFailureAction, retrievePublicMemberCardQRCodeAction, retrievePublicMemberCardQRCodeFailureAction, retrievePublicMemberCardQRCodeSuccessAction, retrievePublicMemberCardRegisterAction, retrievePublicMemberCardRegisterFailureAction, retrievePublicMemberCardRegisterSuccessAction, retrievePublicMemberCardSuccessAction, retrievePublicMemberCardTicketsAction, retrievePublicMemberCardTicketsFailureAction, retrievePublicMemberCardTicketsSuccessAction, retrievePublicOpenActivityAction, retrievePublicOpenActivityFailureAction, retrievePublicOpenActivitySuccessAction, retrievePublicPaymentAttemptAction, retrievePublicPaymentAttemptFailureAction, retrievePublicPaymentAttemptSuccessAction, retrievePublicSwishQRCodeAction, retrieveSettingsAction, retrieveSettingsFailureAction, retrieveSettingsSuccessAction, retrieveSwishQRCodeFailureAction, retrieveSwishQRCodeSuccessAction, retrieveTeamActivityAction, retrieveTeamActivityFailureAction, retrieveTeamActivityQRCodeAction, retrieveTeamActivityQRCodeFailureAction, retrieveTeamActivityQRCodeSuccessAction, retrieveTeamActivitySettingsAction, retrieveTeamActivitySettingsFailureAction, retrieveTeamActivitySettingsSuccessAction, retrieveTeamActivitySuccessAction, retrieveTeamBookingSlotTypesAction, retrieveTeamBookingSlotTypesFailureAction, retrieveTeamBookingSlotTypesSuccessAction, retrieveTeamDefaultActivitySettingsAction, retrieveTeamDefaultActivitySettingsFailureAction, retrieveTeamDefaultActivitySettingsSuccessAction, retrieveTeamDirectoriesAction, retrieveTeamDirectoriesFailureAction, retrieveTeamDirectoriesSuccessAction, retrieveTeamLeaderExtraMemberAction, retrieveTeamLeaderExtraMemberFailureAction, retrieveTeamLeaderExtraMemberSuccessAction, retrieveTeamLeaderGroupAction, retrieveTeamLeaderGroupFailureAction, retrieveTeamLeaderGroupSuccessAction, retrieveTeamLeaderMemberAction, retrieveTeamLeaderMemberFailureAction, retrieveTeamLeaderMemberSuccessAction, retrieveTeamNewsAction, retrieveTeamNewsFailureAction, retrieveTeamNewsSuccessAction, retrieveTeamOtherMemberAction, retrieveTeamOtherMemberFailureAction, retrieveTeamOtherMemberSuccessAction, selectActivityInvites, selectActivityMaxAttendees, selectActivityMeetUpTimes, selectActivityReminderDays, selectActivityReminderReceivers, selectActivityReminderTimes, selectActivityRepeatOptions, selectActivityRepeatTypeOptions, selectActivitySettings, selectActivityTypes, selectAllAuths, selectAllMemberCards, selectAllOpenActivityLocations, selectAllOpenActivityTypes, selectAllPublicForms, selectBookableGroups, selectBookableItems, selectBookableTags, selectBookingActivitySettings, selectBookingCalendarStatuses, selectBookingCalendarTypes, selectBookingSettings, selectBookingSlotFilter, selectBookingSlotReservedTimePositions, selectBookingSlotSessionTypes, selectBookingSlotTypes, selectBookingTeams, selectCalendars, selectCardDeals, selectCardTickets, selectClubInfo, selectCountries, selectCurrentAuth, selectCurrentCalendar, selectCurrentCalendarAction, selectCurrentExtraMember, selectCurrentMember, selectCurrentMemberActivity, selectCurrentMemberActivityInvite, selectCurrentMemberNewsItem, selectCurrentMemberOpenActivity, selectCurrentPublicToken, selectCurrentTeam, selectCurrentTeamActivity, selectCurrentTeamNewsItem, selectCurrentToken, selectCurrentUser, selectEmailSettings, selectExternalLinks, selectFeatureFlags, selectInvoice, selectInvoiceList, selectLanguages, selectLocations, selectMemberBookingSlotTypes, selectMemberCalendarEvents, selectMemberCalendars, selectMemberCard, selectMemberContactTypes, selectMemberDirectories, selectMemberNewsList, selectMemberOpenActivities, selectMemberOpenActivityLocations, selectMemberOpenActivityTypes, selectMemberOtherMember, selectMemberOtherMembers, selectMemberProfile, selectMemberSessions, selectMemberSlots, selectMemberTeams, selectMembers, selectNewTeamActivity, selectPaymentOrder, selectPaymentOrderList, selectPublicActivityInvite, selectPublicAllOpenActivityLocations, selectPublicAllOpenActivityTypes, selectPublicCardDeals, selectPublicCardTickets, selectPublicClubInfo, selectPublicInvoice, selectPublicInvoiceLogo, selectPublicMemberAction, selectPublicMemberCard, selectPublicMemberFailureAction, selectPublicMemberSuccessAction, selectPublicMembers, selectPublicOpenActivities, selectPublicOpenActivity, selectPublicOpenActivityLocations, selectPublicOpenActivityTypes, selectTeamActivitySettings, selectTeamBookingSlotTypes, selectTeamCalendarEvents, selectTeamDirectories, selectTeamExtraMembers, selectTeamExtraMembersId, selectTeamMembers, selectTeamMembersId, selectTeamNewsList, selectTeamOtherMember, selectTeamOtherMembers, selectUserNotifications, sendEmailAction, sendEmailFailureAction, sendEmailSuccessAction, setCurrentAuthAction, setCurrentTokenAction, setEmailSettingsAction, swishIncidentGetMostSevereStatus, teamState, tokenState, updateActivityTypeAction, updateActivityTypeFailureAction, updateActivityTypeSuccessAction, updateApplicationTimeAction, updateBookableGroupAction, updateBookableGroupFailureAction, updateBookableGroupSuccessAction, updateBookableItemAction, updateBookableItemFailureAction, updateBookableItemSuccessAction, updateBookableTagAction, updateBookableTagFailureAction, updateBookableTagSuccessAction, updateBookingCalendarAction, updateBookingCalendarFailureAction, updateBookingCalendarSlotAction, updateBookingCalendarSlotFailureAction, updateBookingCalendarSlotSessionAction, updateBookingCalendarSlotSessionFailureAction, updateBookingCalendarSlotSessionSuccessAction, updateBookingCalendarSlotSuccessAction, updateBookingCalendarSuccessAction, updateBookingFilterAction, updateBookingSettingsAction, updateBookingSettingsFailureAction, updateBookingSettingsSuccessAction, updateCurrentUserAction, updateCurrentUserFailureAction, updateCurrentUserSuccessAction, updateMemberActivityAttendanceAction, updateMemberActivityAttendanceFailureAction, updateMemberActivityAttendanceSuccessAction, updateMemberActivityInviteAction, updateMemberActivityInviteFailureAction, updateMemberActivityInviteSuccessAction, updateMemberOpenActivityAction, updateMemberOpenActivityFailureAction, updateMemberOpenActivitySuccessAction, updateMemberProfileAction, updateMemberProfileFailureAction, updateMemberProfileSuccessAction, updatePublicActivityInviteAction, updatePublicActivityInviteFailureAction, updatePublicActivityInviteSuccessAction, updatePublicOpenActivityAction, updatePublicOpenActivityFailureAction, updatePublicOpenActivityInviteAction, updatePublicOpenActivityInviteFailureAction, updatePublicOpenActivityInviteSuccessAction, updatePublicOpenActivitySuccessAction, updateTeamActivityAction, updateTeamActivityAttendanceAction, updateTeamActivityAttendanceFailureAction, updateTeamActivityAttendanceSuccessAction, updateTeamActivityFailureAction, updateTeamActivitySuccessAction, updateTeamLeaderMemberAction, updateTeamLeaderMemberFailureAction, updateTeamLeaderMemberSuccessAction, updateTeamMemberActivityInviteAction, updateTeamMemberActivityInviteFailureAction, updateTeamMemberActivityInviteSuccessAction, updateTeamNewsAction, updateTeamNewsFailureAction, updateTeamNewsSuccessAction, userState };
|
|
10495
10886
|
//# sourceMappingURL=myclub_se-data-access.mjs.map
|