@myclub_se/data-access 3.6.4 → 3.7.0
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-activity-invite.mjs +1 -1
- package/esm2022/lib/api-models/api-activity.mjs +1 -1
- package/esm2022/lib/api-models/api-guest.mjs +2 -0
- package/esm2022/lib/api-models/api-open-activity.mjs +1 -1
- package/esm2022/lib/api-models/index.mjs +2 -1
- package/esm2022/lib/interfaces/guest-input.interface.mjs +2 -0
- package/esm2022/lib/interfaces/index.mjs +2 -1
- package/esm2022/lib/models/activity-invite.mjs +4 -2
- package/esm2022/lib/models/activity.mjs +16 -3
- package/esm2022/lib/models/guest.mjs +13 -0
- package/esm2022/lib/models/index.mjs +2 -1
- package/esm2022/lib/models/open-activity.mjs +6 -2
- package/esm2022/lib/services/activity.service.mjs +66 -2
- package/esm2022/lib/services/factories/activity-factory.mjs +2 -2
- package/esm2022/lib/services/factories/activity-invite-factory.mjs +5 -2
- package/esm2022/lib/services/factories/guest-factory.mjs +3 -0
- package/esm2022/lib/services/factories/index.mjs +2 -1
- package/esm2022/lib/services/factories/open-activity-factory.mjs +2 -2
- package/esm2022/lib/store/actions/activity.actions.mjs +25 -1
- package/esm2022/lib/store/effects/activity.effects.mjs +123 -7
- package/esm2022/lib/store/interfaces/team-activity.interface.mjs +1 -1
- package/esm2022/lib/store/reducers/calendar.reducer.mjs +59 -3
- package/esm2022/lib/store/selectors/calendar.selectors.mjs +2 -1
- package/fesm2022/myclub_se-data-access.mjs +311 -14
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-activity-invite.d.ts +2 -0
- package/lib/api-models/api-activity.d.ts +5 -0
- package/lib/api-models/api-guest.d.ts +6 -0
- package/lib/api-models/api-open-activity.d.ts +2 -0
- package/lib/api-models/index.d.ts +1 -0
- package/lib/interfaces/guest-input.interface.d.ts +5 -0
- package/lib/interfaces/index.d.ts +1 -0
- package/lib/models/activity-invite.d.ts +3 -1
- package/lib/models/activity.d.ts +6 -1
- package/lib/models/guest.d.ts +7 -0
- package/lib/models/index.d.ts +1 -0
- package/lib/models/open-activity.d.ts +3 -1
- package/lib/services/activity.service.d.ts +39 -1
- package/lib/services/factories/guest-factory.d.ts +3 -0
- package/lib/services/factories/index.d.ts +1 -0
- package/lib/store/actions/activity.actions.d.ts +144 -1
- package/lib/store/effects/activity.effects.d.ts +66 -33
- package/lib/store/interfaces/team-activity.interface.d.ts +2 -1
- package/lib/store/selectors/calendar.selectors.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ApiActivity } from './api-activity';
|
|
2
|
+
import { ApiGuest } from './api-guest';
|
|
2
3
|
import { ApiSearchMember } from './api-member';
|
|
3
4
|
import { ApiUnpaidMemberInvoice } from './api-invoice';
|
|
4
5
|
export interface ApiActivityInvite {
|
|
@@ -20,4 +21,5 @@ export interface ApiActivityInvite {
|
|
|
20
21
|
token: string;
|
|
21
22
|
readonly unpaid_invoices: Array<ApiUnpaidMemberInvoice> | null;
|
|
22
23
|
updated: string;
|
|
24
|
+
guests: Array<ApiGuest>;
|
|
23
25
|
}
|
|
@@ -9,12 +9,17 @@ export interface ApiActivity {
|
|
|
9
9
|
activity_status: string;
|
|
10
10
|
activity_type_id: string;
|
|
11
11
|
activity_type_name: string;
|
|
12
|
+
allow_guests: boolean;
|
|
12
13
|
allow_maybe: boolean;
|
|
14
|
+
guest_fee: number;
|
|
15
|
+
guest_fee_id: string | null;
|
|
16
|
+
max_guests_per_member: number;
|
|
13
17
|
calendar_name: string;
|
|
14
18
|
club_id: string;
|
|
15
19
|
comment_required: boolean;
|
|
16
20
|
created: string;
|
|
17
21
|
current_num_attendants: number;
|
|
22
|
+
num_guests: number;
|
|
18
23
|
day: string;
|
|
19
24
|
default_fee: number;
|
|
20
25
|
default_fee_id: string;
|
|
@@ -9,11 +9,13 @@ export interface ApiOpenActivity {
|
|
|
9
9
|
readonly activity_type_id: string;
|
|
10
10
|
readonly activity_type_name: string;
|
|
11
11
|
readonly allow_maybe: boolean;
|
|
12
|
+
readonly allow_guests: boolean;
|
|
12
13
|
readonly calendar_name: string;
|
|
13
14
|
readonly club_id: string;
|
|
14
15
|
readonly comment_required: boolean;
|
|
15
16
|
readonly created: string;
|
|
16
17
|
readonly current_num_attendants: number;
|
|
18
|
+
readonly num_guests: number;
|
|
17
19
|
readonly day: string;
|
|
18
20
|
readonly default_fee: number;
|
|
19
21
|
readonly default_fee_id: string;
|
|
@@ -41,6 +41,7 @@ export * from './api-external-link';
|
|
|
41
41
|
export * from './api-feature-flags';
|
|
42
42
|
export * from './api-file-object';
|
|
43
43
|
export * from './api-general-image';
|
|
44
|
+
export * from './api-guest';
|
|
44
45
|
export * from './api-group-role';
|
|
45
46
|
export * from './api-image-urls';
|
|
46
47
|
export * from './api-invoice';
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Activity } from './activity';
|
|
2
|
+
import { Guest } from './guest';
|
|
2
3
|
import { SearchMember } from './member';
|
|
3
4
|
import { UnpaidMemberInvoice } from './invoice';
|
|
4
5
|
import { ActivityQuestionResponse } from './activity-question-response';
|
|
@@ -23,5 +24,6 @@ export declare class ActivityInvite {
|
|
|
23
24
|
token: string;
|
|
24
25
|
unpaid_invoices: Array<UnpaidMemberInvoice>;
|
|
25
26
|
updated: string;
|
|
26
|
-
|
|
27
|
+
guests: Array<Guest>;
|
|
28
|
+
constructor(id: string, activity: Activity, comment: string, created: string, has_unpaid_invoices: boolean, last_invite: string, leader: boolean, member: SearchMember, member_invoice_id: string, next_invite: string | null, optional_fees: Array<string>, payment_link: string, public_payment_link: string, reminded: string, response_date: string, responses: Array<ActivityQuestionResponse>, status: string, token: string, unpaid_invoices: Array<UnpaidMemberInvoice>, updated: string, guests?: Array<Guest>);
|
|
27
29
|
}
|
package/lib/models/activity.d.ts
CHANGED
|
@@ -74,7 +74,12 @@ export declare class Activity {
|
|
|
74
74
|
send_open_activity_confirmation: boolean;
|
|
75
75
|
sisu_material: string;
|
|
76
76
|
sisu_responsible_id: string | null;
|
|
77
|
+
allow_guests: boolean;
|
|
78
|
+
num_guests: number;
|
|
79
|
+
max_guests_per_member: number;
|
|
80
|
+
guest_fee_id: string | null;
|
|
81
|
+
guest_fee: number;
|
|
77
82
|
static asFormGroup(activity?: Activity | null): FormGroup;
|
|
78
83
|
static copy(activity: Activity): Activity;
|
|
79
|
-
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_status: string, activity_type_name: string, allow_maybe: boolean, calendar_name: string, comment_required: boolean, created: string, current_num_attendants: number, day: string, default_fee: number, default_fee_id: string, description: string, end_time: string, file: string | null, has_unpaid_invoices: boolean, 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, member_id: string, member_ids: Array<string>, member_name: string, open_activity: boolean, optional_fees: Array<OptionalFee>, optional_fee_required: boolean, optional_fee_type: string, payment_type: string, qr_code: string | null, qr_code_enabled: boolean, questions: Array<ActivityQuestionConnection>, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, rule_relations: Array<ActivityRuleRelation>, service_fee: number, service_fee_id: string, show_other_invited: string, start_time: string, status: string, title: string, unpaid_invoices: Array<UnpaidMemberInvoice>, updated: string, use_invite: boolean, update_repeating: boolean, invite_auto_accept: boolean, mail_invited: boolean, open_activity_confirmation_text: string, send_open_activity_confirmation: boolean, sisu_material: string, sisu_responsible_id: string | null);
|
|
84
|
+
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_status: string, activity_type_name: string, allow_maybe: boolean, calendar_name: string, comment_required: boolean, created: string, current_num_attendants: number, day: string, default_fee: number, default_fee_id: string, description: string, end_time: string, file: string | null, has_unpaid_invoices: boolean, 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, member_id: string, member_ids: Array<string>, member_name: string, open_activity: boolean, optional_fees: Array<OptionalFee>, optional_fee_required: boolean, optional_fee_type: string, payment_type: string, qr_code: string | null, qr_code_enabled: boolean, questions: Array<ActivityQuestionConnection>, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, rule_relations: Array<ActivityRuleRelation>, service_fee: number, service_fee_id: string, show_other_invited: string, start_time: string, status: string, title: string, unpaid_invoices: Array<UnpaidMemberInvoice>, updated: string, use_invite: boolean, update_repeating: boolean, invite_auto_accept: boolean, mail_invited: boolean, open_activity_confirmation_text: string, send_open_activity_confirmation: boolean, sisu_material: string, sisu_responsible_id: string | null, allow_guests: boolean, num_guests: number, max_guests_per_member?: number, guest_fee_id?: string | null, guest_fee?: number);
|
|
80
85
|
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -68,7 +68,9 @@ export declare class OpenActivity {
|
|
|
68
68
|
readonly updated: string;
|
|
69
69
|
readonly use_invite: boolean;
|
|
70
70
|
readonly update_repeating: boolean;
|
|
71
|
+
readonly allow_guests: boolean;
|
|
72
|
+
readonly num_guests: number;
|
|
71
73
|
readonly qr_code: null;
|
|
72
74
|
readonly qr_code_enabled = false;
|
|
73
|
-
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, comment_required: boolean, created: string, current_num_attendants: number, day: string, default_fee: number, default_fee_id: string, description: string, end: string, end_time: string, file: string | null, has_unpaid_invoices: boolean, 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_ids: Array<string>, member_invoice: string | null, member_name: string, open_activity: boolean, optional_fees: Array<OptionalFee>, optional_fee_required: boolean, optional_fee_type: string, payment_link: string, public_payment_link: string, questions: Array<ActivityQuestionConnection>, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, service_fee: number, service_fee_id: string, show_other_invited: string, start: string, start_time: string, status: string, title: string, unpaid_invoices: Array<UnpaidMemberInvoice>, updated: string, use_invite: boolean, update_repeating: boolean);
|
|
75
|
+
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, comment_required: boolean, created: string, current_num_attendants: number, day: string, default_fee: number, default_fee_id: string, description: string, end: string, end_time: string, file: string | null, has_unpaid_invoices: boolean, 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_ids: Array<string>, member_invoice: string | null, member_name: string, open_activity: boolean, optional_fees: Array<OptionalFee>, optional_fee_required: boolean, optional_fee_type: string, payment_link: string, public_payment_link: string, questions: Array<ActivityQuestionConnection>, repeat: string, repeat_num: number, repeat_to_day: string, repeat_type: string, service_fee: number, service_fee_id: string, show_other_invited: string, start: string, start_time: string, status: string, title: string, unpaid_invoices: Array<UnpaidMemberInvoice>, updated: string, use_invite: boolean, update_repeating: boolean, allow_guests: boolean, num_guests: number);
|
|
74
76
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiService } from './api.service';
|
|
2
|
-
import { Activity, ActivityLocation, ActivityQuestion, ActivityQuestionResponse, ActivityType, Collection, MemberActivityInvite, Role } from '../models';
|
|
2
|
+
import { Activity, ActivityLocation, ActivityQuestion, ActivityQuestionResponse, ActivityType, Collection, Guest, MemberActivityInvite, Role } from '../models';
|
|
3
3
|
import { OpenActivitySearchParamsInterface } from '../interfaces';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ActivityService {
|
|
@@ -40,6 +40,25 @@ export declare class ActivityService {
|
|
|
40
40
|
updateSectionActivityLocation(sectionId: string, location: ActivityLocation): import("rxjs").Observable<ActivityLocation>;
|
|
41
41
|
getTeamActivityNew(teamId: string): import("rxjs").Observable<Activity>;
|
|
42
42
|
getTeamActivityParticipants(teamId: string, activityId: string): import("rxjs").Observable<Collection<import("../models").SearchMember>>;
|
|
43
|
+
getTeamActivityGuests(teamId: string, activityId: string): import("rxjs").Observable<Collection<Guest>>;
|
|
44
|
+
addTeamActivityGuest(teamId: string, activityId: string, data: {
|
|
45
|
+
name: string;
|
|
46
|
+
comment?: string;
|
|
47
|
+
}): import("rxjs").Observable<Guest>;
|
|
48
|
+
updateTeamActivityGuest(teamId: string, activityId: string, guestId: string, data: {
|
|
49
|
+
name: string;
|
|
50
|
+
comment?: string;
|
|
51
|
+
}): import("rxjs").Observable<Guest>;
|
|
52
|
+
deleteTeamActivityGuest(teamId: string, activityId: string, guestId: string): import("rxjs").Observable<boolean>;
|
|
53
|
+
addMemberActivityGuest(memberId: string, inviteId: string, data: {
|
|
54
|
+
name: string;
|
|
55
|
+
comment?: string;
|
|
56
|
+
}): import("rxjs").Observable<Guest>;
|
|
57
|
+
updateMemberActivityGuest(memberId: string, inviteId: string, guestId: string, data: {
|
|
58
|
+
name: string;
|
|
59
|
+
comment?: string;
|
|
60
|
+
}): import("rxjs").Observable<Guest>;
|
|
61
|
+
deleteMemberActivityGuest(memberId: string, inviteId: string, guestId: string): import("rxjs").Observable<boolean>;
|
|
43
62
|
getActivitySettings(role: Role, itemId: string): import("rxjs").Observable<import("../models").ActivitySettings>;
|
|
44
63
|
getTeamActivitySettings(teamId: string): import("rxjs").Observable<import("../models").ActivitySettings>;
|
|
45
64
|
getMemberActivitySettings(memberId: string): import("rxjs").Observable<import("../models").ActivitySettings>;
|
|
@@ -65,6 +84,25 @@ export declare class ActivityService {
|
|
|
65
84
|
updatePublicMemberActivityInvite(activityInviteId: string, activityInvite: unknown): import("rxjs").Observable<import("../models").ActivityInvite>;
|
|
66
85
|
updatePublicActivityInvite(id: string, token: string, activityInvite: unknown): import("rxjs").Observable<import("../models").ActivityInvite>;
|
|
67
86
|
updatePublicOpenActivityInvite(id: string, activityInvite: unknown): import("rxjs").Observable<import("../models").ActivityInvite>;
|
|
87
|
+
getPublicOpenActivityGuests(activityId: string): import("rxjs").Observable<Collection<Guest>>;
|
|
88
|
+
addPublicActivityGuestByToken(id: string, token: string, data: {
|
|
89
|
+
name: string;
|
|
90
|
+
comment?: string;
|
|
91
|
+
}): import("rxjs").Observable<Guest>;
|
|
92
|
+
updatePublicActivityGuestByToken(id: string, token: string, guestId: string, data: {
|
|
93
|
+
name: string;
|
|
94
|
+
comment?: string;
|
|
95
|
+
}): import("rxjs").Observable<Guest>;
|
|
96
|
+
deletePublicActivityGuestByToken(id: string, token: string, guestId: string): import("rxjs").Observable<boolean>;
|
|
97
|
+
addPublicOpenActivityGuest(activityId: string, data: {
|
|
98
|
+
name: string;
|
|
99
|
+
comment?: string;
|
|
100
|
+
}): import("rxjs").Observable<Guest>;
|
|
101
|
+
updatePublicOpenActivityGuest(activityId: string, guestId: string, data: {
|
|
102
|
+
name: string;
|
|
103
|
+
comment?: string;
|
|
104
|
+
}): import("rxjs").Observable<Guest>;
|
|
105
|
+
deletePublicOpenActivityGuest(activityId: string, guestId: string): import("rxjs").Observable<boolean>;
|
|
68
106
|
updateTeamActivity(teamId: string, activity: Activity): import("rxjs").Observable<Activity>;
|
|
69
107
|
updateTeamActivityQuestion(teamId: string, question: ActivityQuestion): import("rxjs").Observable<ActivityQuestion>;
|
|
70
108
|
updateTeamActivityInvite(teamId: string, activityId: string, activityInviteId: string, activityInvite: MemberActivityInvite): import("rxjs").Observable<MemberActivityInvite>;
|
|
@@ -53,6 +53,7 @@ export * from './file-factory';
|
|
|
53
53
|
export * from './general-image-factory';
|
|
54
54
|
export * from './giro-factory';
|
|
55
55
|
export * from './group-role-factory';
|
|
56
|
+
export * from './guest-factory';
|
|
56
57
|
export * from './home-team-factory';
|
|
57
58
|
export * from './image-urls-factory';
|
|
58
59
|
export * from './member-attribute-factory';
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { HttpErrorResponse } from '@angular/common/http';
|
|
2
|
-
import { Activity, ActivityInvite, ActivityQuestion, ActivityQuestionResponse, ActivitySettings, MemberActivityInvite, OpenActivity, SearchMember } from '../../models';
|
|
2
|
+
import { Activity, ActivityInvite, ActivityQuestion, ActivityQuestionResponse, ActivitySettings, Guest, MemberActivityInvite, OpenActivity, SearchMember } from '../../models';
|
|
3
|
+
import { GuestInput } from '../../interfaces';
|
|
3
4
|
import { TeamActivityInterface } from '../interfaces';
|
|
4
5
|
export declare enum ActivityActionTypes {
|
|
5
6
|
AddTeamLeaderActivityInvite = "[Activity] Add team leader activity invite",
|
|
@@ -28,6 +29,18 @@ export declare enum ActivityActionTypes {
|
|
|
28
29
|
ListMemberActivityInvites = "[Activity] List member activity invites",
|
|
29
30
|
ListMemberActivityInvitesFailure = "[Activity] List member activity invites failure",
|
|
30
31
|
ListMemberActivityInvitesSuccess = "[Activity] List member activity invites success",
|
|
32
|
+
ListTeamActivityGuests = "[Activity] List team activity guests",
|
|
33
|
+
ListTeamActivityGuestsFailure = "[Activity] List team activity guests failure",
|
|
34
|
+
ListTeamActivityGuestsSuccess = "[Activity] List team activity guests success",
|
|
35
|
+
AddTeamActivityGuest = "[Activity] Add team activity guest",
|
|
36
|
+
AddTeamActivityGuestFailure = "[Activity] Add team activity guest failure",
|
|
37
|
+
AddTeamActivityGuestSuccess = "[Activity] Add team activity guest success",
|
|
38
|
+
UpdateTeamActivityGuest = "[Activity] Update team activity guest",
|
|
39
|
+
UpdateTeamActivityGuestFailure = "[Activity] Update team activity guest failure",
|
|
40
|
+
UpdateTeamActivityGuestSuccess = "[Activity] Update team activity guest success",
|
|
41
|
+
DeleteTeamActivityGuest = "[Activity] Delete team activity guest",
|
|
42
|
+
DeleteTeamActivityGuestFailure = "[Activity] Delete team activity guest failure",
|
|
43
|
+
DeleteTeamActivityGuestSuccess = "[Activity] Delete team activity guest success",
|
|
31
44
|
ListTeamActivityParticipants = "[Activity] List team activity participants",
|
|
32
45
|
ListTeamActivityParticipantsFailure = "[Activity] List team activity participants failure",
|
|
33
46
|
ListTeamActivityParticipantsSuccess = "[Activity] List team activity participants success",
|
|
@@ -279,6 +292,126 @@ export declare const listTeamActivityParticipantsSuccessAction: import("@ngrx/st
|
|
|
279
292
|
results: Array<SearchMember>;
|
|
280
293
|
};
|
|
281
294
|
} & import("@ngrx/store").Action<ActivityActionTypes.ListTeamActivityParticipantsSuccess>>;
|
|
295
|
+
export declare const listTeamActivityGuestsAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.ListTeamActivityGuests, (props: {
|
|
296
|
+
payload: {
|
|
297
|
+
teamId: string;
|
|
298
|
+
activityId: string;
|
|
299
|
+
};
|
|
300
|
+
}) => {
|
|
301
|
+
payload: {
|
|
302
|
+
teamId: string;
|
|
303
|
+
activityId: string;
|
|
304
|
+
};
|
|
305
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.ListTeamActivityGuests>>;
|
|
306
|
+
export declare const listTeamActivityGuestsFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.ListTeamActivityGuestsFailure, (props: {
|
|
307
|
+
payload: HttpErrorResponse;
|
|
308
|
+
}) => {
|
|
309
|
+
payload: HttpErrorResponse;
|
|
310
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.ListTeamActivityGuestsFailure>>;
|
|
311
|
+
export declare const listTeamActivityGuestsSuccessAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.ListTeamActivityGuestsSuccess, (props: {
|
|
312
|
+
payload: {
|
|
313
|
+
activityId: string;
|
|
314
|
+
results: Array<Guest>;
|
|
315
|
+
};
|
|
316
|
+
}) => {
|
|
317
|
+
payload: {
|
|
318
|
+
activityId: string;
|
|
319
|
+
results: Array<Guest>;
|
|
320
|
+
};
|
|
321
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.ListTeamActivityGuestsSuccess>>;
|
|
322
|
+
export declare const addTeamActivityGuestAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.AddTeamActivityGuest, (props: {
|
|
323
|
+
payload: {
|
|
324
|
+
teamId: string;
|
|
325
|
+
activityId: string;
|
|
326
|
+
name: string;
|
|
327
|
+
comment?: string;
|
|
328
|
+
};
|
|
329
|
+
}) => {
|
|
330
|
+
payload: {
|
|
331
|
+
teamId: string;
|
|
332
|
+
activityId: string;
|
|
333
|
+
name: string;
|
|
334
|
+
comment?: string;
|
|
335
|
+
};
|
|
336
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.AddTeamActivityGuest>>;
|
|
337
|
+
export declare const addTeamActivityGuestFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.AddTeamActivityGuestFailure, (props: {
|
|
338
|
+
payload: HttpErrorResponse;
|
|
339
|
+
}) => {
|
|
340
|
+
payload: HttpErrorResponse;
|
|
341
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.AddTeamActivityGuestFailure>>;
|
|
342
|
+
export declare const addTeamActivityGuestSuccessAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.AddTeamActivityGuestSuccess, (props: {
|
|
343
|
+
payload: {
|
|
344
|
+
activityId: string;
|
|
345
|
+
guest: Guest;
|
|
346
|
+
};
|
|
347
|
+
}) => {
|
|
348
|
+
payload: {
|
|
349
|
+
activityId: string;
|
|
350
|
+
guest: Guest;
|
|
351
|
+
};
|
|
352
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.AddTeamActivityGuestSuccess>>;
|
|
353
|
+
export declare const updateTeamActivityGuestAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdateTeamActivityGuest, (props: {
|
|
354
|
+
payload: {
|
|
355
|
+
teamId: string;
|
|
356
|
+
activityId: string;
|
|
357
|
+
guestId: string;
|
|
358
|
+
name: string;
|
|
359
|
+
comment?: string;
|
|
360
|
+
};
|
|
361
|
+
}) => {
|
|
362
|
+
payload: {
|
|
363
|
+
teamId: string;
|
|
364
|
+
activityId: string;
|
|
365
|
+
guestId: string;
|
|
366
|
+
name: string;
|
|
367
|
+
comment?: string;
|
|
368
|
+
};
|
|
369
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.UpdateTeamActivityGuest>>;
|
|
370
|
+
export declare const updateTeamActivityGuestFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdateTeamActivityGuestFailure, (props: {
|
|
371
|
+
payload: HttpErrorResponse;
|
|
372
|
+
}) => {
|
|
373
|
+
payload: HttpErrorResponse;
|
|
374
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.UpdateTeamActivityGuestFailure>>;
|
|
375
|
+
export declare const updateTeamActivityGuestSuccessAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdateTeamActivityGuestSuccess, (props: {
|
|
376
|
+
payload: {
|
|
377
|
+
activityId: string;
|
|
378
|
+
guest: Guest;
|
|
379
|
+
};
|
|
380
|
+
}) => {
|
|
381
|
+
payload: {
|
|
382
|
+
activityId: string;
|
|
383
|
+
guest: Guest;
|
|
384
|
+
};
|
|
385
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.UpdateTeamActivityGuestSuccess>>;
|
|
386
|
+
export declare const deleteTeamActivityGuestAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.DeleteTeamActivityGuest, (props: {
|
|
387
|
+
payload: {
|
|
388
|
+
teamId: string;
|
|
389
|
+
activityId: string;
|
|
390
|
+
guestId: string;
|
|
391
|
+
};
|
|
392
|
+
}) => {
|
|
393
|
+
payload: {
|
|
394
|
+
teamId: string;
|
|
395
|
+
activityId: string;
|
|
396
|
+
guestId: string;
|
|
397
|
+
};
|
|
398
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.DeleteTeamActivityGuest>>;
|
|
399
|
+
export declare const deleteTeamActivityGuestFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.DeleteTeamActivityGuestFailure, (props: {
|
|
400
|
+
payload: HttpErrorResponse;
|
|
401
|
+
}) => {
|
|
402
|
+
payload: HttpErrorResponse;
|
|
403
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.DeleteTeamActivityGuestFailure>>;
|
|
404
|
+
export declare const deleteTeamActivityGuestSuccessAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.DeleteTeamActivityGuestSuccess, (props: {
|
|
405
|
+
payload: {
|
|
406
|
+
activityId: string;
|
|
407
|
+
guestId: string;
|
|
408
|
+
};
|
|
409
|
+
}) => {
|
|
410
|
+
payload: {
|
|
411
|
+
activityId: string;
|
|
412
|
+
guestId: string;
|
|
413
|
+
};
|
|
414
|
+
} & import("@ngrx/store").Action<ActivityActionTypes.DeleteTeamActivityGuestSuccess>>;
|
|
282
415
|
export declare const listTeamActivityQuestionsAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.ListTeamActivityQuestions, (props: {
|
|
283
416
|
payload: {
|
|
284
417
|
teamId: string;
|
|
@@ -592,11 +725,13 @@ export declare const updateMemberActivityInviteAction: import("@ngrx/store").Act
|
|
|
592
725
|
payload: {
|
|
593
726
|
memberId: string;
|
|
594
727
|
activityInvite: ActivityInvite;
|
|
728
|
+
guests?: Array<GuestInput>;
|
|
595
729
|
};
|
|
596
730
|
}) => {
|
|
597
731
|
payload: {
|
|
598
732
|
memberId: string;
|
|
599
733
|
activityInvite: ActivityInvite;
|
|
734
|
+
guests?: Array<GuestInput>;
|
|
600
735
|
};
|
|
601
736
|
} & import("@ngrx/store").Action<ActivityActionTypes.UpdateMemberActivityInvite>>;
|
|
602
737
|
export declare const updateMemberActivityInviteFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdateMemberActivityInviteFailure, (props: {
|
|
@@ -616,6 +751,7 @@ export declare const updateMemberOpenActivityAction: import("@ngrx/store").Actio
|
|
|
616
751
|
comment: string;
|
|
617
752
|
optional_fees: Array<string>;
|
|
618
753
|
responses: Array<ActivityQuestionResponse>;
|
|
754
|
+
guests?: Array<GuestInput>;
|
|
619
755
|
};
|
|
620
756
|
}) => {
|
|
621
757
|
payload: {
|
|
@@ -624,6 +760,7 @@ export declare const updateMemberOpenActivityAction: import("@ngrx/store").Actio
|
|
|
624
760
|
comment: string;
|
|
625
761
|
optional_fees: Array<string>;
|
|
626
762
|
responses: Array<ActivityQuestionResponse>;
|
|
763
|
+
guests?: Array<GuestInput>;
|
|
627
764
|
};
|
|
628
765
|
} & import("@ngrx/store").Action<ActivityActionTypes.UpdateMemberOpenActivity>>;
|
|
629
766
|
export declare const updateMemberOpenActivityFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdateMemberOpenActivityFailure, (props: {
|
|
@@ -640,11 +777,13 @@ export declare const updatePublicActivityInviteAction: import("@ngrx/store").Act
|
|
|
640
777
|
payload: {
|
|
641
778
|
token: string;
|
|
642
779
|
activityInvite: ActivityInvite;
|
|
780
|
+
guests?: Array<GuestInput>;
|
|
643
781
|
};
|
|
644
782
|
}) => {
|
|
645
783
|
payload: {
|
|
646
784
|
token: string;
|
|
647
785
|
activityInvite: ActivityInvite;
|
|
786
|
+
guests?: Array<GuestInput>;
|
|
648
787
|
};
|
|
649
788
|
} & import("@ngrx/store").Action<ActivityActionTypes.UpdatePublicActivityInvite>>;
|
|
650
789
|
export declare const updatePublicActivityInviteFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdatePublicActivityInviteFailure, (props: {
|
|
@@ -660,10 +799,12 @@ export declare const updatePublicActivityInviteSuccessAction: import("@ngrx/stor
|
|
|
660
799
|
export declare const updatePublicMemberActivityInviteAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdatePublicMemberActivityInvite, (props: {
|
|
661
800
|
payload: {
|
|
662
801
|
activityInvite: ActivityInvite;
|
|
802
|
+
guests?: Array<GuestInput>;
|
|
663
803
|
};
|
|
664
804
|
}) => {
|
|
665
805
|
payload: {
|
|
666
806
|
activityInvite: ActivityInvite;
|
|
807
|
+
guests?: Array<GuestInput>;
|
|
667
808
|
};
|
|
668
809
|
} & import("@ngrx/store").Action<ActivityActionTypes.UpdatePublicMemberActivityInvite>>;
|
|
669
810
|
export declare const updatePublicMemberActivityInviteFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdatePublicMemberActivityInviteFailure, (props: {
|
|
@@ -682,6 +823,7 @@ export declare const updatePublicMemberOpenActivityAction: import("@ngrx/store")
|
|
|
682
823
|
comment: string;
|
|
683
824
|
optional_fees: Array<string>;
|
|
684
825
|
responses: Array<ActivityQuestionResponse>;
|
|
826
|
+
guests?: Array<GuestInput>;
|
|
685
827
|
};
|
|
686
828
|
}) => {
|
|
687
829
|
payload: {
|
|
@@ -689,6 +831,7 @@ export declare const updatePublicMemberOpenActivityAction: import("@ngrx/store")
|
|
|
689
831
|
comment: string;
|
|
690
832
|
optional_fees: Array<string>;
|
|
691
833
|
responses: Array<ActivityQuestionResponse>;
|
|
834
|
+
guests?: Array<GuestInput>;
|
|
692
835
|
};
|
|
693
836
|
} & import("@ngrx/store").Action<ActivityActionTypes.UpdatePublicMemberOpenActivity>>;
|
|
694
837
|
export declare const updatePublicMemberOpenActivityFailureAction: import("@ngrx/store").ActionCreator<ActivityActionTypes.UpdatePublicMemberOpenActivityFailure, (props: {
|