@myclub_se/data-access 2.11.4 → 2.12.1
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/esm2020/lib/api-models/api-activity.mjs +1 -1
- package/esm2020/lib/api-models/api-card/api-member-card.mjs +1 -1
- package/esm2020/lib/api-models/api-registration-qr-code.mjs +2 -0
- package/esm2020/lib/api-models/api-search-club.mjs +1 -1
- package/esm2020/lib/api-models/index.mjs +2 -1
- package/esm2020/lib/models/activity.mjs +4 -2
- package/esm2020/lib/models/card/member-card.mjs +4 -2
- package/esm2020/lib/models/index.mjs +2 -1
- package/esm2020/lib/models/open-activity.mjs +3 -1
- package/esm2020/lib/models/registration-qr-code.mjs +12 -0
- package/esm2020/lib/models/search-club.mjs +3 -2
- package/esm2020/lib/services/activity.service.mjs +22 -1
- package/esm2020/lib/services/factories/activity-factory.mjs +2 -2
- package/esm2020/lib/services/factories/index.mjs +2 -1
- package/esm2020/lib/services/factories/member-card-factory.mjs +2 -2
- package/esm2020/lib/services/factories/registration-qr-code-factory.mjs +3 -0
- package/esm2020/lib/services/factories/search-club-factory.mjs +2 -2
- package/esm2020/lib/services/index.mjs +2 -1
- package/esm2020/lib/services/member-card.service.mjs +22 -1
- package/esm2020/lib/services/registration-qr-code.service.mjs +36 -0
- package/fesm2015/myclub_se-data-access.mjs +101 -7
- package/fesm2015/myclub_se-data-access.mjs.map +1 -1
- package/fesm2020/myclub_se-data-access.mjs +101 -7
- package/fesm2020/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-activity.d.ts +2 -0
- package/lib/api-models/api-card/api-member-card.d.ts +2 -0
- package/lib/api-models/api-registration-qr-code.d.ts +9 -0
- package/lib/api-models/api-search-club.d.ts +1 -0
- package/lib/api-models/index.d.ts +1 -0
- package/lib/models/activity.d.ts +3 -1
- package/lib/models/card/member-card.d.ts +3 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/open-activity.d.ts +2 -0
- package/lib/models/registration-qr-code.d.ts +10 -0
- package/lib/models/search-club.d.ts +2 -1
- package/lib/services/activity.service.d.ts +3 -0
- package/lib/services/factories/index.d.ts +1 -0
- package/lib/services/factories/registration-qr-code-factory.d.ts +3 -0
- package/lib/services/index.d.ts +1 -0
- package/lib/services/member-card.service.d.ts +3 -0
- package/lib/services/registration-qr-code.service.d.ts +10 -0
- package/package.json +1 -1
|
@@ -39,6 +39,7 @@ export * from './api-news';
|
|
|
39
39
|
export * from './api-open-activity';
|
|
40
40
|
export * from './api-optional-fee';
|
|
41
41
|
export * from './api-partner';
|
|
42
|
+
export * from './api-registration-qr-code';
|
|
42
43
|
export * from './api-search-club';
|
|
43
44
|
export * from './api-search-team';
|
|
44
45
|
export * from './api-section';
|
package/lib/models/activity.d.ts
CHANGED
|
@@ -34,6 +34,8 @@ export declare class Activity {
|
|
|
34
34
|
meet_up_time: number;
|
|
35
35
|
meet_up_time_display: string;
|
|
36
36
|
open_activity: boolean;
|
|
37
|
+
qr_code: string | null;
|
|
38
|
+
qr_code_enabled: boolean;
|
|
37
39
|
repeat: string;
|
|
38
40
|
repeat_num: number;
|
|
39
41
|
repeat_to_day: string;
|
|
@@ -45,5 +47,5 @@ export declare class Activity {
|
|
|
45
47
|
use_invite: boolean;
|
|
46
48
|
update_repeating: boolean;
|
|
47
49
|
static asFormGroup(activity?: Activity | null): FormGroup;
|
|
48
|
-
constructor(id: string, activity_group_id: string | null, activity_type_id: string, club_id: string, location_id: string, team_id: string, activity_location: string, activity_type_name: string, allow_maybe: boolean, calendar_name: string, created: string, current_num_attendants: number, day: string, description: string, end_time: string, file: string | null, invitation_text: string, invite_first_days: number, invite_groups: Array<string>, invite_hide_before_sent: boolean, invite_last_response_date: string | null, invite_remind: number, invite_remind_receivers: string, invite_second_days: number, invite_settings: string, invited_members: Array<MemberActivityInvite>, last_response_date: string, max_num_attendants: number, max_num_attendants_type: string, meet_up_place: string, meet_up_time: number, meet_up_time_display: string, open_activity: boolean, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, show_other_invited: string, start_time: string, title: string, updated: string, use_invite: boolean, update_repeating: boolean);
|
|
50
|
+
constructor(id: string, activity_group_id: string | null, activity_type_id: string, club_id: string, location_id: string, team_id: string, activity_location: string, activity_type_name: string, allow_maybe: boolean, calendar_name: string, created: string, current_num_attendants: number, day: string, description: string, end_time: string, file: string | null, invitation_text: string, invite_first_days: number, invite_groups: Array<string>, invite_hide_before_sent: boolean, invite_last_response_date: string | null, invite_remind: number, invite_remind_receivers: string, invite_second_days: number, invite_settings: string, invited_members: Array<MemberActivityInvite>, last_response_date: string, max_num_attendants: number, max_num_attendants_type: string, meet_up_place: string, meet_up_time: number, meet_up_time_display: string, open_activity: boolean, qr_code: string | null, qr_code_enabled: boolean, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, show_other_invited: string, start_time: string, title: string, updated: string, use_invite: boolean, update_repeating: boolean);
|
|
49
51
|
}
|
|
@@ -7,5 +7,7 @@ export declare class MemberCard {
|
|
|
7
7
|
membership_text: string;
|
|
8
8
|
name: string;
|
|
9
9
|
pdf_url: string;
|
|
10
|
-
|
|
10
|
+
qr_code: string | null;
|
|
11
|
+
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);
|
|
11
13
|
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -43,6 +43,7 @@ export * from './news';
|
|
|
43
43
|
export * from './open-activity';
|
|
44
44
|
export * from './partner';
|
|
45
45
|
export * from './public-authentication';
|
|
46
|
+
export * from './registration-qr-code';
|
|
46
47
|
export * from './role';
|
|
47
48
|
export * from './search-club';
|
|
48
49
|
export * from './search-team';
|
|
@@ -56,5 +56,7 @@ export declare class OpenActivity {
|
|
|
56
56
|
readonly updated: string;
|
|
57
57
|
readonly use_invite: boolean;
|
|
58
58
|
readonly update_repeating: boolean;
|
|
59
|
+
readonly qr_code: null;
|
|
60
|
+
readonly qr_code_enabled = false;
|
|
59
61
|
constructor(id: string, activity_group_id: string | null, activity_type_id: string, club_id: string, location_id: string, member_id: string, team_id: string, activity_location: string, activity_type_name: string, allow_maybe: boolean, calendar_name: string, created: string, current_num_attendants: number, day: string, default_fee: number, description: string, end: string, end_time: string, file: string | null, invitation_text: string, invite_first_days: number, invite_groups: Array<string>, invite_hide_before_sent: boolean, invite_last_response_date: string | null, invite_remind: number, invite_remind_receivers: string, invite_second_days: number, invite_settings: string, invited_members: Array<MemberActivityInvite>, last_response_date: string, location_name: string, max_num_attendants: number, max_num_attendants_type: string, meet_up_place: string, meet_up_time: number, meet_up_time_display: string, meet_up_time_show: string, member_invoice: string | null, member_name: string, open_activity: boolean, optional_fees: Array<OptionalFee>, optional_fee_required: boolean, optional_fee_type: string, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, show_other_invited: string, start: string, start_time: string, status: string, title: string, updated: string, use_invite: boolean, update_repeating: boolean);
|
|
60
62
|
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare class RegistrationQRCode {
|
|
2
|
+
id: string;
|
|
3
|
+
club_id: string;
|
|
4
|
+
section_id: string;
|
|
5
|
+
display_text: string;
|
|
6
|
+
is_active: boolean;
|
|
7
|
+
name: string;
|
|
8
|
+
successful_text: string;
|
|
9
|
+
constructor(id: string, club_id: string, section_id: string, display_text: string, is_active: boolean, name: string, successful_text: string);
|
|
10
|
+
}
|
|
@@ -7,5 +7,6 @@ export declare class SearchClub {
|
|
|
7
7
|
open_activities: boolean;
|
|
8
8
|
open_activities_name: string;
|
|
9
9
|
open_activities_search_type: string;
|
|
10
|
-
|
|
10
|
+
qr_codes_enabled: boolean;
|
|
11
|
+
constructor(id: string, leader_member_search: boolean, member_search: boolean, member_view: boolean, name: string, open_activities: boolean, open_activities_name: string, open_activities_search_type: string, qr_codes_enabled: boolean);
|
|
11
12
|
}
|
|
@@ -13,6 +13,7 @@ export declare class ActivityService {
|
|
|
13
13
|
createTeamActivity(teamId: string, data: Partial<Activity>): import("rxjs").Observable<Activity>;
|
|
14
14
|
deleteTeamActivity(teamId: string, id: string): import("rxjs").Observable<boolean>;
|
|
15
15
|
deleteTeamActivityInvite(teamId: string, activityId: string, activityInviteId: string): import("rxjs").Observable<boolean>;
|
|
16
|
+
getMemberActivity(memberId: string, activityId: string): import("rxjs").Observable<Activity>;
|
|
16
17
|
getMemberActivityInvite(memberId: string, activityInviteId: string): import("rxjs").Observable<import("../models").ActivityInvite>;
|
|
17
18
|
getMemberActivityInvites(memberId: string): import("rxjs").Observable<Collection<import("../models").ActivityInvite>>;
|
|
18
19
|
getMemberCalendarEvents(memberId: string, startDate?: string | null, endDate?: string | null): import("rxjs").Observable<Collection<import("../models").Event>>;
|
|
@@ -26,12 +27,14 @@ export declare class ActivityService {
|
|
|
26
27
|
getPublicOpenActivityActivityTypes(startDate?: string | null, endDate?: string | null, all?: boolean): import("rxjs").Observable<Collection<ActivityType>>;
|
|
27
28
|
getPublicOpenActivityLocations(startDate?: string | null, endDate?: string | null, all?: boolean): import("rxjs").Observable<Collection<ActivityLocation>>;
|
|
28
29
|
getTeamActivity(teamId: string, id: string): import("rxjs").Observable<Activity>;
|
|
30
|
+
getTeamActivityQRCode(teamId: string, id: string): import("rxjs").Observable<Activity>;
|
|
29
31
|
getActivityLocations(role: Role, clubOrSectionOrTeamId: string, force?: boolean): import("rxjs").Observable<Collection<ActivityLocation> | undefined>;
|
|
30
32
|
getTeamActivityLocations(teamId: string, force?: boolean): import("rxjs").Observable<Collection<ActivityLocation> | undefined>;
|
|
31
33
|
getClubActivityLocations(clubId: string, force?: boolean): import("rxjs").Observable<Collection<ActivityLocation> | undefined>;
|
|
32
34
|
getSectionActivityLocations(sectionId: string, force?: boolean): import("rxjs").Observable<Collection<ActivityLocation> | undefined>;
|
|
33
35
|
updateActivityLocation(role: Role, clubOrSectionOrTeamId: string, location: ActivityLocation): import("rxjs").Observable<ActivityLocation>;
|
|
34
36
|
updateClubActivityLocation(clubId: string, location: ActivityLocation): import("rxjs").Observable<ActivityLocation>;
|
|
37
|
+
updateMemberActivityAttendance(memberId: string, activityId: string): import("rxjs").Observable<boolean>;
|
|
35
38
|
updateSectionActivityLocation(sectionId: string, location: ActivityLocation): import("rxjs").Observable<ActivityLocation>;
|
|
36
39
|
getActivityLocationGroups(role: Role, clubOrSectionOrTeamId: string): import("rxjs").Observable<Collection<ActivityLocationGroup>>;
|
|
37
40
|
getClubActivityLocationGroups(clubId: string): import("rxjs").Observable<Collection<ActivityLocationGroup>>;
|
|
@@ -62,6 +62,7 @@ export * from './other-member-field-factory';
|
|
|
62
62
|
export * from './partner-factory';
|
|
63
63
|
export * from './payment-attempt-factory';
|
|
64
64
|
export * from './public-authentication-factory';
|
|
65
|
+
export * from './registration-qr-code-factory';
|
|
65
66
|
export * from './search-club-factory';
|
|
66
67
|
export * from './search-member-card-factory';
|
|
67
68
|
export * from './search-member-factory';
|
package/lib/services/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './member.service';
|
|
|
12
12
|
export * from './member-card.service';
|
|
13
13
|
export * from './member-public-form.service';
|
|
14
14
|
export * from './news.service';
|
|
15
|
+
export * from './registration-qr-code.service';
|
|
15
16
|
export * from './section.service';
|
|
16
17
|
export * from './team.service';
|
|
17
18
|
export * from './token.service';
|
|
@@ -9,6 +9,7 @@ export declare class MemberCardService {
|
|
|
9
9
|
getMemberCardDeals(memberId: string, id: string, filterParams?: {
|
|
10
10
|
[key: string]: string;
|
|
11
11
|
}): import("rxjs").Observable<import("../models").Collection<import("../models").CardDeal>>;
|
|
12
|
+
getMemberCardQRCode(memberId: string, id: string): import("rxjs").Observable<import("../models").MemberCard>;
|
|
12
13
|
getMemberCardTickets(memberId: string, id: string, filterParams?: {
|
|
13
14
|
[key: string]: string;
|
|
14
15
|
}): import("rxjs").Observable<import("../models").Collection<import("../models").CardTicket>>;
|
|
@@ -16,6 +17,8 @@ export declare class MemberCardService {
|
|
|
16
17
|
[key: string]: string;
|
|
17
18
|
}): import("rxjs").Observable<import("../models").Collection<import("../models").SearchMemberCard>>;
|
|
18
19
|
getPublicMemberCard(id: string, token: string): import("rxjs").Observable<import("../models").MemberCard>;
|
|
20
|
+
getPublicMemberCardQRCode(id: string, token: string): import("rxjs").Observable<import("../models").MemberCard>;
|
|
21
|
+
getPublicMemberCardRegistration(id: string, token: string): import("rxjs").Observable<import("../models").MemberCard>;
|
|
19
22
|
getPublicMemberCardDeals(id: string, token: string, filterParams?: {
|
|
20
23
|
[key: string]: string;
|
|
21
24
|
}): import("rxjs").Observable<import("../models").Collection<import("../models").CardDeal>>;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiService } from './api.service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class RegistrationQRCodeService {
|
|
4
|
+
private apiService;
|
|
5
|
+
constructor(apiService: ApiService);
|
|
6
|
+
getRegistrationQRCode(clubId: string, id: string): import("rxjs").Observable<import("../models").RegistrationQRCode>;
|
|
7
|
+
registerMemberRegistrationQRCode(clubId: string, id: string, memberId: string): import("rxjs").Observable<import("../models").RegistrationQRCode>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<RegistrationQRCodeService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<RegistrationQRCodeService>;
|
|
10
|
+
}
|
package/package.json
CHANGED