@myclub_se/data-access 3.7.11 → 3.7.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm2022/lib/api-models/api-bookable-item.mjs +1 -1
- package/esm2022/lib/api-models/api-booking-calendar.mjs +1 -1
- package/esm2022/lib/models/bookable-item.mjs +4 -2
- package/esm2022/lib/models/booking-calendar.mjs +4 -2
- package/esm2022/lib/services/factories/bookable-item-factory.mjs +2 -2
- package/esm2022/lib/services/factories/booking-calendar-factory.mjs +2 -2
- package/fesm2022/myclub_se-data-access.mjs +8 -4
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-bookable-item.d.ts +1 -0
- package/lib/api-models/api-booking-calendar.d.ts +1 -0
- package/lib/models/bookable-item.d.ts +3 -1
- package/lib/models/booking-calendar.d.ts +3 -1
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export interface ApiBookableItem {
|
|
|
8
8
|
section_id: string | null;
|
|
9
9
|
location_id: string | null;
|
|
10
10
|
description: string;
|
|
11
|
+
email: string | null;
|
|
11
12
|
tags?: Array<ApiBookableTag> | null;
|
|
12
13
|
parts?: Array<ApiBookablePart> | null;
|
|
13
14
|
next_available_datetime?: string | null;
|
|
@@ -22,6 +22,7 @@ export interface ApiBookingCalendar {
|
|
|
22
22
|
readonly club_has_direct_payments: boolean;
|
|
23
23
|
payment_limit_in_minutes: number;
|
|
24
24
|
price_per_slot: number;
|
|
25
|
+
charge_single_slot_price: boolean;
|
|
25
26
|
member_fee_id?: string | null;
|
|
26
27
|
service_fee_id?: string | null;
|
|
27
28
|
saved_search_id?: string | null;
|
|
@@ -12,6 +12,7 @@ export declare class BookableItem {
|
|
|
12
12
|
tags?: BookableTag[] | null | undefined;
|
|
13
13
|
parts?: BookablePart[] | null | undefined;
|
|
14
14
|
next_available_datetime?: string | null | undefined;
|
|
15
|
+
email?: string | null | undefined;
|
|
15
16
|
static asFormGroup(bookable?: BookableItem): FormGroup<{
|
|
16
17
|
id: FormControl<string | null>;
|
|
17
18
|
club_id: FormControl<string | null>;
|
|
@@ -19,8 +20,9 @@ export declare class BookableItem {
|
|
|
19
20
|
location_id: FormControl<string | null | undefined>;
|
|
20
21
|
name: FormControl<string | null>;
|
|
21
22
|
description: FormControl<string | null>;
|
|
23
|
+
email: FormControl<string | null>;
|
|
22
24
|
tags: FormArray<FormGroup<any>>;
|
|
23
25
|
parts: FormArray<FormGroup<any>>;
|
|
24
26
|
}>;
|
|
25
|
-
constructor(id: string, club_id: string, section_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
|
+
constructor(id: string, club_id: string, section_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, email?: string | null | undefined);
|
|
26
28
|
}
|
|
@@ -34,6 +34,7 @@ export declare class BookingCalendar {
|
|
|
34
34
|
saved_search_id?: string | null | undefined;
|
|
35
35
|
can_use_fees: boolean;
|
|
36
36
|
club_has_direct_payments: boolean;
|
|
37
|
+
charge_single_slot_price: boolean;
|
|
37
38
|
static asFormGroup(calendar?: BookingCalendar): FormGroup<{
|
|
38
39
|
id: FormControl<string | null>;
|
|
39
40
|
club_id: FormControl<string | null>;
|
|
@@ -52,6 +53,7 @@ export declare class BookingCalendar {
|
|
|
52
53
|
allow_repeated_bookings: FormControl<boolean | null>;
|
|
53
54
|
type: FormControl<string | null>;
|
|
54
55
|
price_per_slot: FormControl<number | null>;
|
|
56
|
+
charge_single_slot_price: FormControl<boolean | null>;
|
|
55
57
|
payment_limit_in_minutes: FormControl<number | null>;
|
|
56
58
|
member_fee_id: FormControl<string | null>;
|
|
57
59
|
service_fee_id: FormControl<string | null>;
|
|
@@ -65,5 +67,5 @@ export declare class BookingCalendar {
|
|
|
65
67
|
send_member_booking_created: FormControl<boolean | null>;
|
|
66
68
|
send_member_booking_deleted: FormControl<boolean | null>;
|
|
67
69
|
}>;
|
|
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);
|
|
70
|
+
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, charge_single_slot_price?: boolean);
|
|
69
71
|
}
|
package/package.json
CHANGED