@myclub_se/data-access 3.1.6 → 3.1.8

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.
Files changed (93) hide show
  1. package/esm2022/lib/api-models/api-bookable-item.mjs +1 -1
  2. package/esm2022/lib/api-models/api-booking-calendar-application-time.mjs +1 -1
  3. package/esm2022/lib/api-models/api-booking-calendar-slot-session.mjs +1 -1
  4. package/esm2022/lib/api-models/api-booking-calendar-slot.mjs +1 -1
  5. package/esm2022/lib/api-models/api-booking-calendar.mjs +1 -1
  6. package/esm2022/lib/api-models/api-invoice/api-payment-attempt-create.mjs +12 -2
  7. package/esm2022/lib/api-models/api-invoice/api-payment-attempt.mjs +1 -1
  8. package/esm2022/lib/api-models/api-invoice/api-payment-order.mjs +2 -0
  9. package/esm2022/lib/api-models/api-invoice/index.mjs +2 -1
  10. package/esm2022/lib/models/activity-type.mjs +3 -3
  11. package/esm2022/lib/models/bookable-item.mjs +4 -2
  12. package/esm2022/lib/models/booking-calendar-application-time.mjs +6 -2
  13. package/esm2022/lib/models/booking-calendar-slot-session.mjs +8 -2
  14. package/esm2022/lib/models/booking-calendar-slot.mjs +5 -2
  15. package/esm2022/lib/models/booking-calendar.mjs +8 -2
  16. package/esm2022/lib/models/booking-slot-filter.mjs +4 -1
  17. package/esm2022/lib/models/invoice/index.mjs +2 -1
  18. package/esm2022/lib/models/invoice/payment-attempt.mjs +4 -2
  19. package/esm2022/lib/models/invoice/payment-order.mjs +25 -0
  20. package/esm2022/lib/services/activity.service.mjs +17 -6
  21. package/esm2022/lib/services/bookable.service.mjs +46 -14
  22. package/esm2022/lib/services/booking-calendar.service.mjs +94 -26
  23. package/esm2022/lib/services/constant.service.mjs +9 -1
  24. package/esm2022/lib/services/constants.mjs +2 -0
  25. package/esm2022/lib/services/factories/bookable-item-factory.mjs +2 -2
  26. package/esm2022/lib/services/factories/booking-calendar-application-time-factory.mjs +2 -2
  27. package/esm2022/lib/services/factories/booking-calendar-factory.mjs +2 -2
  28. package/esm2022/lib/services/factories/booking-calendar-slot-factory.mjs +2 -2
  29. package/esm2022/lib/services/factories/booking-calendar-slot-session-factory.mjs +2 -2
  30. package/esm2022/lib/services/factories/payment-attempt-factory.mjs +2 -2
  31. package/esm2022/lib/services/factories/payment-order-factory.mjs +5 -0
  32. package/esm2022/lib/services/feature-flags.service.mjs +5 -2
  33. package/esm2022/lib/services/invoice/index.mjs +2 -1
  34. package/esm2022/lib/services/invoice/payment-attempt.service.mjs +44 -19
  35. package/esm2022/lib/services/invoice/payment-order.service.mjs +46 -0
  36. package/esm2022/lib/services/member.service.mjs +5 -2
  37. package/esm2022/lib/services/team.service.mjs +5 -2
  38. package/esm2022/lib/store/actions/booking.actions.mjs +19 -1
  39. package/esm2022/lib/store/actions/constant.actions.mjs +13 -1
  40. package/esm2022/lib/store/actions/invoice.actions.mjs +105 -37
  41. package/esm2022/lib/store/effects/booking.effects.mjs +49 -3
  42. package/esm2022/lib/store/effects/constant.effects.mjs +8 -2
  43. package/esm2022/lib/store/effects/invoice.effects.mjs +89 -29
  44. package/esm2022/lib/store/reducers/booking.reducers.mjs +63 -12
  45. package/esm2022/lib/store/reducers/constant.reducer.mjs +14 -2
  46. package/esm2022/lib/store/reducers/invoice.reducer.mjs +4 -4
  47. package/esm2022/lib/store/selectors/booking.selectors.mjs +4 -1
  48. package/esm2022/lib/store/selectors/constant.selectors.mjs +3 -1
  49. package/esm2022/lib/store/selectors/invoice.selectors.mjs +3 -1
  50. package/esm2022/lib/store/state/booking.state.mjs +4 -1
  51. package/esm2022/lib/store/state/constant.state.mjs +3 -1
  52. package/esm2022/lib/store/state/invoice.state.mjs +3 -1
  53. package/fesm2022/myclub_se-data-access.mjs +689 -152
  54. package/fesm2022/myclub_se-data-access.mjs.map +1 -1
  55. package/lib/api-models/api-bookable-item.d.ts +1 -0
  56. package/lib/api-models/api-booking-calendar-application-time.d.ts +2 -0
  57. package/lib/api-models/api-booking-calendar-slot-session.d.ts +3 -0
  58. package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
  59. package/lib/api-models/api-booking-calendar.d.ts +2 -0
  60. package/lib/api-models/api-invoice/api-payment-attempt-create.d.ts +7 -1
  61. package/lib/api-models/api-invoice/api-payment-attempt.d.ts +2 -1
  62. package/lib/api-models/api-invoice/api-payment-order.d.ts +13 -0
  63. package/lib/api-models/api-invoice/index.d.ts +1 -0
  64. package/lib/models/bookable-item.d.ts +2 -1
  65. package/lib/models/booking-calendar-application-time.d.ts +3 -1
  66. package/lib/models/booking-calendar-slot-session.d.ts +4 -1
  67. package/lib/models/booking-calendar-slot.d.ts +3 -1
  68. package/lib/models/booking-calendar.d.ts +5 -1
  69. package/lib/models/booking-slot-filter.d.ts +1 -0
  70. package/lib/models/invoice/index.d.ts +1 -0
  71. package/lib/models/invoice/payment-attempt.d.ts +3 -2
  72. package/lib/models/invoice/payment-order.d.ts +14 -0
  73. package/lib/services/bookable.service.d.ts +2 -1
  74. package/lib/services/booking-calendar.service.d.ts +2 -0
  75. package/lib/services/constant.service.d.ts +2 -0
  76. package/lib/services/constants.d.ts +1 -0
  77. package/lib/services/factories/payment-order-factory.d.ts +3 -0
  78. package/lib/services/invoice/index.d.ts +1 -0
  79. package/lib/services/invoice/payment-attempt.service.d.ts +14 -7
  80. package/lib/services/invoice/payment-order.service.d.ts +18 -0
  81. package/lib/store/actions/booking.actions.d.ts +60 -0
  82. package/lib/store/actions/constant.actions.d.ts +28 -0
  83. package/lib/store/actions/invoice.actions.d.ts +335 -55
  84. package/lib/store/effects/booking.effects.d.ts +15 -0
  85. package/lib/store/effects/constant.effects.d.ts +10 -0
  86. package/lib/store/effects/invoice.effects.d.ts +89 -25
  87. package/lib/store/selectors/booking.selectors.d.ts +3 -0
  88. package/lib/store/selectors/constant.selectors.d.ts +2 -0
  89. package/lib/store/selectors/invoice.selectors.d.ts +2 -0
  90. package/lib/store/state/booking.state.d.ts +4 -1
  91. package/lib/store/state/constant.state.d.ts +2 -0
  92. package/lib/store/state/invoice.state.d.ts +3 -1
  93. 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,14 +743,23 @@ const retrieveTeamDirectoriesSuccessAction = createAction(FileActionTypes.Retrie
713
743
  var InvoiceActionType;
714
744
  (function (InvoiceActionType) {
715
745
  InvoiceActionType["ClearMemberInvoice"] = "[Invoice] Clear member invoice";
716
- InvoiceActionType["CreateMondidoMemberPayment"] = "[Invoice] Create Mondido member payment";
717
- InvoiceActionType["CreateMondidoPublicPayment"] = "[Invoice] Create Mondido public payment";
718
- InvoiceActionType["CreateMondidoPaymentFailure"] = "[Invoice] Create Mondido payment failure";
719
- InvoiceActionType["CreateMondidoPaymentSuccess"] = "[Invoice] Create Mondido payment success";
720
- InvoiceActionType["CreateSwishMemberPayment"] = "[Invoice] Create swish member payment";
721
- InvoiceActionType["CreateSwishPublicPayment"] = "[Invoice] Create swish public payment";
722
- InvoiceActionType["CreateSwishPaymentFailure"] = "[Invoice] Create swish payment failure";
723
- InvoiceActionType["CreateSwishPaymentSuccess"] = "[Invoice] Create swish payment success";
746
+ InvoiceActionType["ClearPaymentOrder"] = "[Invoice] Clear payment order";
747
+ InvoiceActionType["CreateMondidoMemberInvoicePayment"] = "[Invoice] Create Mondido member payment";
748
+ InvoiceActionType["CreateMondidoPublicInvoicePayment"] = "[Invoice] Create Mondido public payment";
749
+ InvoiceActionType["CreateMondidoInvoicePaymentFailure"] = "[Invoice] Create Mondido payment failure";
750
+ InvoiceActionType["CreateMondidoInvoicePaymentSuccess"] = "[Invoice] Create Mondido payment success";
751
+ InvoiceActionType["CreateSwishMemberInvoicePayment"] = "[Invoice] Create swish member payment";
752
+ InvoiceActionType["CreateSwishPublicInvoicePayment"] = "[Invoice] Create swish public payment";
753
+ InvoiceActionType["CreateSwishInvoicePaymentFailure"] = "[Invoice] Create swish payment failure";
754
+ InvoiceActionType["CreateSwishInvoicePaymentSuccess"] = "[Invoice] Create swish payment success";
755
+ InvoiceActionType["CreateMondidoMemberPaymentOrderPayment"] = "[Payment Order] Create Mondido member payment";
756
+ InvoiceActionType["CreateMondidoPublicPaymentOrderPayment"] = "[Payment Order] Create Mondido public payment";
757
+ InvoiceActionType["CreateMondidoPaymentOrderPaymentFailure"] = "[Payment Order] Create Mondido payment failure";
758
+ InvoiceActionType["CreateMondidoPaymentOrderPaymentSuccess"] = "[Payment Order] Create Mondido payment success";
759
+ InvoiceActionType["CreateSwishMemberPaymentOrderPayment"] = "[Payment Order] Create swish member payment";
760
+ InvoiceActionType["CreateSwishPublicPaymentOrderPayment"] = "[Payment Order] Create swish public payment";
761
+ InvoiceActionType["CreateSwishPaymentOrderPaymentFailure"] = "[Payment Order] Create swish payment failure";
762
+ InvoiceActionType["CreateSwishPaymentOrderPaymentSuccess"] = "[Payment Order] Create swish payment success";
724
763
  InvoiceActionType["CreateZimplerMemberPayment"] = "[Invoice] Create zimpler member payment";
725
764
  InvoiceActionType["CreateZimplerPublicPayment"] = "[Invoice] Create zimpler public payment";
726
765
  InvoiceActionType["CreateZimplerPaymentFailure"] = "[Invoice] Create zimpler payment failure";
@@ -731,58 +770,117 @@ var InvoiceActionType;
731
770
  InvoiceActionType["RetrieveMemberInvoice"] = "[Invoice] Retrieve member invoice";
732
771
  InvoiceActionType["RetrieveMemberInvoiceFailure"] = "[Invoice] Retrieve member invoice failure";
733
772
  InvoiceActionType["RetrieveMemberInvoiceSuccess"] = "[Invoice] Retrieve member invoice success";
734
- InvoiceActionType["RetrieveMemberSwishQRCode"] = "[Invoice] Get member swish QR code";
735
- InvoiceActionType["RetrieveMemberPaymentAttempt"] = "[Invoice] Retrieve member payment attempt";
736
- InvoiceActionType["RetrieveMemberPaymentAttemptFailure"] = "[Invoice] Retrieve member payment attempt failure";
737
- InvoiceActionType["RetrieveMemberPaymentAttemptSuccess"] = "[Invoice] Retrieve member payment attempt success";
773
+ InvoiceActionType["RetrieveMemberInvoiceSwishQRCode"] = "[Invoice] Get member swish QR code";
774
+ InvoiceActionType["RetrieveMemberInvoicePaymentAttempt"] = "[Invoice] Retrieve member payment attempt";
775
+ InvoiceActionType["RetrieveMemberInvoicePaymentAttemptFailure"] = "[Invoice] Retrieve member payment attempt failure";
776
+ InvoiceActionType["RetrieveMemberInvoicePaymentAttemptSuccess"] = "[Invoice] Retrieve member payment attempt success";
777
+ InvoiceActionType["RetrieveMemberPaymentOrderSwishQRCode"] = "[Payment Order] Get member swish QR code";
778
+ InvoiceActionType["RetrieveMemberPaymentOrderPaymentAttempt"] = "[Payment Order] Retrieve member payment attempt";
779
+ InvoiceActionType["RetrieveMemberPaymentOrderPaymentAttemptFailure"] = "[Payment Order] Retrieve member payment attempt failure";
780
+ InvoiceActionType["RetrieveMemberPaymentOrderPaymentAttemptSuccess"] = "[Payment Order] Retrieve member payment attempt success";
738
781
  InvoiceActionType["RetrievePublicInvoiceLogo"] = "[Invoice] Retrieve public invoice logo";
739
782
  InvoiceActionType["RetrievePublicInvoiceLogoFailure"] = "[Invoice] Retrieve public invoice logo failure";
740
783
  InvoiceActionType["RetrievePublicInvoiceLogoSuccess"] = "[Invoice] Retrieve public invoice logo success";
741
784
  InvoiceActionType["RetrievePublicInvoice"] = "[Invoice] Retrieve public invoice";
742
785
  InvoiceActionType["RetrievePublicInvoiceFailure"] = "[Invoice] Retrieve public invoice failure";
743
786
  InvoiceActionType["RetrievePublicInvoiceSuccess"] = "[Invoice] Retrieve public invoice success";
744
- InvoiceActionType["RetrievePublicPaymentAttempt"] = "[Invoice] Retrieve public payment attempt";
745
- InvoiceActionType["RetrievePublicPaymentAttemptFailure"] = "[Invoice] Retrieve public payment attempt failure";
746
- InvoiceActionType["RetrievePublicPaymentAttemptSuccess"] = "[Invoice] Retrieve public payment attempt success";
747
- InvoiceActionType["RetrievePublicSwishQRCode"] = "[Invoice] Get public swish QR code";
748
- InvoiceActionType["RetrieveSwishQRCodeFailure"] = "[Invoice] Get swish QR code failure";
749
- InvoiceActionType["RetrieveSwishQRCodeSuccess"] = "[Invoice] Get swish QR code success";
787
+ InvoiceActionType["RetrievePublicPaymentOrderLogo"] = "[Payment Order] Retrieve public payment order logo";
788
+ InvoiceActionType["RetrievePublicPaymentOrderLogoFailure"] = "[Payment Order] Retrieve public payment order logo failure";
789
+ InvoiceActionType["RetrievePublicPaymentOrderLogoSuccess"] = "[Payment Order] Retrieve public payment order logo success";
790
+ InvoiceActionType["RetrievePublicPaymentOrder"] = "[Payment Order] Retrieve public payment order";
791
+ InvoiceActionType["RetrievePublicPaymentOrderFailure"] = "[Payment Order] Retrieve public payment order failure";
792
+ InvoiceActionType["RetrievePublicPaymentOrderSuccess"] = "[Payment Order] Retrieve public payment order success";
793
+ InvoiceActionType["RetrievePublicInvoicePaymentAttempt"] = "[Invoice] Retrieve public payment attempt";
794
+ InvoiceActionType["RetrievePublicInvoicePaymentAttemptFailure"] = "[Invoice] Retrieve public payment attempt failure";
795
+ InvoiceActionType["RetrievePublicInvoicePaymentAttemptSuccess"] = "[Invoice] Retrieve public payment attempt success";
796
+ InvoiceActionType["RetrievePublicInvoiceSwishQRCode"] = "[Invoice] Get public swish QR code";
797
+ InvoiceActionType["RetrieveInvoiceSwishQRCodeFailure"] = "[Invoice] Get swish QR code failure";
798
+ InvoiceActionType["RetrieveInvoiceSwishQRCodeSuccess"] = "[Invoice] Get swish QR code success";
799
+ InvoiceActionType["RetrievePublicPaymentOrderPaymentAttempt"] = "[Payment Order] Retrieve public payment attempt";
800
+ InvoiceActionType["RetrievePublicPaymentOrderPaymentAttemptFailure"] = "[Payment Order] Retrieve public payment attempt failure";
801
+ InvoiceActionType["RetrievePublicPaymentOrderPaymentAttemptSuccess"] = "[Payment Order] Retrieve public payment attempt success";
802
+ InvoiceActionType["RetrievePublicPaymentOrderSwishQRCode"] = "[Payment Order] Get public swish QR code";
803
+ InvoiceActionType["RetrievePaymentOrderSwishQRCodeFailure"] = "[Payment Order] Get swish QR code failure";
804
+ InvoiceActionType["RetrievePaymentOrderSwishQRCodeSuccess"] = "[Payment Order] Get swish QR code success";
805
+ InvoiceActionType["ListMemberPaymentOrders"] = "[Payment Order] List payment orders";
806
+ InvoiceActionType["ListMemberPaymentOrdersFailure"] = "[Payment Order] List payment orders failure";
807
+ InvoiceActionType["ListMemberPaymentOrdersSuccess"] = "[Payment Order] List payment orders success";
808
+ InvoiceActionType["RetrievePaymentOrder"] = "[Payment Order] Retrieve payment order";
809
+ InvoiceActionType["RetrievePaymentOrderFailure"] = "[Payment Order] Retrieve payment order failure";
810
+ InvoiceActionType["RetrievePaymentOrderSuccess"] = "[Payment Order] Retrieve payment order success";
811
+ InvoiceActionType["DeletePaymentOrder"] = "[Payment Order] Delete payment order";
812
+ InvoiceActionType["DeletePaymentOrderFailure"] = "[Payment Order] Delete payment order failure";
813
+ InvoiceActionType["DeletePaymentOrderSuccess"] = "[Payment Order] Delete payment order success";
750
814
  })(InvoiceActionType || (InvoiceActionType = {}));
751
815
  const clearMemberInvoiceAction = createAction(InvoiceActionType.ClearMemberInvoice);
752
- const createMondidoMemberPaymentAction = createAction(InvoiceActionType.CreateMondidoMemberPayment, props());
753
- const createMondidoPublicPaymentAction = createAction(InvoiceActionType.CreateMondidoPublicPayment, props());
754
- const createMondidoPaymentFailureAction = createAction(InvoiceActionType.CreateMondidoPaymentFailure, props());
755
- const createMondidoPaymentSuccessAction = createAction(InvoiceActionType.CreateMondidoPaymentSuccess, props());
756
- const createSwishMemberPaymentAction = createAction(InvoiceActionType.CreateSwishMemberPayment, props());
757
- const createSwishPublicPaymentAction = createAction(InvoiceActionType.CreateSwishPublicPayment, props());
758
- const createSwishPaymentFailureAction = createAction(InvoiceActionType.CreateSwishPaymentFailure, props());
759
- const createSwishPaymentSuccessAction = createAction(InvoiceActionType.CreateSwishPaymentSuccess, props());
816
+ const clearPaymentOrderAction = createAction(InvoiceActionType.ClearPaymentOrder);
817
+ const createMondidoMemberInvoicePaymentAction = createAction(InvoiceActionType.CreateMondidoMemberInvoicePayment, props());
818
+ const createMondidoPublicInvoicePaymentAction = createAction(InvoiceActionType.CreateMondidoPublicInvoicePayment, props());
819
+ const createMondidoInvoicePaymentFailureAction = createAction(InvoiceActionType.CreateMondidoInvoicePaymentFailure, props());
820
+ const createMondidoInvoicePaymentSuccessAction = createAction(InvoiceActionType.CreateMondidoInvoicePaymentSuccess, props());
821
+ const createSwishMemberInvoicePaymentAction = createAction(InvoiceActionType.CreateSwishMemberInvoicePayment, props());
822
+ const createSwishPublicInvoicePaymentAction = createAction(InvoiceActionType.CreateSwishPublicInvoicePayment, props());
823
+ const createSwishInvoicePaymentFailureAction = createAction(InvoiceActionType.CreateSwishInvoicePaymentFailure, props());
824
+ const createSwishInvoicePaymentSuccessAction = createAction(InvoiceActionType.CreateSwishInvoicePaymentSuccess, props());
760
825
  const createZimplerMemberPaymentAction = createAction(InvoiceActionType.CreateZimplerMemberPayment, props());
761
826
  const createZimplerPublicPaymentAction = createAction(InvoiceActionType.CreateZimplerPublicPayment, props());
762
827
  const createZimplerPaymentFailureAction = createAction(InvoiceActionType.CreateZimplerPaymentFailure, props());
763
828
  const createZimplerPaymentSuccessAction = createAction(InvoiceActionType.CreateZimplerPaymentSuccess, props());
829
+ const createMondidoMemberPaymentOrderPaymentAction = createAction(InvoiceActionType.CreateMondidoMemberPaymentOrderPayment, props());
830
+ const createMondidoPublicPaymentOrderPaymentAction = createAction(InvoiceActionType.CreateMondidoPublicPaymentOrderPayment, props());
831
+ const createMondidoPaymentOrderPaymentFailureAction = createAction(InvoiceActionType.CreateMondidoPaymentOrderPaymentFailure, props());
832
+ const createMondidoPaymentOrderPaymentSuccessAction = createAction(InvoiceActionType.CreateMondidoPaymentOrderPaymentSuccess, props());
833
+ const createSwishMemberPaymentOrderPaymentAction = createAction(InvoiceActionType.CreateSwishMemberPaymentOrderPayment, props());
834
+ const createSwishPublicPaymentOrderPaymentAction = createAction(InvoiceActionType.CreateSwishPublicPaymentOrderPayment, props());
835
+ const createSwishPaymentOrderPaymentFailureAction = createAction(InvoiceActionType.CreateSwishPaymentOrderPaymentFailure, props());
836
+ const createSwishPaymentOrderPaymentSuccessAction = createAction(InvoiceActionType.CreateSwishPaymentOrderPaymentSuccess, props());
764
837
  const listMemberInvoicesAction = createAction(InvoiceActionType.ListMemberInvoices, props());
765
838
  const listMemberInvoicesFailureAction = createAction(InvoiceActionType.ListMemberInvoicesFailure, props());
766
839
  const listMemberInvoicesSuccessAction = createAction(InvoiceActionType.ListMemberInvoicesSuccess, props());
767
840
  const retrieveMemberInvoiceAction = createAction(InvoiceActionType.RetrieveMemberInvoice, props());
768
841
  const retrieveMemberInvoiceFailureAction = createAction(InvoiceActionType.RetrieveMemberInvoiceFailure, props());
769
842
  const retrieveMemberInvoiceSuccessAction = createAction(InvoiceActionType.RetrieveMemberInvoiceSuccess, props());
770
- const retrieveMemberPaymentAttemptAction = createAction(InvoiceActionType.RetrieveMemberPaymentAttempt, props());
771
- const retrieveMemberPaymentAttemptFailureAction = createAction(InvoiceActionType.RetrieveMemberPaymentAttemptFailure, props());
772
- const retrieveMemberPaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrieveMemberPaymentAttemptSuccess, props());
773
- const retrieveMemberSwishQRCodeAction = createAction(InvoiceActionType.RetrieveMemberSwishQRCode, props());
843
+ const listMemberPaymentOrdersAction = createAction(InvoiceActionType.ListMemberPaymentOrders, props());
844
+ const listMemberPaymentOrdersFailureAction = createAction(InvoiceActionType.ListMemberPaymentOrdersFailure, props());
845
+ const listMemberPaymentOrdersSuccessAction = createAction(InvoiceActionType.ListMemberPaymentOrdersSuccess, props());
846
+ const retrievePaymentOrderAction = createAction(InvoiceActionType.RetrievePaymentOrder, props());
847
+ const retrievePaymentOrderFailureAction = createAction(InvoiceActionType.RetrievePaymentOrderFailure, props());
848
+ const retrievePaymentOrderSuccessAction = createAction(InvoiceActionType.RetrievePaymentOrderSuccess, props());
849
+ const deletePaymentOrderAction = createAction(InvoiceActionType.DeletePaymentOrder, props());
850
+ const deletePaymentOrderFailureAction = createAction(InvoiceActionType.DeletePaymentOrderFailure, props());
851
+ const deletePaymentOrderSuccessAction = createAction(InvoiceActionType.DeletePaymentOrderSuccess);
852
+ const retrieveMemberInvoicePaymentAttemptAction = createAction(InvoiceActionType.RetrieveMemberInvoicePaymentAttempt, props());
853
+ const retrieveMemberInvoicePaymentAttemptFailureAction = createAction(InvoiceActionType.RetrieveMemberInvoicePaymentAttemptFailure, props());
854
+ const retrieveMemberInvoicePaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrieveMemberInvoicePaymentAttemptSuccess, props());
855
+ const retrieveMemberInvoiceSwishQRCodeAction = createAction(InvoiceActionType.RetrieveMemberInvoiceSwishQRCode, props());
856
+ const retrieveMemberPaymentOrderPaymentAttemptAction = createAction(InvoiceActionType.RetrieveMemberPaymentOrderPaymentAttempt, props());
857
+ const retrieveMemberPaymentOrderPaymentAttemptFailureAction = createAction(InvoiceActionType.RetrieveMemberPaymentOrderPaymentAttemptFailure, props());
858
+ const retrieveMemberPaymentOrderPaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrieveMemberPaymentOrderPaymentAttemptSuccess, props());
859
+ const retrieveMemberPaymentOrderSwishQRCodeAction = createAction(InvoiceActionType.RetrieveMemberPaymentOrderSwishQRCode, props());
774
860
  const retrievePublicInvoiceLogoAction = createAction(InvoiceActionType.RetrievePublicInvoiceLogo, props());
775
861
  const retrievePublicInvoiceLogoFailureAction = createAction(InvoiceActionType.RetrievePublicInvoiceLogoFailure, props());
776
862
  const retrievePublicInvoiceLogoSuccessAction = createAction(InvoiceActionType.RetrievePublicInvoiceLogoSuccess, props());
777
863
  const retrievePublicInvoiceAction = createAction(InvoiceActionType.RetrievePublicInvoice, props());
778
864
  const retrievePublicInvoiceFailureAction = createAction(InvoiceActionType.RetrievePublicInvoiceFailure, props());
779
865
  const retrievePublicInvoiceSuccessAction = createAction(InvoiceActionType.RetrievePublicInvoiceSuccess, props());
780
- const retrievePublicPaymentAttemptAction = createAction(InvoiceActionType.RetrievePublicPaymentAttempt, props());
781
- const retrievePublicPaymentAttemptFailureAction = createAction(InvoiceActionType.RetrievePublicPaymentAttemptFailure, props());
782
- const retrievePublicPaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrievePublicPaymentAttemptSuccess, props());
783
- const retrievePublicSwishQRCodeAction = createAction(InvoiceActionType.RetrievePublicSwishQRCode, props());
784
- const retrieveSwishQRCodeFailureAction = createAction(InvoiceActionType.RetrieveSwishQRCodeFailure, props());
785
- const retrieveSwishQRCodeSuccessAction = createAction(InvoiceActionType.RetrieveSwishQRCodeSuccess, props());
866
+ const retrievePublicPaymentOrderLogoAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderLogo, props());
867
+ const retrievePublicPaymentOrderLogoFailureAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderLogoFailure, props());
868
+ const retrievePublicPaymentOrderLogoSuccessAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderLogoSuccess, props());
869
+ const retrievePublicPaymentOrderAction = createAction(InvoiceActionType.RetrievePublicPaymentOrder, props());
870
+ const retrievePublicPaymentOrderFailureAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderFailure, props());
871
+ const retrievePublicPaymentOrderSuccessAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderSuccess, props());
872
+ const retrievePublicInvoicePaymentAttemptAction = createAction(InvoiceActionType.RetrievePublicInvoicePaymentAttempt, props());
873
+ const retrievePublicInvoicePaymentAttemptFailureAction = createAction(InvoiceActionType.RetrievePublicInvoicePaymentAttemptFailure, props());
874
+ const retrievePublicInvoicePaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrievePublicInvoicePaymentAttemptSuccess, props());
875
+ const retrievePublicInvoiceSwishQRCodeAction = createAction(InvoiceActionType.RetrievePublicInvoiceSwishQRCode, props());
876
+ const retrieveInvoiceSwishQRCodeFailureAction = createAction(InvoiceActionType.RetrieveInvoiceSwishQRCodeFailure, props());
877
+ const retrieveInvoiceSwishQRCodeSuccessAction = createAction(InvoiceActionType.RetrieveInvoiceSwishQRCodeSuccess, props());
878
+ const retrievePublicPaymentOrderPaymentAttemptAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderPaymentAttempt, props());
879
+ const retrievePublicPaymentOrderPaymentAttemptFailureAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderPaymentAttemptFailure, props());
880
+ const retrievePublicPaymentOrderPaymentAttemptSuccessAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderPaymentAttemptSuccess, props());
881
+ const retrievePublicPaymentOrderSwishQRCodeAction = createAction(InvoiceActionType.RetrievePublicPaymentOrderSwishQRCode, props());
882
+ const retrievePaymentOrderSwishQRCodeFailureAction = createAction(InvoiceActionType.RetrievePaymentOrderSwishQRCodeFailure, props());
883
+ const retrievePaymentOrderSwishQRCodeSuccessAction = createAction(InvoiceActionType.RetrievePaymentOrderSwishQRCodeSuccess, props());
786
884
 
787
885
  var MemberActionType;
788
886
  (function (MemberActionType) {
@@ -1548,7 +1646,7 @@ class ActivityType {
1548
1646
  name;
1549
1647
  is_available_for_booking;
1550
1648
  color;
1551
- constructor(id, club_id, section_id, active, base_type, name, is_available_for_booking = true, color = '#FFFFFF') {
1649
+ constructor(id, club_id, section_id, active, base_type, name, is_available_for_booking = true, color = '#AAAAAA') {
1552
1650
  this.id = id;
1553
1651
  this.club_id = club_id;
1554
1652
  this.section_id = section_id;
@@ -1567,7 +1665,7 @@ class ActivityType {
1567
1665
  base_type: new FormControl(type?.base_type || ''),
1568
1666
  name: new FormControl(type?.name || '', Validators.required),
1569
1667
  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 || '#FFFFFF'),
1668
+ color: new FormControl(type?.color || '#AAAAAA'),
1571
1669
  });
1572
1670
  }
1573
1671
  }
@@ -1723,6 +1821,7 @@ class BookableItem {
1723
1821
  description;
1724
1822
  tags;
1725
1823
  parts;
1824
+ next_available_datetime;
1726
1825
  static asFormGroup(bookable) {
1727
1826
  const tags = [];
1728
1827
  const parts = [];
@@ -1744,7 +1843,7 @@ class BookableItem {
1744
1843
  parts: new FormArray(parts),
1745
1844
  });
1746
1845
  }
1747
- constructor(id, club_id, section_id, group_id, active, name, location_id, description, tags, parts) {
1846
+ constructor(id, club_id, section_id, group_id, active, name, location_id, description, tags, parts, next_available_datetime) {
1748
1847
  this.id = id;
1749
1848
  this.club_id = club_id;
1750
1849
  this.section_id = section_id;
@@ -1755,6 +1854,7 @@ class BookableItem {
1755
1854
  this.description = description;
1756
1855
  this.tags = tags;
1757
1856
  this.parts = parts;
1857
+ this.next_available_datetime = next_available_datetime;
1758
1858
  }
1759
1859
  }
1760
1860
 
@@ -1797,6 +1897,8 @@ class BookingCalendar {
1797
1897
  allow_team_export;
1798
1898
  allow_repeated_bookings;
1799
1899
  is_default;
1900
+ payment_limit_in_minutes;
1901
+ price_per_hour;
1800
1902
  available_for_teams;
1801
1903
  bookable_groups;
1802
1904
  type;
@@ -1831,9 +1933,11 @@ class BookingCalendar {
1831
1933
  allow_team_export: new FormControl(calendar?.allow_team_export || false),
1832
1934
  allow_repeated_bookings: new FormControl(calendar?.allow_repeated_bookings || false),
1833
1935
  type: new FormControl(calendar?.type || null),
1936
+ price_per_hour: new FormControl(calendar?.price_per_hour || 0),
1937
+ payment_limit_in_minutes: new FormControl(calendar?.payment_limit_in_minutes || 0),
1834
1938
  });
1835
1939
  }
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) {
1940
+ 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
1941
  this.id = id;
1838
1942
  this.club_id = club_id;
1839
1943
  this.section_id = section_id;
@@ -1847,6 +1951,8 @@ class BookingCalendar {
1847
1951
  this.allow_team_export = allow_team_export;
1848
1952
  this.allow_repeated_bookings = allow_repeated_bookings;
1849
1953
  this.is_default = is_default;
1954
+ this.payment_limit_in_minutes = payment_limit_in_minutes;
1955
+ this.price_per_hour = price_per_hour;
1850
1956
  this.available_for_teams = available_for_teams;
1851
1957
  this.bookable_groups = bookable_groups;
1852
1958
  this.type = type;
@@ -1877,6 +1983,7 @@ class BookingCalendarApplicationTime {
1877
1983
  slot_last_repeating_date;
1878
1984
  created;
1879
1985
  bookable_zones_taken;
1986
+ bookable_zones_taken_display;
1880
1987
  bookable_part_id;
1881
1988
  bookable_part_name;
1882
1989
  bookable_id;
@@ -1884,6 +1991,7 @@ class BookingCalendarApplicationTime {
1884
1991
  member_id;
1885
1992
  member_name;
1886
1993
  member_email;
1994
+ price;
1887
1995
  static asFormGroup(session) {
1888
1996
  return new FormGroup({
1889
1997
  id: new FormControl(session?.id || ''),
@@ -1905,7 +2013,7 @@ class BookingCalendarApplicationTime {
1905
2013
  member_id: new FormControl(session?.member_id || ''),
1906
2014
  });
1907
2015
  }
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) {
2016
+ 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
2017
  this.id = id;
1910
2018
  this.section_id = section_id;
1911
2019
  this.slot_id = slot_id;
@@ -1928,6 +2036,7 @@ class BookingCalendarApplicationTime {
1928
2036
  this.slot_last_repeating_date = slot_last_repeating_date;
1929
2037
  this.created = created;
1930
2038
  this.bookable_zones_taken = bookable_zones_taken;
2039
+ this.bookable_zones_taken_display = bookable_zones_taken_display;
1931
2040
  this.bookable_part_id = bookable_part_id;
1932
2041
  this.bookable_part_name = bookable_part_name;
1933
2042
  this.bookable_id = bookable_id;
@@ -1935,6 +2044,7 @@ class BookingCalendarApplicationTime {
1935
2044
  this.member_id = member_id;
1936
2045
  this.member_name = member_name;
1937
2046
  this.member_email = member_email;
2047
+ this.price = price;
1938
2048
  }
1939
2049
  }
1940
2050
 
@@ -1964,6 +2074,7 @@ class BookingCalendarSlot {
1964
2074
  last_repeating_date;
1965
2075
  bookable_name;
1966
2076
  bookable_id;
2077
+ price;
1967
2078
  static asFormGroup(slot) {
1968
2079
  return new FormGroup({
1969
2080
  id: new FormControl(slot?.id || ''),
@@ -1984,9 +2095,10 @@ class BookingCalendarSlot {
1984
2095
  reserved_time: new FormControl(moment(slot?.reserved_time || '00:00', 'HH:mm')),
1985
2096
  reserved_time_position: new FormControl(slot?.reserved_time_position || ''),
1986
2097
  bookable_id: new FormControl(slot?.bookable_id || '', Validators.required),
2098
+ price: new FormControl(slot?.price || null),
1987
2099
  });
1988
2100
  }
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) {
2101
+ 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
2102
  this.id = id;
1991
2103
  this.calendar_id = calendar_id;
1992
2104
  this.calendar_status = calendar_status;
@@ -2012,6 +2124,7 @@ class BookingCalendarSlot {
2012
2124
  this.last_repeating_date = last_repeating_date;
2013
2125
  this.bookable_name = bookable_name;
2014
2126
  this.bookable_id = bookable_id;
2127
+ this.price = price;
2015
2128
  }
2016
2129
  }
2017
2130
 
@@ -2037,6 +2150,7 @@ class BookingCalendarSlotSession {
2037
2150
  update_repeating;
2038
2151
  update_until_date;
2039
2152
  bookable_zones_taken;
2153
+ bookable_zones_taken_display;
2040
2154
  bookable_part_id;
2041
2155
  bookable_part_name;
2042
2156
  bookable_name;
@@ -2044,6 +2158,8 @@ class BookingCalendarSlotSession {
2044
2158
  member_id;
2045
2159
  member_name;
2046
2160
  member_email;
2161
+ price;
2162
+ payment_order_id;
2047
2163
  static asFormGroup(session) {
2048
2164
  return new FormGroup({
2049
2165
  id: new FormControl(session?.id || ''),
@@ -2068,7 +2184,7 @@ class BookingCalendarSlotSession {
2068
2184
  member_id: new FormControl(session?.member_id || '')
2069
2185
  });
2070
2186
  }
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) {
2187
+ 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
2188
  this.id = id;
2073
2189
  this.section_id = section_id;
2074
2190
  this.slot_id = slot_id;
@@ -2090,6 +2206,7 @@ class BookingCalendarSlotSession {
2090
2206
  this.update_repeating = update_repeating;
2091
2207
  this.update_until_date = update_until_date;
2092
2208
  this.bookable_zones_taken = bookable_zones_taken;
2209
+ this.bookable_zones_taken_display = bookable_zones_taken_display;
2093
2210
  this.bookable_part_id = bookable_part_id;
2094
2211
  this.bookable_part_name = bookable_part_name;
2095
2212
  this.bookable_name = bookable_name;
@@ -2097,6 +2214,8 @@ class BookingCalendarSlotSession {
2097
2214
  this.member_id = member_id;
2098
2215
  this.member_name = member_name;
2099
2216
  this.member_email = member_email;
2217
+ this.price = price;
2218
+ this.payment_order_id = payment_order_id;
2100
2219
  }
2101
2220
  }
2102
2221
 
@@ -2157,6 +2276,9 @@ class BookingSlotFilter {
2157
2276
  static fromFilter(filter) {
2158
2277
  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
2278
  }
2279
+ static fromDates(startDate, endDate, calendarIds, hasOpenSessions = null, showApplicationTimes = null) {
2280
+ return new this(startDate, endDate, calendarIds, null, null, null, null, null, null, hasOpenSessions, showApplicationTimes);
2281
+ }
2160
2282
  toParams() {
2161
2283
  const params = { limit: 'null' };
2162
2284
  if (this.startDate) {
@@ -2864,15 +2986,17 @@ class PaymentAttempt {
2864
2986
  amount;
2865
2987
  error;
2866
2988
  invoiceId;
2989
+ paymentOrderId;
2867
2990
  paidDate;
2868
2991
  paymentData;
2869
2992
  status;
2870
2993
  type;
2871
- constructor(id, amount, error, invoiceId, paidDate, paymentData, status, type) {
2994
+ constructor(id, amount, error, invoiceId, paymentOrderId, paidDate, paymentData, status, type) {
2872
2995
  this.id = id;
2873
2996
  this.amount = amount;
2874
2997
  this.error = error;
2875
2998
  this.invoiceId = invoiceId;
2999
+ this.paymentOrderId = paymentOrderId;
2876
3000
  this.paidDate = paidDate;
2877
3001
  this.paymentData = paymentData;
2878
3002
  this.status = status;
@@ -2880,6 +3004,31 @@ class PaymentAttempt {
2880
3004
  }
2881
3005
  }
2882
3006
 
3007
+ class PaymentOrder {
3008
+ id;
3009
+ amount;
3010
+ creditCard;
3011
+ clubName;
3012
+ isPaid;
3013
+ memberId;
3014
+ organisationName;
3015
+ swish;
3016
+ full_title;
3017
+ pay_until;
3018
+ constructor(id, amount, creditCard, clubName, isPaid, memberId, organisationName, swish, full_title, pay_until) {
3019
+ this.id = id;
3020
+ this.amount = amount;
3021
+ this.creditCard = creditCard;
3022
+ this.clubName = clubName;
3023
+ this.isPaid = isPaid;
3024
+ this.memberId = memberId;
3025
+ this.organisationName = organisationName;
3026
+ this.swish = swish;
3027
+ this.full_title = full_title;
3028
+ this.pay_until = pay_until;
3029
+ }
3030
+ }
3031
+
2883
3032
  class CreditCard {
2884
3033
  clubId;
2885
3034
  sectionId;
@@ -3971,7 +4120,7 @@ const bookableTagFactory = (apiBookableTag) => {
3971
4120
  return new BookableTag(apiBookableTag.id, apiBookableTag.club_id, apiBookableTag.section_id, apiBookableTag.name, apiBookableTag.bookable_item_names);
3972
4121
  };
3973
4122
 
3974
- const bookableItemFactory = (apiBookableItem) => new BookableItem(apiBookableItem.id, apiBookableItem.club_id, apiBookableItem.section_id, apiBookableItem.group_id, apiBookableItem.active, apiBookableItem.name, apiBookableItem.location_id, apiBookableItem.description, apiBookableItem.tags && apiBookableItem.tags.length > 0 ? apiBookableItem.tags.map((apiBookableTag) => bookableTagFactory(apiBookableTag)) : [], apiBookableItem.parts && apiBookableItem.parts.length > 0 ? apiBookableItem.parts.map((apiBookablePart) => bookablePartFactory(apiBookablePart)) : []);
4123
+ const bookableItemFactory = (apiBookableItem) => new BookableItem(apiBookableItem.id, apiBookableItem.club_id, apiBookableItem.section_id, apiBookableItem.group_id, apiBookableItem.active, apiBookableItem.name, apiBookableItem.location_id, apiBookableItem.description, apiBookableItem.tags && apiBookableItem.tags.length > 0 ? apiBookableItem.tags.map((apiBookableTag) => bookableTagFactory(apiBookableTag)) : [], apiBookableItem.parts && apiBookableItem.parts.length > 0 ? apiBookableItem.parts.map((apiBookablePart) => bookablePartFactory(apiBookablePart)) : [], apiBookableItem.next_available_datetime);
3975
4124
 
3976
4125
  const bookableGroupFactory = (apiBookableGroup) => {
3977
4126
  return new BookableGroup(apiBookableGroup.id, apiBookableGroup.club_id, apiBookableGroup.section_id, apiBookableGroup.active, apiBookableGroup.name, apiBookableGroup.bookable_items && apiBookableGroup.bookable_items.length ? apiBookableGroup.bookable_items.map((apiBookableItem) => bookableItemFactory(apiBookableItem)) : []);
@@ -3983,13 +4132,13 @@ const sectionFactory = (apiSection) => new Section(apiSection.id, apiSection.nam
3983
4132
 
3984
4133
  const searchTeamFactory = (apiSearchTeam) => new SearchTeam(apiSearchTeam.club ? clubFactory(apiSearchTeam.club) : undefined, apiSearchTeam.section ? sectionFactory(apiSearchTeam.section) : undefined, apiSearchTeam.id, apiSearchTeam.club_name, apiSearchTeam.name, apiSearchTeam.section_name, apiSearchTeam.show_memberships);
3985
4134
 
3986
- const bookingCalendarFactory = (apiBookingCalendar) => new BookingCalendar(apiBookingCalendar.id, apiBookingCalendar.club_id, apiBookingCalendar.section_id, apiBookingCalendar.team_id, apiBookingCalendar.club_name, apiBookingCalendar.name, apiBookingCalendar.section_name, apiBookingCalendar.team_name, apiBookingCalendar.status, apiBookingCalendar.max_application_number, apiBookingCalendar.allow_team_export, apiBookingCalendar.allow_repeated_bookings, apiBookingCalendar.is_default, apiBookingCalendar.available_for_teams && apiBookingCalendar.available_for_teams.length ? apiBookingCalendar.available_for_teams.map((apiSearchTeam) => searchTeamFactory(apiSearchTeam)) : [], apiBookingCalendar.bookable_groups && apiBookingCalendar.bookable_groups.length ? apiBookingCalendar.bookable_groups.map((apiBookableGroup) => bookableGroupFactory(apiBookableGroup)) : [], apiBookingCalendar.type, apiBookingCalendar.type_display);
4135
+ const bookingCalendarFactory = (apiBookingCalendar) => new BookingCalendar(apiBookingCalendar.id, apiBookingCalendar.club_id, apiBookingCalendar.section_id, apiBookingCalendar.team_id, apiBookingCalendar.club_name, apiBookingCalendar.name, apiBookingCalendar.section_name, apiBookingCalendar.team_name, apiBookingCalendar.status, apiBookingCalendar.max_application_number, apiBookingCalendar.allow_team_export, apiBookingCalendar.allow_repeated_bookings, apiBookingCalendar.is_default, apiBookingCalendar.payment_limit_in_minutes, apiBookingCalendar.price_per_hour, apiBookingCalendar.available_for_teams && apiBookingCalendar.available_for_teams.length ? apiBookingCalendar.available_for_teams.map((apiSearchTeam) => searchTeamFactory(apiSearchTeam)) : [], apiBookingCalendar.bookable_groups && apiBookingCalendar.bookable_groups.length ? apiBookingCalendar.bookable_groups.map((apiBookableGroup) => bookableGroupFactory(apiBookableGroup)) : [], apiBookingCalendar.type, apiBookingCalendar.type_display);
3987
4136
 
3988
- const bookingCalendarApplicationTimeFactory = (apiBookingApplicationTime) => new BookingCalendarApplicationTime(apiBookingApplicationTime.id, apiBookingApplicationTime.section_id, apiBookingApplicationTime.slot_id, apiBookingApplicationTime.team_id, apiBookingApplicationTime.title, apiBookingApplicationTime.end_time, apiBookingApplicationTime.section_name, apiBookingApplicationTime.start_time, apiBookingApplicationTime.team_name, apiBookingApplicationTime.applicant_comment, apiBookingApplicationTime.reviewer_comment, apiBookingApplicationTime.status, apiBookingApplicationTime.repeat, apiBookingApplicationTime.activity_type_id, apiBookingApplicationTime.color, apiBookingApplicationTime.slot_start_time, apiBookingApplicationTime.slot_end_time, apiBookingApplicationTime.slot_day, apiBookingApplicationTime.slot_number_of_available_sessions, apiBookingApplicationTime.slot_last_repeating_date, apiBookingApplicationTime.created, apiBookingApplicationTime.bookable_zones_taken, apiBookingApplicationTime.bookable_part_id, apiBookingApplicationTime.bookable_part_name, apiBookingApplicationTime.bookable_id, apiBookingApplicationTime.bookable_name, apiBookingApplicationTime.member_id, apiBookingApplicationTime.member_name, apiBookingApplicationTime.member_email);
4137
+ const bookingCalendarApplicationTimeFactory = (apiBookingApplicationTime) => new BookingCalendarApplicationTime(apiBookingApplicationTime.id, apiBookingApplicationTime.section_id, apiBookingApplicationTime.slot_id, apiBookingApplicationTime.team_id, apiBookingApplicationTime.title, apiBookingApplicationTime.end_time, apiBookingApplicationTime.section_name, apiBookingApplicationTime.start_time, apiBookingApplicationTime.team_name, apiBookingApplicationTime.applicant_comment, apiBookingApplicationTime.reviewer_comment, apiBookingApplicationTime.status, apiBookingApplicationTime.repeat, apiBookingApplicationTime.activity_type_id, apiBookingApplicationTime.color, apiBookingApplicationTime.slot_start_time, apiBookingApplicationTime.slot_end_time, apiBookingApplicationTime.slot_day, apiBookingApplicationTime.slot_number_of_available_sessions, apiBookingApplicationTime.slot_last_repeating_date, apiBookingApplicationTime.created, apiBookingApplicationTime.bookable_zones_taken, apiBookingApplicationTime.bookable_zones_taken_display, apiBookingApplicationTime.bookable_part_id, apiBookingApplicationTime.bookable_part_name, apiBookingApplicationTime.bookable_id, apiBookingApplicationTime.bookable_name, apiBookingApplicationTime.member_id, apiBookingApplicationTime.member_name, apiBookingApplicationTime.member_email, apiBookingApplicationTime.price);
3989
4138
 
3990
- const bookingCalendarSlotSessionFactory = (apiBookingSlotSession) => new BookingCalendarSlotSession(apiBookingSlotSession.id, apiBookingSlotSession.section_id, apiBookingSlotSession.slot_id, apiBookingSlotSession.team_id, apiBookingSlotSession.title, apiBookingSlotSession.end_time, apiBookingSlotSession.section_name, apiBookingSlotSession.start_time, apiBookingSlotSession.team_name, apiBookingSlotSession.is_overbooked, apiBookingSlotSession.last_repeating_date, apiBookingSlotSession.type, apiBookingSlotSession.slot_index, apiBookingSlotSession.comment, apiBookingSlotSession.day, apiBookingSlotSession.repeat, apiBookingSlotSession.activity_type_id, apiBookingSlotSession.color, apiBookingSlotSession.update_repeating, apiBookingSlotSession.update_until_date, apiBookingSlotSession.bookable_zones_taken, apiBookingSlotSession.bookable_part_id, apiBookingSlotSession.bookable_part_name, apiBookingSlotSession.bookable_name, apiBookingSlotSession.bookable_id, apiBookingSlotSession.member_id, apiBookingSlotSession.member_name, apiBookingSlotSession.member_email);
4139
+ const bookingCalendarSlotSessionFactory = (apiBookingSlotSession) => new BookingCalendarSlotSession(apiBookingSlotSession.id, apiBookingSlotSession.section_id, apiBookingSlotSession.slot_id, apiBookingSlotSession.team_id, apiBookingSlotSession.title, apiBookingSlotSession.end_time, apiBookingSlotSession.section_name, apiBookingSlotSession.start_time, apiBookingSlotSession.team_name, apiBookingSlotSession.is_overbooked, apiBookingSlotSession.last_repeating_date, apiBookingSlotSession.type, apiBookingSlotSession.slot_index, apiBookingSlotSession.comment, apiBookingSlotSession.day, apiBookingSlotSession.repeat, apiBookingSlotSession.activity_type_id, apiBookingSlotSession.color, apiBookingSlotSession.update_repeating, apiBookingSlotSession.update_until_date, apiBookingSlotSession.bookable_zones_taken, apiBookingSlotSession.bookable_zones_taken_display, apiBookingSlotSession.bookable_part_id, apiBookingSlotSession.bookable_part_name, apiBookingSlotSession.bookable_name, apiBookingSlotSession.bookable_id, apiBookingSlotSession.member_id, apiBookingSlotSession.member_name, apiBookingSlotSession.member_email, apiBookingSlotSession.price, apiBookingSlotSession.payment_order_id);
3991
4140
 
3992
- const bookingCalendarSlotFactory = (apiBookingSlot) => new BookingCalendarSlot(apiBookingSlot.id, apiBookingSlot.calendar_id, apiBookingSlot.calendar_status, apiBookingSlot.color, apiBookingSlot.day, apiBookingSlot.end_time, apiBookingSlot.group_id, apiBookingSlot.number_of_available_sessions, apiBookingSlot.sessions && apiBookingSlot.sessions.length ? apiBookingSlot.sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.open_sessions && apiBookingSlot.open_sessions.length ? apiBookingSlot.open_sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.start_time, apiBookingSlot.type, 'none', apiBookingSlot.update_repeating, apiBookingSlot.update_until_date, false, 6, format(new Date(), 'yyyy-MM-dd'), 'repeat_until', apiBookingSlot.reserved_time, apiBookingSlot.reserved_time_position, apiBookingSlot.application_times && apiBookingSlot.application_times.length ? apiBookingSlot.application_times.map((apiBookingApplicationTime) => bookingCalendarApplicationTimeFactory(apiBookingApplicationTime)) : [], apiBookingSlot.last_repeating_date, apiBookingSlot.bookable_name, apiBookingSlot.bookable_id);
4141
+ const bookingCalendarSlotFactory = (apiBookingSlot) => new BookingCalendarSlot(apiBookingSlot.id, apiBookingSlot.calendar_id, apiBookingSlot.calendar_status, apiBookingSlot.color, apiBookingSlot.day, apiBookingSlot.end_time, apiBookingSlot.group_id, apiBookingSlot.number_of_available_sessions, apiBookingSlot.sessions && apiBookingSlot.sessions.length ? apiBookingSlot.sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.open_sessions && apiBookingSlot.open_sessions.length ? apiBookingSlot.open_sessions.map((apiBookingSlotSession) => bookingCalendarSlotSessionFactory(apiBookingSlotSession)) : [], apiBookingSlot.start_time, apiBookingSlot.type, 'none', apiBookingSlot.update_repeating, apiBookingSlot.update_until_date, false, 6, format(new Date(), 'yyyy-MM-dd'), 'repeat_until', apiBookingSlot.reserved_time, apiBookingSlot.reserved_time_position, apiBookingSlot.application_times && apiBookingSlot.application_times.length ? apiBookingSlot.application_times.map((apiBookingApplicationTime) => bookingCalendarApplicationTimeFactory(apiBookingApplicationTime)) : [], apiBookingSlot.last_repeating_date, apiBookingSlot.bookable_name, apiBookingSlot.bookable_id, apiBookingSlot.price);
3993
4142
 
3994
4143
  const bookingSettingsFactory = (apiBookingSettings) => new BookingSettings(apiBookingSettings.id, apiBookingSettings.calendar_step, apiBookingSettings.calendar_min_time, apiBookingSettings.calendar_max_time, apiBookingSettings.calendar_session_duration, apiBookingSettings.should_split_booking_into_zones);
3995
4144
 
@@ -4116,7 +4265,7 @@ const paymentAttemptFactory = (apiPaymentAttempt) => {
4116
4265
  userFormUrl: apiPaymentAttempt.payment_data.user_form_url
4117
4266
  };
4118
4267
  }
4119
- return new PaymentAttempt(apiPaymentAttempt.id, apiPaymentAttempt.amount, apiPaymentAttempt.error, apiPaymentAttempt.invoice_id, apiPaymentAttempt.paid_date, paymentAttemptData, apiPaymentAttempt.status, apiPaymentAttempt.type);
4268
+ return new PaymentAttempt(apiPaymentAttempt.id, apiPaymentAttempt.amount, apiPaymentAttempt.error, apiPaymentAttempt.invoice_id, apiPaymentAttempt.payment_order_id, apiPaymentAttempt.paid_date, paymentAttemptData, apiPaymentAttempt.status, apiPaymentAttempt.type);
4120
4269
  };
4121
4270
 
4122
4271
  const publicAuthenticationFactory = (publicToken) => new PublicAuthentication(publicToken.token, publicToken.token_expires);
@@ -4297,6 +4446,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
4297
4446
  }]
4298
4447
  }], ctorParameters: () => [{ type: ApiService }] });
4299
4448
 
4449
+ const invalidRoleError = new Error("Invalid role provided");
4450
+
4300
4451
  const PUBLIC_ACTIVITY_INVITE_PATH = 'activities/:id/:token/';
4301
4452
  const PUBLIC_OPEN_ACTIVITIES_PATH = 'open-activities/';
4302
4453
  const PUBLIC_OPEN_ACTIVITIES_ACTIVITY_TYPES_PATH = 'open-activities/types/';
@@ -4498,8 +4649,10 @@ class ActivityService {
4498
4649
  return this.getSectionActivityLocations(itemId, force);
4499
4650
  case Role.TeamAdmin:
4500
4651
  return this.getTeamActivityLocations(itemId, force);
4501
- default:
4652
+ case Role.MemberAdmin:
4502
4653
  return this.getMemberActivityLocations(itemId, force);
4654
+ default:
4655
+ throw invalidRoleError;
4503
4656
  }
4504
4657
  }
4505
4658
  getTeamActivityLocations(teamId, force = false) {
@@ -4546,8 +4699,10 @@ class ActivityService {
4546
4699
  switch (role) {
4547
4700
  case Role.ClubAdmin:
4548
4701
  return this.updateClubActivityLocation(clubOrSectionOrTeamId, location);
4549
- default:
4702
+ case Role.SectionAdmin:
4550
4703
  return this.updateSectionActivityLocation(clubOrSectionOrTeamId, location);
4704
+ default:
4705
+ throw invalidRoleError;
4551
4706
  }
4552
4707
  }
4553
4708
  updateClubActivityLocation(clubId, location) {
@@ -4590,8 +4745,10 @@ class ActivityService {
4590
4745
  return this.getSectionActivitySettings(itemId);
4591
4746
  case Role.TeamAdmin:
4592
4747
  return this.getTeamActivitySettings(itemId);
4593
- default:
4748
+ case Role.MemberAdmin:
4594
4749
  return this.getMemberActivitySettings(itemId);
4750
+ default:
4751
+ throw invalidRoleError;
4595
4752
  }
4596
4753
  }
4597
4754
  getTeamActivitySettings(teamId) {
@@ -4624,8 +4781,10 @@ class ActivityService {
4624
4781
  return this.getSectionActivityTypes(itemId);
4625
4782
  case Role.TeamAdmin:
4626
4783
  return this.getTeamActivityTypes(itemId);
4627
- default:
4784
+ case Role.MemberAdmin:
4628
4785
  return this.getMemberActivityTypes(itemId);
4786
+ default:
4787
+ throw invalidRoleError;
4629
4788
  }
4630
4789
  }
4631
4790
  getTeamActivityTypes(teamId) {
@@ -4648,8 +4807,10 @@ class ActivityService {
4648
4807
  switch (role) {
4649
4808
  case Role.ClubAdmin:
4650
4809
  return this.updateClubActivityType(clubOrSectionOrTeamId, activityType);
4651
- default:
4810
+ case Role.SectionAdmin:
4652
4811
  return this.updateSectionActivityType(clubOrSectionOrTeamId, activityType);
4812
+ default:
4813
+ throw invalidRoleError;
4653
4814
  }
4654
4815
  }
4655
4816
  updateClubActivityType(clubId, activityType) {
@@ -4850,6 +5011,7 @@ const TEAM_BOOKABLE_GROUPS_PATH = ':teamId/activities/bookables/groups/';
4850
5011
  const TEAM_BOOKABLE_TAGS_PATH = ':teamId/activities/bookables/tags/';
4851
5012
  const TEAM_BOOKABLE_PARTS_PATH = ':teamId/activities/bookables/:bookableId/parts/';
4852
5013
  const MEMBER_BOOKABLES_PATH = ':memberId/activities/bookables/';
5014
+ const MEMBER_BOOKABLE_PATH = ':memberId/activities/bookables/:bookableId/';
4853
5015
  const MEMBER_BOOKABLE_GROUPS_PATH = ':memberId/activities/bookables/groups/';
4854
5016
  const MEMBER_BOOKABLE_TAGS_PATH = ':memberId/activities/bookables/tags/';
4855
5017
  const MEMBER_BOOKABLE_PARTS_PATH = ':memberId/activities/bookables/:bookableId/parts/';
@@ -4867,17 +5029,23 @@ class BookableService {
4867
5029
  return this.getSectionBookableItems(itemId);
4868
5030
  case Role.TeamAdmin:
4869
5031
  return this.getTeamBookableItems(itemId);
4870
- default:
5032
+ case Role.MemberAdmin:
4871
5033
  return this.getMemberBookableItems(itemId);
5034
+ default:
5035
+ throw invalidRoleError;
4872
5036
  }
4873
5037
  }
4874
5038
  getTeamBookableItems(teamId) {
4875
5039
  return this.apiService
4876
5040
  .getCollection(bookableItemFactory, Role.TeamAdmin, TEAM_BOOKABLES_PATH, { teamId }, { params: { limit: 'null' } });
4877
5041
  }
4878
- getMemberBookableItems(memberId) {
5042
+ getMemberBookableItems(memberId, date = null) {
5043
+ const params = { limit: 'null', has_available_sessions: 'true' };
5044
+ if (date) {
5045
+ params['day'] = date;
5046
+ }
4879
5047
  return this.apiService
4880
- .getCollection(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLES_PATH, { memberId }, { params: { limit: 'null' } });
5048
+ .getCollection(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLES_PATH, { memberId }, { params: params });
4881
5049
  }
4882
5050
  getClubBookableItems(clubId) {
4883
5051
  return this.apiService
@@ -4887,12 +5055,18 @@ class BookableService {
4887
5055
  return this.apiService
4888
5056
  .getCollection(bookableItemFactory, Role.SectionAdmin, SECTION_BOOKABLES_PATH, { sectionId }, { params: { limit: 'null' } });
4889
5057
  }
5058
+ getMemberBookableItem(memberId, bookableId) {
5059
+ return this.apiService
5060
+ .getResource(bookableItemFactory, Role.MemberAdmin, MEMBER_BOOKABLE_PATH, { memberId, bookableId });
5061
+ }
4890
5062
  updateBookableItem(role, clubOrSectionOrTeamId, bookableItem) {
4891
5063
  switch (role) {
4892
5064
  case Role.ClubAdmin:
4893
5065
  return this.updateClubBookableItem(clubOrSectionOrTeamId, bookableItem);
4894
- default:
5066
+ case Role.SectionAdmin:
4895
5067
  return this.updateSectionBookableItem(clubOrSectionOrTeamId, bookableItem);
5068
+ default:
5069
+ throw invalidRoleError;
4896
5070
  }
4897
5071
  }
4898
5072
  updateClubBookableItem(clubId, bookableItem) {
@@ -4913,8 +5087,10 @@ class BookableService {
4913
5087
  switch (role) {
4914
5088
  case Role.ClubAdmin:
4915
5089
  return this.createClubBookableItem(clubOrSectionOrTeamId, bookableItem);
4916
- default:
5090
+ case Role.SectionAdmin:
4917
5091
  return this.createSectionBookableItem(clubOrSectionOrTeamId, bookableItem);
5092
+ default:
5093
+ throw invalidRoleError;
4918
5094
  }
4919
5095
  }
4920
5096
  createClubBookableItem(clubId, bookableItem) {
@@ -4941,8 +5117,10 @@ class BookableService {
4941
5117
  return this.getSectionBookableGroups(itemId);
4942
5118
  case Role.TeamAdmin:
4943
5119
  return this.getTeamBookableGroups(itemId);
4944
- default:
5120
+ case Role.MemberAdmin:
4945
5121
  return this.getMemberBookableGroups(itemId);
5122
+ default:
5123
+ throw invalidRoleError;
4946
5124
  }
4947
5125
  }
4948
5126
  getClubBookableGroups(clubId) {
@@ -4965,8 +5143,10 @@ class BookableService {
4965
5143
  switch (role) {
4966
5144
  case Role.ClubAdmin:
4967
5145
  return this.updateClubBookableGroup(clubOrSectionOrTeamId, bookableGroup);
4968
- default:
5146
+ case Role.SectionAdmin:
4969
5147
  return this.updateSectionBookableGroup(clubOrSectionOrTeamId, bookableGroup);
5148
+ default:
5149
+ throw invalidRoleError;
4970
5150
  }
4971
5151
  }
4972
5152
  updateClubBookableGroup(clubId, bookableGroup) {
@@ -4987,8 +5167,10 @@ class BookableService {
4987
5167
  switch (role) {
4988
5168
  case Role.ClubAdmin:
4989
5169
  return this.createClubBookableGroup(clubOrSectionOrTeamId, bookableGroup);
4990
- default:
5170
+ case Role.SectionAdmin:
4991
5171
  return this.createSectionBookableGroup(clubOrSectionOrTeamId, bookableGroup);
5172
+ default:
5173
+ throw invalidRoleError;
4992
5174
  }
4993
5175
  }
4994
5176
  createClubBookableGroup(clubId, bookableGroup) {
@@ -5015,8 +5197,10 @@ class BookableService {
5015
5197
  return this.getSectionBookableTags(itemId);
5016
5198
  case Role.TeamAdmin:
5017
5199
  return this.getTeamBookableTags(itemId);
5018
- default:
5200
+ case Role.MemberAdmin:
5019
5201
  return this.getMemberBookableTags(itemId);
5202
+ default:
5203
+ throw invalidRoleError;
5020
5204
  }
5021
5205
  }
5022
5206
  getClubBookableTags(clubId) {
@@ -5043,8 +5227,10 @@ class BookableService {
5043
5227
  return this.createSectionBookableTag(itemId, tag);
5044
5228
  case Role.TeamAdmin:
5045
5229
  return this.createTeamBookableTag(itemId, tag);
5046
- default:
5230
+ case Role.MemberAdmin:
5047
5231
  return this.createMemberBookableTag(itemId, tag);
5232
+ default:
5233
+ throw invalidRoleError;
5048
5234
  }
5049
5235
  }
5050
5236
  createClubBookableTag(clubId, tag) {
@@ -5071,8 +5257,10 @@ class BookableService {
5071
5257
  switch (role) {
5072
5258
  case Role.ClubAdmin:
5073
5259
  return this.updateClubBookableTag(clubOrSectionOrTeamId, tag);
5074
- default:
5260
+ case Role.SectionAdmin:
5075
5261
  return this.updateSectionBookableTag(clubOrSectionOrTeamId, tag);
5262
+ default:
5263
+ throw invalidRoleError;
5076
5264
  }
5077
5265
  }
5078
5266
  updateClubBookableTag(clubId, tag) {
@@ -5093,8 +5281,10 @@ class BookableService {
5093
5281
  switch (role) {
5094
5282
  case Role.ClubAdmin:
5095
5283
  return this.deleteClubBookableTag(clubOrSectionOrTeamId, tag);
5096
- default:
5284
+ case Role.SectionAdmin:
5097
5285
  return this.deleteSectionBookableTag(clubOrSectionOrTeamId, tag);
5286
+ default:
5287
+ throw invalidRoleError;
5098
5288
  }
5099
5289
  }
5100
5290
  deleteClubBookableTag(clubId, tag) {
@@ -5121,8 +5311,10 @@ class BookableService {
5121
5311
  return this.getSectionBookableParts(itemId, bookableId);
5122
5312
  case Role.TeamAdmin:
5123
5313
  return this.getTeamBookableParts(itemId, bookableId);
5124
- default:
5314
+ case Role.MemberAdmin:
5125
5315
  return this.getMemberBookableParts(itemId, bookableId);
5316
+ default:
5317
+ throw invalidRoleError;
5126
5318
  }
5127
5319
  }
5128
5320
  getClubBookableParts(clubId, bookableId) {
@@ -5204,6 +5396,7 @@ const MEMBER_BOOKING_CALENDAR_SLOT_SESSION_PATH = ':memberId/activities/sessions
5204
5396
  const MEMBER_BOOKING_CALENDAR_SLOT_PATH = ':memberId/activities/slots/:id/';
5205
5397
  const MEMBER_BOOKING_CALENDAR_APPLICATION_TIMES_PATH = ':memberId/activities/application-times/';
5206
5398
  const MEMBER_BOOKING_CALENDAR_APPLICATION_TIME_PATH = ':memberId/activities/application-times/:id/';
5399
+ const MEMBER_BOOKING_CALENDAR_BOOKABLE_SLOTS_PATH = ':memberId/activities/bookables/:bookableId/slots/';
5207
5400
  class BookingCalendarService {
5208
5401
  apiService;
5209
5402
  constructor(apiService) {
@@ -5214,8 +5407,10 @@ class BookingCalendarService {
5214
5407
  switch (role) {
5215
5408
  case Role.ClubAdmin:
5216
5409
  return this.createClubBookingCalendar(clubOrSectionOrTeamId, calendar);
5217
- default:
5410
+ case Role.SectionAdmin:
5218
5411
  return this.createSectionBookingCalendar(clubOrSectionOrTeamId, calendar);
5412
+ default:
5413
+ throw invalidRoleError;
5219
5414
  }
5220
5415
  }
5221
5416
  createClubBookingCalendar(clubId, calendar) {
@@ -5240,8 +5435,10 @@ class BookingCalendarService {
5240
5435
  return this.getSectionBookingCalendars(itemId, name);
5241
5436
  case Role.TeamAdmin:
5242
5437
  return this.getTeamBookingCalendars(itemId, name);
5243
- default:
5438
+ case Role.MemberAdmin:
5244
5439
  return this.getMemberBookingCalendars(itemId, name);
5440
+ default:
5441
+ throw invalidRoleError;
5245
5442
  }
5246
5443
  }
5247
5444
  getClubBookingCalendars(clubId, name = null) {
@@ -5288,8 +5485,10 @@ class BookingCalendarService {
5288
5485
  switch (role) {
5289
5486
  case Role.ClubAdmin:
5290
5487
  return this.updateClubBookingCalendar(clubOrSectionOrTeamId, calendar);
5291
- default:
5488
+ case Role.SectionAdmin:
5292
5489
  return this.updateSectionBookingCalendar(clubOrSectionOrTeamId, calendar);
5490
+ default:
5491
+ throw invalidRoleError;
5293
5492
  }
5294
5493
  }
5295
5494
  updateClubBookingCalendar(clubId, calendar) {
@@ -5310,8 +5509,10 @@ class BookingCalendarService {
5310
5509
  switch (role) {
5311
5510
  case Role.ClubAdmin:
5312
5511
  return this.deleteClubBookingCalendar(clubOrSectionOrTeamId, id);
5313
- default:
5512
+ case Role.SectionAdmin:
5314
5513
  return this.deleteSectionBookingCalendar(clubOrSectionOrTeamId, id);
5514
+ default:
5515
+ throw invalidRoleError;
5315
5516
  }
5316
5517
  }
5317
5518
  deleteClubBookingCalendar(clubId, id) {
@@ -5334,8 +5535,10 @@ class BookingCalendarService {
5334
5535
  switch (role) {
5335
5536
  case Role.ClubAdmin:
5336
5537
  return this.createClubBookingCalendarSlot(clubOrSectionOrTeamId, slot);
5337
- default:
5538
+ case Role.SectionAdmin:
5338
5539
  return this.createSectionBookingCalendarSlot(clubOrSectionOrTeamId, slot);
5540
+ default:
5541
+ throw invalidRoleError;
5339
5542
  }
5340
5543
  }
5341
5544
  createClubBookingCalendarSlot(clubId, slot) {
@@ -5360,8 +5563,10 @@ class BookingCalendarService {
5360
5563
  return this.getSectionBookingCalendarSlots(itemId, bookingSlotFilter);
5361
5564
  case Role.TeamAdmin:
5362
5565
  return this.getTeamBookingCalendarSlots(itemId, bookingSlotFilter);
5363
- default:
5566
+ case Role.MemberAdmin:
5364
5567
  return this.getMemberBookingCalendarSlots(itemId, bookingSlotFilter);
5568
+ default:
5569
+ throw invalidRoleError;
5365
5570
  }
5366
5571
  }
5367
5572
  getClubBookingCalendarSlots(clubId, bookingSlotFilter) {
@@ -5400,8 +5605,10 @@ class BookingCalendarService {
5400
5605
  return this.getSectionBookingCalendarSlot(itemId, slotId);
5401
5606
  case Role.TeamAdmin:
5402
5607
  return this.getTeamBookingCalendarSlot(itemId, slotId);
5403
- default:
5608
+ case Role.MemberAdmin:
5404
5609
  return this.getMemberBookingCalendarSlot(itemId, slotId);
5610
+ default:
5611
+ throw invalidRoleError;
5405
5612
  }
5406
5613
  }
5407
5614
  getClubBookingCalendarSlot(clubId, slotId) {
@@ -5440,8 +5647,10 @@ class BookingCalendarService {
5440
5647
  return this.getSectionBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
5441
5648
  case Role.TeamAdmin:
5442
5649
  return this.getTeamBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
5443
- default:
5650
+ case Role.MemberAdmin:
5444
5651
  return this.getMemberBookingCalendarApplicationTimeSlots(itemId, bookingSlotFilter);
5652
+ default:
5653
+ throw invalidRoleError;
5445
5654
  }
5446
5655
  }
5447
5656
  getClubBookingCalendarApplicationTimeSlots(clubId, bookingSlotFilter) {
@@ -5480,8 +5689,10 @@ class BookingCalendarService {
5480
5689
  return this.getSectionBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
5481
5690
  case Role.TeamAdmin:
5482
5691
  return this.getTeamBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
5483
- default:
5692
+ case Role.MemberAdmin:
5484
5693
  return this.getMemberBookingCalendarApplicationTimes(itemId, bookingSlotFilter);
5694
+ default:
5695
+ throw invalidRoleError;
5485
5696
  }
5486
5697
  }
5487
5698
  getClubBookingCalendarApplicationTimes(clubId, bookingSlotFilter) {
@@ -5516,8 +5727,10 @@ class BookingCalendarService {
5516
5727
  switch (role) {
5517
5728
  case Role.ClubAdmin:
5518
5729
  return this.copyClubBookingCalendarSlots(clubOrSectionOrTeamId, weekRelativeIndexes, onlyCopySlots, weekdays, bookingSlotFilter);
5519
- default:
5730
+ case Role.SectionAdmin:
5520
5731
  return this.copySectionBookingCalendarSlots(clubOrSectionOrTeamId, weekRelativeIndexes, onlyCopySlots, weekdays, bookingSlotFilter);
5732
+ default:
5733
+ throw invalidRoleError;
5521
5734
  }
5522
5735
  }
5523
5736
  copyClubBookingCalendarSlots(clubId, weekRelativeIndexes, onlyCopySlots = false, weekdays = [], bookingSlotFilter) {
@@ -5546,8 +5759,10 @@ class BookingCalendarService {
5546
5759
  switch (role) {
5547
5760
  case Role.ClubAdmin:
5548
5761
  return this.clearClubBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions, shouldDeleteRepeatingSlots, weekdays, bookingSlotFilter);
5549
- default:
5762
+ case Role.SectionAdmin:
5550
5763
  return this.clearSectionBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions, shouldDeleteRepeatingSlots, weekdays, bookingSlotFilter);
5764
+ default:
5765
+ throw invalidRoleError;
5551
5766
  }
5552
5767
  }
5553
5768
  clearClubBookingCalendarSlots(clubId, currentWeekStartDate, weekRelativeIndexes, onlyDeleteSessions = false, shouldDeleteRepeatingSlots = false, weekdays = [], bookingSlotFilter) {
@@ -5584,8 +5799,10 @@ class BookingCalendarService {
5584
5799
  return this.syncClubBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
5585
5800
  case Role.SectionAdmin:
5586
5801
  return this.syncSectionBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
5587
- default:
5802
+ case Role.TeamAdmin:
5588
5803
  return this.syncTeamBookingCalendarSlots(clubOrSectionOrTeamId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter);
5804
+ default:
5805
+ throw invalidRoleError;
5589
5806
  }
5590
5807
  }
5591
5808
  syncClubBookingCalendarSlots(clubId, currentWeekStartDate, weekRelativeIndexes, bookingSlotFilter) {
@@ -5616,8 +5833,10 @@ class BookingCalendarService {
5616
5833
  switch (role) {
5617
5834
  case Role.ClubAdmin:
5618
5835
  return this.updateClubBookingCalendarSlot(clubOrSectionOrTeamId, slot);
5619
- default:
5836
+ case Role.SectionAdmin:
5620
5837
  return this.updateSectionBookingCalendarSlot(clubOrSectionOrTeamId, slot);
5838
+ default:
5839
+ throw invalidRoleError;
5621
5840
  }
5622
5841
  }
5623
5842
  updateClubBookingCalendarSlot(clubId, slot) {
@@ -5638,8 +5857,10 @@ class BookingCalendarService {
5638
5857
  switch (role) {
5639
5858
  case Role.ClubAdmin:
5640
5859
  return this.deleteClubBookingCalendarSlot(clubOrSectionOrTeamId, id);
5641
- default:
5860
+ case Role.SectionAdmin:
5642
5861
  return this.deleteSectionBookingCalendarSlot(clubOrSectionOrTeamId, id);
5862
+ default:
5863
+ throw invalidRoleError;
5643
5864
  }
5644
5865
  }
5645
5866
  deleteClubBookingCalendarSlot(clubId, id) {
@@ -5660,8 +5881,10 @@ class BookingCalendarService {
5660
5881
  switch (role) {
5661
5882
  case Role.ClubAdmin:
5662
5883
  return this.deleteClubBookingCalendarSlotRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
5663
- default:
5884
+ case Role.SectionAdmin:
5664
5885
  return this.deleteSectionBookingCalendarSlotRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
5886
+ default:
5887
+ throw invalidRoleError;
5665
5888
  }
5666
5889
  }
5667
5890
  deleteClubBookingCalendarSlotRepeatable(clubId, id, deleteUntilDate) {
@@ -5680,6 +5903,22 @@ class BookingCalendarService {
5680
5903
  }
5681
5904
  // endregion
5682
5905
  // region Booking calendar slot session
5906
+ getMemberBookingCalendarSlotSessions(memberId) {
5907
+ const params = { limit: 'null' };
5908
+ return this.apiService
5909
+ .getCollection(bookingCalendarSlotSessionFactory, Role.MemberAdmin, MEMBER_BOOKING_CALENDAR_SLOT_SESSIONS_PATH, { memberId }, { params });
5910
+ }
5911
+ getMemberBookingCalendarBookableSlots(memberId, bookableId, startDate, endDate) {
5912
+ const params = { limit: 'null' };
5913
+ if (startDate) {
5914
+ params['day__gte'] = startDate;
5915
+ }
5916
+ if (endDate) {
5917
+ params['day__lte'] = endDate;
5918
+ }
5919
+ return this.apiService
5920
+ .getCollection(bookingCalendarSlotFactory, Role.MemberAdmin, MEMBER_BOOKING_CALENDAR_BOOKABLE_SLOTS_PATH, { memberId, bookableId }, { params });
5921
+ }
5683
5922
  createBookingCalendarSlotSession(role, itemId, session) {
5684
5923
  switch (role) {
5685
5924
  case Role.ClubAdmin:
@@ -5688,8 +5927,10 @@ class BookingCalendarService {
5688
5927
  return this.createSectionBookingCalendarSlotSession(itemId, session);
5689
5928
  case Role.TeamAdmin:
5690
5929
  return this.createTeamBookingCalendarSlotSession(itemId, session);
5691
- default:
5930
+ case Role.MemberAdmin:
5692
5931
  return this.createMemberBookingCalendarSlotSession(itemId, session);
5932
+ default:
5933
+ throw invalidRoleError;
5693
5934
  }
5694
5935
  }
5695
5936
  createClubBookingCalendarSlotSession(clubId, session) {
@@ -5724,8 +5965,10 @@ class BookingCalendarService {
5724
5965
  return this.updateSectionBookingCalendarSlotSession(itemId, session);
5725
5966
  case Role.TeamAdmin:
5726
5967
  return this.updateTeamBookingCalendarSlotSession(itemId, session);
5727
- default:
5968
+ case Role.MemberAdmin:
5728
5969
  return this.updateMemberBookingCalendarSlotSession(itemId, session);
5970
+ default:
5971
+ throw invalidRoleError;
5729
5972
  }
5730
5973
  }
5731
5974
  updateClubBookingCalendarSlotSession(clubId, session) {
@@ -5764,8 +6007,10 @@ class BookingCalendarService {
5764
6007
  return this.deleteSectionBookingCalendarSlotSession(itemId, id);
5765
6008
  case Role.TeamAdmin:
5766
6009
  return this.deleteTeamBookingCalendarSlotSession(itemId, id);
5767
- default:
6010
+ case Role.MemberAdmin:
5768
6011
  return this.deleteMemberBookingCalendarSlotSession(itemId, id);
6012
+ default:
6013
+ throw invalidRoleError;
5769
6014
  }
5770
6015
  }
5771
6016
  deleteClubBookingCalendarSlotSession(clubId, id) {
@@ -5800,8 +6045,10 @@ class BookingCalendarService {
5800
6045
  switch (role) {
5801
6046
  case Role.ClubAdmin:
5802
6047
  return this.deleteClubBookingCalendarSlotSessionRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
5803
- default:
6048
+ case Role.SectionAdmin:
5804
6049
  return this.deleteSectionBookingCalendarSlotSessionRepeatable(clubOrSectionOrTeamId, id, deleteUntilDate);
6050
+ default:
6051
+ throw invalidRoleError;
5805
6052
  }
5806
6053
  }
5807
6054
  deleteClubBookingCalendarSlotSessionRepeatable(clubId, id, deleteUntilDate) {
@@ -5828,8 +6075,10 @@ class BookingCalendarService {
5828
6075
  return this.getSectionBookingSettings(itemId);
5829
6076
  case Role.TeamAdmin:
5830
6077
  return this.getTeamBookingSettings(itemId);
5831
- default:
6078
+ case Role.MemberAdmin:
5832
6079
  return this.getMemberBookingSettings(itemId);
6080
+ default:
6081
+ throw invalidRoleError;
5833
6082
  }
5834
6083
  }
5835
6084
  getClubBookingSettings(clubId) {
@@ -5856,8 +6105,10 @@ class BookingCalendarService {
5856
6105
  return this.updateSectionBookingSettings(itemId, bookingSettings);
5857
6106
  case Role.TeamAdmin:
5858
6107
  return this.updateTeamBookingSettings(itemId, bookingSettings);
5859
- default:
6108
+ case Role.MemberAdmin:
5860
6109
  return this.updateMemberBookingSettings(itemId, bookingSettings);
6110
+ default:
6111
+ throw invalidRoleError;
5861
6112
  }
5862
6113
  }
5863
6114
  updateClubBookingSettings(clubId, bookingSettings) {
@@ -5892,8 +6143,10 @@ class BookingCalendarService {
5892
6143
  return this.updateSectionBookingCalendarApplicationTime(itemId, availableTime);
5893
6144
  case Role.TeamAdmin:
5894
6145
  return this.updateTeamBookingCalendarApplicationTime(itemId, availableTime);
5895
- default:
6146
+ case Role.MemberAdmin:
5896
6147
  return this.updateMemberBookingCalendarApplicationTime(itemId, availableTime);
6148
+ default:
6149
+ throw invalidRoleError;
5897
6150
  }
5898
6151
  }
5899
6152
  updateClubBookingCalendarApplicationTime(clubId, availableTime) {
@@ -5944,8 +6197,10 @@ class BookingCalendarService {
5944
6197
  return this.deleteSectionBookingCalendarApplicationTime(itemId, availableTimeId);
5945
6198
  case Role.TeamAdmin:
5946
6199
  return this.deleteTeamBookingCalendarApplicationTime(itemId, availableTimeId);
5947
- default:
6200
+ case Role.MemberAdmin:
5948
6201
  return this.deleteMemberBookingCalendarApplicationTime(itemId, availableTimeId);
6202
+ default:
6203
+ throw invalidRoleError;
5949
6204
  }
5950
6205
  }
5951
6206
  deleteClubBookingCalendarApplicationTime(clubId, id) {
@@ -5982,8 +6237,10 @@ class BookingCalendarService {
5982
6237
  switch (role) {
5983
6238
  case Role.ClubAdmin:
5984
6239
  return this.getClubOverbookedSessions(clubOrSectionOrTeamId, bookingSlotFilter);
5985
- default:
6240
+ case Role.SectionAdmin:
5986
6241
  return this.getSectionOverbookedSessions(clubOrSectionOrTeamId, bookingSlotFilter);
6242
+ default:
6243
+ throw invalidRoleError;
5987
6244
  }
5988
6245
  }
5989
6246
  getClubOverbookedSessions(clubId, bookingSlotFilter) {
@@ -6006,8 +6263,10 @@ class BookingCalendarService {
6006
6263
  switch (role) {
6007
6264
  case Role.ClubAdmin:
6008
6265
  return this.getClubOverbookedBookables(clubOrSectionOrTeamId, bookingSlotFilter);
6009
- default:
6266
+ case Role.SectionAdmin:
6010
6267
  return this.getSectionOverbookedBookables(clubOrSectionOrTeamId, bookingSlotFilter);
6268
+ default:
6269
+ throw invalidRoleError;
6011
6270
  }
6012
6271
  }
6013
6272
  getClubOverbookedBookables(clubId, bookingSlotFilter) {
@@ -6076,6 +6335,8 @@ const COUNTRIES_PATH = 'every-admin/constants/countries/';
6076
6335
  const LANGUAGES_PATH = 'every-admin/constants/languages/';
6077
6336
  const MEMBER_CONTACT_TYPES_PATH = 'every-admin/constants/member-contact-types/';
6078
6337
  const BOOKING_SLOT_TYPES_PATH = 'every-admin/constants/booking-slot-types/';
6338
+ const TEAM_BOOKING_SLOT_TYPES_PATH = 'every-admin/constants/team-booking-slot-types/';
6339
+ const MEMBER_BOOKING_SLOT_TYPES_PATH = 'every-admin/constants/member-booking-slot-types/';
6079
6340
  const BOOKING_SLOT_RESERVED_TIME_POSITIONS_PATH = 'every-admin/constants/booking-slot-reserved-time-positions/';
6080
6341
  const BOOKING_SLOT_SESSION_TYPES_PATH = 'every-admin/constants/booking-slot-session-types/';
6081
6342
  const BOOKING_CALENDAR_STATUSES_PATH = 'every-admin/constants/booking-calendar-statuses/';
@@ -6115,6 +6376,12 @@ class ConstantService {
6115
6376
  getBookingSlotTypes() {
6116
6377
  return this.getConstants(BOOKING_SLOT_TYPES_PATH);
6117
6378
  }
6379
+ getTeamBookingSlotTypes() {
6380
+ return this.getConstants(TEAM_BOOKING_SLOT_TYPES_PATH);
6381
+ }
6382
+ getMemberBookingSlotTypes() {
6383
+ return this.getConstants(MEMBER_BOOKING_SLOT_TYPES_PATH);
6384
+ }
6118
6385
  getBookingSlotReservedTimePositions() {
6119
6386
  return this.getConstants(BOOKING_SLOT_RESERVED_TIME_POSITIONS_PATH);
6120
6387
  }
@@ -6217,8 +6484,10 @@ class FeatureFlagsService {
6217
6484
  return this.getSectionFeatureFlags(itemId);
6218
6485
  case Role.TeamAdmin:
6219
6486
  return this.getTeamFeatureFlags(itemId);
6220
- default:
6487
+ case Role.MemberAdmin:
6221
6488
  return this.getMemberFeatureFlags(itemId);
6489
+ default:
6490
+ throw invalidRoleError;
6222
6491
  }
6223
6492
  }
6224
6493
  getClubFeatureFlags(clubId) {
@@ -6344,7 +6613,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
6344
6613
  }]
6345
6614
  }], ctorParameters: () => [{ type: ApiService }] });
6346
6615
 
6347
- class ApiPaymentAttemptCreate {
6616
+ class ApiInvoicePaymentAttemptCreate {
6348
6617
  invoice_id;
6349
6618
  type;
6350
6619
  telephone_number;
@@ -6354,35 +6623,70 @@ class ApiPaymentAttemptCreate {
6354
6623
  this.telephone_number = telephone_number;
6355
6624
  }
6356
6625
  }
6626
+ class ApiPaymentOrderPaymentAttemptCreate {
6627
+ payment_order_id;
6628
+ type;
6629
+ telephone_number;
6630
+ constructor(payment_order_id, type, telephone_number) {
6631
+ this.payment_order_id = payment_order_id;
6632
+ this.type = type;
6633
+ this.telephone_number = telephone_number;
6634
+ }
6635
+ }
6357
6636
 
6358
- const MEMBER_PAYMENT_PATH = ':memberId/invoices/:invoiceId/payment-attempts/:id/';
6359
- const MEMBER_PAYMENTS_PATH = ':memberId/invoices/:invoiceId/payment-attempts/';
6360
- const PUBLIC_PAYMENT_PATH = 'invoices/:invoiceId/:token/payment-attempts/:id/';
6361
- const PUBLIC_PAYMENTS_PATH = 'invoices/:invoiceId/:token/payment-attempts/';
6637
+ const MEMBER_INVOICE_PAYMENT_PATH = ':memberId/invoices/:invoiceId/payment-attempts/:id/';
6638
+ const MEMBER_INVOICE_PAYMENTS_PATH = ':memberId/invoices/:invoiceId/payment-attempts/';
6639
+ const PUBLIC_INVOICE_PAYMENT_PATH = 'invoices/:invoiceId/:token/payment-attempts/:id/';
6640
+ const PUBLIC_INVOICE_PAYMENTS_PATH = 'invoices/:invoiceId/:token/payment-attempts/';
6641
+ const MEMBER_PAYMENT_ORDER_PAYMENT_PATH = ':memberId/payment-orders/:paymentOrderId/payment-attempts/:id/';
6642
+ const MEMBER_PAYMENT_ORDER_PAYMENTS_PATH = ':memberId/payment-orders/:paymentOrderId/payment-attempts/';
6643
+ const PUBLIC_PAYMENT_ORDER_PAYMENT_PATH = 'payment-orders/:paymentOrderId/:token/payment-attempts/:id/';
6644
+ const PUBLIC_PAYMENT_ORDER_PAYMENTS_PATH = 'payment-orders/:paymentOrderId/:token/payment-attempts/';
6362
6645
  class PaymentAttemptService {
6363
6646
  apiService;
6364
6647
  constructor(apiService) {
6365
6648
  this.apiService = apiService;
6366
6649
  }
6367
- createMemberPaymentAttempt(memberId, invoiceId, type, phoneNumber = '') {
6368
- return this.createPaymentAttempt(Role.MemberAdmin, MEMBER_PAYMENTS_PATH, { memberId, invoiceId }, new ApiPaymentAttemptCreate(invoiceId, type, phoneNumber));
6650
+ createMemberInvoicePaymentAttempt(memberId, invoiceId, type, phoneNumber = '') {
6651
+ return this.createInvoicePaymentAttempt(Role.MemberAdmin, MEMBER_INVOICE_PAYMENTS_PATH, { memberId, invoiceId }, new ApiInvoicePaymentAttemptCreate(invoiceId, type, phoneNumber));
6652
+ }
6653
+ createPublicInvoicePaymentAttempt(invoiceId, token, type, phoneNumber = '') {
6654
+ return this.createInvoicePaymentAttempt(Role.Public, PUBLIC_INVOICE_PAYMENTS_PATH, { invoiceId, token }, new ApiInvoicePaymentAttemptCreate(invoiceId, type, phoneNumber));
6655
+ }
6656
+ getMemberInvoicePaymentAttempt(memberId, invoiceId, id) {
6657
+ return this.getPaymentAttempt(Role.MemberAdmin, MEMBER_INVOICE_PAYMENT_PATH, { memberId, invoiceId, id: id.toString() });
6369
6658
  }
6370
- createPublicPaymentAttempt(invoiceId, token, type, phoneNumber = '') {
6371
- return this.createPaymentAttempt(Role.Public, PUBLIC_PAYMENTS_PATH, { invoiceId, token }, new ApiPaymentAttemptCreate(invoiceId, type, phoneNumber));
6659
+ getMemberInvoiceSwishQRCode(memberId, invoiceId, id) {
6660
+ return this.getSwishQRCode(Role.MemberAdmin, `${MEMBER_INVOICE_PAYMENT_PATH}swish-qr/`, { memberId, invoiceId, id: id.toString() });
6372
6661
  }
6373
- getMemberPaymentAttempt(memberId, invoiceId, id) {
6374
- return this.getPaymentAttempt(Role.MemberAdmin, MEMBER_PAYMENT_PATH, { memberId, invoiceId, id: id.toString() });
6662
+ getPublicInvoicePaymentAttempt(invoiceId, token, id) {
6663
+ return this.getPaymentAttempt(Role.Public, PUBLIC_INVOICE_PAYMENT_PATH, { invoiceId, token, id: id.toString() });
6375
6664
  }
6376
- getMemberSwishQRCode(memberId, invoiceId, id) {
6377
- return this.getSwishQRCode(Role.MemberAdmin, `${MEMBER_PAYMENT_PATH}swish-qr/`, { memberId, invoiceId, id: id.toString() });
6665
+ getPublicInvoiceSwishQRCode(invoiceId, token, id) {
6666
+ return this.getSwishQRCode(Role.Public, `${PUBLIC_INVOICE_PAYMENT_PATH}swish-qr/`, { invoiceId, token, id: id.toString() });
6378
6667
  }
6379
- getPublicPaymentAttempt(invoiceId, token, id) {
6380
- return this.getPaymentAttempt(Role.Public, PUBLIC_PAYMENT_PATH, { invoiceId, token, id: id.toString() });
6668
+ createMemberPaymentOrderPaymentAttempt(memberId, paymentOrderId, type, phoneNumber = '') {
6669
+ return this.createPaymentOrderPaymentAttempt(Role.MemberAdmin, MEMBER_PAYMENT_ORDER_PAYMENTS_PATH, { memberId, paymentOrderId }, new ApiPaymentOrderPaymentAttemptCreate(paymentOrderId, type, phoneNumber));
6381
6670
  }
6382
- getPublicSwishQRCode(invoiceId, token, id) {
6383
- return this.getSwishQRCode(Role.Public, `${PUBLIC_PAYMENT_PATH}swish-qr/`, { invoiceId, token, id: id.toString() });
6671
+ createPublicPaymentOrderPaymentAttempt(paymentOrderId, token, type, phoneNumber = '') {
6672
+ return this.createPaymentOrderPaymentAttempt(Role.Public, PUBLIC_PAYMENT_ORDER_PAYMENTS_PATH, { paymentOrderId, token }, new ApiPaymentOrderPaymentAttemptCreate(paymentOrderId, type, phoneNumber));
6384
6673
  }
6385
- createPaymentAttempt(role, path, pathParams, data) {
6674
+ getMemberPaymentOrderPaymentAttempt(memberId, paymentOrderId, id) {
6675
+ return this.getPaymentAttempt(Role.MemberAdmin, MEMBER_PAYMENT_ORDER_PAYMENT_PATH, { memberId, paymentOrderId, id: id.toString() });
6676
+ }
6677
+ getMemberPaymentOrderSwishQRCode(memberId, paymentOrderId, id) {
6678
+ return this.getSwishQRCode(Role.MemberAdmin, `${MEMBER_PAYMENT_ORDER_PAYMENT_PATH}swish-qr/`, { memberId, paymentOrderId, id: id.toString() });
6679
+ }
6680
+ getPublicPaymentOrderPaymentAttempt(paymentOrderId, token, id) {
6681
+ return this.getPaymentAttempt(Role.Public, PUBLIC_PAYMENT_ORDER_PAYMENT_PATH, { paymentOrderId, token, id: id.toString() });
6682
+ }
6683
+ getPublicPaymentOrderSwishQRCode(paymentOrderId, token, id) {
6684
+ return this.getSwishQRCode(Role.Public, `${PUBLIC_PAYMENT_ORDER_PAYMENT_PATH}swish-qr/`, { paymentOrderId, token, id: id.toString() });
6685
+ }
6686
+ createInvoicePaymentAttempt(role, path, pathParams, data) {
6687
+ return this.apiService.postResource(paymentAttemptFactory, role, path, pathParams, data);
6688
+ }
6689
+ createPaymentOrderPaymentAttempt(role, path, pathParams, data) {
6386
6690
  return this.apiService.postResource(paymentAttemptFactory, role, path, pathParams, data);
6387
6691
  }
6388
6692
  getPaymentAttempt(role, path, pathParams) {
@@ -6401,6 +6705,48 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
6401
6705
  }]
6402
6706
  }], ctorParameters: () => [{ type: ApiService }] });
6403
6707
 
6708
+ 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, apiPaymentOrder.full_title, apiPaymentOrder.pay_until);
6709
+
6710
+ const MEMBER_PAYMENT_ORDER_PATH = ':memberId/payment-orders/:paymentOrderId/';
6711
+ const MEMBER_PAYMENT_ORDERS_PATH = ':memberId/payment-orders/';
6712
+ const PUBLIC_PAYMENT_ORDER_PATH = 'payment-orders/:paymentOrderId/:token/';
6713
+ const PUBLIC_PAYMENT_ORDER_LOGO_PATH = 'payment-orders/:paymentOrderId/:token/logo/';
6714
+ class PaymentOrderService {
6715
+ apiService;
6716
+ constructor(apiService) {
6717
+ this.apiService = apiService;
6718
+ }
6719
+ getMemberPaymentOrder(memberId, paymentOrderId) {
6720
+ return this.getPaymentOrder(Role.MemberAdmin, MEMBER_PAYMENT_ORDER_PATH, { memberId, paymentOrderId });
6721
+ }
6722
+ deleteMemberPaymentOrder(memberId, paymentOrderId) {
6723
+ return this.apiService.deleteResource(Role.MemberAdmin, MEMBER_PAYMENT_ORDER_PATH, { memberId, paymentOrderId });
6724
+ }
6725
+ getMemberPaymentOrders(memberId, filterParams = {}) {
6726
+ return this.getPaymentOrders(Role.MemberAdmin, MEMBER_PAYMENT_ORDERS_PATH, { memberId }, filterParams);
6727
+ }
6728
+ getPublicPaymentOrder(paymentOrderId, token) {
6729
+ return this.getPaymentOrder(Role.Public, PUBLIC_PAYMENT_ORDER_PATH, { paymentOrderId, token });
6730
+ }
6731
+ getPublicPaymentOrderLogo(paymentOrderId, token) {
6732
+ return this.apiService.getResource(clubImageFactory, Role.Public, PUBLIC_PAYMENT_ORDER_LOGO_PATH, { paymentOrderId, token });
6733
+ }
6734
+ getPaymentOrder(role, path, pathParams) {
6735
+ return this.apiService.getResource(paymentOrderFactory, role, path, pathParams);
6736
+ }
6737
+ getPaymentOrders(role, path, pathParams, filterParams = {}) {
6738
+ return this.apiService.getCollection(paymentOrderFactory, role, path, pathParams, { params: filterParams });
6739
+ }
6740
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PaymentOrderService, deps: [{ token: ApiService }], target: i0.ɵɵFactoryTarget.Injectable });
6741
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PaymentOrderService, providedIn: 'root' });
6742
+ }
6743
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: PaymentOrderService, decorators: [{
6744
+ type: Injectable,
6745
+ args: [{
6746
+ providedIn: 'root'
6747
+ }]
6748
+ }], ctorParameters: () => [{ type: ApiService }] });
6749
+
6404
6750
  class MaintenanceModeService {
6405
6751
  maintenanceMode = new BehaviorSubject(false);
6406
6752
  maintenanceMode$ = this.maintenanceMode.asObservable();
@@ -6476,8 +6822,10 @@ class MemberService {
6476
6822
  return this.getClubMembers(itemId);
6477
6823
  case Role.SectionAdmin:
6478
6824
  return this.getSectionMembers(itemId);
6479
- default:
6825
+ case Role.TeamAdmin:
6480
6826
  return this.getTeamMembers(itemId);
6827
+ default:
6828
+ throw invalidRoleError;
6481
6829
  }
6482
6830
  }
6483
6831
  getClubMembers(clubId) {
@@ -6831,8 +7179,10 @@ class TeamService {
6831
7179
  switch (role) {
6832
7180
  case Role.ClubAdmin:
6833
7181
  return this.getClubTeams(itemId);
6834
- default:
7182
+ case Role.SectionAdmin:
6835
7183
  return this.getSectionTeams(itemId);
7184
+ default:
7185
+ throw invalidRoleError;
6836
7186
  }
6837
7187
  }
6838
7188
  getClubTeams(clubId) {
@@ -7388,6 +7738,51 @@ class BookingEffects {
7388
7738
  activityService = inject(ActivityService);
7389
7739
  teamService = inject(TeamService);
7390
7740
  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 })))));
7741
+ listMemberCalendars$ = createEffect(() => this.actions$
7742
+ .pipe(ofType(listMemberCalendarAction), mergeMap$1(({ memberIds }) => forkJoin(memberIds.map((id) => this.bookingCalendarService.getBookingCalendars(Role.MemberAdmin, id)
7743
+ .pipe(map((calendars) => ({ id, calendars: calendars.toArray() })), catchError$1((error) => of({ id, error }))))).pipe(mergeMap$1((results) => {
7744
+ const calendarMap = new Map();
7745
+ const errors = results.filter(result => result.error);
7746
+ if (errors.length) {
7747
+ return of(listMemberCalendarFailureAction({ payload: errors[0].error }));
7748
+ }
7749
+ results.forEach((result) => {
7750
+ if (result.calendars) {
7751
+ calendarMap.set(result.id, result.calendars);
7752
+ }
7753
+ });
7754
+ return of(listMemberCalendarSuccessAction({ bookingCalendarsMap: calendarMap }));
7755
+ })))));
7756
+ listMemberSessions$ = createEffect(() => this.actions$
7757
+ .pipe(ofType(listMemberBookingCalendarSlotSessionAction), mergeMap$1(({ memberIds }) => forkJoin(memberIds.map((id) => this.bookingCalendarService.getMemberBookingCalendarSlotSessions(id)
7758
+ .pipe(map((sessions) => ({ id, sessions: sessions.toArray() })), catchError$1((error) => of({ id, error }))))).pipe(mergeMap$1((results) => {
7759
+ const sessionsMap = new Map();
7760
+ const errors = results.filter(result => result.error);
7761
+ if (errors.length) {
7762
+ return of(listMemberBookingCalendarSlotSessionFailureAction({ payload: errors[0].error }));
7763
+ }
7764
+ results.forEach((result) => {
7765
+ if (result.sessions) {
7766
+ sessionsMap.set(result.id, result.sessions);
7767
+ }
7768
+ });
7769
+ return of(listMemberBookingCalendarSlotSessionSuccessAction({ sessionsMap: sessionsMap }));
7770
+ })))));
7771
+ listMemberBookableSlots$ = createEffect(() => this.actions$
7772
+ .pipe(ofType(listMemberBookingCalendarBookableSlotsAction), mergeMap$1(({ bookableId, memberIds, startDate, endDate }) => forkJoin(memberIds.map((id) => this.bookingCalendarService.getMemberBookingCalendarBookableSlots(id, bookableId, startDate, endDate)
7773
+ .pipe(map((slots) => ({ id, slots: slots.toArray() })), catchError$1((error) => of({ id, error }))))).pipe(mergeMap$1((results) => {
7774
+ const slotsMap = new Map();
7775
+ const errors = results.filter(result => result.error);
7776
+ if (errors.length) {
7777
+ return of(listMemberBookingCalendarBookableSlotsFailureAction({ payload: errors[0].error }));
7778
+ }
7779
+ results.forEach((result) => {
7780
+ if (result.slots) {
7781
+ slotsMap.set(result.id, result.slots);
7782
+ }
7783
+ });
7784
+ return of(listMemberBookingCalendarBookableSlotsSuccessAction({ slotsMap: slotsMap }));
7785
+ })))));
7391
7786
  listLocations$ = createEffect(() => this.actions$.pipe(ofType(listLocationAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.activityService.getActivityLocations(role, clubOrSectionOrTeamId, true).pipe(map((locations) => listLocationSuccessAction({ locations: locations.toArray() })))), catchError$1((error) => of(listLocationFailureAction({ payload: error })))));
7392
7787
  listBookableItems$ = createEffect(() => this.actions$.pipe(ofType(listBookableItemAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.bookableService.getBookableItems(role, clubOrSectionOrTeamId).pipe(map((bookableItems) => listBookableItemSuccessAction({ items: bookableItems.toArray() })))), catchError$1((error) => of(listBookableItemFailureAction({ payload: error })))));
7393
7788
  listBookableGroups$ = createEffect(() => this.actions$.pipe(ofType(listBookableGroupAction), exhaustMap$1(({ role, clubOrSectionOrTeamId }) => this.bookableService.getBookableGroups(role, clubOrSectionOrTeamId).pipe(map((bookableGroups) => listBookableGroupSuccessAction({ groups: bookableGroups.toArray() })))), catchError$1((error) => of(listBookableGroupFailureAction({ payload: error })))));
@@ -7612,6 +8007,12 @@ class ConstantEffects {
7612
8007
  retrieveBookingSlotTypes$ = createEffect(() => this.actions$
7613
8008
  .pipe(ofType(retrieveBookingSlotTypesAction), exhaustMap(() => this.constantService.getBookingSlotTypes()
7614
8009
  .pipe(map((constants) => retrieveBookingSlotTypesSuccessAction({ payload: constants })), catchError((error) => of(retrieveBookingSlotTypesFailureAction({ payload: error })))))));
8010
+ retrieveTeamBookingSlotTypes$ = createEffect(() => this.actions$
8011
+ .pipe(ofType(retrieveTeamBookingSlotTypesAction), exhaustMap(() => this.constantService.getTeamBookingSlotTypes()
8012
+ .pipe(map((constants) => retrieveTeamBookingSlotTypesSuccessAction({ payload: constants })), catchError((error) => of(retrieveTeamBookingSlotTypesFailureAction({ payload: error })))))));
8013
+ retrieveMemberBookingSlotTypes$ = createEffect(() => this.actions$
8014
+ .pipe(ofType(retrieveMemberBookingSlotTypesAction), exhaustMap(() => this.constantService.getMemberBookingSlotTypes()
8015
+ .pipe(map((constants) => retrieveMemberBookingSlotTypesSuccessAction({ payload: constants })), catchError((error) => of(retrieveMemberBookingSlotTypesFailureAction({ payload: error })))))));
7615
8016
  retrieveBookingSlotReservedTimePositions$ = createEffect(() => this.actions$
7616
8017
  .pipe(ofType(retrieveBookingSlotReservedTimePositionsAction), exhaustMap(() => this.constantService.getBookingSlotReservedTimePositions()
7617
8018
  .pipe(map((constants) => retrieveBookingSlotReservedTimePositionsSuccessAction({ payload: constants })), catchError((error) => of(retrieveBookingSlotReservedTimePositionsFailureAction({ payload: error })))))));
@@ -7647,6 +8048,9 @@ const selectBookableItems = createSelector(bookingState, (state) => state.bookab
7647
8048
  const selectBookableGroups = createSelector(bookingState, (state) => state.bookableGroups);
7648
8049
  const selectBookableTags = createSelector(bookingState, (state) => state.bookableTags);
7649
8050
  const selectCalendars = createSelector(bookingState, (state) => state.calendars);
8051
+ const selectMemberCalendars = createSelector(bookingState, (state) => state.memberCalendars);
8052
+ const selectMemberSlots = createSelector(bookingState, (state) => state.memberSlots);
8053
+ const selectMemberSessions = createSelector(bookingState, (state) => state.memberSessions);
7650
8054
  const selectBookingSettings = createSelector(bookingState, (state) => state.bookingSettings);
7651
8055
  const selectBookingActivitySettings = createSelector(bookingState, (state) => state.bookingActivitySettings);
7652
8056
  const selectActivityTypes = createSelector(bookingState, (state) => state.activityTypes);
@@ -7700,6 +8104,8 @@ const selectCountries = createSelector(constantState, (state) => state.countries
7700
8104
  const selectMemberContactTypes = createSelector(constantState, (state) => state.memberContactTypes);
7701
8105
  // Selector for booking slot types
7702
8106
  const selectBookingSlotTypes = createSelector(constantState, (state) => state.bookingSlotTypes);
8107
+ const selectTeamBookingSlotTypes = createSelector(constantState, (state) => state.teamBookingSlotTypes);
8108
+ const selectMemberBookingSlotTypes = createSelector(constantState, (state) => state.memberBookingSlotTypes);
7703
8109
  // Selector for booking slot reserved time positions
7704
8110
  const selectBookingSlotReservedTimePositions = createSelector(constantState, (state) => state.bookingSlotReservedTimePositions);
7705
8111
  // Selector for booking slot session types
@@ -7728,6 +8134,8 @@ const pluginState$8 = createFeatureSelector('dataAccess');
7728
8134
  const invoiceState = createSelector(pluginState$8, (state) => state.invoices);
7729
8135
  const selectInvoice = createSelector(invoiceState, (state) => state.invoice);
7730
8136
  const selectInvoiceList = createSelector(invoiceState, (state) => state.invoiceList);
8137
+ const selectPaymentOrder = createSelector(invoiceState, (state) => state.paymentOrder);
8138
+ const selectPaymentOrderList = createSelector(invoiceState, (state) => state.paymentOrderList);
7731
8139
 
7732
8140
  const pluginState$7 = createFeatureSelector('dataAccess');
7733
8141
  const memberState = createSelector(pluginState$7, (state) => state.members);
@@ -7969,24 +8377,37 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
7969
8377
  class InvoiceEffects {
7970
8378
  actions$ = inject(Actions);
7971
8379
  invoiceService = inject(InvoiceService);
8380
+ paymentOrderService = inject(PaymentOrderService);
7972
8381
  paymentAttemptService = inject(PaymentAttemptService);
7973
- createMemberMondidoPayment$ = createEffect(() => this.actions$
7974
- .pipe(ofType(createMondidoMemberPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentAttempt(payload.memberId, payload.invoiceId, 'mondido')
7975
- .pipe(map((paymentAttempt) => createMondidoPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createMondidoPaymentFailureAction({ payload: error })))))));
7976
- createMemberSwishPayment$ = createEffect(() => this.actions$
7977
- .pipe(ofType(createSwishMemberPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentAttempt(payload.memberId, payload.invoiceId, 'swish', payload.telephoneNumber)
7978
- .pipe(map((paymentAttempt) => createSwishPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createSwishPaymentFailureAction({ payload: error })))))));
8382
+ createMemberInvoiceMondidoPayment$ = createEffect(() => this.actions$
8383
+ .pipe(ofType(createMondidoMemberInvoicePaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberInvoicePaymentAttempt(payload.memberId, payload.invoiceId, 'mondido')
8384
+ .pipe(map((paymentAttempt) => createMondidoInvoicePaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createMondidoInvoicePaymentFailureAction({ payload: error })))))));
8385
+ createMemberInvoiceSwishPayment$ = createEffect(() => this.actions$
8386
+ .pipe(ofType(createSwishMemberInvoicePaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberInvoicePaymentAttempt(payload.memberId, payload.invoiceId, 'swish', payload.telephoneNumber)
8387
+ .pipe(map((paymentAttempt) => createSwishInvoicePaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createSwishInvoicePaymentFailureAction({ payload: error })))))));
8388
+ createMemberPaymentOrderMondidoPayment$ = createEffect(() => this.actions$
8389
+ .pipe(ofType(createMondidoMemberPaymentOrderPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentOrderPaymentAttempt(payload.memberId, payload.paymentOrderId, 'mondido')
8390
+ .pipe(map((paymentAttempt) => createMondidoPaymentOrderPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createMondidoPaymentOrderPaymentFailureAction({ payload: error })))))));
8391
+ createMemberPaymentOrderSwishPayment$ = createEffect(() => this.actions$
8392
+ .pipe(ofType(createSwishMemberPaymentOrderPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentOrderPaymentAttempt(payload.memberId, payload.paymentOrderId, 'swish', payload.telephoneNumber)
8393
+ .pipe(map((paymentAttempt) => createSwishPaymentOrderPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createSwishPaymentOrderPaymentFailureAction({ payload: error })))))));
7979
8394
  createMemberZimplerPayment$ = createEffect(() => this.actions$
7980
- .pipe(ofType(createZimplerMemberPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberPaymentAttempt(payload.memberId, payload.invoiceId, 'zimpler')
8395
+ .pipe(ofType(createZimplerMemberPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createMemberInvoicePaymentAttempt(payload.memberId, payload.invoiceId, 'zimpler')
7981
8396
  .pipe(map((paymentAttempt) => createZimplerPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createZimplerPaymentFailureAction({ payload: error })))))));
7982
- createPublicMondidoPayment$ = createEffect(() => this.actions$
7983
- .pipe(ofType(createMondidoPublicPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicPaymentAttempt(payload.invoiceId, payload.token, 'mondido')
7984
- .pipe(map((paymentAttempt) => createMondidoPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createMondidoPaymentFailureAction({ payload: error })))))));
7985
- createPublicSwishPayment$ = createEffect(() => this.actions$
7986
- .pipe(ofType(createSwishPublicPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicPaymentAttempt(payload.invoiceId, payload.token, 'swish', payload.telephoneNumber)
7987
- .pipe(map((paymentAttempt) => createSwishPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createSwishPaymentFailureAction({ payload: error })))))));
8397
+ createPublicInvoiceMondidoPayment$ = createEffect(() => this.actions$
8398
+ .pipe(ofType(createMondidoPublicInvoicePaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicInvoicePaymentAttempt(payload.invoiceId, payload.token, 'mondido')
8399
+ .pipe(map((paymentAttempt) => createMondidoInvoicePaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createMondidoInvoicePaymentFailureAction({ payload: error })))))));
8400
+ createPublicInvoiceSwishPayment$ = createEffect(() => this.actions$
8401
+ .pipe(ofType(createSwishPublicInvoicePaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicInvoicePaymentAttempt(payload.invoiceId, payload.token, 'swish', payload.telephoneNumber)
8402
+ .pipe(map((paymentAttempt) => createSwishInvoicePaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createSwishInvoicePaymentFailureAction({ payload: error })))))));
8403
+ createPublicPaymentOrderMondidoPayment$ = createEffect(() => this.actions$
8404
+ .pipe(ofType(createMondidoPublicPaymentOrderPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicPaymentOrderPaymentAttempt(payload.paymentOrderId, payload.token, 'mondido')
8405
+ .pipe(map((paymentAttempt) => createMondidoPaymentOrderPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createMondidoPaymentOrderPaymentFailureAction({ payload: error })))))));
8406
+ createPublicPaymentOrderSwishPayment$ = createEffect(() => this.actions$
8407
+ .pipe(ofType(createSwishPublicPaymentOrderPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicPaymentOrderPaymentAttempt(payload.paymentOrderId, payload.token, 'swish', payload.telephoneNumber)
8408
+ .pipe(map((paymentAttempt) => createSwishPaymentOrderPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createSwishPaymentOrderPaymentFailureAction({ payload: error })))))));
7988
8409
  createPublicZimplerPayment$ = createEffect(() => this.actions$
7989
- .pipe(ofType(createZimplerPublicPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicPaymentAttempt(payload.invoiceId, payload.token, 'zimpler')
8410
+ .pipe(ofType(createZimplerPublicPaymentAction), exhaustMap(({ payload }) => this.paymentAttemptService.createPublicInvoicePaymentAttempt(payload.invoiceId, payload.token, 'zimpler')
7990
8411
  .pipe(map((paymentAttempt) => createZimplerPaymentSuccessAction({ payload: paymentAttempt })), catchError((error) => of(createZimplerPaymentFailureAction({ payload: error })))))));
7991
8412
  listMemberInvoices$ = createEffect(() => this.actions$
7992
8413
  .pipe(ofType(listMemberInvoicesAction), mergeMap(({ payload }) => forkJoin(payload.map((id) => this.invoiceService.getMemberInvoices(id)
@@ -8006,24 +8427,70 @@ class InvoiceEffects {
8006
8427
  retrieveMemberInvoice$ = createEffect(() => this.actions$
8007
8428
  .pipe(ofType(retrieveMemberInvoiceAction), exhaustMap(({ payload }) => this.invoiceService.getMemberInvoice(payload.memberId, payload.invoiceId)
8008
8429
  .pipe(map((invoice) => retrieveMemberInvoiceSuccessAction({ payload: invoice })), catchError((error) => of(retrieveMemberInvoiceFailureAction({ payload: error })))))));
8009
- retrieveMemberPaymentAttempt$ = createEffect(() => this.actions$
8010
- .pipe(ofType(retrieveMemberPaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberPaymentAttempt(payload.memberId, payload.invoiceId, payload.paymentAttemptId)
8011
- .pipe(map((paymentAttempt) => retrieveMemberPaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrieveMemberPaymentAttemptFailureAction({ payload: error })))))));
8012
- retrieveMemberSwishQRCode$ = createEffect(() => this.actions$
8013
- .pipe(ofType(retrieveMemberSwishQRCodeAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberSwishQRCode(payload.memberId, payload.invoiceId, payload.paymentAttemptId)
8014
- .pipe(map((swishQRCode) => retrieveSwishQRCodeSuccessAction({ payload: swishQRCode })), catchError((error) => of(retrieveSwishQRCodeFailureAction({ payload: error })))))));
8430
+ listMemberPaymentOrders$ = createEffect(() => this.actions$
8431
+ .pipe(ofType(listMemberPaymentOrdersAction), mergeMap(({ payload }) => forkJoin(payload.map((id) => this.paymentOrderService.getMemberPaymentOrders(id)
8432
+ .pipe(map((paymentOrders) => ({ id, paymentOrders: paymentOrders.toArray() })), catchError((error) => of({ id, error }))))).pipe(mergeMap((results) => {
8433
+ const paymentOrderMap = new Map();
8434
+ const errors = results.filter(result => result.error);
8435
+ if (errors.length) {
8436
+ return of(listMemberPaymentOrdersFailureAction({ payload: errors[0].error }));
8437
+ }
8438
+ results.forEach((result) => {
8439
+ if (result.paymentOrders) {
8440
+ paymentOrderMap.set(result.id, result.paymentOrders);
8441
+ }
8442
+ });
8443
+ return of(listMemberPaymentOrdersSuccessAction({ payload: paymentOrderMap }));
8444
+ })))));
8445
+ retrievePaymentOrder$ = createEffect(() => this.actions$
8446
+ .pipe(ofType(retrievePaymentOrderAction), exhaustMap(({ payload }) => this.paymentOrderService.getMemberPaymentOrder(payload.memberId, payload.paymentOrderId)
8447
+ .pipe(map((paymentOrder) => retrievePaymentOrderSuccessAction({ payload: paymentOrder })), catchError((error) => of(retrievePaymentOrderFailureAction({ payload: error })))))));
8448
+ deletePaymentOrder$ = createEffect(() => this.actions$
8449
+ .pipe(ofType(deletePaymentOrderAction), exhaustMap(({ payload }) => this.paymentOrderService.deleteMemberPaymentOrder(payload.memberId, payload.paymentOrderId)
8450
+ .pipe(map((value) => {
8451
+ if (value) {
8452
+ return deletePaymentOrderSuccessAction();
8453
+ }
8454
+ else {
8455
+ return deletePaymentOrderFailureAction({ payload: new HttpErrorResponse({ status: 400 }) });
8456
+ }
8457
+ }), catchError((error) => of(deletePaymentOrderFailureAction({ payload: error })))))));
8458
+ retrieveMemberInvoicePaymentAttempt$ = createEffect(() => this.actions$
8459
+ .pipe(ofType(retrieveMemberInvoicePaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberInvoicePaymentAttempt(payload.memberId, payload.invoiceId, payload.paymentAttemptId)
8460
+ .pipe(map((paymentAttempt) => retrieveMemberInvoicePaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrieveMemberInvoicePaymentAttemptFailureAction({ payload: error })))))));
8461
+ retrieveMemberInvoiceSwishQRCode$ = createEffect(() => this.actions$
8462
+ .pipe(ofType(retrieveMemberInvoiceSwishQRCodeAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberInvoiceSwishQRCode(payload.memberId, payload.invoiceId, payload.paymentAttemptId)
8463
+ .pipe(map((swishQRCode) => retrieveInvoiceSwishQRCodeSuccessAction({ payload: swishQRCode })), catchError((error) => of(retrieveInvoiceSwishQRCodeFailureAction({ payload: error })))))));
8464
+ retrieveMemberPaymentOrderSwishQRCode$ = createEffect(() => this.actions$
8465
+ .pipe(ofType(retrieveMemberPaymentOrderSwishQRCodeAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberPaymentOrderSwishQRCode(payload.memberId, payload.paymentOrderId, payload.paymentAttemptId)
8466
+ .pipe(map((swishQRCode) => retrievePaymentOrderSwishQRCodeSuccessAction({ payload: swishQRCode })), catchError((error) => of(retrievePaymentOrderSwishQRCodeFailureAction({ payload: error })))))));
8015
8467
  retrievePublicInvoice$ = createEffect(() => this.actions$
8016
8468
  .pipe(ofType(retrievePublicInvoiceAction), exhaustMap(({ payload }) => this.invoiceService.getPublicInvoice(payload.invoiceId, payload.token)
8017
8469
  .pipe(map((invoice) => retrievePublicInvoiceSuccessAction({ payload: invoice })), catchError((error) => of(retrievePublicInvoiceFailureAction({ payload: error })))))));
8018
8470
  retrievePublicInvoiceLogo$ = createEffect(() => this.actions$
8019
8471
  .pipe(ofType(retrievePublicInvoiceLogoAction), exhaustMap(({ payload }) => this.invoiceService.getPublicInvoiceLogo(payload.invoiceId, payload.token)
8020
8472
  .pipe(map((image) => retrievePublicInvoiceLogoSuccessAction({ payload: image })), catchError((error) => of(retrievePublicInvoiceLogoFailureAction({ payload: error })))))));
8021
- retrievePublicPaymentAttempt$ = createEffect(() => this.actions$
8022
- .pipe(ofType(retrievePublicPaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getPublicPaymentAttempt(payload.invoiceId, payload.token, payload.paymentAttemptId)
8023
- .pipe(map((paymentAttempt) => retrievePublicPaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrievePublicPaymentAttemptFailureAction({ payload: error })))))));
8024
- retrievePublicSwishQRCode$ = createEffect(() => this.actions$
8025
- .pipe(ofType(retrievePublicSwishQRCodeAction), exhaustMap(({ payload }) => this.paymentAttemptService.getPublicSwishQRCode(payload.invoiceId, payload.token, payload.paymentAttemptId)
8026
- .pipe(map((swishQRCode) => retrieveSwishQRCodeSuccessAction({ payload: swishQRCode })), catchError((error) => of(retrieveSwishQRCodeFailureAction({ payload: error })))))));
8473
+ retrievePublicInvoicePaymentAttempt$ = createEffect(() => this.actions$
8474
+ .pipe(ofType(retrievePublicInvoicePaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getPublicInvoicePaymentAttempt(payload.invoiceId, payload.token, payload.paymentAttemptId)
8475
+ .pipe(map((paymentAttempt) => retrievePublicInvoicePaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrievePublicInvoicePaymentAttemptFailureAction({ payload: error })))))));
8476
+ retrievePublicInvoiceSwishQRCode$ = createEffect(() => this.actions$
8477
+ .pipe(ofType(retrievePublicInvoiceSwishQRCodeAction), exhaustMap(({ payload }) => this.paymentAttemptService.getPublicInvoiceSwishQRCode(payload.invoiceId, payload.token, payload.paymentAttemptId)
8478
+ .pipe(map((swishQRCode) => retrieveInvoiceSwishQRCodeSuccessAction({ payload: swishQRCode })), catchError((error) => of(retrieveInvoiceSwishQRCodeFailureAction({ payload: error })))))));
8479
+ retrieveMemberPaymentOrderPaymentAttempt$ = createEffect(() => this.actions$
8480
+ .pipe(ofType(retrieveMemberPaymentOrderPaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getMemberPaymentOrderPaymentAttempt(payload.memberId, payload.paymentOrderId, payload.paymentAttemptId)
8481
+ .pipe(map((paymentAttempt) => retrieveMemberPaymentOrderPaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrieveMemberPaymentOrderPaymentAttemptFailureAction({ payload: error })))))));
8482
+ retrievePublicPaymentOrder$ = createEffect(() => this.actions$
8483
+ .pipe(ofType(retrievePublicPaymentOrderAction), exhaustMap(({ payload }) => this.paymentOrderService.getPublicPaymentOrder(payload.paymentOrderId, payload.token)
8484
+ .pipe(map((paymentOrder) => retrievePublicPaymentOrderSuccessAction({ payload: paymentOrder })), catchError((error) => of(retrievePublicPaymentOrderFailureAction({ payload: error })))))));
8485
+ retrievePublicPaymentOrderLogo$ = createEffect(() => this.actions$
8486
+ .pipe(ofType(retrievePublicPaymentOrderLogoAction), exhaustMap(({ payload }) => this.paymentOrderService.getPublicPaymentOrderLogo(payload.paymentOrderId, payload.token)
8487
+ .pipe(map((image) => retrievePublicPaymentOrderLogoSuccessAction({ payload: image })), catchError((error) => of(retrievePublicPaymentOrderLogoFailureAction({ payload: error })))))));
8488
+ retrievePublicPaymentOrderPaymentAttempt$ = createEffect(() => this.actions$
8489
+ .pipe(ofType(retrievePublicPaymentOrderPaymentAttemptAction), exhaustMap(({ payload }) => this.paymentAttemptService.getPublicPaymentOrderPaymentAttempt(payload.paymentOrderId, payload.token, payload.paymentAttemptId)
8490
+ .pipe(map((paymentAttempt) => retrievePublicPaymentOrderPaymentAttemptSuccessAction({ payload: paymentAttempt })), catchError((error) => of(retrievePublicPaymentOrderPaymentAttemptFailureAction({ payload: error })))))));
8491
+ retrievePublicPaymentOrderSwishQRCode$ = createEffect(() => this.actions$
8492
+ .pipe(ofType(retrievePublicPaymentOrderSwishQRCodeAction), exhaustMap(({ payload }) => this.paymentAttemptService.getPublicPaymentOrderSwishQRCode(payload.paymentOrderId, payload.token, payload.paymentAttemptId)
8493
+ .pipe(map((swishQRCode) => retrievePaymentOrderSwishQRCodeSuccessAction({ payload: swishQRCode })), catchError((error) => of(retrievePaymentOrderSwishQRCodeFailureAction({ payload: error })))))));
8027
8494
  static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InvoiceEffects, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
8028
8495
  static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.7", ngImport: i0, type: InvoiceEffects });
8029
8496
  }
@@ -8677,6 +9144,9 @@ const initialAuthState = {
8677
9144
 
8678
9145
  const initialBookingState = {
8679
9146
  calendars: emptyListResultFactory(),
9147
+ memberCalendars: undefined,
9148
+ memberSlots: undefined,
9149
+ memberSessions: undefined,
8680
9150
  locations: emptyListResultFactory(),
8681
9151
  bookableItems: emptyListResultFactory(),
8682
9152
  bookableGroups: emptyListResultFactory(),
@@ -8723,6 +9193,8 @@ const initialConstantState = {
8723
9193
  countries: emptyListResultFactory(),
8724
9194
  memberContactTypes: emptyListResultFactory(),
8725
9195
  bookingSlotTypes: emptyListResultFactory(),
9196
+ teamBookingSlotTypes: emptyListResultFactory(),
9197
+ memberBookingSlotTypes: emptyListResultFactory(),
8726
9198
  bookingSlotReservedTimePositions: emptyListResultFactory(),
8727
9199
  bookingSlotSessionTypes: emptyListResultFactory(),
8728
9200
  bookingCalendarStatuses: emptyListResultFactory(),
@@ -8744,6 +9216,8 @@ const initialExternalLinkState = {
8744
9216
  const initialInvoiceState = {
8745
9217
  invoice: undefined,
8746
9218
  invoiceList: undefined,
9219
+ paymentOrder: undefined,
9220
+ paymentOrderList: undefined
8747
9221
  };
8748
9222
 
8749
9223
  const initialFileState = {
@@ -9523,6 +9997,18 @@ on(retrieveBookingSlotTypesAction, (state) => ({ ...state, bookingSlotTypes: lis
9523
9997
  })), on(retrieveBookingSlotTypesSuccessAction, (state, { payload }) => ({
9524
9998
  ...state,
9525
9999
  bookingSlotTypes: listLoadSuccess(payload)
10000
+ })), on(retrieveTeamBookingSlotTypesAction, (state) => ({ ...state, teamBookingSlotTypes: listStartLoading() })), on(retrieveTeamBookingSlotTypesFailureAction, (state, { payload }) => ({
10001
+ ...state,
10002
+ teamBookingSlotTypes: listLoadFailure(payload)
10003
+ })), on(retrieveTeamBookingSlotTypesSuccessAction, (state, { payload }) => ({
10004
+ ...state,
10005
+ teamBookingSlotTypes: listLoadSuccess(payload)
10006
+ })), on(retrieveMemberBookingSlotTypesAction, (state) => ({ ...state, memberBookingSlotTypes: listStartLoading() })), on(retrieveMemberBookingSlotTypesFailureAction, (state, { payload }) => ({
10007
+ ...state,
10008
+ memberBookingSlotTypes: listLoadFailure(payload)
10009
+ })), on(retrieveMemberBookingSlotTypesSuccessAction, (state, { payload }) => ({
10010
+ ...state,
10011
+ memberBookingSlotTypes: listLoadSuccess(payload)
9526
10012
  })),
9527
10013
  // Booking Slot Reserved Time Positions
9528
10014
  on(retrieveBookingSlotReservedTimePositionsAction, (state) => ({
@@ -9713,7 +10199,7 @@ const fileReducer = createReducer(initialFileState, on(clearStoreAction, () => i
9713
10199
 
9714
10200
  const externalLinkReducer = createReducer(initialExternalLinkState, on(clearStoreAction, () => initialExternalLinkState), on(getMemberExternalLinksAction, (state) => ({ ...state, links: listStartLoading() })), on(getMemberExternalLinksFailureAction, (state, { payload }) => ({ ...state, links: listLoadFailure(payload) })), on(getMemberExternalLinksSuccessAction, (state, { payload }) => ({ ...state, links: listLoadSuccess(payload) })));
9715
10201
 
9716
- const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, () => initialInvoiceState), on(clearMemberInvoiceAction, (state) => ({ ...state, invoice: undefined })), on(listMemberInvoicesAction, (state) => ({ ...state, invoiceList: retrieveStartLoading(state.invoiceList) })), on(listMemberInvoicesFailureAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadFailure(payload) })), on(listMemberInvoicesSuccessAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadSuccess(payload) })), on(retrieveMemberInvoiceAction, (state) => ({ ...state, invoice: retrieveStartLoading(state.invoice) })), on(retrieveMemberInvoiceFailureAction, (state, { payload }) => ({ ...state, invoice: retrieveLoadFailure(payload) })), on(retrieveMemberInvoiceSuccessAction, (state, { payload }) => {
10202
+ const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, () => initialInvoiceState), on(clearMemberInvoiceAction, (state) => ({ ...state, invoice: undefined })), on(clearPaymentOrderAction, (state) => ({ ...state, paymentOrder: undefined })), on(listMemberInvoicesAction, (state) => ({ ...state, invoiceList: retrieveStartLoading(state.invoiceList) })), on(listMemberInvoicesFailureAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadFailure(payload) })), on(listMemberInvoicesSuccessAction, (state, { payload }) => ({ ...state, invoiceList: retrieveLoadSuccess(payload) })), on(retrieveMemberInvoiceAction, (state) => ({ ...state, invoice: retrieveStartLoading(state.invoice) })), on(retrieveMemberInvoiceFailureAction, (state, { payload }) => ({ ...state, invoice: retrieveLoadFailure(payload) })), on(retrieveMemberInvoiceSuccessAction, (state, { payload }) => {
9717
10203
  let newState = { ...state, invoice: retrieveLoadSuccess(payload) };
9718
10204
  const memberInvoices = newState.invoiceList?.result?.get(payload.memberId);
9719
10205
  if (memberInvoices) {
@@ -9735,7 +10221,7 @@ const invoiceReducer = createReducer(initialInvoiceState, on(clearStoreAction, (
9735
10221
  };
9736
10222
  }
9737
10223
  return newState;
9738
- }));
10224
+ }), 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) })), on(deletePaymentOrderSuccessAction, (state) => ({ ...state, paymentOrder: retrieveLoadSuccess(null) })));
9739
10225
 
9740
10226
  const memberCardReducer = createReducer(initialMemberCardState, on(clearStoreAction, () => initialMemberCardState), on(clearMemberCardAction, (state) => ({ ...state, currentMemberCard: undefined })), on(retrieveMemberCardAction, (state) => ({
9741
10227
  ...state,
@@ -10105,47 +10591,98 @@ const bookingReducer = createReducer(initialBookingState, on(clearStoreAction, (
10105
10591
  ...state,
10106
10592
  calendars: listLoadSuccess(bookingCalendars),
10107
10593
  };
10108
- }), on(listLocationSuccessAction, (state, { locations }) => {
10594
+ }), on(listCalendarFailureAction, (state, { payload }) => ({
10595
+ ...state,
10596
+ calendars: listLoadFailure(payload)
10597
+ })), on(listMemberCalendarSuccessAction, (state, { bookingCalendarsMap }) => {
10598
+ return {
10599
+ ...state,
10600
+ memberCalendars: retrieveLoadSuccess(bookingCalendarsMap),
10601
+ };
10602
+ }), on(listMemberCalendarFailureAction, (state, { payload }) => ({
10603
+ ...state,
10604
+ memberCalendars: retrieveLoadFailure(payload)
10605
+ })), on(listMemberBookingCalendarBookableSlotsSuccessAction, (state, { slotsMap }) => {
10606
+ return {
10607
+ ...state,
10608
+ memberSlots: retrieveLoadSuccess(slotsMap),
10609
+ };
10610
+ }), on(listMemberBookingCalendarBookableSlotsFailureAction, (state, { payload }) => ({
10611
+ ...state,
10612
+ memberSlots: retrieveLoadFailure(payload)
10613
+ })), on(listMemberBookingCalendarSlotSessionSuccessAction, (state, { sessionsMap }) => {
10614
+ return {
10615
+ ...state,
10616
+ memberSessions: retrieveLoadSuccess(sessionsMap),
10617
+ };
10618
+ }), on(listMemberBookingCalendarSlotSessionFailureAction, (state, { payload }) => ({
10619
+ ...state,
10620
+ memberSessions: retrieveLoadFailure(payload)
10621
+ })), on(listLocationSuccessAction, (state, { locations }) => {
10109
10622
  return {
10110
10623
  ...state,
10111
10624
  locations: listLoadSuccess(locations),
10112
10625
  };
10113
- }), on(listBookableItemSuccessAction, (state, { items }) => {
10626
+ }), on(listLocationFailureAction, (state, { payload }) => ({
10627
+ ...state,
10628
+ locations: listLoadFailure(payload)
10629
+ })), on(listBookableItemSuccessAction, (state, { items }) => {
10114
10630
  return {
10115
10631
  ...state,
10116
10632
  bookableItems: listLoadSuccess(items),
10117
10633
  };
10118
- }), on(listBookableGroupSuccessAction, (state, { groups }) => {
10634
+ }), on(listBookableItemFailureAction, (state, { payload }) => ({
10635
+ ...state,
10636
+ bookableItems: listLoadFailure(payload)
10637
+ })), on(listBookableGroupSuccessAction, (state, { groups }) => {
10119
10638
  return {
10120
10639
  ...state,
10121
10640
  bookableGroups: listLoadSuccess(groups),
10122
10641
  };
10123
- }), on(listBookableTagSuccessAction, (state, { tags }) => {
10642
+ }), on(listBookableGroupFailureAction, (state, { payload }) => ({
10643
+ ...state,
10644
+ bookableGroups: listLoadFailure(payload)
10645
+ })), on(listBookableTagSuccessAction, (state, { tags }) => {
10124
10646
  return {
10125
10647
  ...state,
10126
10648
  bookableTags: listLoadSuccess(tags),
10127
10649
  };
10128
- }), on(listTeamSuccessAction, (state, { teams }) => {
10650
+ }), on(listBookableTagFailureAction, (state, { payload }) => ({
10651
+ ...state,
10652
+ bookableTags: listLoadFailure(payload)
10653
+ })), on(listTeamSuccessAction, (state, { teams }) => {
10129
10654
  return {
10130
10655
  ...state,
10131
10656
  bookingTeams: listLoadSuccess(teams),
10132
10657
  };
10133
- }), on(listActivityTypeSuccessAction, (state, { activityTypes }) => {
10658
+ }), on(listTeamFailureAction, (state, { payload }) => ({
10659
+ ...state,
10660
+ bookingTeams: listLoadFailure(payload)
10661
+ })), on(listActivityTypeSuccessAction, (state, { activityTypes }) => {
10134
10662
  return {
10135
10663
  ...state,
10136
10664
  activityTypes: listLoadSuccess(activityTypes),
10137
10665
  };
10138
- }), on(retrieveSettingsSuccessAction, (state, { settings }) => {
10666
+ }), on(listActivityTypeFailureAction, (state, { payload }) => ({
10667
+ ...state,
10668
+ activityTypes: listLoadFailure(payload)
10669
+ })), on(retrieveSettingsSuccessAction, (state, { settings }) => {
10139
10670
  return {
10140
10671
  ...state,
10141
10672
  bookingActivitySettings: retrieveLoadSuccess(settings),
10142
10673
  };
10143
- }), on(retrieveBookingSettingsSuccessAction, (state, { settings }) => {
10674
+ }), on(retrieveSettingsFailureAction, (state, { payload }) => ({
10675
+ ...state,
10676
+ bookingActivitySettings: retrieveLoadFailure(payload)
10677
+ })), on(retrieveBookingSettingsSuccessAction, (state, { settings }) => {
10144
10678
  return {
10145
10679
  ...state,
10146
10680
  bookingSettings: retrieveLoadSuccess(settings),
10147
10681
  };
10148
- }), on(selectCurrentCalendarAction, (state, { calendar }) => {
10682
+ }), on(retrieveBookingSettingsFailureAction, (state, { payload }) => ({
10683
+ ...state,
10684
+ bookingSettings: retrieveLoadFailure(payload)
10685
+ })), on(selectCurrentCalendarAction, (state, { calendar }) => {
10149
10686
  return {
10150
10687
  ...state,
10151
10688
  currentCalendar: calendar,
@@ -10491,5 +11028,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.7", ngImpor
10491
11028
  * Generated bundle index. Do not edit.
10492
11029
  */
10493
11030
 
10494
- export { APP, Activity, ActivityActionTypes, ActivityExtraMember, ActivityInvite, ActivityLocation, ActivityLocationGroup, ActivityLocationPart, ActivityLocationTag, ActivityParticipant, ActivityService, ActivitySettings, ActivityType, Auth, AuthActionType, AuthMember, AuthSection, AuthService, AuthTeam, AuthTeamSection, AuthenticatedGuard, Authentication, AuthenticationInterceptor, AuthenticationService, BookableGroup, BookableItem, BookablePart, BookableService, BookableTag, BookingActionTypes, BookingCalendar, BookingCalendarApplicationTime, BookingCalendarService, BookingCalendarSlot, BookingCalendarSlotSession, BookingSettings, BookingSlotFilter, Calendar, CalendarActionTypes, CalendarEvent, Card, CardDeal, CardLogo, CardLogoUrls, CardMemberTicket, CardTheme, CardTicket, CardTicketLocation, Club, ClubImage, ClubInfoActionType, ClubSection, ClubService, Collection, ConstantActionType, ConstantService, Contact, CreditCard, DataAccessModule, Directory, Email, EmailActionTypes, EmailService, Event, ExternalLink, ExternalLinkActionType, ExternalLinkService, FeatureFlags, FeatureFlagsService, FileActionTypes, FileObject, FileService, GeneralImage, Giro, GroupRole, HandleGrantTokenGuard, HomeTeam, ImageUrls, InvoiceActionType, InvoiceService, MaintenanceModeService, Member, MemberActionType, MemberActivityInvite, MemberAttribute, MemberCard, MemberCardActionType, MemberCardService, MemberContact, MemberFee, MemberFunction, MemberInvoice, MemberInvoiceRow, MemberPublicForm, MemberPublicFormField, MemberPublicFormFieldOption, MemberPublicFormService, MemberService, MemberTeam, MemberTeamThrough, MemberType, MemberValidationSettings, News, NewsActionType, NewsService, OpenActivity, OptionalFee, OtherMember, OtherMemberField, OverbookedBookableItem, OverbookedLocation, Partner, PaymentAttempt, PaymentAttemptService, PublicAuthentication, PublicFormActionType, RegistrationQRCode, RegistrationQRCodeService, Role, STORAGE_SELECTED_AUTH, STORAGE_SELECTED_MEMBERS, STORAGE_TOKEN, SearchClub, SearchMember, SearchMemberCard, SearchMemberInvoice, SearchTeam, Section, SectionService, SelectedField, StorageService, StoreActionTypes, Swish, SwishIncident, SwishIncidentActionTypes, SwishQrCode, TeamActionTypes, TeamService, Token, TokenActionType, TokenService, USER_NOTIFICATIONS_PATH, UnpaidMemberInvoice, User, UserActionType, UserNotification, UserNotificationService, UserService, Zimpler, activateCardTicketAction, activateCardTicketFailureAction, activateCardTicketSuccessAction, activatePublicCardTicketAction, activatePublicCardTicketFailureAction, activatePublicCardTicketSuccessAction, activateUserAction, activateUserFailureAction, activateUserSuccessAction, addEmailRecipientsAction, addTeamLeaderActivityInviteAction, addTeamLeaderActivityInviteFailureAction, addTeamLeaderActivityInviteSuccessAction, authState, bookingState, calendarState, clearAuthenticationAction, clearAuthenticationSuccessAction, clearCurrentExtraMemberAction, clearCurrentMemberAction, clearCurrentPublicTokenAction, clearCurrentTeamAction, clearCurrentTokenAction, clearEmailAction, clearMemberActivityAction, clearMemberActivityInviteAction, clearMemberCardAction, clearMemberInvoiceAction, clearMemberOpenActivityAction, clearMemberOtherMemberAction, clearMemberTeamsAction, clearPublicOpenActivityAction, clearStoreAction, clearTeamActivityAction, clearTeamOtherMemberAction, clearUserNotificationsAction, clubInfoState, constantState, createBookableGroupAction, createBookableGroupFailureAction, createBookableGroupSuccessAction, createBookableItemAction, createBookableItemFailureAction, createBookableItemSuccessAction, createBookableTagAction, createBookableTagFailureAction, createBookableTagSuccessAction, createBookingCalendarAction, createBookingCalendarFailureAction, createBookingCalendarSlotAction, createBookingCalendarSlotFailureAction, createBookingCalendarSlotSessionAction, createBookingCalendarSlotSessionFailureAction, createBookingCalendarSlotSessionSuccessAction, createBookingCalendarSlotSuccessAction, createBookingCalendarSuccessAction, createMondidoMemberPaymentAction, createMondidoPaymentFailureAction, createMondidoPaymentSuccessAction, createMondidoPublicPaymentAction, createSwishMemberPaymentAction, createSwishPaymentFailureAction, createSwishPaymentSuccessAction, createSwishPublicPaymentAction, createTeamActivityAction, createTeamActivityFailureAction, createTeamActivitySuccessAction, createTeamDirectoryAction, createTeamDirectoryFailureAction, createTeamDirectorySuccessAction, createTeamFileAction, createTeamFileFailureAction, createTeamFileSuccessAction, createTeamNewsAction, createTeamNewsFailureAction, createTeamNewsSuccessAction, createUserAction, createUserFailureAction, createUserSuccessAction, createZimplerMemberPaymentAction, createZimplerPaymentFailureAction, createZimplerPaymentSuccessAction, createZimplerPublicPaymentAction, dataAccessEffects, dataAccessReducer, deleteBookableTagAction, deleteBookableTagFailureAction, deleteBookableTagSuccessAction, deleteBookingCalendarAction, deleteBookingCalendarFailureAction, deleteBookingCalendarRepeatableSlotAction, deleteBookingCalendarRepeatableSlotFailureAction, deleteBookingCalendarRepeatableSlotSessionAction, deleteBookingCalendarRepeatableSlotSessionFailureAction, deleteBookingCalendarRepeatableSlotSessionSuccessAction, deleteBookingCalendarRepeatableSlotSuccessAction, deleteBookingCalendarSlotAction, deleteBookingCalendarSlotFailureAction, deleteBookingCalendarSlotSessionAction, deleteBookingCalendarSlotSessionFailureAction, deleteBookingCalendarSlotSessionSuccessAction, deleteBookingCalendarSlotSuccessAction, deleteBookingCalendarSuccessAction, deleteCurrentUserAction, deleteCurrentUserFailureAction, deleteCurrentUserSuccessAction, deleteEmailRecipientAction, deleteTeamActivityAction, deleteTeamActivityFailureAction, deleteTeamActivityInviteAction, deleteTeamActivityInviteFailureAction, deleteTeamActivityInviteSuccessAction, deleteTeamActivitySuccessAction, deleteTeamDirectoryAction, deleteTeamDirectoryFailureAction, deleteTeamDirectorySuccessAction, deleteTeamFileAction, deleteTeamFileFailureAction, deleteTeamFileSuccessAction, deleteTeamLeaderMemberAction, deleteTeamLeaderMemberFailureAction, deleteTeamLeaderMemberSuccessAction, deleteTeamNewsAction, deleteTeamNewsFailureAction, deleteTeamNewsSuccessAction, emailState, emptyListResultFactory, emptyRetrieveResultFactory, ensureAuths, ensureConstants, ensureCurrentAuth, ensureCurrentUser, ensureItemLoadingDone, ensureListLoadingDone, ensureMemberCalendarEventsLoadingDone, ensureOpenActivitiesLoadingDone, ensureOpenActivityLocationLoadingDone, ensureOpenActivityTypeLoadingDone, ensurePublicOpenActivitiesLoadingDone, ensureTeamCalendarEventsLoadingDone, ensureUpdatedData, externalLinkState, fileState, getCurrentAuthAction, getCurrentAuthSuccessAction, getCurrentMemberClubInfoAction, getCurrentMemberClubInfoFailureAction, getCurrentMemberClubInfoSuccessAction, getCurrentPublicClubInfoAction, getCurrentPublicClubInfoFailureAction, getCurrentPublicClubInfoSuccessAction, getCurrentTeamClubInfoAction, getCurrentTeamClubInfoFailureAction, getCurrentTeamClubInfoSuccessAction, getCurrentTokenAction, getCurrentTokenSuccessAction, getCurrentUserAction, getCurrentUserFailureAction, getCurrentUserSuccessAction, getMemberExternalLinksAction, getMemberExternalLinksFailureAction, getMemberExternalLinksSuccessAction, initialAuthState, initialBookingState, initialCalendarState, initialClubInfoState, initialConstantState, initialEmailState, initialExternalLinkState, initialFileState, initialInvoiceState, initialMemberCardState, initialMemberState, initialNewsState, initialPublicFormState, initialPublicState, initialTeamState, initialTokenState, initialUserState, invoiceState, listActivityTypeAction, listActivityTypeFailureAction, listActivityTypeSuccessAction, listAllMemberOpenActivityLocationsAction, listAllMemberOpenActivityLocationsFailureAction, listAllMemberOpenActivityLocationsSuccessAction, listAllMemberOpenActivityTypesAction, listAllMemberOpenActivityTypesFailureAction, listAllMemberOpenActivityTypesSuccessAction, listAllPublicOpenActivityLocationsAction, listAllPublicOpenActivityLocationsFailureAction, listAllPublicOpenActivityLocationsSuccessAction, listAllPublicOpenActivityTypesAction, listAllPublicOpenActivityTypesFailureAction, listAllPublicOpenActivityTypesSuccessAction, listAuthAction, listAuthFailureAction, listAuthSuccessAction, listAuthTeamsAction, listAuthTeamsFailureAction, listAuthTeamsSuccessAction, listBookableGroupAction, listBookableGroupFailureAction, listBookableGroupSuccessAction, listBookableItemAction, listBookableItemFailureAction, listBookableItemSuccessAction, listBookableTagAction, listBookableTagFailureAction, listBookableTagSuccessAction, listCalendarAction, listCalendarFailureAction, listCalendarSuccessAction, listLocationAction, listLocationFailureAction, listLocationSuccessAction, listMemberActivitiesAction, listMemberActivitiesFailureAction, listMemberActivitiesSuccessAction, listMemberActivityInvitesAction, listMemberActivityInvitesFailureAction, listMemberActivityInvitesSuccessAction, listMemberCardsAction, listMemberCardsFailureAction, listMemberCardsSuccessAction, listMemberInvoicesAction, listMemberInvoicesFailureAction, listMemberInvoicesSuccessAction, listMemberLeaderExtraMembersAction, listMemberLeaderExtraMembersFailureAction, listMemberLeaderExtraMembersSuccessAction, listMemberLeaderMembersAction, listMemberLeaderMembersFailureAction, listMemberLeaderMembersSuccessAction, listMemberNewsAction, listMemberNewsFailureAction, listMemberNewsSuccessAction, listMemberOpenActivitiesAction, listMemberOpenActivitiesFailureAction, listMemberOpenActivitiesSuccessAction, listMemberOpenActivityLocationsAction, listMemberOpenActivityLocationsFailureAction, listMemberOpenActivityLocationsSuccessAction, listMemberOpenActivityTypesAction, listMemberOpenActivityTypesFailureAction, listMemberOpenActivityTypesSuccessAction, listMemberOtherMembersAction, listMemberOtherMembersFailureAction, listMemberOtherMembersSuccessAction, listMemberTeamsAction, listMemberTeamsFailureAction, listMemberTeamsSuccessAction, listMembersAction, listMembersFailureAction, listMembersSuccessAction, listPublicFormAction, listPublicFormFailureAction, listPublicFormSuccessAction, listPublicMembersAction, listPublicMembersFailureAction, listPublicMembersSuccessAction, listPublicOpenActivitiesAction, listPublicOpenActivitiesFailureAction, listPublicOpenActivitiesSuccessAction, listPublicOpenActivityLocationsAction, listPublicOpenActivityLocationsFailureAction, listPublicOpenActivityLocationsSuccessAction, listPublicOpenActivityTypesAction, listPublicOpenActivityTypesFailureAction, listPublicOpenActivityTypesSuccessAction, listSwishIncidentsAction, listSwishIncidentsFailureAction, listSwishIncidentsSuccessAction, listTeamAction, listTeamActivitiesAction, listTeamActivitiesFailureAction, listTeamActivitiesSuccessAction, listTeamActivityParticipantsAction, listTeamActivityParticipantsFailureAction, listTeamActivityParticipantsSuccessAction, listTeamFailureAction, listTeamLeaderExtraMembersAction, listTeamLeaderExtraMembersFailureAction, listTeamLeaderExtraMembersSuccessAction, listTeamLeaderMembersAction, listTeamLeaderMembersFailureAction, listTeamLeaderMembersSuccessAction, listTeamNewsAction, listTeamNewsFailureAction, listTeamNewsSuccessAction, listTeamOtherMembersAction, listTeamOtherMembersFailureAction, listTeamOtherMembersSuccessAction, listTeamSuccessAction, listUserNotificationsAction, listUserNotificationsFailureAction, listUserNotificationsSuccessAction, loginTokenAction, loginTokenFailureAction, loginTokenSuccessAction, loginWithSessionAction, loginWithSessionFailureAction, loginWithTokenAction, loginWithTokenFailureAction, memberCardState, memberLoginAction, memberLoginFailureAction, memberLoginSuccessAction, memberSendCodeAction, memberSendCodeFailureAction, memberSendCodeSuccessAction, memberState, newsState, publicFormState, publicState, reauthenticateTokenAction, reauthenticateTokenFailureAction, reauthenticateTokenSuccessAction, refreshAuthsAction, refreshAuthsFailureAction, refreshAuthsSuccessAction, removeMemberAuthAction, removeMemberAuthFailureAction, removeMemberAuthSuccessAction, removeMemberOpenActivityAction, removeMemberOpenActivityFailureAction, removeMemberOpenActivitySuccessAction, removeMemberProfileContactAction, removeMemberProfileContactFailureAction, removeMemberProfileContactSuccessAction, removePublicOpenActivityAction, removePublicOpenActivityFailureAction, removePublicOpenActivitySuccessAction, removeTeamAuthAction, removeTeamAuthFailureAction, removeTeamAuthSuccessAction, removeTeamMemberProfileContactAction, removeTeamMemberProfileContactFailureAction, removeTeamMemberProfileContactSuccessAction, resendTeamActivityMemberInviteAction, resendTeamActivityMemberInviteFailureAction, resendTeamActivityMemberInviteSuccessAction, resetBookingStateAction, resetPasswordAction, resetPasswordFailureAction, resetPasswordSuccessAction, retrieveActivityMaxAttendantsTypesConstantsAction, retrieveActivityMaxAttendantsTypesConstantsFailureAction, retrieveActivityMaxAttendantsTypesConstantsSuccessAction, retrieveActivityMeetUpTimesConstantsAction, retrieveActivityMeetUpTimesConstantsFailureAction, retrieveActivityMeetUpTimesConstantsSuccessAction, retrieveActivityReminderDaysConstantsAction, retrieveActivityReminderDaysConstantsFailureAction, retrieveActivityReminderDaysConstantsSuccessAction, retrieveActivityReminderReceiversConstantsAction, retrieveActivityReminderReceiversConstantsFailureAction, retrieveActivityReminderReceiversConstantsSuccessAction, retrieveActivityReminderTimesConstantsAction, retrieveActivityReminderTimesConstantsFailureAction, retrieveActivityReminderTimesConstantsSuccessAction, retrieveActivityRepeatOptionsConstantsAction, retrieveActivityRepeatOptionsConstantsFailureAction, retrieveActivityRepeatOptionsConstantsSuccessAction, retrieveActivityRepeatTypeOptionsConstantsAction, retrieveActivityRepeatTypeOptionsConstantsFailureAction, retrieveActivityRepeatTypeOptionsConstantsSuccessAction, retrieveActivitySettingsConstantsAction, retrieveActivitySettingsConstantsFailureAction, retrieveActivitySettingsConstantsSuccessAction, retrieveBookingCalendarStatusesAction, retrieveBookingCalendarStatusesFailureAction, retrieveBookingCalendarStatusesSuccessAction, retrieveBookingCalendarTypesAction, retrieveBookingCalendarTypesFailureAction, retrieveBookingCalendarTypesSuccessAction, retrieveBookingSettingsAction, retrieveBookingSettingsFailureAction, retrieveBookingSettingsSuccessAction, retrieveBookingSlotReservedTimePositionsAction, retrieveBookingSlotReservedTimePositionsFailureAction, retrieveBookingSlotReservedTimePositionsSuccessAction, retrieveBookingSlotSessionTypesAction, retrieveBookingSlotSessionTypesFailureAction, retrieveBookingSlotSessionTypesSuccessAction, retrieveBookingSlotTypesAction, retrieveBookingSlotTypesFailureAction, retrieveBookingSlotTypesSuccessAction, retrieveCountriesConstantsAction, retrieveCountriesConstantsFailureAction, retrieveCountriesConstantsSuccessAction, retrieveFeatureFlagsAction, retrieveFeatureFlagsFailureAction, retrieveFeatureFlagsSuccessAction, retrieveLanguagesConstantsAction, retrieveLanguagesConstantsFailureAction, retrieveLanguagesConstantsSuccessAction, retrieveMemberActivityAction, retrieveMemberActivityFailureAction, retrieveMemberActivityInviteAction, retrieveMemberActivityInviteFailureAction, retrieveMemberActivityInviteSuccessAction, retrieveMemberActivitySuccessAction, retrieveMemberCardAction, retrieveMemberCardDealsAction, retrieveMemberCardDealsFailureAction, retrieveMemberCardDealsSuccessAction, retrieveMemberCardFailureAction, retrieveMemberCardQRCodeAction, retrieveMemberCardQRCodeFailureAction, retrieveMemberCardQRCodeSuccessAction, retrieveMemberCardSuccessAction, retrieveMemberCardTicketsAction, retrieveMemberCardTicketsFailureAction, retrieveMemberCardTicketsSuccessAction, retrieveMemberContactTypesConstantsAction, retrieveMemberContactTypesConstantsFailureAction, retrieveMemberContactTypesConstantsSuccessAction, retrieveMemberDirectoriesAction, retrieveMemberDirectoriesFailureAction, retrieveMemberDirectoriesSuccessAction, retrieveMemberInvoiceAction, retrieveMemberInvoiceFailureAction, retrieveMemberInvoiceSuccessAction, retrieveMemberLeaderExtraMemberAction, retrieveMemberLeaderExtraMemberFailureAction, retrieveMemberLeaderExtraMemberSuccessAction, retrieveMemberLeaderGroupAction, retrieveMemberLeaderGroupFailureAction, retrieveMemberLeaderGroupSuccessAction, retrieveMemberLeaderMemberAction, retrieveMemberLeaderMemberFailureAction, retrieveMemberLeaderMemberSuccessAction, retrieveMemberNewsAction, retrieveMemberNewsFailureAction, retrieveMemberNewsSuccessAction, retrieveMemberOpenActivityAction, retrieveMemberOpenActivityFailureAction, retrieveMemberOpenActivitySuccessAction, retrieveMemberOtherMemberAction, retrieveMemberOtherMemberFailureAction, retrieveMemberOtherMemberSuccessAction, retrieveMemberPaymentAttemptAction, retrieveMemberPaymentAttemptFailureAction, retrieveMemberPaymentAttemptSuccessAction, retrieveMemberProfileAction, retrieveMemberProfileFailureAction, retrieveMemberProfileSuccessAction, retrieveMemberSwishQRCodeAction, retrievePublicActivityInviteAction, retrievePublicActivityInviteFailureAction, retrievePublicActivityInviteSuccessAction, retrievePublicFormAction, retrievePublicFormFailureAction, retrievePublicFormSuccessAction, retrievePublicInvoiceAction, retrievePublicInvoiceFailureAction, retrievePublicInvoiceLogoAction, retrievePublicInvoiceLogoFailureAction, retrievePublicInvoiceLogoSuccessAction, retrievePublicInvoiceSuccessAction, retrievePublicMemberCardAction, retrievePublicMemberCardDealsAction, retrievePublicMemberCardDealsFailureAction, retrievePublicMemberCardDealsSuccessAction, retrievePublicMemberCardFailureAction, retrievePublicMemberCardQRCodeAction, retrievePublicMemberCardQRCodeFailureAction, retrievePublicMemberCardQRCodeSuccessAction, retrievePublicMemberCardRegisterAction, retrievePublicMemberCardRegisterFailureAction, retrievePublicMemberCardRegisterSuccessAction, retrievePublicMemberCardSuccessAction, retrievePublicMemberCardTicketsAction, retrievePublicMemberCardTicketsFailureAction, retrievePublicMemberCardTicketsSuccessAction, retrievePublicOpenActivityAction, retrievePublicOpenActivityFailureAction, retrievePublicOpenActivitySuccessAction, retrievePublicPaymentAttemptAction, retrievePublicPaymentAttemptFailureAction, retrievePublicPaymentAttemptSuccessAction, retrievePublicSwishQRCodeAction, retrieveSettingsAction, retrieveSettingsFailureAction, retrieveSettingsSuccessAction, retrieveSwishQRCodeFailureAction, retrieveSwishQRCodeSuccessAction, retrieveTeamActivityAction, retrieveTeamActivityFailureAction, retrieveTeamActivityQRCodeAction, retrieveTeamActivityQRCodeFailureAction, retrieveTeamActivityQRCodeSuccessAction, retrieveTeamActivitySettingsAction, retrieveTeamActivitySettingsFailureAction, retrieveTeamActivitySettingsSuccessAction, retrieveTeamActivitySuccessAction, retrieveTeamDefaultActivitySettingsAction, retrieveTeamDefaultActivitySettingsFailureAction, retrieveTeamDefaultActivitySettingsSuccessAction, retrieveTeamDirectoriesAction, retrieveTeamDirectoriesFailureAction, retrieveTeamDirectoriesSuccessAction, retrieveTeamLeaderExtraMemberAction, retrieveTeamLeaderExtraMemberFailureAction, retrieveTeamLeaderExtraMemberSuccessAction, retrieveTeamLeaderGroupAction, retrieveTeamLeaderGroupFailureAction, retrieveTeamLeaderGroupSuccessAction, retrieveTeamLeaderMemberAction, retrieveTeamLeaderMemberFailureAction, retrieveTeamLeaderMemberSuccessAction, retrieveTeamNewsAction, retrieveTeamNewsFailureAction, retrieveTeamNewsSuccessAction, retrieveTeamOtherMemberAction, retrieveTeamOtherMemberFailureAction, retrieveTeamOtherMemberSuccessAction, selectActivityInvites, selectActivityMaxAttendees, selectActivityMeetUpTimes, selectActivityReminderDays, selectActivityReminderReceivers, selectActivityReminderTimes, selectActivityRepeatOptions, selectActivityRepeatTypeOptions, selectActivitySettings, selectActivityTypes, selectAllAuths, selectAllMemberCards, selectAllOpenActivityLocations, selectAllOpenActivityTypes, selectAllPublicForms, selectBookableGroups, selectBookableItems, selectBookableTags, selectBookingActivitySettings, selectBookingCalendarStatuses, selectBookingCalendarTypes, selectBookingSettings, selectBookingSlotFilter, selectBookingSlotReservedTimePositions, selectBookingSlotSessionTypes, selectBookingSlotTypes, selectBookingTeams, selectCalendars, selectCardDeals, selectCardTickets, selectClubInfo, selectCountries, selectCurrentAuth, selectCurrentCalendar, selectCurrentCalendarAction, selectCurrentExtraMember, selectCurrentMember, selectCurrentMemberActivity, selectCurrentMemberActivityInvite, selectCurrentMemberNewsItem, selectCurrentMemberOpenActivity, selectCurrentPublicToken, selectCurrentTeam, selectCurrentTeamActivity, selectCurrentTeamNewsItem, selectCurrentToken, selectCurrentUser, selectEmailSettings, selectExternalLinks, selectFeatureFlags, selectInvoice, selectInvoiceList, selectLanguages, selectLocations, selectMemberCalendarEvents, selectMemberCard, selectMemberContactTypes, selectMemberDirectories, selectMemberNewsList, selectMemberOpenActivities, selectMemberOpenActivityLocations, selectMemberOpenActivityTypes, selectMemberOtherMember, selectMemberOtherMembers, selectMemberProfile, selectMemberTeams, selectMembers, selectNewTeamActivity, selectPublicActivityInvite, selectPublicAllOpenActivityLocations, selectPublicAllOpenActivityTypes, selectPublicCardDeals, selectPublicCardTickets, selectPublicClubInfo, selectPublicInvoice, selectPublicInvoiceLogo, selectPublicMemberAction, selectPublicMemberCard, selectPublicMemberFailureAction, selectPublicMemberSuccessAction, selectPublicMembers, selectPublicOpenActivities, selectPublicOpenActivity, selectPublicOpenActivityLocations, selectPublicOpenActivityTypes, selectTeamActivitySettings, selectTeamCalendarEvents, selectTeamDirectories, selectTeamExtraMembers, selectTeamExtraMembersId, selectTeamMembers, selectTeamMembersId, selectTeamNewsList, selectTeamOtherMember, selectTeamOtherMembers, selectUserNotifications, sendEmailAction, sendEmailFailureAction, sendEmailSuccessAction, setCurrentAuthAction, setCurrentTokenAction, setEmailSettingsAction, swishIncidentGetMostSevereStatus, teamState, tokenState, updateActivityTypeAction, updateActivityTypeFailureAction, updateActivityTypeSuccessAction, updateApplicationTimeAction, updateBookableGroupAction, updateBookableGroupFailureAction, updateBookableGroupSuccessAction, updateBookableItemAction, updateBookableItemFailureAction, updateBookableItemSuccessAction, updateBookableTagAction, updateBookableTagFailureAction, updateBookableTagSuccessAction, updateBookingCalendarAction, updateBookingCalendarFailureAction, updateBookingCalendarSlotAction, updateBookingCalendarSlotFailureAction, updateBookingCalendarSlotSessionAction, updateBookingCalendarSlotSessionFailureAction, updateBookingCalendarSlotSessionSuccessAction, updateBookingCalendarSlotSuccessAction, updateBookingCalendarSuccessAction, updateBookingFilterAction, updateBookingSettingsAction, updateBookingSettingsFailureAction, updateBookingSettingsSuccessAction, updateCurrentUserAction, updateCurrentUserFailureAction, updateCurrentUserSuccessAction, updateMemberActivityAttendanceAction, updateMemberActivityAttendanceFailureAction, updateMemberActivityAttendanceSuccessAction, updateMemberActivityInviteAction, updateMemberActivityInviteFailureAction, updateMemberActivityInviteSuccessAction, updateMemberOpenActivityAction, updateMemberOpenActivityFailureAction, updateMemberOpenActivitySuccessAction, updateMemberProfileAction, updateMemberProfileFailureAction, updateMemberProfileSuccessAction, updatePublicActivityInviteAction, updatePublicActivityInviteFailureAction, updatePublicActivityInviteSuccessAction, updatePublicOpenActivityAction, updatePublicOpenActivityFailureAction, updatePublicOpenActivityInviteAction, updatePublicOpenActivityInviteFailureAction, updatePublicOpenActivityInviteSuccessAction, updatePublicOpenActivitySuccessAction, updateTeamActivityAction, updateTeamActivityAttendanceAction, updateTeamActivityAttendanceFailureAction, updateTeamActivityAttendanceSuccessAction, updateTeamActivityFailureAction, updateTeamActivitySuccessAction, updateTeamLeaderMemberAction, updateTeamLeaderMemberFailureAction, updateTeamLeaderMemberSuccessAction, updateTeamMemberActivityInviteAction, updateTeamMemberActivityInviteFailureAction, updateTeamMemberActivityInviteSuccessAction, updateTeamNewsAction, updateTeamNewsFailureAction, updateTeamNewsSuccessAction, userState };
11031
+ 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, createMondidoInvoicePaymentFailureAction, createMondidoInvoicePaymentSuccessAction, createMondidoMemberInvoicePaymentAction, createMondidoMemberPaymentOrderPaymentAction, createMondidoPaymentOrderPaymentFailureAction, createMondidoPaymentOrderPaymentSuccessAction, createMondidoPublicInvoicePaymentAction, createMondidoPublicPaymentOrderPaymentAction, createSwishInvoicePaymentFailureAction, createSwishInvoicePaymentSuccessAction, createSwishMemberInvoicePaymentAction, createSwishMemberPaymentOrderPaymentAction, createSwishPaymentOrderPaymentFailureAction, createSwishPaymentOrderPaymentSuccessAction, createSwishPublicInvoicePaymentAction, createSwishPublicPaymentOrderPaymentAction, 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, deletePaymentOrderAction, deletePaymentOrderFailureAction, deletePaymentOrderSuccessAction, 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, retrieveInvoiceSwishQRCodeFailureAction, retrieveInvoiceSwishQRCodeSuccessAction, 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, retrieveMemberInvoicePaymentAttemptAction, retrieveMemberInvoicePaymentAttemptFailureAction, retrieveMemberInvoicePaymentAttemptSuccessAction, retrieveMemberInvoiceSuccessAction, retrieveMemberInvoiceSwishQRCodeAction, retrieveMemberLeaderExtraMemberAction, retrieveMemberLeaderExtraMemberFailureAction, retrieveMemberLeaderExtraMemberSuccessAction, retrieveMemberLeaderGroupAction, retrieveMemberLeaderGroupFailureAction, retrieveMemberLeaderGroupSuccessAction, retrieveMemberLeaderMemberAction, retrieveMemberLeaderMemberFailureAction, retrieveMemberLeaderMemberSuccessAction, retrieveMemberNewsAction, retrieveMemberNewsFailureAction, retrieveMemberNewsSuccessAction, retrieveMemberOpenActivityAction, retrieveMemberOpenActivityFailureAction, retrieveMemberOpenActivitySuccessAction, retrieveMemberOtherMemberAction, retrieveMemberOtherMemberFailureAction, retrieveMemberOtherMemberSuccessAction, retrieveMemberPaymentOrderPaymentAttemptAction, retrieveMemberPaymentOrderPaymentAttemptFailureAction, retrieveMemberPaymentOrderPaymentAttemptSuccessAction, retrieveMemberPaymentOrderSwishQRCodeAction, retrieveMemberProfileAction, retrieveMemberProfileFailureAction, retrieveMemberProfileSuccessAction, retrievePaymentOrderAction, retrievePaymentOrderFailureAction, retrievePaymentOrderSuccessAction, retrievePaymentOrderSwishQRCodeFailureAction, retrievePaymentOrderSwishQRCodeSuccessAction, retrievePublicActivityInviteAction, retrievePublicActivityInviteFailureAction, retrievePublicActivityInviteSuccessAction, retrievePublicFormAction, retrievePublicFormFailureAction, retrievePublicFormSuccessAction, retrievePublicInvoiceAction, retrievePublicInvoiceFailureAction, retrievePublicInvoiceLogoAction, retrievePublicInvoiceLogoFailureAction, retrievePublicInvoiceLogoSuccessAction, retrievePublicInvoicePaymentAttemptAction, retrievePublicInvoicePaymentAttemptFailureAction, retrievePublicInvoicePaymentAttemptSuccessAction, retrievePublicInvoiceSuccessAction, retrievePublicInvoiceSwishQRCodeAction, retrievePublicMemberCardAction, retrievePublicMemberCardDealsAction, retrievePublicMemberCardDealsFailureAction, retrievePublicMemberCardDealsSuccessAction, retrievePublicMemberCardFailureAction, retrievePublicMemberCardQRCodeAction, retrievePublicMemberCardQRCodeFailureAction, retrievePublicMemberCardQRCodeSuccessAction, retrievePublicMemberCardRegisterAction, retrievePublicMemberCardRegisterFailureAction, retrievePublicMemberCardRegisterSuccessAction, retrievePublicMemberCardSuccessAction, retrievePublicMemberCardTicketsAction, retrievePublicMemberCardTicketsFailureAction, retrievePublicMemberCardTicketsSuccessAction, retrievePublicOpenActivityAction, retrievePublicOpenActivityFailureAction, retrievePublicOpenActivitySuccessAction, retrievePublicPaymentOrderAction, retrievePublicPaymentOrderFailureAction, retrievePublicPaymentOrderLogoAction, retrievePublicPaymentOrderLogoFailureAction, retrievePublicPaymentOrderLogoSuccessAction, retrievePublicPaymentOrderPaymentAttemptAction, retrievePublicPaymentOrderPaymentAttemptFailureAction, retrievePublicPaymentOrderPaymentAttemptSuccessAction, retrievePublicPaymentOrderSuccessAction, retrievePublicPaymentOrderSwishQRCodeAction, retrieveSettingsAction, retrieveSettingsFailureAction, retrieveSettingsSuccessAction, retrieveTeamActivityAction, retrieveTeamActivityFailureAction, retrieveTeamActivityQRCodeAction, retrieveTeamActivityQRCodeFailureAction, retrieveTeamActivityQRCodeSuccessAction, retrieveTeamActivitySettingsAction, retrieveTeamActivitySettingsFailureAction, retrieveTeamActivitySettingsSuccessAction, retrieveTeamActivitySuccessAction, retrieveTeamBookingSlotTypesAction, retrieveTeamBookingSlotTypesFailureAction, retrieveTeamBookingSlotTypesSuccessAction, retrieveTeamDefaultActivitySettingsAction, retrieveTeamDefaultActivitySettingsFailureAction, retrieveTeamDefaultActivitySettingsSuccessAction, retrieveTeamDirectoriesAction, retrieveTeamDirectoriesFailureAction, retrieveTeamDirectoriesSuccessAction, retrieveTeamLeaderExtraMemberAction, retrieveTeamLeaderExtraMemberFailureAction, retrieveTeamLeaderExtraMemberSuccessAction, retrieveTeamLeaderGroupAction, retrieveTeamLeaderGroupFailureAction, retrieveTeamLeaderGroupSuccessAction, retrieveTeamLeaderMemberAction, retrieveTeamLeaderMemberFailureAction, retrieveTeamLeaderMemberSuccessAction, retrieveTeamNewsAction, retrieveTeamNewsFailureAction, retrieveTeamNewsSuccessAction, retrieveTeamOtherMemberAction, retrieveTeamOtherMemberFailureAction, retrieveTeamOtherMemberSuccessAction, selectActivityInvites, selectActivityMaxAttendees, selectActivityMeetUpTimes, selectActivityReminderDays, selectActivityReminderReceivers, selectActivityReminderTimes, selectActivityRepeatOptions, selectActivityRepeatTypeOptions, selectActivitySettings, selectActivityTypes, selectAllAuths, selectAllMemberCards, selectAllOpenActivityLocations, selectAllOpenActivityTypes, selectAllPublicForms, selectBookableGroups, selectBookableItems, selectBookableTags, selectBookingActivitySettings, selectBookingCalendarStatuses, selectBookingCalendarTypes, selectBookingSettings, selectBookingSlotFilter, selectBookingSlotReservedTimePositions, selectBookingSlotSessionTypes, selectBookingSlotTypes, selectBookingTeams, selectCalendars, selectCardDeals, selectCardTickets, selectClubInfo, selectCountries, selectCurrentAuth, selectCurrentCalendar, selectCurrentCalendarAction, selectCurrentExtraMember, selectCurrentMember, selectCurrentMemberActivity, selectCurrentMemberActivityInvite, selectCurrentMemberNewsItem, selectCurrentMemberOpenActivity, selectCurrentPublicToken, selectCurrentTeam, selectCurrentTeamActivity, selectCurrentTeamNewsItem, selectCurrentToken, selectCurrentUser, selectEmailSettings, selectExternalLinks, selectFeatureFlags, selectInvoice, selectInvoiceList, selectLanguages, selectLocations, selectMemberBookingSlotTypes, selectMemberCalendarEvents, selectMemberCalendars, selectMemberCard, selectMemberContactTypes, selectMemberDirectories, selectMemberNewsList, selectMemberOpenActivities, selectMemberOpenActivityLocations, selectMemberOpenActivityTypes, selectMemberOtherMember, selectMemberOtherMembers, selectMemberProfile, selectMemberSessions, selectMemberSlots, selectMemberTeams, selectMembers, selectNewTeamActivity, selectPaymentOrder, selectPaymentOrderList, selectPublicActivityInvite, selectPublicAllOpenActivityLocations, selectPublicAllOpenActivityTypes, selectPublicCardDeals, selectPublicCardTickets, selectPublicClubInfo, selectPublicInvoice, selectPublicInvoiceLogo, selectPublicMemberAction, selectPublicMemberCard, selectPublicMemberFailureAction, selectPublicMemberSuccessAction, selectPublicMembers, selectPublicOpenActivities, selectPublicOpenActivity, selectPublicOpenActivityLocations, selectPublicOpenActivityTypes, selectTeamActivitySettings, selectTeamBookingSlotTypes, selectTeamCalendarEvents, selectTeamDirectories, selectTeamExtraMembers, selectTeamExtraMembersId, selectTeamMembers, selectTeamMembersId, selectTeamNewsList, selectTeamOtherMember, selectTeamOtherMembers, selectUserNotifications, sendEmailAction, sendEmailFailureAction, sendEmailSuccessAction, setCurrentAuthAction, setCurrentTokenAction, setEmailSettingsAction, swishIncidentGetMostSevereStatus, teamState, tokenState, updateActivityTypeAction, updateActivityTypeFailureAction, updateActivityTypeSuccessAction, updateApplicationTimeAction, updateBookableGroupAction, updateBookableGroupFailureAction, updateBookableGroupSuccessAction, updateBookableItemAction, updateBookableItemFailureAction, updateBookableItemSuccessAction, updateBookableTagAction, updateBookableTagFailureAction, updateBookableTagSuccessAction, updateBookingCalendarAction, updateBookingCalendarFailureAction, updateBookingCalendarSlotAction, updateBookingCalendarSlotFailureAction, updateBookingCalendarSlotSessionAction, updateBookingCalendarSlotSessionFailureAction, updateBookingCalendarSlotSessionSuccessAction, updateBookingCalendarSlotSuccessAction, updateBookingCalendarSuccessAction, updateBookingFilterAction, updateBookingSettingsAction, updateBookingSettingsFailureAction, updateBookingSettingsSuccessAction, updateCurrentUserAction, updateCurrentUserFailureAction, updateCurrentUserSuccessAction, updateMemberActivityAttendanceAction, updateMemberActivityAttendanceFailureAction, updateMemberActivityAttendanceSuccessAction, updateMemberActivityInviteAction, updateMemberActivityInviteFailureAction, updateMemberActivityInviteSuccessAction, updateMemberOpenActivityAction, updateMemberOpenActivityFailureAction, updateMemberOpenActivitySuccessAction, updateMemberProfileAction, updateMemberProfileFailureAction, updateMemberProfileSuccessAction, updatePublicActivityInviteAction, updatePublicActivityInviteFailureAction, updatePublicActivityInviteSuccessAction, updatePublicOpenActivityAction, updatePublicOpenActivityFailureAction, updatePublicOpenActivityInviteAction, updatePublicOpenActivityInviteFailureAction, updatePublicOpenActivityInviteSuccessAction, updatePublicOpenActivitySuccessAction, updateTeamActivityAction, updateTeamActivityAttendanceAction, updateTeamActivityAttendanceFailureAction, updateTeamActivityAttendanceSuccessAction, updateTeamActivityFailureAction, updateTeamActivitySuccessAction, updateTeamLeaderMemberAction, updateTeamLeaderMemberFailureAction, updateTeamLeaderMemberSuccessAction, updateTeamMemberActivityInviteAction, updateTeamMemberActivityInviteFailureAction, updateTeamMemberActivityInviteSuccessAction, updateTeamNewsAction, updateTeamNewsFailureAction, updateTeamNewsSuccessAction, userState };
10495
11032
  //# sourceMappingURL=myclub_se-data-access.mjs.map