@myclub_se/data-access 3.1.5 → 3.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (98) 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-card/api-member-card.mjs +1 -1
  7. package/esm2022/lib/api-models/api-card/api-selected-field.mjs +2 -0
  8. package/esm2022/lib/api-models/api-card/index.mjs +2 -1
  9. package/esm2022/lib/api-models/api-invoice/api-payment-order.mjs +2 -0
  10. package/esm2022/lib/api-models/api-invoice/index.mjs +2 -1
  11. package/esm2022/lib/models/activity-type.mjs +3 -3
  12. package/esm2022/lib/models/bookable-item.mjs +4 -2
  13. package/esm2022/lib/models/booking-calendar-application-time.mjs +6 -2
  14. package/esm2022/lib/models/booking-calendar-slot-session.mjs +8 -2
  15. package/esm2022/lib/models/booking-calendar-slot.mjs +5 -2
  16. package/esm2022/lib/models/booking-calendar.mjs +8 -2
  17. package/esm2022/lib/models/booking-slot-filter.mjs +4 -1
  18. package/esm2022/lib/models/card/index.mjs +2 -1
  19. package/esm2022/lib/models/card/member-card.mjs +4 -2
  20. package/esm2022/lib/models/card/selected-field.mjs +9 -0
  21. package/esm2022/lib/models/invoice/index.mjs +2 -1
  22. package/esm2022/lib/models/invoice/payment-order.mjs +21 -0
  23. package/esm2022/lib/services/activity.service.mjs +17 -6
  24. package/esm2022/lib/services/bookable.service.mjs +46 -14
  25. package/esm2022/lib/services/booking-calendar.service.mjs +94 -26
  26. package/esm2022/lib/services/constant.service.mjs +9 -1
  27. package/esm2022/lib/services/constants.mjs +2 -0
  28. package/esm2022/lib/services/factories/bookable-item-factory.mjs +2 -2
  29. package/esm2022/lib/services/factories/booking-calendar-application-time-factory.mjs +2 -2
  30. package/esm2022/lib/services/factories/booking-calendar-factory.mjs +2 -2
  31. package/esm2022/lib/services/factories/booking-calendar-slot-factory.mjs +2 -2
  32. package/esm2022/lib/services/factories/booking-calendar-slot-session-factory.mjs +2 -2
  33. package/esm2022/lib/services/factories/member-card-factory.mjs +3 -3
  34. package/esm2022/lib/services/factories/payment-order-factory.mjs +5 -0
  35. package/esm2022/lib/services/feature-flags.service.mjs +5 -2
  36. package/esm2022/lib/services/invoice/index.mjs +2 -1
  37. package/esm2022/lib/services/invoice/payment-order.service.mjs +34 -0
  38. package/esm2022/lib/services/member.service.mjs +5 -2
  39. package/esm2022/lib/services/team.service.mjs +5 -2
  40. package/esm2022/lib/store/actions/booking.actions.mjs +19 -1
  41. package/esm2022/lib/store/actions/constant.actions.mjs +13 -1
  42. package/esm2022/lib/store/actions/invoice.actions.mjs +15 -1
  43. package/esm2022/lib/store/effects/auth.effects.mjs +2 -2
  44. package/esm2022/lib/store/effects/booking.effects.mjs +49 -3
  45. package/esm2022/lib/store/effects/constant.effects.mjs +8 -2
  46. package/esm2022/lib/store/effects/invoice.effects.mjs +22 -3
  47. package/esm2022/lib/store/reducers/booking.reducers.mjs +63 -12
  48. package/esm2022/lib/store/reducers/constant.reducer.mjs +14 -2
  49. package/esm2022/lib/store/reducers/invoice.reducer.mjs +4 -4
  50. package/esm2022/lib/store/selectors/booking.selectors.mjs +4 -1
  51. package/esm2022/lib/store/selectors/constant.selectors.mjs +3 -1
  52. package/esm2022/lib/store/selectors/invoice.selectors.mjs +3 -1
  53. package/esm2022/lib/store/state/booking.state.mjs +4 -1
  54. package/esm2022/lib/store/state/constant.state.mjs +3 -1
  55. package/esm2022/lib/store/state/invoice.state.mjs +3 -1
  56. package/fesm2022/myclub_se-data-access.mjs +475 -73
  57. package/fesm2022/myclub_se-data-access.mjs.map +1 -1
  58. package/lib/api-models/api-bookable-item.d.ts +1 -0
  59. package/lib/api-models/api-booking-calendar-application-time.d.ts +2 -0
  60. package/lib/api-models/api-booking-calendar-slot-session.d.ts +3 -0
  61. package/lib/api-models/api-booking-calendar-slot.d.ts +1 -0
  62. package/lib/api-models/api-booking-calendar.d.ts +2 -0
  63. package/lib/api-models/api-card/api-member-card.d.ts +2 -0
  64. package/lib/api-models/api-card/api-selected-field.d.ts +4 -0
  65. package/lib/api-models/api-card/index.d.ts +1 -0
  66. package/lib/api-models/api-invoice/api-payment-order.d.ts +11 -0
  67. package/lib/api-models/api-invoice/index.d.ts +1 -0
  68. package/lib/models/bookable-item.d.ts +2 -1
  69. package/lib/models/booking-calendar-application-time.d.ts +3 -1
  70. package/lib/models/booking-calendar-slot-session.d.ts +4 -1
  71. package/lib/models/booking-calendar-slot.d.ts +3 -1
  72. package/lib/models/booking-calendar.d.ts +5 -1
  73. package/lib/models/booking-slot-filter.d.ts +1 -0
  74. package/lib/models/card/index.d.ts +1 -0
  75. package/lib/models/card/member-card.d.ts +3 -1
  76. package/lib/models/card/selected-field.d.ts +5 -0
  77. package/lib/models/invoice/index.d.ts +1 -0
  78. package/lib/models/invoice/payment-order.d.ts +12 -0
  79. package/lib/services/bookable.service.d.ts +2 -1
  80. package/lib/services/booking-calendar.service.d.ts +2 -0
  81. package/lib/services/constant.service.d.ts +2 -0
  82. package/lib/services/constants.d.ts +1 -0
  83. package/lib/services/factories/payment-order-factory.d.ts +3 -0
  84. package/lib/services/invoice/index.d.ts +1 -0
  85. package/lib/services/invoice/payment-order.service.d.ts +15 -0
  86. package/lib/store/actions/booking.actions.d.ts +60 -0
  87. package/lib/store/actions/constant.actions.d.ts +28 -0
  88. package/lib/store/actions/invoice.actions.d.ts +46 -2
  89. package/lib/store/effects/booking.effects.d.ts +15 -0
  90. package/lib/store/effects/constant.effects.d.ts +10 -0
  91. package/lib/store/effects/invoice.effects.d.ts +12 -1
  92. package/lib/store/selectors/booking.selectors.d.ts +3 -0
  93. package/lib/store/selectors/constant.selectors.d.ts +2 -0
  94. package/lib/store/selectors/invoice.selectors.d.ts +2 -0
  95. package/lib/store/state/booking.state.d.ts +4 -1
  96. package/lib/store/state/constant.state.d.ts +2 -0
  97. package/lib/store/state/invoice.state.d.ts +3 -1
  98. package/package.json +1 -1
@@ -11,4 +11,5 @@ export interface ApiBookableItem {
11
11
  description: string;
12
12
  tags?: Array<ApiBookableTag> | null;
13
13
  parts?: Array<ApiBookablePart> | null;
14
+ next_available_datetime?: string | null;
14
15
  }
@@ -22,10 +22,12 @@ export interface ApiBookingCalendarApplicationTime {
22
22
  readonly created: string;
23
23
  readonly bookable_name: string;
24
24
  bookable_zones_taken: number;
25
+ bookable_zones_taken_display: string;
25
26
  bookable_part_id: string | null;
26
27
  readonly bookable_part_name: string | null;
27
28
  readonly bookable_id: string;
28
29
  member_id: string | null;
29
30
  readonly member_name: string | null;
30
31
  readonly member_email: string | null;
32
+ readonly price: number;
31
33
  }
@@ -14,6 +14,7 @@ export interface ApiBookingCalendarSlotSession {
14
14
  readonly slot_index: number;
15
15
  comment: string | null;
16
16
  bookable_zones_taken: number;
17
+ bookable_zones_taken_display: string;
17
18
  bookable_part_id: string | null;
18
19
  readonly bookable_part_name: string | null;
19
20
  readonly bookable_id: string;
@@ -27,4 +28,6 @@ export interface ApiBookingCalendarSlotSession {
27
28
  member_id: string | null;
28
29
  readonly member_name: string | null;
29
30
  readonly member_email: string | null;
31
+ readonly price: number;
32
+ readonly payment_order_id: string | null;
30
33
  }
@@ -29,4 +29,5 @@ export interface ApiBookingCalendarSlot {
29
29
  reserved_time_position?: BookingCalendarSlotReservedTimePosition | null;
30
30
  application_times: Array<ApiBookingCalendarApplicationTime> | null;
31
31
  last_repeating_date: string | null;
32
+ price: number | null;
32
33
  }
@@ -18,4 +18,6 @@ export interface ApiBookingCalendar {
18
18
  allow_repeated_bookings: boolean;
19
19
  type?: string | null;
20
20
  type_display?: string | null;
21
+ payment_limit_in_minutes: number;
22
+ price_per_hour: number;
21
23
  }
@@ -1,4 +1,5 @@
1
1
  import { ApiCard } from './api-card';
2
+ import { ApiSelectedField } from './api-selected-field';
2
3
  export interface ApiMemberCard {
3
4
  id: string;
4
5
  card: ApiCard;
@@ -9,4 +10,5 @@ export interface ApiMemberCard {
9
10
  pdf_url: string;
10
11
  qr_code: string | null;
11
12
  qr_code_enabled: boolean;
13
+ selected_fields_display: Array<ApiSelectedField> | undefined;
12
14
  }
@@ -0,0 +1,4 @@
1
+ export interface ApiSelectedField {
2
+ name: string;
3
+ value: string;
4
+ }
@@ -9,3 +9,4 @@ export * from './api-card-ticket-location';
9
9
  export * from './api-home-team';
10
10
  export * from './api-member-card';
11
11
  export * from './api-search-member-card';
12
+ export * from './api-selected-field';
@@ -0,0 +1,11 @@
1
+ import { ApiCreditCard, ApiSwish } from './api-invoice-payments';
2
+ export interface ApiPaymentOrder {
3
+ amount: number;
4
+ credit_card: ApiCreditCard | null;
5
+ club_name: string;
6
+ id: string;
7
+ is_paid: boolean;
8
+ member_id: string;
9
+ organisation_name: string;
10
+ swish: ApiSwish | null;
11
+ }
@@ -6,5 +6,6 @@ export * from './api-member-invoice-row';
6
6
  export * from './api-search-member-invoice';
7
7
  export * from './api-payment-attempt';
8
8
  export * from './api-payment-attempt-create';
9
+ export * from './api-payment-order';
9
10
  export * from './api-swish-qr-code';
10
11
  export * from './api-unpaid-member-invoice';
@@ -12,6 +12,7 @@ export declare class BookableItem {
12
12
  description: string;
13
13
  tags?: BookableTag[] | null | undefined;
14
14
  parts?: BookablePart[] | null | undefined;
15
+ next_available_datetime?: string | null | undefined;
15
16
  static asFormGroup(bookable?: BookableItem): FormGroup<{
16
17
  id: FormControl<string | null>;
17
18
  club_id: FormControl<string | null>;
@@ -23,5 +24,5 @@ export declare class BookableItem {
23
24
  tags: FormArray<FormGroup<any>>;
24
25
  parts: FormArray<FormGroup<any>>;
25
26
  }>;
26
- constructor(id: string, club_id: string, section_id: string | null, group_id: string | null, active: boolean, name: string, location_id: string | null, description: string, tags?: BookableTag[] | null | undefined, parts?: BookablePart[] | null | undefined);
27
+ constructor(id: string, club_id: string, section_id: string | null, group_id: string | null, active: boolean, name: string, location_id: string | null, description: string, tags?: BookableTag[] | null | undefined, parts?: BookablePart[] | null | undefined, next_available_datetime?: string | null | undefined);
27
28
  }
@@ -23,6 +23,7 @@ export declare class BookingCalendarApplicationTime {
23
23
  readonly slot_last_repeating_date: string | null;
24
24
  readonly created: string;
25
25
  bookable_zones_taken: number;
26
+ bookable_zones_taken_display: string;
26
27
  bookable_part_id: string | null;
27
28
  readonly bookable_part_name: string | null;
28
29
  readonly bookable_id: string;
@@ -30,6 +31,7 @@ export declare class BookingCalendarApplicationTime {
30
31
  member_id: string | null;
31
32
  readonly member_name: string | null;
32
33
  readonly member_email: string | null;
34
+ readonly price: number;
33
35
  static asFormGroup(session?: BookingCalendarApplicationTime): FormGroup<{
34
36
  id: FormControl<string | null>;
35
37
  section_id: FormControl<string | null>;
@@ -49,5 +51,5 @@ export declare class BookingCalendarApplicationTime {
49
51
  bookable_part_id: FormControl<string | null>;
50
52
  member_id: FormControl<string | null>;
51
53
  }>;
52
- constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, title: string, end_time: string, section_name: string | null, start_time: string, team_name: string | null, applicant_comment: string | null, reviewer_comment: string | null, status: string, repeat: boolean, activity_type_id: string | null, color: string | null, slot_start_time: string, slot_end_time: string, slot_day: string, slot_number_of_available_sessions: string, slot_last_repeating_date: string | null, created: string, bookable_zones_taken: number, bookable_part_id: string | null, bookable_part_name: string | null, bookable_id: string, bookable_name: string | null, member_id: string | null, member_name: string | null, member_email: string | null);
54
+ constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, title: string, end_time: string, section_name: string | null, start_time: string, team_name: string | null, applicant_comment: string | null, reviewer_comment: string | null, status: string, repeat: boolean, activity_type_id: string | null, color: string | null, slot_start_time: string, slot_end_time: string, slot_day: string, slot_number_of_available_sessions: string, slot_last_repeating_date: string | null, created: string, bookable_zones_taken: number, bookable_zones_taken_display: string, bookable_part_id: string | null, bookable_part_name: string | null, bookable_id: string, bookable_name: string | null, member_id: string | null, member_name: string | null, member_email: string | null, price?: number);
53
55
  }
@@ -22,6 +22,7 @@ export declare class BookingCalendarSlotSession {
22
22
  update_repeating: boolean;
23
23
  update_until_date: string | null;
24
24
  bookable_zones_taken: number;
25
+ bookable_zones_taken_display: string;
25
26
  bookable_part_id: string | null;
26
27
  readonly bookable_part_name: string | null;
27
28
  readonly bookable_name: string | null;
@@ -29,6 +30,8 @@ export declare class BookingCalendarSlotSession {
29
30
  member_id: string | null;
30
31
  readonly member_name: string | null;
31
32
  readonly member_email: string | null;
33
+ readonly price: number;
34
+ readonly payment_order_id: string | null;
32
35
  static asFormGroup(session?: BookingCalendarSlotSession): FormGroup<{
33
36
  id: FormControl<string | null>;
34
37
  section_id: FormControl<string | null>;
@@ -51,5 +54,5 @@ export declare class BookingCalendarSlotSession {
51
54
  bookable_part_id: FormControl<string | null>;
52
55
  member_id: FormControl<string | null>;
53
56
  }>;
54
- constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, title: string, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, last_repeating_date: string | null, type: string, slot_index: number, comment: string | null, day: string, repeat: boolean, activity_type_id: string | null, color: string | null, update_repeating: boolean, update_until_date: string | null, bookable_zones_taken: number, bookable_part_id: string | null, bookable_part_name: string | null, bookable_name: string | null, bookable_id: string, member_id: string | null, member_name: string | null, member_email: string | null);
57
+ constructor(id: string, section_id: string | null, slot_id: string, team_id: string | null, title: string, end_time: string, section_name: string | null, start_time: string, team_name: string | null, is_overbooked: boolean, last_repeating_date: string | null, type: string, slot_index: number, comment: string | null, day: string, repeat: boolean, activity_type_id: string | null, color: string | null, update_repeating: boolean, update_until_date: string | null, bookable_zones_taken: number, bookable_zones_taken_display: string, bookable_part_id: string | null, bookable_part_name: string | null, bookable_name: string | null, bookable_id: string, member_id: string | null, member_name: string | null, member_email: string | null, price: number, payment_order_id: string | null);
55
58
  }
@@ -30,6 +30,7 @@ export declare class BookingCalendarSlot {
30
30
  last_repeating_date?: string | null | undefined;
31
31
  bookable_name?: string | null | undefined;
32
32
  bookable_id?: string | undefined;
33
+ price: number | null;
33
34
  static asFormGroup(slot?: BookingCalendarSlot): FormGroup<{
34
35
  id: FormControl<string | null>;
35
36
  calendar_id: FormControl<string | null>;
@@ -49,6 +50,7 @@ export declare class BookingCalendarSlot {
49
50
  reserved_time: FormControl<moment.Moment | null>;
50
51
  reserved_time_position: FormControl<string | null>;
51
52
  bookable_id: FormControl<string | null>;
53
+ price: FormControl<number | null>;
52
54
  }>;
53
- constructor(id: string, calendar_id: string, calendar_status: string, color: string, day: string, end_time: string, group_id: string | null, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, open_sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType, repeat: string, update_repeating: boolean, update_until_date: string | null, reserved_time_enabled: boolean, repeat_num?: number | null | undefined, repeat_to_day?: string | null | undefined, repeat_type?: string | null | undefined, reserved_time?: string | null | undefined, reserved_time_position?: BookingCalendarSlotReservedTimePosition | null | undefined, application_times?: BookingCalendarApplicationTime[] | null | undefined, last_repeating_date?: string | null | undefined, bookable_name?: string | null | undefined, bookable_id?: string | undefined);
55
+ constructor(id: string, calendar_id: string, calendar_status: string, color: string, day: string, end_time: string, group_id: string | null, number_of_available_sessions: number, sessions: Array<BookingCalendarSlotSession>, open_sessions: Array<BookingCalendarSlotSession>, start_time: string, type: BookingCalendarSlotType, repeat: string, update_repeating: boolean, update_until_date: string | null, reserved_time_enabled: boolean, repeat_num?: number | null | undefined, repeat_to_day?: string | null | undefined, repeat_type?: string | null | undefined, reserved_time?: string | null | undefined, reserved_time_position?: BookingCalendarSlotReservedTimePosition | null | undefined, application_times?: BookingCalendarApplicationTime[] | null | undefined, last_repeating_date?: string | null | undefined, bookable_name?: string | null | undefined, bookable_id?: string | undefined, price?: number | null);
54
56
  }
@@ -15,6 +15,8 @@ export declare class BookingCalendar {
15
15
  allow_team_export: boolean;
16
16
  allow_repeated_bookings: boolean;
17
17
  is_default: boolean;
18
+ payment_limit_in_minutes: number;
19
+ price_per_hour: number;
18
20
  available_for_teams?: SearchTeam[] | null | undefined;
19
21
  bookable_groups?: BookableGroup[] | null | undefined;
20
22
  type?: string | null | undefined;
@@ -36,6 +38,8 @@ export declare class BookingCalendar {
36
38
  allow_team_export: FormControl<boolean | null>;
37
39
  allow_repeated_bookings: FormControl<boolean | null>;
38
40
  type: FormControl<string | null>;
41
+ price_per_hour: FormControl<number | null>;
42
+ payment_limit_in_minutes: FormControl<number | null>;
39
43
  }>;
40
- constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, name: string, section_name: string | null, team_name: string | null, status: string | null, max_application_number: number, allow_team_export: boolean, allow_repeated_bookings: boolean, is_default: boolean, available_for_teams?: SearchTeam[] | null | undefined, bookable_groups?: BookableGroup[] | null | undefined, type?: string | null | undefined, type_display?: string | null | undefined);
44
+ constructor(id: string, club_id: string, section_id: string | null, team_id: string | null, club_name: string, name: string, section_name: string | null, team_name: string | null, status: string | null, max_application_number: number, allow_team_export: boolean, allow_repeated_bookings: boolean, is_default: boolean, payment_limit_in_minutes?: number, price_per_hour?: number, available_for_teams?: SearchTeam[] | null | undefined, bookable_groups?: BookableGroup[] | null | undefined, type?: string | null | undefined, type_display?: string | null | undefined);
41
45
  }
@@ -13,5 +13,6 @@ export declare class BookingSlotFilter {
13
13
  sortBy: string | null;
14
14
  constructor(startDate?: string | null, endDate?: string | null, calendarIds?: string[] | null, locationIds?: string[] | null, bookableItemIds?: string[] | null, tagIds?: string[] | null, teamIds?: string[] | null, bookableGroupIds?: string[] | null, activityTypeIds?: string[] | null, hasOpenSessions?: boolean | null, showApplicationTimes?: boolean | null, sortBy?: string | null);
15
15
  static fromFilter(filter: BookingSlotFilter): BookingSlotFilter;
16
+ static fromDates(startDate: string, endDate: string, calendarIds: string[], hasOpenSessions?: boolean | null, showApplicationTimes?: boolean | null): BookingSlotFilter;
16
17
  toParams(): any;
17
18
  }
@@ -9,3 +9,4 @@ export * from './card-theme';
9
9
  export * from './home-team';
10
10
  export * from './member-card';
11
11
  export * from './search-member-card';
12
+ export * from './selected-field';
@@ -1,4 +1,5 @@
1
1
  import { Card } from './card';
2
+ import { SelectedField } from './selected-field';
2
3
  export declare class MemberCard {
3
4
  id: string;
4
5
  card: Card;
@@ -9,5 +10,6 @@ export declare class MemberCard {
9
10
  pdf_url: string;
10
11
  qr_code: string | null;
11
12
  qr_code_enabled: boolean;
12
- constructor(id: string, card: Card, header_2: string, member_name: string, membership_text: string, name: string, pdf_url: string, qr_code: string | null, qr_code_enabled: boolean);
13
+ selected_fields_display: Array<SelectedField>;
14
+ constructor(id: string, card: Card, header_2: string, member_name: string, membership_text: string, name: string, pdf_url: string, qr_code: string | null, qr_code_enabled: boolean, selected_fields_display: Array<SelectedField>);
13
15
  }
@@ -0,0 +1,5 @@
1
+ export declare class SelectedField {
2
+ name: string;
3
+ value: string;
4
+ constructor(name: string, value: string);
5
+ }
@@ -3,6 +3,7 @@ export * from './member-invoice';
3
3
  export * from './member-invoice-row';
4
4
  export * from './payment-attempt';
5
5
  export * from './payment-attempt-data-types';
6
+ export * from './payment-order';
6
7
  export * from './payment-types/index';
7
8
  export * from './search-member-invoice';
8
9
  export * from './swish-qr-code';
@@ -0,0 +1,12 @@
1
+ import { CreditCard, Swish } from './payment-types';
2
+ export declare class PaymentOrder {
3
+ id: string;
4
+ amount: number;
5
+ creditCard: CreditCard | null;
6
+ clubName: string;
7
+ isPaid: boolean;
8
+ memberId: string;
9
+ organisationName: string;
10
+ swish: Swish | null;
11
+ constructor(id: string, amount: number, creditCard: CreditCard | null, clubName: string, isPaid: boolean, memberId: string, organisationName: string, swish: Swish | null);
12
+ }
@@ -6,9 +6,10 @@ export declare class BookableService {
6
6
  constructor(apiService: ApiService);
7
7
  getBookableItems(role: Role, itemId: string): import("rxjs").Observable<import("../models").Collection<BookableItem>>;
8
8
  getTeamBookableItems(teamId: string): import("rxjs").Observable<import("../models").Collection<BookableItem>>;
9
- getMemberBookableItems(memberId: string): import("rxjs").Observable<import("../models").Collection<BookableItem>>;
9
+ getMemberBookableItems(memberId: string, date?: string | null): import("rxjs").Observable<import("../models").Collection<BookableItem>>;
10
10
  getClubBookableItems(clubId: string): import("rxjs").Observable<import("../models").Collection<BookableItem>>;
11
11
  getSectionBookableItems(sectionId: string): import("rxjs").Observable<import("../models").Collection<BookableItem>>;
12
+ getMemberBookableItem(memberId: string, bookableId: string): import("rxjs").Observable<BookableItem>;
12
13
  updateBookableItem(role: Role, clubOrSectionOrTeamId: string, bookableItem: Partial<BookableItem>): import("rxjs").Observable<BookableItem>;
13
14
  updateClubBookableItem(clubId: string, bookableItem: Partial<BookableItem>): import("rxjs").Observable<BookableItem>;
14
15
  updateSectionBookableItem(sectionId: string, bookableItem: Partial<BookableItem>): import("rxjs").Observable<BookableItem>;
@@ -60,6 +60,8 @@ export declare class BookingCalendarService {
60
60
  deleteBookingCalendarSlotRepeatable(role: Role, clubOrSectionOrTeamId: string, id: string, deleteUntilDate: string | null): import("rxjs").Observable<boolean>;
61
61
  private deleteClubBookingCalendarSlotRepeatable;
62
62
  private deleteSectionBookingCalendarSlotRepeatable;
63
+ getMemberBookingCalendarSlotSessions(memberId: string): import("rxjs").Observable<import("../models").Collection<BookingCalendarSlotSession>>;
64
+ getMemberBookingCalendarBookableSlots(memberId: string, bookableId: string, startDate: string, endDate: string): import("rxjs").Observable<import("../models").Collection<BookingCalendarSlot>>;
63
65
  createBookingCalendarSlotSession(role: Role, itemId: string, session: Partial<BookingCalendarSlotSession>): import("rxjs").Observable<BookingCalendarSlotSession>;
64
66
  private createClubBookingCalendarSlotSession;
65
67
  private createSectionBookingCalendarSlotSession;
@@ -15,6 +15,8 @@ export declare class ConstantService {
15
15
  getActivityRepeatTypeOptions(): Observable<Array<OptionInterface>>;
16
16
  getCountries(): Observable<Array<OptionInterface>>;
17
17
  getBookingSlotTypes(): Observable<Array<OptionInterface>>;
18
+ getTeamBookingSlotTypes(): Observable<Array<OptionInterface>>;
19
+ getMemberBookingSlotTypes(): Observable<Array<OptionInterface>>;
18
20
  getBookingSlotReservedTimePositions(): Observable<Array<OptionInterface>>;
19
21
  getBookingSlotSessionTypes(): Observable<Array<OptionInterface>>;
20
22
  getBookingCalendarStatuses(): Observable<Array<OptionInterface>>;
@@ -0,0 +1 @@
1
+ export declare const invalidRoleError: Error;
@@ -0,0 +1,3 @@
1
+ import { ApiPaymentOrder } from '../../api-models';
2
+ import { PaymentOrder } from '../../models';
3
+ export declare const paymentOrderFactory: (apiPaymentOrder: ApiPaymentOrder) => PaymentOrder;
@@ -1,2 +1,3 @@
1
1
  export * from './invoice.service';
2
2
  export * from './payment-attempt.service';
3
+ export * from './payment-order.service';
@@ -0,0 +1,15 @@
1
+ import { ApiService } from '../api.service';
2
+ import { PaymentOrder } from '../../models';
3
+ import * as i0 from "@angular/core";
4
+ export declare class PaymentOrderService {
5
+ private apiService;
6
+ constructor(apiService: ApiService);
7
+ getMemberPaymentOrder(memberId: string, paymentOrderId: string): import("rxjs").Observable<PaymentOrder>;
8
+ getMemberPaymentOrders(memberId: string, filterParams?: {
9
+ [key: string]: string;
10
+ }): import("rxjs").Observable<import("../../models").Collection<PaymentOrder>>;
11
+ private getPaymentOrder;
12
+ private getPaymentOrders;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<PaymentOrderService, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<PaymentOrderService>;
15
+ }
@@ -4,6 +4,9 @@ export declare enum BookingActionTypes {
4
4
  ListCalendar = "[Booking] List calendars",
5
5
  ListCalendarSuccess = "[Booking] List calendars success",
6
6
  ListCalendarFailure = "[Booking] List calendars failure",
7
+ ListMemberCalendar = "[Booking] List member calendars",
8
+ ListMemberCalendarSuccess = "[Booking] List member calendars success",
9
+ ListMemberCalendarFailure = "[Booking] List member calendars failure",
7
10
  ListLocation = "[Booking] List locations",
8
11
  ListLocationSuccess = "[Booking] List locations success",
9
12
  ListLocationFailure = "[Booking] List locations failure",
@@ -76,6 +79,12 @@ export declare enum BookingActionTypes {
76
79
  DeleteBookingCalendarRepeatableSlot = "[Booking] Delete booking calendar repeatable slot",
77
80
  DeleteBookingCalendarRepeatableSlotSuccess = "[Booking] Delete booking calendar repeatable slot success",
78
81
  DeleteBookingCalendarRepeatableSlotFailure = "[Booking] Delete booking calendar repeatable slot failure",
82
+ ListMemberBookingCalendarSlotSession = "[Booking] List member booking calendar slot session",
83
+ ListMemberBookingCalendarSlotSessionSuccess = "[Booking] List member booking calendar slot session success",
84
+ ListMemberBookingCalendarSlotSessionFailure = "[Booking] List member booking calendar slot session failure",
85
+ ListMemberBookingCalendarBookableSlots = "[Booking] List member booking calendar bookable slots",
86
+ ListMemberBookingCalendarBookableSlotsSuccess = "[Booking] List member booking calendar bookable slots success",
87
+ ListMemberBookingCalendarBookableSlotsFailure = "[Booking] List member booking calendar bookable slots failure",
79
88
  CreateBookingCalendarSlotSession = "[Booking] Create booking calendar slot session",
80
89
  CreateBookingCalendarSlotSessionSuccess = "[Booking] Create booking calendar slot session success",
81
90
  CreateBookingCalendarSlotSessionFailure = "[Booking] Create booking calendar slot session failure",
@@ -110,6 +119,21 @@ export declare const listCalendarFailureAction: import("@ngrx/store").ActionCrea
110
119
  }) => {
111
120
  payload: HttpErrorResponse;
112
121
  } & import("@ngrx/store").Action<BookingActionTypes.ListCalendarFailure>>;
122
+ export declare const listMemberCalendarAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberCalendar, (props: {
123
+ memberIds: Array<string>;
124
+ }) => {
125
+ memberIds: Array<string>;
126
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberCalendar>>;
127
+ export declare const listMemberCalendarSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberCalendarSuccess, (props: {
128
+ bookingCalendarsMap: Map<string, Array<BookingCalendar>>;
129
+ }) => {
130
+ bookingCalendarsMap: Map<string, Array<BookingCalendar>>;
131
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberCalendarSuccess>>;
132
+ export declare const listMemberCalendarFailureAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberCalendarFailure, (props: {
133
+ payload: HttpErrorResponse;
134
+ }) => {
135
+ payload: HttpErrorResponse;
136
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberCalendarFailure>>;
113
137
  export declare const listLocationAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListLocation, (props: {
114
138
  role: Role;
115
139
  clubOrSectionOrTeamId: string;
@@ -552,6 +576,42 @@ export declare const deleteBookingCalendarRepeatableSlotFailureAction: import("@
552
576
  }) => {
553
577
  payload: HttpErrorResponse;
554
578
  } & import("@ngrx/store").Action<BookingActionTypes.DeleteBookingCalendarRepeatableSlotFailure>>;
579
+ export declare const listMemberBookingCalendarSlotSessionAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberBookingCalendarSlotSession, (props: {
580
+ memberIds: Array<string>;
581
+ }) => {
582
+ memberIds: Array<string>;
583
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberBookingCalendarSlotSession>>;
584
+ export declare const listMemberBookingCalendarSlotSessionSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberBookingCalendarSlotSessionSuccess, (props: {
585
+ sessionsMap: Map<string, Array<BookingCalendarSlotSession>>;
586
+ }) => {
587
+ sessionsMap: Map<string, Array<BookingCalendarSlotSession>>;
588
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberBookingCalendarSlotSessionSuccess>>;
589
+ export declare const listMemberBookingCalendarSlotSessionFailureAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberBookingCalendarSlotSessionFailure, (props: {
590
+ payload: HttpErrorResponse;
591
+ }) => {
592
+ payload: HttpErrorResponse;
593
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberBookingCalendarSlotSessionFailure>>;
594
+ export declare const listMemberBookingCalendarBookableSlotsAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberBookingCalendarBookableSlots, (props: {
595
+ bookableId: string;
596
+ memberIds: Array<string>;
597
+ startDate: string;
598
+ endDate: string;
599
+ }) => {
600
+ bookableId: string;
601
+ memberIds: Array<string>;
602
+ startDate: string;
603
+ endDate: string;
604
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberBookingCalendarBookableSlots>>;
605
+ export declare const listMemberBookingCalendarBookableSlotsSuccessAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberBookingCalendarBookableSlotsSuccess, (props: {
606
+ slotsMap: Map<string, Array<BookingCalendarSlot>>;
607
+ }) => {
608
+ slotsMap: Map<string, Array<BookingCalendarSlot>>;
609
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberBookingCalendarBookableSlotsSuccess>>;
610
+ export declare const listMemberBookingCalendarBookableSlotsFailureAction: import("@ngrx/store").ActionCreator<BookingActionTypes.ListMemberBookingCalendarBookableSlotsFailure, (props: {
611
+ payload: HttpErrorResponse;
612
+ }) => {
613
+ payload: HttpErrorResponse;
614
+ } & import("@ngrx/store").Action<BookingActionTypes.ListMemberBookingCalendarBookableSlotsFailure>>;
555
615
  export declare const createBookingCalendarSlotSessionAction: import("@ngrx/store").ActionCreator<BookingActionTypes.CreateBookingCalendarSlotSession, (props: {
556
616
  role: Role;
557
617
  clubOrSectionOrTeamId: string;
@@ -38,6 +38,12 @@ export declare enum ConstantActionType {
38
38
  RetrieveBookingSlotTypes = "[Constant] Retrieve Booking Slot Types",
39
39
  RetrieveBookingSlotTypesSuccess = "[Constant] Retrieve Booking Slot Types success",
40
40
  RetrieveBookingSlotTypesFailure = "[Constant] Retrieve Booking Slot Types failure",
41
+ RetrieveTeamBookingSlotTypes = "[Constant] Retrieve Team Booking Slot Types",
42
+ RetrieveTeamBookingSlotTypesSuccess = "[Constant] Retrieve Team Booking Slot Types success",
43
+ RetrieveTeamBookingSlotTypesFailure = "[Constant] Retrieve Team Booking Slot Types failure",
44
+ RetrieveMemberBookingSlotTypes = "[Constant] Retrieve Member Booking Slot Types",
45
+ RetrieveMemberBookingSlotTypesSuccess = "[Constant] Retrieve Member Booking Slot Types success",
46
+ RetrieveMemberBookingSlotTypesFailure = "[Constant] Retrieve Member Booking Slot Types failure",
41
47
  RetrieveBookingSlotReservedTimePositions = "[Constant] Retrieve Booking Slot Reserved Time Positions",
42
48
  RetrieveBookingSlotReservedTimePositionsSuccess = "[Constant] Retrieve Booking Slot Reserved Time Positions success",
43
49
  RetrieveBookingSlotReservedTimePositionsFailure = "[Constant] Retrieve Booking Slot Reserved Time Positions failure",
@@ -186,6 +192,28 @@ export declare const retrieveBookingSlotTypesFailureAction: import("@ngrx/store"
186
192
  }) => {
187
193
  payload: HttpErrorResponse;
188
194
  } & import("@ngrx/store").Action<ConstantActionType.RetrieveBookingSlotTypesFailure>>;
195
+ export declare const retrieveTeamBookingSlotTypesAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveTeamBookingSlotTypes, () => import("@ngrx/store").Action<ConstantActionType.RetrieveTeamBookingSlotTypes>>;
196
+ export declare const retrieveTeamBookingSlotTypesSuccessAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveTeamBookingSlotTypesSuccess, (props: {
197
+ payload: Array<OptionInterface>;
198
+ }) => {
199
+ payload: Array<OptionInterface>;
200
+ } & import("@ngrx/store").Action<ConstantActionType.RetrieveTeamBookingSlotTypesSuccess>>;
201
+ export declare const retrieveTeamBookingSlotTypesFailureAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveTeamBookingSlotTypesFailure, (props: {
202
+ payload: HttpErrorResponse;
203
+ }) => {
204
+ payload: HttpErrorResponse;
205
+ } & import("@ngrx/store").Action<ConstantActionType.RetrieveTeamBookingSlotTypesFailure>>;
206
+ export declare const retrieveMemberBookingSlotTypesAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveMemberBookingSlotTypes, () => import("@ngrx/store").Action<ConstantActionType.RetrieveMemberBookingSlotTypes>>;
207
+ export declare const retrieveMemberBookingSlotTypesSuccessAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveMemberBookingSlotTypesSuccess, (props: {
208
+ payload: Array<OptionInterface>;
209
+ }) => {
210
+ payload: Array<OptionInterface>;
211
+ } & import("@ngrx/store").Action<ConstantActionType.RetrieveMemberBookingSlotTypesSuccess>>;
212
+ export declare const retrieveMemberBookingSlotTypesFailureAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveMemberBookingSlotTypesFailure, (props: {
213
+ payload: HttpErrorResponse;
214
+ }) => {
215
+ payload: HttpErrorResponse;
216
+ } & import("@ngrx/store").Action<ConstantActionType.RetrieveMemberBookingSlotTypesFailure>>;
189
217
  export declare const retrieveBookingSlotReservedTimePositionsAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveBookingSlotReservedTimePositions, () => import("@ngrx/store").Action<ConstantActionType.RetrieveBookingSlotReservedTimePositions>>;
190
218
  export declare const retrieveBookingSlotReservedTimePositionsSuccessAction: import("@ngrx/store").ActionCreator<ConstantActionType.RetrieveBookingSlotReservedTimePositionsSuccess, (props: {
191
219
  payload: Array<OptionInterface>;
@@ -1,7 +1,8 @@
1
1
  import { HttpErrorResponse } from '@angular/common/http';
2
- import { ClubImage, MemberInvoice, PaymentAttempt, SearchMemberInvoice, SwishQrCode } from '../../models';
2
+ import { ClubImage, MemberInvoice, PaymentAttempt, PaymentOrder, SearchMemberInvoice, SwishQrCode } from '../../models';
3
3
  export declare enum InvoiceActionType {
4
4
  ClearMemberInvoice = "[Invoice] Clear member invoice",
5
+ ClearPaymentOrder = "[Invoice] Clear payment order",
5
6
  CreateMondidoMemberPayment = "[Invoice] Create Mondido member payment",
6
7
  CreateMondidoPublicPayment = "[Invoice] Create Mondido public payment",
7
8
  CreateMondidoPaymentFailure = "[Invoice] Create Mondido payment failure",
@@ -35,9 +36,16 @@ export declare enum InvoiceActionType {
35
36
  RetrievePublicPaymentAttemptSuccess = "[Invoice] Retrieve public payment attempt success",
36
37
  RetrievePublicSwishQRCode = "[Invoice] Get public swish QR code",
37
38
  RetrieveSwishQRCodeFailure = "[Invoice] Get swish QR code failure",
38
- RetrieveSwishQRCodeSuccess = "[Invoice] Get swish QR code success"
39
+ RetrieveSwishQRCodeSuccess = "[Invoice] Get swish QR code success",
40
+ ListMemberPaymentOrders = "[Invoice] List payment orders",
41
+ ListMemberPaymentOrdersFailure = "[Invoice] List payment orders failure",
42
+ ListMemberPaymentOrdersSuccess = "[Invoice] List payment orders success",
43
+ RetrievePaymentOrder = "[Invoice] Retrieve payment order",
44
+ RetrievePaymentOrderFailure = "[Invoice] Retrieve payment order failure",
45
+ RetrievePaymentOrderSuccess = "[Invoice] Retrieve payment order success"
39
46
  }
40
47
  export declare const clearMemberInvoiceAction: import("@ngrx/store").ActionCreator<InvoiceActionType.ClearMemberInvoice, () => import("@ngrx/store").Action<InvoiceActionType.ClearMemberInvoice>>;
48
+ export declare const clearPaymentOrderAction: import("@ngrx/store").ActionCreator<InvoiceActionType.ClearPaymentOrder, () => import("@ngrx/store").Action<InvoiceActionType.ClearPaymentOrder>>;
41
49
  export declare const createMondidoMemberPaymentAction: import("@ngrx/store").ActionCreator<InvoiceActionType.CreateMondidoMemberPayment, (props: {
42
50
  payload: {
43
51
  memberId: string;
@@ -174,6 +182,42 @@ export declare const retrieveMemberInvoiceSuccessAction: import("@ngrx/store").A
174
182
  }) => {
175
183
  payload: MemberInvoice;
176
184
  } & import("@ngrx/store").Action<InvoiceActionType.RetrieveMemberInvoiceSuccess>>;
185
+ export declare const listMemberPaymentOrdersAction: import("@ngrx/store").ActionCreator<InvoiceActionType.ListMemberPaymentOrders, (props: {
186
+ payload: Array<string>;
187
+ }) => {
188
+ payload: Array<string>;
189
+ } & import("@ngrx/store").Action<InvoiceActionType.ListMemberPaymentOrders>>;
190
+ export declare const listMemberPaymentOrdersFailureAction: import("@ngrx/store").ActionCreator<InvoiceActionType.ListMemberPaymentOrdersFailure, (props: {
191
+ payload: HttpErrorResponse;
192
+ }) => {
193
+ payload: HttpErrorResponse;
194
+ } & import("@ngrx/store").Action<InvoiceActionType.ListMemberPaymentOrdersFailure>>;
195
+ export declare const listMemberPaymentOrdersSuccessAction: import("@ngrx/store").ActionCreator<InvoiceActionType.ListMemberPaymentOrdersSuccess, (props: {
196
+ payload: Map<string, Array<PaymentOrder>>;
197
+ }) => {
198
+ payload: Map<string, Array<PaymentOrder>>;
199
+ } & import("@ngrx/store").Action<InvoiceActionType.ListMemberPaymentOrdersSuccess>>;
200
+ export declare const retrievePaymentOrderAction: import("@ngrx/store").ActionCreator<InvoiceActionType.RetrievePaymentOrder, (props: {
201
+ payload: {
202
+ memberId: string;
203
+ paymentOrderId: string;
204
+ };
205
+ }) => {
206
+ payload: {
207
+ memberId: string;
208
+ paymentOrderId: string;
209
+ };
210
+ } & import("@ngrx/store").Action<InvoiceActionType.RetrievePaymentOrder>>;
211
+ export declare const retrievePaymentOrderFailureAction: import("@ngrx/store").ActionCreator<InvoiceActionType.RetrievePaymentOrderFailure, (props: {
212
+ payload: HttpErrorResponse;
213
+ }) => {
214
+ payload: HttpErrorResponse;
215
+ } & import("@ngrx/store").Action<InvoiceActionType.RetrievePaymentOrderFailure>>;
216
+ export declare const retrievePaymentOrderSuccessAction: import("@ngrx/store").ActionCreator<InvoiceActionType.RetrievePaymentOrderSuccess, (props: {
217
+ payload: PaymentOrder;
218
+ }) => {
219
+ payload: PaymentOrder;
220
+ } & import("@ngrx/store").Action<InvoiceActionType.RetrievePaymentOrderSuccess>>;
177
221
  export declare const retrieveMemberPaymentAttemptAction: import("@ngrx/store").ActionCreator<InvoiceActionType.RetrieveMemberPaymentAttempt, (props: {
178
222
  payload: {
179
223
  memberId: string;
@@ -12,6 +12,21 @@ export declare class BookingEffects {
12
12
  } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListCalendarSuccess>) | ({
13
13
  payload: HttpErrorResponse;
14
14
  } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListCalendarFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
15
+ listMemberCalendars$: import("rxjs").Observable<({
16
+ payload: HttpErrorResponse;
17
+ } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListMemberCalendarFailure>) | ({
18
+ bookingCalendarsMap: Map<string, BookingCalendar[]>;
19
+ } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListMemberCalendarSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
20
+ listMemberSessions$: import("rxjs").Observable<({
21
+ payload: HttpErrorResponse;
22
+ } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListMemberBookingCalendarSlotSessionFailure>) | ({
23
+ sessionsMap: Map<string, BookingCalendarSlotSession[]>;
24
+ } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListMemberBookingCalendarSlotSessionSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
25
+ listMemberBookableSlots$: import("rxjs").Observable<({
26
+ payload: HttpErrorResponse;
27
+ } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListMemberBookingCalendarBookableSlotsFailure>) | ({
28
+ slotsMap: Map<string, BookingCalendarSlot[]>;
29
+ } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListMemberBookingCalendarBookableSlotsSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
15
30
  listLocations$: import("rxjs").Observable<({
16
31
  locations: ActivityLocation[];
17
32
  } & import("@ngrx/store").Action<import("../actions").BookingActionTypes.ListLocationSuccess>) | ({
@@ -66,6 +66,16 @@ export declare class ConstantEffects {
66
66
  } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveBookingSlotTypesSuccess>) | ({
67
67
  payload: HttpErrorResponse;
68
68
  } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveBookingSlotTypesFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
69
+ retrieveTeamBookingSlotTypes$: import("rxjs").Observable<({
70
+ payload: OptionInterface[];
71
+ } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveTeamBookingSlotTypesSuccess>) | ({
72
+ payload: HttpErrorResponse;
73
+ } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveTeamBookingSlotTypesFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
74
+ retrieveMemberBookingSlotTypes$: import("rxjs").Observable<({
75
+ payload: OptionInterface[];
76
+ } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveMemberBookingSlotTypesSuccess>) | ({
77
+ payload: HttpErrorResponse;
78
+ } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveMemberBookingSlotTypesFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
69
79
  retrieveBookingSlotReservedTimePositions$: import("rxjs").Observable<({
70
80
  payload: OptionInterface[];
71
81
  } & import("@ngrx/store").Action<import("../actions").ConstantActionType.RetrieveBookingSlotReservedTimePositionsSuccess>) | ({
@@ -1,9 +1,10 @@
1
- import { ClubImage, MemberInvoice, PaymentAttempt, SearchMemberInvoice, SwishQrCode } from '../../models';
1
+ import { ClubImage, MemberInvoice, PaymentAttempt, PaymentOrder, SearchMemberInvoice, SwishQrCode } from '../../models';
2
2
  import { HttpErrorResponse } from '@angular/common/http';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class InvoiceEffects {
5
5
  private actions$;
6
6
  private invoiceService;
7
+ private paymentOrderService;
7
8
  private paymentAttemptService;
8
9
  createMemberMondidoPayment$: import("rxjs").Observable<({
9
10
  payload: PaymentAttempt;
@@ -45,6 +46,16 @@ export declare class InvoiceEffects {
45
46
  } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberInvoiceSuccess>) | ({
46
47
  payload: HttpErrorResponse;
47
48
  } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberInvoiceFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
49
+ listMemberPaymentOrders$: import("rxjs").Observable<({
50
+ payload: HttpErrorResponse;
51
+ } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.ListMemberPaymentOrdersFailure>) | ({
52
+ payload: Map<string, PaymentOrder[]>;
53
+ } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.ListMemberPaymentOrdersSuccess>)> & import("@ngrx/effects").CreateEffectMetadata;
54
+ retrievePaymentOrder$: import("rxjs").Observable<({
55
+ payload: PaymentOrder;
56
+ } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderSuccess>) | ({
57
+ payload: HttpErrorResponse;
58
+ } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrievePaymentOrderFailure>)> & import("@ngrx/effects").CreateEffectMetadata;
48
59
  retrieveMemberPaymentAttempt$: import("rxjs").Observable<({
49
60
  payload: PaymentAttempt;
50
61
  } & import("@ngrx/store").Action<import("../actions").InvoiceActionType.RetrieveMemberPaymentAttemptSuccess>) | ({