@myclub_se/data-access 3.1.5 → 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-card/api-member-card.mjs +1 -1
- package/esm2022/lib/api-models/api-card/api-selected-field.mjs +2 -0
- package/esm2022/lib/api-models/api-card/index.mjs +2 -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/card/index.mjs +2 -1
- package/esm2022/lib/models/card/member-card.mjs +4 -2
- package/esm2022/lib/models/card/selected-field.mjs +9 -0
- 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/member-card-factory.mjs +3 -3
- 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/auth.effects.mjs +2 -2
- 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 +475 -73
- 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-card/api-member-card.d.ts +2 -0
- package/lib/api-models/api-card/api-selected-field.d.ts +4 -0
- package/lib/api-models/api-card/index.d.ts +1 -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/card/index.d.ts +1 -0
- package/lib/models/card/member-card.d.ts +3 -1
- package/lib/models/card/selected-field.d.ts +5 -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) {
|
|
@@ -2420,7 +2488,8 @@ class MemberCard {
|
|
|
2420
2488
|
pdf_url;
|
|
2421
2489
|
qr_code;
|
|
2422
2490
|
qr_code_enabled;
|
|
2423
|
-
|
|
2491
|
+
selected_fields_display;
|
|
2492
|
+
constructor(id, card, header_2, member_name, membership_text, name, pdf_url, qr_code, qr_code_enabled, selected_fields_display) {
|
|
2424
2493
|
this.id = id;
|
|
2425
2494
|
this.card = card;
|
|
2426
2495
|
this.header_2 = header_2;
|
|
@@ -2430,6 +2499,7 @@ class MemberCard {
|
|
|
2430
2499
|
this.pdf_url = pdf_url;
|
|
2431
2500
|
this.qr_code = qr_code;
|
|
2432
2501
|
this.qr_code_enabled = qr_code_enabled;
|
|
2502
|
+
this.selected_fields_display = selected_fields_display;
|
|
2433
2503
|
}
|
|
2434
2504
|
}
|
|
2435
2505
|
|
|
@@ -2446,6 +2516,15 @@ class SearchMemberCard {
|
|
|
2446
2516
|
}
|
|
2447
2517
|
}
|
|
2448
2518
|
|
|
2519
|
+
class SelectedField {
|
|
2520
|
+
name;
|
|
2521
|
+
value;
|
|
2522
|
+
constructor(name, value) {
|
|
2523
|
+
this.name = name;
|
|
2524
|
+
this.value = value;
|
|
2525
|
+
}
|
|
2526
|
+
}
|
|
2527
|
+
|
|
2449
2528
|
class Club {
|
|
2450
2529
|
id;
|
|
2451
2530
|
name;
|
|
@@ -2869,6 +2948,27 @@ class PaymentAttempt {
|
|
|
2869
2948
|
}
|
|
2870
2949
|
}
|
|
2871
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
|
+
|
|
2872
2972
|
class CreditCard {
|
|
2873
2973
|
clubId;
|
|
2874
2974
|
sectionId;
|
|
@@ -3960,7 +4060,7 @@ const bookableTagFactory = (apiBookableTag) => {
|
|
|
3960
4060
|
return new BookableTag(apiBookableTag.id, apiBookableTag.club_id, apiBookableTag.section_id, apiBookableTag.name, apiBookableTag.bookable_item_names);
|
|
3961
4061
|
};
|
|
3962
4062
|
|
|
3963
|
-
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);
|
|
3964
4064
|
|
|
3965
4065
|
const bookableGroupFactory = (apiBookableGroup) => {
|
|
3966
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)) : []);
|
|
@@ -3972,13 +4072,13 @@ const sectionFactory = (apiSection) => new Section(apiSection.id, apiSection.nam
|
|
|
3972
4072
|
|
|
3973
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);
|
|
3974
4074
|
|
|
3975
|
-
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);
|
|
3976
4076
|
|
|
3977
|
-
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);
|
|
3978
4078
|
|
|
3979
|
-
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);
|
|
3980
4080
|
|
|
3981
|
-
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);
|
|
3982
4082
|
|
|
3983
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);
|
|
3984
4084
|
|
|
@@ -4028,7 +4128,7 @@ const giroFactory = (apiGiro) => new Giro(apiGiro.club_id, apiGiro.section_id, a
|
|
|
4028
4128
|
|
|
4029
4129
|
const groupRoleFactory = (apiGroupRole) => new GroupRole(apiGroupRole.id, apiGroupRole.club_id, apiGroupRole.section_id, apiGroupRole.created, apiGroupRole.name, apiGroupRole.updated);
|
|
4030
4130
|
|
|
4031
|
-
const memberCardFactory = (apiMemberCard) => new MemberCard(apiMemberCard.id, cardFactory(apiMemberCard.card), apiMemberCard.header_2, apiMemberCard.member_name, apiMemberCard.membership_text, apiMemberCard.name, apiMemberCard.pdf_url, apiMemberCard.qr_code, apiMemberCard.qr_code_enabled);
|
|
4131
|
+
const memberCardFactory = (apiMemberCard) => new MemberCard(apiMemberCard.id, cardFactory(apiMemberCard.card), apiMemberCard.header_2, apiMemberCard.member_name, apiMemberCard.membership_text, apiMemberCard.name, apiMemberCard.pdf_url, apiMemberCard.qr_code, apiMemberCard.qr_code_enabled, apiMemberCard.selected_fields_display ? apiMemberCard.selected_fields_display.map((field) => new SelectedField(field.name, field.value)) : []);
|
|
4032
4132
|
|
|
4033
4133
|
const memberFeeFactory = (apiMemberFee) => new MemberFee(apiMemberFee.id, apiMemberFee.club_id, apiMemberFee.section_id, apiMemberFee.name);
|
|
4034
4134
|
|
|
@@ -4286,6 +4386,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
4286
4386
|
}]
|
|
4287
4387
|
}], ctorParameters: () => [{ type: ApiService }] });
|
|
4288
4388
|
|
|
4389
|
+
const invalidRoleError = new Error("Invalid role provided");
|
|
4390
|
+
|
|
4289
4391
|
const PUBLIC_ACTIVITY_INVITE_PATH = 'activities/:id/:token/';
|
|
4290
4392
|
const PUBLIC_OPEN_ACTIVITIES_PATH = 'open-activities/';
|
|
4291
4393
|
const PUBLIC_OPEN_ACTIVITIES_ACTIVITY_TYPES_PATH = 'open-activities/types/';
|
|
@@ -4487,8 +4589,10 @@ class ActivityService {
|
|
|
4487
4589
|
return this.getSectionActivityLocations(itemId, force);
|
|
4488
4590
|
case Role.TeamAdmin:
|
|
4489
4591
|
return this.getTeamActivityLocations(itemId, force);
|
|
4490
|
-
|
|
4592
|
+
case Role.MemberAdmin:
|
|
4491
4593
|
return this.getMemberActivityLocations(itemId, force);
|
|
4594
|
+
default:
|
|
4595
|
+
throw invalidRoleError;
|
|
4492
4596
|
}
|
|
4493
4597
|
}
|
|
4494
4598
|
getTeamActivityLocations(teamId, force = false) {
|
|
@@ -4535,8 +4639,10 @@ class ActivityService {
|
|
|
4535
4639
|
switch (role) {
|
|
4536
4640
|
case Role.ClubAdmin:
|
|
4537
4641
|
return this.updateClubActivityLocation(clubOrSectionOrTeamId, location);
|
|
4538
|
-
|
|
4642
|
+
case Role.SectionAdmin:
|
|
4539
4643
|
return this.updateSectionActivityLocation(clubOrSectionOrTeamId, location);
|
|
4644
|
+
default:
|
|
4645
|
+
throw invalidRoleError;
|
|
4540
4646
|
}
|
|
4541
4647
|
}
|
|
4542
4648
|
updateClubActivityLocation(clubId, location) {
|
|
@@ -4579,8 +4685,10 @@ class ActivityService {
|
|
|
4579
4685
|
return this.getSectionActivitySettings(itemId);
|
|
4580
4686
|
case Role.TeamAdmin:
|
|
4581
4687
|
return this.getTeamActivitySettings(itemId);
|
|
4582
|
-
|
|
4688
|
+
case Role.MemberAdmin:
|
|
4583
4689
|
return this.getMemberActivitySettings(itemId);
|
|
4690
|
+
default:
|
|
4691
|
+
throw invalidRoleError;
|
|
4584
4692
|
}
|
|
4585
4693
|
}
|
|
4586
4694
|
getTeamActivitySettings(teamId) {
|
|
@@ -4613,8 +4721,10 @@ class ActivityService {
|
|
|
4613
4721
|
return this.getSectionActivityTypes(itemId);
|
|
4614
4722
|
case Role.TeamAdmin:
|
|
4615
4723
|
return this.getTeamActivityTypes(itemId);
|
|
4616
|
-
|
|
4724
|
+
case Role.MemberAdmin:
|
|
4617
4725
|
return this.getMemberActivityTypes(itemId);
|
|
4726
|
+
default:
|
|
4727
|
+
throw invalidRoleError;
|
|
4618
4728
|
}
|
|
4619
4729
|
}
|
|
4620
4730
|
getTeamActivityTypes(teamId) {
|
|
@@ -4637,8 +4747,10 @@ class ActivityService {
|
|
|
4637
4747
|
switch (role) {
|
|
4638
4748
|
case Role.ClubAdmin:
|
|
4639
4749
|
return this.updateClubActivityType(clubOrSectionOrTeamId, activityType);
|
|
4640
|
-
|
|
4750
|
+
case Role.SectionAdmin:
|
|
4641
4751
|
return this.updateSectionActivityType(clubOrSectionOrTeamId, activityType);
|
|
4752
|
+
default:
|
|
4753
|
+
throw invalidRoleError;
|
|
4642
4754
|
}
|
|
4643
4755
|
}
|
|
4644
4756
|
updateClubActivityType(clubId, activityType) {
|
|
@@ -4839,6 +4951,7 @@ const TEAM_BOOKABLE_GROUPS_PATH = ':teamId/activities/bookables/groups/';
|
|
|
4839
4951
|
const TEAM_BOOKABLE_TAGS_PATH = ':teamId/activities/bookables/tags/';
|
|
4840
4952
|
const TEAM_BOOKABLE_PARTS_PATH = ':teamId/activities/bookables/:bookableId/parts/';
|
|
4841
4953
|
const MEMBER_BOOKABLES_PATH = ':memberId/activities/bookables/';
|
|
4954
|
+
const MEMBER_BOOKABLE_PATH = ':memberId/activities/bookables/:bookableId/';
|
|
4842
4955
|
const MEMBER_BOOKABLE_GROUPS_PATH = ':memberId/activities/bookables/groups/';
|
|
4843
4956
|
const MEMBER_BOOKABLE_TAGS_PATH = ':memberId/activities/bookables/tags/';
|
|
4844
4957
|
const MEMBER_BOOKABLE_PARTS_PATH = ':memberId/activities/bookables/:bookableId/parts/';
|
|
@@ -4856,17 +4969,23 @@ class BookableService {
|
|
|
4856
4969
|
return this.getSectionBookableItems(itemId);
|
|
4857
4970
|
case Role.TeamAdmin:
|
|
4858
4971
|
return this.getTeamBookableItems(itemId);
|
|
4859
|
-
|
|
4972
|
+
case Role.MemberAdmin:
|
|
4860
4973
|
return this.getMemberBookableItems(itemId);
|
|
4974
|
+
default:
|
|
4975
|
+
throw invalidRoleError;
|
|
4861
4976
|
}
|
|
4862
4977
|
}
|
|
4863
4978
|
getTeamBookableItems(teamId) {
|
|
4864
4979
|
return this.apiService
|
|
4865
4980
|
.getCollection(bookableItemFactory, Role.TeamAdmin, TEAM_BOOKABLES_PATH, { teamId }, { params: { limit: 'null' } });
|
|
4866
4981
|
}
|
|
4867
|
-
getMemberBookableItems(memberId) {
|
|
4982
|
+
getMemberBookableItems(memberId, date = null) {
|
|
4983
|
+
const params = { limit: 'null', has_available_sessions: 'true' };
|
|
4984
|
+
if (date) {
|
|
4985
|
+
params['day'] = date;
|
|
4986
|
+
}
|
|
4868
4987
|
return this.apiService
|
|
4869
|
-
.getCollection(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLES_PATH, { memberId }, { params:
|
|
4988
|
+
.getCollection(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLES_PATH, { memberId }, { params: params });
|
|
4870
4989
|
}
|
|
4871
4990
|
getClubBookableItems(clubId) {
|
|
4872
4991
|
return this.apiService
|
|
@@ -4876,12 +4995,18 @@ class BookableService {
|
|
|
4876
4995
|
return this.apiService
|
|
4877
4996
|
.getCollection(bookableItemFactory, Role.SectionAdmin, SECTION_BOOKABLES_PATH, { sectionId }, { params: { limit: 'null' } });
|
|
4878
4997
|
}
|
|
4998
|
+
getMemberBookableItem(memberId, bookableId) {
|
|
4999
|
+
return this.apiService
|
|
5000
|
+
.getResource(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLE_PATH, { memberId, bookableId });
|
|
5001
|
+
}
|
|
4879
5002
|
updateBookableItem(role, clubOrSectionOrTeamId, bookableItem) {
|
|
4880
5003
|
switch (role) {
|
|
4881
5004
|
case Role.ClubAdmin:
|
|
4882
5005
|
return this.updateClubBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
4883
|
-
|
|
5006
|
+
case Role.SectionAdmin:
|
|
4884
5007
|
return this.updateSectionBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
5008
|
+
default:
|
|
5009
|
+
throw invalidRoleError;
|
|
4885
5010
|
}
|
|
4886
5011
|
}
|
|
4887
5012
|
updateClubBookableItem(clubId, bookableItem) {
|
|
@@ -4902,8 +5027,10 @@ class BookableService {
|
|
|
4902
5027
|
switch (role) {
|
|
4903
5028
|
case Role.ClubAdmin:
|
|
4904
5029
|
return this.createClubBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
4905
|
-
|
|
5030
|
+
case Role.SectionAdmin:
|
|
4906
5031
|
return this.createSectionBookableItem(clubOrSectionOrTeamId, bookableItem);
|
|
5032
|
+
default:
|
|
5033
|
+
throw invalidRoleError;
|
|
4907
5034
|
}
|
|
4908
5035
|
}
|
|
4909
5036
|
createClubBookableItem(clubId, bookableItem) {
|
|
@@ -4930,8 +5057,10 @@ class BookableService {
|
|
|
4930
5057
|
return this.getSectionBookableGroups(itemId);
|
|
4931
5058
|
case Role.TeamAdmin:
|
|
4932
5059
|
return this.getTeamBookableGroups(itemId);
|
|
4933
|
-
|
|
5060
|
+
case Role.MemberAdmin:
|
|
4934
5061
|
return this.getMemberBookableGroups(itemId);
|
|
5062
|
+
default:
|
|
5063
|
+
throw invalidRoleError;
|
|
4935
5064
|
}
|
|
4936
5065
|
}
|
|
4937
5066
|
getClubBookableGroups(clubId) {
|
|
@@ -4954,8 +5083,10 @@ class BookableService {
|
|
|
4954
5083
|
switch (role) {
|
|
4955
5084
|
case Role.ClubAdmin:
|
|
4956
5085
|
return this.updateClubBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
4957
|
-
|
|
5086
|
+
case Role.SectionAdmin:
|
|
4958
5087
|
return this.updateSectionBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
5088
|
+
default:
|
|
5089
|
+
throw invalidRoleError;
|
|
4959
5090
|
}
|
|
4960
5091
|
}
|
|
4961
5092
|
updateClubBookableGroup(clubId, bookableGroup) {
|
|
@@ -4976,8 +5107,10 @@ class BookableService {
|
|
|
4976
5107
|
switch (role) {
|
|
4977
5108
|
case Role.ClubAdmin:
|
|
4978
5109
|
return this.createClubBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
4979
|
-
|
|
5110
|
+
case Role.SectionAdmin:
|
|
4980
5111
|
return this.createSectionBookableGroup(clubOrSectionOrTeamId, bookableGroup);
|
|
5112
|
+
default:
|
|
5113
|
+
throw invalidRoleError;
|
|
4981
5114
|
}
|
|
4982
5115
|
}
|
|
4983
5116
|
createClubBookableGroup(clubId, bookableGroup) {
|
|
@@ -5004,8 +5137,10 @@ class BookableService {
|
|
|
5004
5137
|
return this.getSectionBookableTags(itemId);
|
|
5005
5138
|
case Role.TeamAdmin:
|
|
5006
5139
|
return this.getTeamBookableTags(itemId);
|
|
5007
|
-
|
|
5140
|
+
case Role.MemberAdmin:
|
|
5008
5141
|
return this.getMemberBookableTags(itemId);
|
|
5142
|
+
default:
|
|
5143
|
+
throw invalidRoleError;
|
|
5009
5144
|
}
|
|
5010
5145
|
}
|
|
5011
5146
|
getClubBookableTags(clubId) {
|
|
@@ -5032,8 +5167,10 @@ class BookableService {
|
|
|
5032
5167
|
return this.createSectionBookableTag(itemId, tag);
|
|
5033
5168
|
case Role.TeamAdmin:
|
|
5034
5169
|
return this.createTeamBookableTag(itemId, tag);
|
|
5035
|
-
|
|
5170
|
+
case Role.MemberAdmin:
|
|
5036
5171
|
return this.createMemberBookableTag(itemId, tag);
|
|
5172
|
+
default:
|
|
5173
|
+
throw invalidRoleError;
|
|
5037
5174
|
}
|
|
5038
5175
|
}
|
|
5039
5176
|
createClubBookableTag(clubId, tag) {
|
|
@@ -5060,8 +5197,10 @@ class BookableService {
|
|
|
5060
5197
|
switch (role) {
|
|
5061
5198
|
case Role.ClubAdmin:
|
|
5062
5199
|
return this.updateClubBookableTag(clubOrSectionOrTeamId, tag);
|
|
5063
|
-
|
|
5200
|
+
case Role.SectionAdmin:
|
|
5064
5201
|
return this.updateSectionBookableTag(clubOrSectionOrTeamId, tag);
|
|
5202
|
+
default:
|
|
5203
|
+
throw invalidRoleError;
|
|
5065
5204
|
}
|
|
5066
5205
|
}
|
|
5067
5206
|
updateClubBookableTag(clubId, tag) {
|
|
@@ -5082,8 +5221,10 @@ class BookableService {
|
|
|
5082
5221
|
switch (role) {
|
|
5083
5222
|
case Role.ClubAdmin:
|
|
5084
5223
|
return this.deleteClubBookableTag(clubOrSectionOrTeamId, tag);
|
|
5085
|
-
|
|
5224
|
+
case Role.SectionAdmin:
|
|
5086
5225
|
return this.deleteSectionBookableTag(clubOrSectionOrTeamId, tag);
|
|
5226
|
+
default:
|
|
5227
|
+
throw invalidRoleError;
|
|
5087
5228
|
}
|
|
5088
5229
|
}
|
|
5089
5230
|
deleteClubBookableTag(clubId, tag) {
|
|
@@ -5110,8 +5251,10 @@ class BookableService {
|
|
|
5110
5251
|
return this.getSectionBookableParts(itemId, bookableId);
|
|
5111
5252
|
case Role.TeamAdmin:
|
|
5112
5253
|
return this.getTeamBookableParts(itemId, bookableId);
|
|
5113
|
-
|
|
5254
|
+
case Role.MemberAdmin:
|
|
5114
5255
|
return this.getMemberBookableParts(itemId, bookableId);
|
|
5256
|
+
default:
|
|
5257
|
+
throw invalidRoleError;
|
|
5115
5258
|
}
|
|
5116
5259
|
}
|
|
5117
5260
|
getClubBookableParts(clubId, bookableId) {
|
|
@@ -5193,6 +5336,7 @@ const MEMBER_BOOKING_CALENDAR_SLOT_SESSION_PATH = ':memberId/activities/sessions
|
|
|
5193
5336
|
const MEMBER_BOOKING_CALENDAR_SLOT_PATH = ':memberId/activities/slots/:id/';
|
|
5194
5337
|
const MEMBER_BOOKING_CALENDAR_APPLICATION_TIMES_PATH = ':memberId/activities/application-times/';
|
|
5195
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/';
|
|
5196
5340
|
class BookingCalendarService {
|
|
5197
5341
|
apiService;
|
|
5198
5342
|
constructor(apiService) {
|
|
@@ -5203,8 +5347,10 @@ class BookingCalendarService {
|
|
|
5203
5347
|
switch (role) {
|
|
5204
5348
|
case Role.ClubAdmin:
|
|
5205
5349
|
return this.createClubBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5206
|
-
|
|
5350
|
+
case Role.SectionAdmin:
|
|
5207
5351
|
return this.createSectionBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5352
|
+
default:
|
|
5353
|
+
throw invalidRoleError;
|
|
5208
5354
|
}
|
|
5209
5355
|
}
|
|
5210
5356
|
createClubBookingCalendar(clubId, calendar) {
|
|
@@ -5229,8 +5375,10 @@ class BookingCalendarService {
|
|
|
5229
5375
|
return this.getSectionBookingCalendars(itemId, name);
|
|
5230
5376
|
case Role.TeamAdmin:
|
|
5231
5377
|
return this.getTeamBookingCalendars(itemId, name);
|
|
5232
|
-
|
|
5378
|
+
case Role.MemberAdmin:
|
|
5233
5379
|
return this.getMemberBookingCalendars(itemId, name);
|
|
5380
|
+
default:
|
|
5381
|
+
throw invalidRoleError;
|
|
5234
5382
|
}
|
|
5235
5383
|
}
|
|
5236
5384
|
getClubBookingCalendars(clubId, name = null) {
|
|
@@ -5277,8 +5425,10 @@ class BookingCalendarService {
|
|
|
5277
5425
|
switch (role) {
|
|
5278
5426
|
case Role.ClubAdmin:
|
|
5279
5427
|
return this.updateClubBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5280
|
-
|
|
5428
|
+
case Role.SectionAdmin:
|
|
5281
5429
|
return this.updateSectionBookingCalendar(clubOrSectionOrTeamId, calendar);
|
|
5430
|
+
default:
|
|
5431
|
+
throw invalidRoleError;
|
|
5282
5432
|
}
|
|
5283
5433
|
}
|
|
5284
5434
|
updateClubBookingCalendar(clubId, calendar) {
|
|
@@ -5299,8 +5449,10 @@ class BookingCalendarService {
|
|
|
5299
5449
|
switch (role) {
|
|
5300
5450
|
case Role.ClubAdmin:
|
|
5301
5451
|
return this.deleteClubBookingCalendar(clubOrSectionOrTeamId, id);
|
|
5302
|
-
|
|
5452
|
+
case Role.SectionAdmin:
|
|
5303
5453
|
return this.deleteSectionBookingCalendar(clubOrSectionOrTeamId, id);
|
|
5454
|
+
default:
|
|
5455
|
+
throw invalidRoleError;
|
|
5304
5456
|
}
|
|
5305
5457
|
}
|
|
5306
5458
|
deleteClubBookingCalendar(clubId, id) {
|
|
@@ -5323,8 +5475,10 @@ class BookingCalendarService {
|
|
|
5323
5475
|
switch (role) {
|
|
5324
5476
|
case Role.ClubAdmin:
|
|
5325
5477
|
return this.createClubBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5326
|
-
|
|
5478
|
+
case Role.SectionAdmin:
|
|
5327
5479
|
return this.createSectionBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5480
|
+
default:
|
|
5481
|
+
throw invalidRoleError;
|
|
5328
5482
|
}
|
|
5329
5483
|
}
|
|
5330
5484
|
createClubBookingCalendarSlot(clubId, slot) {
|
|
@@ -5349,8 +5503,10 @@ class BookingCalendarService {
|
|
|
5349
5503
|
return this.getSectionBookingCalendarSlots(itemId, bookingSlotFilter);
|
|
5350
5504
|
case Role.TeamAdmin:
|
|
5351
5505
|
return this.getTeamBookingCalendarSlots(itemId, bookingSlotFilter);
|
|
5352
|
-
|
|
5506
|
+
case Role.MemberAdmin:
|
|
5353
5507
|
return this.getMemberBookingCalendarSlots(itemId, bookingSlotFilter);
|
|
5508
|
+
default:
|
|
5509
|
+
throw invalidRoleError;
|
|
5354
5510
|
}
|
|
5355
5511
|
}
|
|
5356
5512
|
getClubBookingCalendarSlots(clubId, bookingSlotFilter) {
|
|
@@ -5389,8 +5545,10 @@ class BookingCalendarService {
|
|
|
5389
5545
|
return this.getSectionBookingCalendarSlot(itemId, slotId);
|
|
5390
5546
|
case Role.TeamAdmin:
|
|
5391
5547
|
return this.getTeamBookingCalendarSlot(itemId, slotId);
|
|
5392
|
-
|
|
5548
|
+
case Role.MemberAdmin:
|
|
5393
5549
|
return this.getMemberBookingCalendarSlot(itemId, slotId);
|
|
5550
|
+
default:
|
|
5551
|
+
throw invalidRoleError;
|
|
5394
5552
|
}
|
|
5395
5553
|
}
|
|
5396
5554
|
getClubBookingCalendarSlot(clubId, slotId) {
|
|
@@ -5429,8 +5587,10 @@ class BookingCalendarService {
|
|
|
5429
5587
|
return this.getSectionBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
|
|
5430
5588
|
case Role.TeamAdmin:
|
|
5431
5589
|
return this.getTeamBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
|
|
5432
|
-
|
|
5590
|
+
case Role.MemberAdmin:
|
|
5433
5591
|
return this.getMemberBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
|
|
5592
|
+
default:
|
|
5593
|
+
throw invalidRoleError;
|
|
5434
5594
|
}
|
|
5435
5595
|
}
|
|
5436
5596
|
getClubBookingCalendarApplicationTimeSlots(clubId, bookingSlotFilter) {
|
|
@@ -5469,8 +5629,10 @@ class BookingCalendarService {
|
|
|
5469
5629
|
return this.getSectionBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
|
|
5470
5630
|
case Role.TeamAdmin:
|
|
5471
5631
|
return this.getTeamBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
|
|
5472
|
-
|
|
5632
|
+
case Role.MemberAdmin:
|
|
5473
5633
|
return this.getMemberBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
|
|
5634
|
+
default:
|
|
5635
|
+
throw invalidRoleError;
|
|
5474
5636
|
}
|
|
5475
5637
|
}
|
|
5476
5638
|
getClubBookingCalendarApplicationTimes(clubId, bookingSlotFilter) {
|
|
@@ -5505,8 +5667,10 @@ class BookingCalendarService {
|
|
|
5505
5667
|
switch (role) {
|
|
5506
5668
|
case Role.ClubAdmin:
|
|
5507
5669
|
return this.copyClubBookingCalendarSlots(clubOrSectionOrTeamId, weekRelativeIndexes, onlyCopySlots, weekdays, bookingSlotFilter);
|
|
5508
|
-
|
|
5670
|
+
case Role.SectionAdmin:
|
|
5509
5671
|
return this.copySectionBookingCalendarSlots(clubOrSectionOrTeamId, weekRelativeIndexes, onlyCopySlots, weekdays, bookingSlotFilter);
|
|
5672
|
+
default:
|
|
5673
|
+
throw invalidRoleError;
|
|
5510
5674
|
}
|
|
5511
5675
|
}
|
|
5512
5676
|
copyClubBookingCalendarSlots(clubId, weekRelativeIndexes, onlyCopySlots = false, weekdays = [], bookingSlotFilter) {
|
|
@@ -5535,8 +5699,10 @@ class BookingCalendarService {
|
|
|
5535
5699
|
switch (role) {
|
|
5536
5700
|
case Role.ClubAdmin:
|
|
5537
5701
|
return this.clearClubBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions, shouldDeleteRepeatingSlots, weekdays, bookingSlotFilter);
|
|
5538
|
-
|
|
5702
|
+
case Role.SectionAdmin:
|
|
5539
5703
|
return this.clearSectionBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions, shouldDeleteRepeatingSlots, weekdays, bookingSlotFilter);
|
|
5704
|
+
default:
|
|
5705
|
+
throw invalidRoleError;
|
|
5540
5706
|
}
|
|
5541
5707
|
}
|
|
5542
5708
|
clearClubBookingCalendarSlots(clubId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions = false, shouldDeleteRepeatingSlots = false, weekdays = [], bookingSlotFilter) {
|
|
@@ -5573,8 +5739,10 @@ class BookingCalendarService {
|
|
|
5573
5739
|
return this.syncClubBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
|
|
5574
5740
|
case Role.SectionAdmin:
|
|
5575
5741
|
return this.syncSectionBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
|
|
5576
|
-
|
|
5742
|
+
case Role.TeamAdmin:
|
|
5577
5743
|
return this.syncTeamBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
|
|
5744
|
+
default:
|
|
5745
|
+
throw invalidRoleError;
|
|
5578
5746
|
}
|
|
5579
5747
|
}
|
|
5580
5748
|
syncClubBookingCalendarSlots(clubId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter) {
|
|
@@ -5605,8 +5773,10 @@ class BookingCalendarService {
|
|
|
5605
5773
|
switch (role) {
|
|
5606
5774
|
case Role.ClubAdmin:
|
|
5607
5775
|
return this.updateClubBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5608
|
-
|
|
5776
|
+
case Role.SectionAdmin:
|
|
5609
5777
|
return this.updateSectionBookingCalendarSlot(clubOrSectionOrTeamId, slot);
|
|
5778
|
+
default:
|
|
5779
|
+
throw invalidRoleError;
|
|
5610
5780
|
}
|
|
5611
5781
|
}
|
|
5612
5782
|
updateClubBookingCalendarSlot(clubId, slot) {
|
|
@@ -5627,8 +5797,10 @@ class BookingCalendarService {
|
|
|
5627
5797
|
switch (role) {
|
|
5628
5798
|
case Role.ClubAdmin:
|
|
5629
5799
|
return this.deleteClubBookingCalendarSlot(clubOrSectionOrTeamId, id);
|
|
5630
|
-
|
|
5800
|
+
case Role.SectionAdmin:
|
|
5631
5801
|
return this.deleteSectionBookingCalendarSlot(clubOrSectionOrTeamId, id);
|
|
5802
|
+
default:
|
|
5803
|
+
throw invalidRoleError;
|
|
5632
5804
|
}
|
|
5633
5805
|
}
|
|
5634
5806
|
deleteClubBookingCalendarSlot(clubId, id) {
|
|
@@ -5649,8 +5821,10 @@ class BookingCalendarService {
|
|
|
5649
5821
|
switch (role) {
|
|
5650
5822
|
case Role.ClubAdmin:
|
|
5651
5823
|
return this.deleteClubBookingCalendarSlotRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5652
|
-
|
|
5824
|
+
case Role.SectionAdmin:
|
|
5653
5825
|
return this.deleteSectionBookingCalendarSlotRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5826
|
+
default:
|
|
5827
|
+
throw invalidRoleError;
|
|
5654
5828
|
}
|
|
5655
5829
|
}
|
|
5656
5830
|
deleteClubBookingCalendarSlotRepeatable(clubId, id, deleteUntilDate) {
|
|
@@ -5669,6 +5843,22 @@ class BookingCalendarService {
|
|
|
5669
5843
|
}
|
|
5670
5844
|
// endregion
|
|
5671
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
|
+
}
|
|
5672
5862
|
createBookingCalendarSlotSession(role, itemId, session) {
|
|
5673
5863
|
switch (role) {
|
|
5674
5864
|
case Role.ClubAdmin:
|
|
@@ -5677,8 +5867,10 @@ class BookingCalendarService {
|
|
|
5677
5867
|
return this.createSectionBookingCalendarSlotSession(itemId, session);
|
|
5678
5868
|
case Role.TeamAdmin:
|
|
5679
5869
|
return this.createTeamBookingCalendarSlotSession(itemId, session);
|
|
5680
|
-
|
|
5870
|
+
case Role.MemberAdmin:
|
|
5681
5871
|
return this.createMemberBookingCalendarSlotSession(itemId, session);
|
|
5872
|
+
default:
|
|
5873
|
+
throw invalidRoleError;
|
|
5682
5874
|
}
|
|
5683
5875
|
}
|
|
5684
5876
|
createClubBookingCalendarSlotSession(clubId, session) {
|
|
@@ -5713,8 +5905,10 @@ class BookingCalendarService {
|
|
|
5713
5905
|
return this.updateSectionBookingCalendarSlotSession(itemId, session);
|
|
5714
5906
|
case Role.TeamAdmin:
|
|
5715
5907
|
return this.updateTeamBookingCalendarSlotSession(itemId, session);
|
|
5716
|
-
|
|
5908
|
+
case Role.MemberAdmin:
|
|
5717
5909
|
return this.updateMemberBookingCalendarSlotSession(itemId, session);
|
|
5910
|
+
default:
|
|
5911
|
+
throw invalidRoleError;
|
|
5718
5912
|
}
|
|
5719
5913
|
}
|
|
5720
5914
|
updateClubBookingCalendarSlotSession(clubId, session) {
|
|
@@ -5753,8 +5947,10 @@ class BookingCalendarService {
|
|
|
5753
5947
|
return this.deleteSectionBookingCalendarSlotSession(itemId, id);
|
|
5754
5948
|
case Role.TeamAdmin:
|
|
5755
5949
|
return this.deleteTeamBookingCalendarSlotSession(itemId, id);
|
|
5756
|
-
|
|
5950
|
+
case Role.MemberAdmin:
|
|
5757
5951
|
return this.deleteMemberBookingCalendarSlotSession(itemId, id);
|
|
5952
|
+
default:
|
|
5953
|
+
throw invalidRoleError;
|
|
5758
5954
|
}
|
|
5759
5955
|
}
|
|
5760
5956
|
deleteClubBookingCalendarSlotSession(clubId, id) {
|
|
@@ -5789,8 +5985,10 @@ class BookingCalendarService {
|
|
|
5789
5985
|
switch (role) {
|
|
5790
5986
|
case Role.ClubAdmin:
|
|
5791
5987
|
return this.deleteClubBookingCalendarSlotSessionRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5792
|
-
|
|
5988
|
+
case Role.SectionAdmin:
|
|
5793
5989
|
return this.deleteSectionBookingCalendarSlotSessionRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
|
|
5990
|
+
default:
|
|
5991
|
+
throw invalidRoleError;
|
|
5794
5992
|
}
|
|
5795
5993
|
}
|
|
5796
5994
|
deleteClubBookingCalendarSlotSessionRepeatable(clubId, id, deleteUntilDate) {
|
|
@@ -5817,8 +6015,10 @@ class BookingCalendarService {
|
|
|
5817
6015
|
return this.getSectionBookingSettings(itemId);
|
|
5818
6016
|
case Role.TeamAdmin:
|
|
5819
6017
|
return this.getTeamBookingSettings(itemId);
|
|
5820
|
-
|
|
6018
|
+
case Role.MemberAdmin:
|
|
5821
6019
|
return this.getMemberBookingSettings(itemId);
|
|
6020
|
+
default:
|
|
6021
|
+
throw invalidRoleError;
|
|
5822
6022
|
}
|
|
5823
6023
|
}
|
|
5824
6024
|
getClubBookingSettings(clubId) {
|
|
@@ -5845,8 +6045,10 @@ class BookingCalendarService {
|
|
|
5845
6045
|
return this.updateSectionBookingSettings(itemId, bookingSettings);
|
|
5846
6046
|
case Role.TeamAdmin:
|
|
5847
6047
|
return this.updateTeamBookingSettings(itemId, bookingSettings);
|
|
5848
|
-
|
|
6048
|
+
case Role.MemberAdmin:
|
|
5849
6049
|
return this.updateMemberBookingSettings(itemId, bookingSettings);
|
|
6050
|
+
default:
|
|
6051
|
+
throw invalidRoleError;
|
|
5850
6052
|
}
|
|
5851
6053
|
}
|
|
5852
6054
|
updateClubBookingSettings(clubId, bookingSettings) {
|
|
@@ -5881,8 +6083,10 @@ class BookingCalendarService {
|
|
|
5881
6083
|
return this.updateSectionBookingCalendarApplicationTime(itemId, availableTime);
|
|
5882
6084
|
case Role.TeamAdmin:
|
|
5883
6085
|
return this.updateTeamBookingCalendarApplicationTime(itemId, availableTime);
|
|
5884
|
-
|
|
6086
|
+
case Role.MemberAdmin:
|
|
5885
6087
|
return this.updateMemberBookingCalendarApplicationTime(itemId, availableTime);
|
|
6088
|
+
default:
|
|
6089
|
+
throw invalidRoleError;
|
|
5886
6090
|
}
|
|
5887
6091
|
}
|
|
5888
6092
|
updateClubBookingCalendarApplicationTime(clubId, availableTime) {
|
|
@@ -5933,8 +6137,10 @@ class BookingCalendarService {
|
|
|
5933
6137
|
return this.deleteSectionBookingCalendarApplicationTime(itemId, availableTimeId);
|
|
5934
6138
|
case Role.TeamAdmin:
|
|
5935
6139
|
return this.deleteTeamBookingCalendarApplicationTime(itemId, availableTimeId);
|
|
5936
|
-
|
|
6140
|
+
case Role.MemberAdmin:
|
|
5937
6141
|
return this.deleteMemberBookingCalendarApplicationTime(itemId, availableTimeId);
|
|
6142
|
+
default:
|
|
6143
|
+
throw invalidRoleError;
|
|
5938
6144
|
}
|
|
5939
6145
|
}
|
|
5940
6146
|
deleteClubBookingCalendarApplicationTime(clubId, id) {
|
|
@@ -5971,8 +6177,10 @@ class BookingCalendarService {
|
|
|
5971
6177
|
switch (role) {
|
|
5972
6178
|
case Role.ClubAdmin:
|
|
5973
6179
|
return this.getClubOverbookedSessions(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
5974
|
-
|
|
6180
|
+
case Role.SectionAdmin:
|
|
5975
6181
|
return this.getSectionOverbookedSessions(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
6182
|
+
default:
|
|
6183
|
+
throw invalidRoleError;
|
|
5976
6184
|
}
|
|
5977
6185
|
}
|
|
5978
6186
|
getClubOverbookedSessions(clubId, bookingSlotFilter) {
|
|
@@ -5995,8 +6203,10 @@ class BookingCalendarService {
|
|
|
5995
6203
|
switch (role) {
|
|
5996
6204
|
case Role.ClubAdmin:
|
|
5997
6205
|
return this.getClubOverbookedBookables(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
5998
|
-
|
|
6206
|
+
case Role.SectionAdmin:
|
|
5999
6207
|
return this.getSectionOverbookedBookables(clubOrSectionOrTeamId, bookingSlotFilter);
|
|
6208
|
+
default:
|
|
6209
|
+
throw invalidRoleError;
|
|
6000
6210
|
}
|
|
6001
6211
|
}
|
|
6002
6212
|
getClubOverbookedBookables(clubId, bookingSlotFilter) {
|
|
@@ -6065,6 +6275,8 @@ const COUNTRIES_PATH = 'every-admin/constants/countries/';
|
|
|
6065
6275
|
const LANGUAGES_PATH = 'every-admin/constants/languages/';
|
|
6066
6276
|
const MEMBER_CONTACT_TYPES_PATH = 'every-admin/constants/member-contact-types/';
|
|
6067
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/';
|
|
6068
6280
|
const BOOKING_SLOT_RESERVED_TIME_POSITIONS_PATH = 'every-admin/constants/booking-slot-reserved-time-positions/';
|
|
6069
6281
|
const BOOKING_SLOT_SESSION_TYPES_PATH = 'every-admin/constants/booking-slot-session-types/';
|
|
6070
6282
|
const BOOKING_CALENDAR_STATUSES_PATH = 'every-admin/constants/booking-calendar-statuses/';
|
|
@@ -6104,6 +6316,12 @@ class ConstantService {
|
|
|
6104
6316
|
getBookingSlotTypes() {
|
|
6105
6317
|
return this.getConstants(BOOKING_SLOT_TYPES_PATH);
|
|
6106
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
|
+
}
|
|
6107
6325
|
getBookingSlotReservedTimePositions() {
|
|
6108
6326
|
return this.getConstants(BOOKING_SLOT_RESERVED_TIME_POSITIONS_PATH);
|
|
6109
6327
|
}
|
|
@@ -6206,8 +6424,10 @@ class FeatureFlagsService {
|
|
|
6206
6424
|
return this.getSectionFeatureFlags(itemId);
|
|
6207
6425
|
case Role.TeamAdmin:
|
|
6208
6426
|
return this.getTeamFeatureFlags(itemId);
|
|
6209
|
-
|
|
6427
|
+
case Role.MemberAdmin:
|
|
6210
6428
|
return this.getMemberFeatureFlags(itemId);
|
|
6429
|
+
default:
|
|
6430
|
+
throw invalidRoleError;
|
|
6211
6431
|
}
|
|
6212
6432
|
}
|
|
6213
6433
|
getClubFeatureFlags(clubId) {
|
|
@@ -6390,6 +6610,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
6390
6610
|
}]
|
|
6391
6611
|
}], ctorParameters: () => [{ type: ApiService }] });
|
|
6392
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
|
+
|
|
6393
6644
|
class MaintenanceModeService {
|
|
6394
6645
|
maintenanceMode = new BehaviorSubject(false);
|
|
6395
6646
|
maintenanceMode$ = this.maintenanceMode.asObservable();
|
|
@@ -6465,8 +6716,10 @@ class MemberService {
|
|
|
6465
6716
|
return this.getClubMembers(itemId);
|
|
6466
6717
|
case Role.SectionAdmin:
|
|
6467
6718
|
return this.getSectionMembers(itemId);
|
|
6468
|
-
|
|
6719
|
+
case Role.TeamAdmin:
|
|
6469
6720
|
return this.getTeamMembers(itemId);
|
|
6721
|
+
default:
|
|
6722
|
+
throw invalidRoleError;
|
|
6470
6723
|
}
|
|
6471
6724
|
}
|
|
6472
6725
|
getClubMembers(clubId) {
|
|
@@ -6820,8 +7073,10 @@ class TeamService {
|
|
|
6820
7073
|
switch (role) {
|
|
6821
7074
|
case Role.ClubAdmin:
|
|
6822
7075
|
return this.getClubTeams(itemId);
|
|
6823
|
-
|
|
7076
|
+
case Role.SectionAdmin:
|
|
6824
7077
|
return this.getSectionTeams(itemId);
|
|
7078
|
+
default:
|
|
7079
|
+
throw invalidRoleError;
|
|
6825
7080
|
}
|
|
6826
7081
|
}
|
|
6827
7082
|
getClubTeams(clubId) {
|
|
@@ -7350,7 +7605,7 @@ class AuthEffects {
|
|
|
7350
7605
|
.pipe(mergeMap((oldAuth) => {
|
|
7351
7606
|
return this.storageService.setAsObservable(STORAGE_SELECTED_AUTH, payload)
|
|
7352
7607
|
.pipe(mergeMap((newAuth) => {
|
|
7353
|
-
if (newAuth.id === oldAuth.id && ((newAuth.members && newAuth.members.length === oldAuth.members.length) || (newAuth.teams && newAuth.teams.length === oldAuth.teams.length && newAuth.teams[0].id === oldAuth.teams[0].id))) {
|
|
7608
|
+
if (oldAuth && newAuth.id === oldAuth.id && ((newAuth.members && newAuth.members.length === oldAuth.members.length) || (newAuth.teams && newAuth.teams.length === oldAuth.teams.length && newAuth.teams[0].id === oldAuth.teams[0].id))) {
|
|
7354
7609
|
return [
|
|
7355
7610
|
getCurrentAuthSuccessAction({ payload: newAuth })
|
|
7356
7611
|
];
|
|
@@ -7377,6 +7632,51 @@ class BookingEffects {
|
|
|
7377
7632
|
activityService = inject(ActivityService);
|
|
7378
7633
|
teamService = inject(TeamService);
|
|
7379
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
|
+
})))));
|
|
7380
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 })))));
|
|
7381
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 })))));
|
|
7382
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 })))));
|
|
@@ -7601,6 +7901,12 @@ class ConstantEffects {
|
|
|
7601
7901
|
retrieveBookingSlotTypes$ = createEffect(() => this.actions$
|
|
7602
7902
|
.pipe(ofType(retrieveBookingSlotTypesAction), exhaustMap(() => this.constantService.getBookingSlotTypes()
|
|
7603
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 })))))));
|
|
7604
7910
|
retrieveBookingSlotReservedTimePositions$ = createEffect(() => this.actions$
|
|
7605
7911
|
.pipe(ofType(retrieveBookingSlotReservedTimePositionsAction), exhaustMap(() => this.constantService.getBookingSlotReservedTimePositions()
|
|
7606
7912
|
.pipe(map((constants) => retrieveBookingSlotReservedTimePositionsSuccessAction({ payload: constants })), catchError((error) => of(retrieveBookingSlotReservedTimePositionsFailureAction({ payload: error })))))));
|
|
@@ -7636,6 +7942,9 @@ const selectBookableItems = createSelector(bookingState, (state) => state.bookab
|
|
|
7636
7942
|
const selectBookableGroups = createSelector(bookingState, (state) => state.bookableGroups);
|
|
7637
7943
|
const selectBookableTags = createSelector(bookingState, (state) => state.bookableTags);
|
|
7638
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);
|
|
7639
7948
|
const selectBookingSettings = createSelector(bookingState, (state) => state.bookingSettings);
|
|
7640
7949
|
const selectBookingActivitySettings = createSelector(bookingState, (state) => state.bookingActivitySettings);
|
|
7641
7950
|
const selectActivityTypes = createSelector(bookingState, (state) => state.activityTypes);
|
|
@@ -7689,6 +7998,8 @@ const selectCountries = createSelector(constantState, (state) => state.countries
|
|
|
7689
7998
|
const selectMemberContactTypes = createSelector(constantState, (state) => state.memberContactTypes);
|
|
7690
7999
|
// Selector for booking slot types
|
|
7691
8000
|
const selectBookingSlotTypes = createSelector(constantState, (state) => state.bookingSlotTypes);
|
|
8001
|
+
const selectTeamBookingSlotTypes = createSelector(constantState, (state) => state.teamBookingSlotTypes);
|
|
8002
|
+
const selectMemberBookingSlotTypes = createSelector(constantState, (state) => state.memberBookingSlotTypes);
|
|
7692
8003
|
// Selector for booking slot reserved time positions
|
|
7693
8004
|
const selectBookingSlotReservedTimePositions = createSelector(constantState, (state) => state.bookingSlotReservedTimePositions);
|
|
7694
8005
|
// Selector for booking slot session types
|
|
@@ -7717,6 +8028,8 @@ const pluginState$8 = createFeatureSelector('dataAccess');
|
|
|
7717
8028
|
const invoiceState = createSelector(pluginState$8, (state) => state.invoices);
|
|
7718
8029
|
const selectInvoice = createSelector(invoiceState, (state) => state.invoice);
|
|
7719
8030
|
const selectInvoiceList = createSelector(invoiceState, (state) => state.invoiceList);
|
|
8031
|
+
const selectPaymentOrder = createSelector(invoiceState, (state) => state.paymentOrder);
|
|
8032
|
+
const selectPaymentOrderList = createSelector(invoiceState, (state) => state.paymentOrderList);
|
|
7720
8033
|
|
|
7721
8034
|
const pluginState$7 = createFeatureSelector('dataAccess');
|
|
7722
8035
|
const memberState = createSelector(pluginState$7, (state) => state.members);
|
|
@@ -7958,6 +8271,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
7958
8271
|
class InvoiceEffects {
|
|
7959
8272
|
actions$ = inject(Actions);
|
|
7960
8273
|
invoiceService = inject(InvoiceService);
|
|
8274
|
+
paymentOrderService = inject(PaymentOrderService);
|
|
7961
8275
|
paymentAttemptService = inject(PaymentAttemptService);
|
|
7962
8276
|
createMemberMondidoPayment$ = createEffect(() => this.actions$
|
|
7963
8277
|
.pipe(ofType(createMondidoMemberPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentAttempt(payload.memberId, payload.invoiceId, 'mondido')
|
|
@@ -7995,6 +8309,24 @@ class InvoiceEffects {
|
|
|
7995
8309
|
retrieveMemberInvoice$ = createEffect(() => this.actions$
|
|
7996
8310
|
.pipe(ofType(retrieveMemberInvoiceAction), exhaustMap(({ payload }) => this.invoiceService.getMemberInvoice(payload.memberId, payload.invoiceId)
|
|
7997
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 })))))));
|
|
7998
8330
|
retrieveMemberPaymentAttempt$ = createEffect(() => this.actions$
|
|
7999
8331
|
.pipe(ofType(retrieveMemberPaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberPaymentAttempt(payload.memberId, payload.invoiceId, payload.paymentAttemptId)
|
|
8000
8332
|
.pipe(map((paymentAttempt) => retrieveMemberPaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrieveMemberPaymentAttemptFailureAction({ payload: error })))))));
|
|
@@ -8666,6 +8998,9 @@ const initialAuthState = {
|
|
|
8666
8998
|
|
|
8667
8999
|
const initialBookingState = {
|
|
8668
9000
|
calendars: emptyListResultFactory(),
|
|
9001
|
+
memberCalendars: undefined,
|
|
9002
|
+
memberSlots: undefined,
|
|
9003
|
+
memberSessions: undefined,
|
|
8669
9004
|
locations: emptyListResultFactory(),
|
|
8670
9005
|
bookableItems: emptyListResultFactory(),
|
|
8671
9006
|
bookableGroups: emptyListResultFactory(),
|
|
@@ -8712,6 +9047,8 @@ const initialConstantState = {
|
|
|
8712
9047
|
countries: emptyListResultFactory(),
|
|
8713
9048
|
memberContactTypes: emptyListResultFactory(),
|
|
8714
9049
|
bookingSlotTypes: emptyListResultFactory(),
|
|
9050
|
+
teamBookingSlotTypes: emptyListResultFactory(),
|
|
9051
|
+
memberBookingSlotTypes: emptyListResultFactory(),
|
|
8715
9052
|
bookingSlotReservedTimePositions: emptyListResultFactory(),
|
|
8716
9053
|
bookingSlotSessionTypes: emptyListResultFactory(),
|
|
8717
9054
|
bookingCalendarStatuses: emptyListResultFactory(),
|
|
@@ -8733,6 +9070,8 @@ const initialExternalLinkState = {
|
|
|
8733
9070
|
const initialInvoiceState = {
|
|
8734
9071
|
invoice: undefined,
|
|
8735
9072
|
invoiceList: undefined,
|
|
9073
|
+
paymentOrder: undefined,
|
|
9074
|
+
paymentOrderList: undefined
|
|
8736
9075
|
};
|
|
8737
9076
|
|
|
8738
9077
|
const initialFileState = {
|
|
@@ -9512,6 +9851,18 @@ on(retrieveBookingSlotTypesAction, (state) => ({ ...state, bookingSlotTypes: lis
|
|
|
9512
9851
|
})), on(retrieveBookingSlotTypesSuccessAction, (state, { payload }) => ({
|
|
9513
9852
|
...state,
|
|
9514
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)
|
|
9515
9866
|
})),
|
|
9516
9867
|
// Booking Slot Reserved Time Positions
|
|
9517
9868
|
on(retrieveBookingSlotReservedTimePositionsAction, (state) => ({
|
|
@@ -9702,7 +10053,7 @@ const fileReducer = createReducer(initialFileState, on(clearStoreAction, () => i
|
|
|
9702
10053
|
|
|
9703
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) })));
|
|
9704
10055
|
|
|
9705
|
-
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 }) => {
|
|
9706
10057
|
let newState = { ...state, invoice: retrieveLoadSuccess(payload) };
|
|
9707
10058
|
const memberInvoices = newState.invoiceList?.result?.get(payload.memberId);
|
|
9708
10059
|
if (memberInvoices) {
|
|
@@ -9724,7 +10075,7 @@ const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, (
|
|
|
9724
10075
|
};
|
|
9725
10076
|
}
|
|
9726
10077
|
return newState;
|
|
9727
|
-
}));
|
|
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) })));
|
|
9728
10079
|
|
|
9729
10080
|
const memberCardReducer = createReducer(initialMemberCardState, on(clearStoreAction, () => initialMemberCardState), on(clearMemberCardAction, (state) => ({ ...state, currentMemberCard: undefined })), on(retrieveMemberCardAction, (state) => ({
|
|
9730
10081
|
...state,
|
|
@@ -10094,47 +10445,98 @@ const bookingReducer = createReducer(initialBookingState, on(clearStoreAction, (
|
|
|
10094
10445
|
...state,
|
|
10095
10446
|
calendars: listLoadSuccess(bookingCalendars),
|
|
10096
10447
|
};
|
|
10097
|
-
}), 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 }) => {
|
|
10098
10476
|
return {
|
|
10099
10477
|
...state,
|
|
10100
10478
|
locations: listLoadSuccess(locations),
|
|
10101
10479
|
};
|
|
10102
|
-
}), on(
|
|
10480
|
+
}), on(listLocationFailureAction, (state, { payload }) => ({
|
|
10481
|
+
...state,
|
|
10482
|
+
locations: listLoadFailure(payload)
|
|
10483
|
+
})), on(listBookableItemSuccessAction, (state, { items }) => {
|
|
10103
10484
|
return {
|
|
10104
10485
|
...state,
|
|
10105
10486
|
bookableItems: listLoadSuccess(items),
|
|
10106
10487
|
};
|
|
10107
|
-
}), on(
|
|
10488
|
+
}), on(listBookableItemFailureAction, (state, { payload }) => ({
|
|
10489
|
+
...state,
|
|
10490
|
+
bookableItems: listLoadFailure(payload)
|
|
10491
|
+
})), on(listBookableGroupSuccessAction, (state, { groups }) => {
|
|
10108
10492
|
return {
|
|
10109
10493
|
...state,
|
|
10110
10494
|
bookableGroups: listLoadSuccess(groups),
|
|
10111
10495
|
};
|
|
10112
|
-
}), on(
|
|
10496
|
+
}), on(listBookableGroupFailureAction, (state, { payload }) => ({
|
|
10497
|
+
...state,
|
|
10498
|
+
bookableGroups: listLoadFailure(payload)
|
|
10499
|
+
})), on(listBookableTagSuccessAction, (state, { tags }) => {
|
|
10113
10500
|
return {
|
|
10114
10501
|
...state,
|
|
10115
10502
|
bookableTags: listLoadSuccess(tags),
|
|
10116
10503
|
};
|
|
10117
|
-
}), on(
|
|
10504
|
+
}), on(listBookableTagFailureAction, (state, { payload }) => ({
|
|
10505
|
+
...state,
|
|
10506
|
+
bookableTags: listLoadFailure(payload)
|
|
10507
|
+
})), on(listTeamSuccessAction, (state, { teams }) => {
|
|
10118
10508
|
return {
|
|
10119
10509
|
...state,
|
|
10120
10510
|
bookingTeams: listLoadSuccess(teams),
|
|
10121
10511
|
};
|
|
10122
|
-
}), on(
|
|
10512
|
+
}), on(listTeamFailureAction, (state, { payload }) => ({
|
|
10513
|
+
...state,
|
|
10514
|
+
bookingTeams: listLoadFailure(payload)
|
|
10515
|
+
})), on(listActivityTypeSuccessAction, (state, { activityTypes }) => {
|
|
10123
10516
|
return {
|
|
10124
10517
|
...state,
|
|
10125
10518
|
activityTypes: listLoadSuccess(activityTypes),
|
|
10126
10519
|
};
|
|
10127
|
-
}), on(
|
|
10520
|
+
}), on(listActivityTypeFailureAction, (state, { payload }) => ({
|
|
10521
|
+
...state,
|
|
10522
|
+
activityTypes: listLoadFailure(payload)
|
|
10523
|
+
})), on(retrieveSettingsSuccessAction, (state, { settings }) => {
|
|
10128
10524
|
return {
|
|
10129
10525
|
...state,
|
|
10130
10526
|
bookingActivitySettings: retrieveLoadSuccess(settings),
|
|
10131
10527
|
};
|
|
10132
|
-
}), on(
|
|
10528
|
+
}), on(retrieveSettingsFailureAction, (state, { payload }) => ({
|
|
10529
|
+
...state,
|
|
10530
|
+
bookingActivitySettings: retrieveLoadFailure(payload)
|
|
10531
|
+
})), on(retrieveBookingSettingsSuccessAction, (state, { settings }) => {
|
|
10133
10532
|
return {
|
|
10134
10533
|
...state,
|
|
10135
10534
|
bookingSettings: retrieveLoadSuccess(settings),
|
|
10136
10535
|
};
|
|
10137
|
-
}), on(
|
|
10536
|
+
}), on(retrieveBookingSettingsFailureAction, (state, { payload }) => ({
|
|
10537
|
+
...state,
|
|
10538
|
+
bookingSettings: retrieveLoadFailure(payload)
|
|
10539
|
+
})), on(selectCurrentCalendarAction, (state, { calendar }) => {
|
|
10138
10540
|
return {
|
|
10139
10541
|
...state,
|
|
10140
10542
|
currentCalendar: calendar,
|
|
@@ -10480,5 +10882,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
|
|
|
10480
10882
|
* Generated bundle index. Do not edit.
|
|
10481
10883
|
*/
|
|
10482
10884
|
|
|
10483
|
-
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, 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 };
|
|
10484
10886
|
//# sourceMappingURL=myclub_se-data-access.mjs.map
|