@myclub_se/data-access 3.7.6 → 3.7.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.
- package/esm2022/lib/api-models/api-booking-calendar.mjs +1 -1
- package/esm2022/lib/models/booking-calendar.mjs +12 -2
- package/esm2022/lib/services/factories/booking-calendar-factory.mjs +2 -2
- package/esm2022/lib/store/reducers/booking.reducers.mjs +4 -1
- package/fesm2022/myclub_se-data-access.mjs +15 -2
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-booking-calendar.d.ts +2 -0
- package/lib/models/booking-calendar.d.ts +3 -1
- package/package.json +1 -1
|
@@ -18,6 +18,8 @@ export interface ApiBookingCalendar {
|
|
|
18
18
|
allow_repeated_bookings: boolean;
|
|
19
19
|
type?: string | null;
|
|
20
20
|
type_display?: string | null;
|
|
21
|
+
readonly can_use_fees: boolean;
|
|
22
|
+
readonly club_has_direct_payments: boolean;
|
|
21
23
|
payment_limit_in_minutes: number;
|
|
22
24
|
price_per_slot: number;
|
|
23
25
|
member_fee_id?: string | null;
|
|
@@ -32,6 +32,8 @@ export declare class BookingCalendar {
|
|
|
32
32
|
service_fee_id?: string | null | undefined;
|
|
33
33
|
info_email?: string | null | undefined;
|
|
34
34
|
saved_search_id?: string | null | undefined;
|
|
35
|
+
can_use_fees: boolean;
|
|
36
|
+
club_has_direct_payments: boolean;
|
|
35
37
|
static asFormGroup(calendar?: BookingCalendar): FormGroup<{
|
|
36
38
|
id: FormControl<string | null>;
|
|
37
39
|
club_id: FormControl<string | null>;
|
|
@@ -63,5 +65,5 @@ export declare class BookingCalendar {
|
|
|
63
65
|
send_member_booking_created: FormControl<boolean | null>;
|
|
64
66
|
send_member_booking_deleted: FormControl<boolean | null>;
|
|
65
67
|
}>;
|
|
66
|
-
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_slot?: number, send_team_application_created?: boolean, send_team_application_updated?: boolean, send_admin_team_booking_created?: boolean, send_team_booking_created?: boolean, send_team_booking_deleted?: boolean, send_member_booking_created?: boolean, send_member_booking_deleted?: boolean, available_for_teams?: SearchTeam[] | null | undefined, bookable_items?: BookableItem[] | null | undefined, type?: string | null | undefined, type_display?: string | null | undefined, member_fee_id?: string | null | undefined, service_fee_id?: string | null | undefined, info_email?: string | null | undefined, saved_search_id?: string | null | undefined);
|
|
68
|
+
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_slot?: number, send_team_application_created?: boolean, send_team_application_updated?: boolean, send_admin_team_booking_created?: boolean, send_team_booking_created?: boolean, send_team_booking_deleted?: boolean, send_member_booking_created?: boolean, send_member_booking_deleted?: boolean, available_for_teams?: SearchTeam[] | null | undefined, bookable_items?: BookableItem[] | null | undefined, type?: string | null | undefined, type_display?: string | null | undefined, member_fee_id?: string | null | undefined, service_fee_id?: string | null | undefined, info_email?: string | null | undefined, saved_search_id?: string | null | undefined, can_use_fees?: boolean, club_has_direct_payments?: boolean);
|
|
67
69
|
}
|
package/package.json
CHANGED