@myclub_se/data-access 3.5.7 → 3.6.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-location-group.mjs +1 -1
- package/esm2022/lib/api-models/api-activity-location.mjs +1 -1
- package/esm2022/lib/api-models/api-activity-question-connection.mjs +2 -0
- package/esm2022/lib/api-models/api-activity-question.mjs +2 -0
- package/esm2022/lib/api-models/api-activity-rule-relation.mjs +2 -0
- package/esm2022/lib/api-models/api-activity-rule.mjs +2 -0
- package/esm2022/lib/api-models/api-activity-settings.mjs +1 -1
- package/esm2022/lib/api-models/api-activity.mjs +1 -1
- package/esm2022/lib/api-models/api-bookable-item.mjs +1 -1
- package/esm2022/lib/api-models/api-invoice/api-payment-attempt.mjs +1 -1
- package/esm2022/lib/api-models/api-invoice/api-payment-order.mjs +1 -1
- package/esm2022/lib/api-models/api-member/api-member.mjs +1 -1
- package/esm2022/lib/api-models/api-open-activity.mjs +1 -1
- package/esm2022/lib/api-models/api-search-attribute.mjs +2 -0
- package/esm2022/lib/api-models/api-search-club.mjs +1 -1
- package/esm2022/lib/api-models/index.mjs +6 -1
- package/esm2022/lib/authentication/guards/handle-grant-token.guard.mjs +1 -1
- package/esm2022/lib/data-access.module.mjs +3 -4
- package/esm2022/lib/models/activity-invite.mjs +12 -2
- package/esm2022/lib/models/activity-location-group.mjs +1 -1
- package/esm2022/lib/models/activity-location-part.mjs +1 -1
- package/esm2022/lib/models/activity-location-tag.mjs +1 -1
- package/esm2022/lib/models/activity-location.mjs +1 -1
- package/esm2022/lib/models/activity-question-connection.mjs +29 -0
- package/esm2022/lib/models/activity-question-response.mjs +9 -0
- package/esm2022/lib/models/activity-question.mjs +33 -0
- package/esm2022/lib/models/activity-rule-relation.mjs +35 -0
- package/esm2022/lib/models/activity-rule.mjs +31 -0
- package/esm2022/lib/models/activity-settings.mjs +14 -4
- package/esm2022/lib/models/activity-type.mjs +1 -1
- package/esm2022/lib/models/activity.mjs +72 -4
- package/esm2022/lib/models/bookable-item.mjs +1 -1
- package/esm2022/lib/models/bookable-part.mjs +1 -1
- package/esm2022/lib/models/bookable-tag.mjs +1 -1
- package/esm2022/lib/models/booking-calendar-application-time.mjs +1 -1
- package/esm2022/lib/models/booking-calendar-slot-session.mjs +1 -1
- package/esm2022/lib/models/booking-settings.mjs +1 -1
- package/esm2022/lib/models/index.mjs +7 -1
- package/esm2022/lib/models/invoice/payment-attempt.mjs +1 -1
- package/esm2022/lib/models/invoice/payment-order.mjs +12 -6
- package/esm2022/lib/models/open-activity.mjs +16 -2
- package/esm2022/lib/models/optional-fee.mjs +12 -1
- package/esm2022/lib/models/search-attribute.mjs +13 -0
- package/esm2022/lib/models/search-club.mjs +2 -6
- package/esm2022/lib/models/search-team.mjs +1 -1
- package/esm2022/lib/models/token.mjs +1 -1
- package/esm2022/lib/services/activity.service.mjs +82 -48
- package/esm2022/lib/services/api.service.mjs +1 -1
- package/esm2022/lib/services/booking-calendar.service.mjs +1 -1
- package/esm2022/lib/services/constant.service.mjs +13 -1
- package/esm2022/lib/services/factories/activity-factory.mjs +6 -2
- package/esm2022/lib/services/factories/activity-invite-factory.mjs +2 -2
- package/esm2022/lib/services/factories/activity-location-factory.mjs +1 -1
- package/esm2022/lib/services/factories/activity-location-group-factory.mjs +1 -1
- package/esm2022/lib/services/factories/activity-location-part-factory.mjs +1 -1
- package/esm2022/lib/services/factories/activity-location-tag-factory.mjs +1 -1
- package/esm2022/lib/services/factories/activity-question-connection-factory.mjs +4 -0
- package/esm2022/lib/services/factories/activity-question-factory.mjs +3 -0
- package/esm2022/lib/services/factories/activity-rule-factory.mjs +4 -0
- package/esm2022/lib/services/factories/activity-rule-relation-factory.mjs +5 -0
- package/esm2022/lib/services/factories/activity-settings-factory.mjs +2 -2
- package/esm2022/lib/services/factories/bookable-item-factory.mjs +1 -1
- package/esm2022/lib/services/factories/bookable-part-factory.mjs +1 -1
- package/esm2022/lib/services/factories/bookable-tag-factory.mjs +1 -1
- package/esm2022/lib/services/factories/booking-calendar-application-time-factory.mjs +1 -1
- package/esm2022/lib/services/factories/booking-calendar-slot-factory.mjs +1 -1
- package/esm2022/lib/services/factories/booking-calendar-slot-session-factory.mjs +1 -1
- package/esm2022/lib/services/factories/booking-calendar-slot-validate-copy-result-factory.mjs +1 -1
- package/esm2022/lib/services/factories/booking-settings-factory.mjs +1 -1
- package/esm2022/lib/services/factories/feature-flags-factory.mjs +1 -1
- package/esm2022/lib/services/factories/index.mjs +6 -1
- package/esm2022/lib/services/factories/open-activity-factory.mjs +4 -2
- package/esm2022/lib/services/factories/overbooked-bookable-item-factory.mjs +1 -1
- package/esm2022/lib/services/factories/overbooked-location-factory.mjs +1 -1
- package/esm2022/lib/services/factories/payment-order-factory.mjs +2 -2
- package/esm2022/lib/services/factories/saved-search-factory.mjs +1 -1
- package/esm2022/lib/services/factories/search-attribute.factory.mjs +3 -0
- package/esm2022/lib/services/factories/search-club-factory.mjs +2 -2
- package/esm2022/lib/services/feature-flags.service.mjs +1 -1
- package/esm2022/lib/services/index.mjs +2 -2
- package/esm2022/lib/services/invoice/invoice.service.mjs +1 -1
- package/esm2022/lib/services/invoice/payment-attempt.service.mjs +1 -1
- package/esm2022/lib/services/invoice/payment-order.service.mjs +4 -1
- package/esm2022/lib/services/member-card.service.mjs +1 -1
- package/esm2022/lib/services/member-fee.service.mjs +1 -1
- package/esm2022/lib/services/member-public-form.service.mjs +1 -1
- package/esm2022/lib/services/member.service.mjs +1 -1
- package/esm2022/lib/services/storage.service.mjs +1 -1
- package/esm2022/lib/services/team.service.mjs +1 -1
- package/esm2022/lib/services/user.service.mjs +1 -1
- package/esm2022/lib/store/actions/activity.actions.mjs +57 -27
- package/esm2022/lib/store/actions/calendar.actions.mjs +7 -1
- package/esm2022/lib/store/actions/constant.actions.mjs +21 -1
- package/esm2022/lib/store/actions/invoice.actions.mjs +9 -1
- package/esm2022/lib/store/actions/member-fee.actions.mjs +1 -1
- package/esm2022/lib/store/actions/member.actions.mjs +1 -1
- package/esm2022/lib/store/actions/saved-search.actions.mjs +1 -1
- package/esm2022/lib/store/effects/activity.effects.mjs +40 -22
- package/esm2022/lib/store/effects/auth.effects.mjs +1 -1
- package/esm2022/lib/store/effects/booking.effects.mjs +1 -1
- package/esm2022/lib/store/effects/calendar.effects.mjs +7 -19
- package/esm2022/lib/store/effects/constant.effects.mjs +11 -2
- package/esm2022/lib/store/effects/file.effects.mjs +1 -1
- package/esm2022/lib/store/effects/invoice.effects.mjs +12 -2
- package/esm2022/lib/store/effects/member-card.effects.mjs +1 -1
- package/esm2022/lib/store/effects/member-fee.effects.mjs +1 -1
- package/esm2022/lib/store/effects/member.effects.mjs +1 -1
- package/esm2022/lib/store/effects/saved-search.effects.mjs +1 -1
- package/esm2022/lib/store/effects/token.effects.mjs +1 -1
- package/esm2022/lib/store/interfaces/index.mjs +2 -1
- package/esm2022/lib/store/interfaces/public-member-activity-result-interface.mjs +2 -0
- package/esm2022/lib/store/operators/ensure-public-member-activities-loading-done.mjs +5 -0
- package/esm2022/lib/store/operators/index.mjs +2 -1
- package/esm2022/lib/store/reducers/booking.reducers.mjs +1 -1
- package/esm2022/lib/store/reducers/calendar.reducer.mjs +83 -50
- package/esm2022/lib/store/reducers/constant.reducer.mjs +35 -2
- package/esm2022/lib/store/reducers/file.reducer.mjs +1 -1
- package/esm2022/lib/store/reducers/invoice.reducer.mjs +2 -2
- package/esm2022/lib/store/reducers/member-fee.reducer.mjs +1 -1
- package/esm2022/lib/store/reducers/public.reducer.mjs +58 -73
- package/esm2022/lib/store/reducers/saved-search.reducer.mjs +1 -1
- package/esm2022/lib/store/selectors/calendar.selectors.mjs +7 -1
- package/esm2022/lib/store/selectors/constant.selectors.mjs +5 -1
- package/esm2022/lib/store/selectors/member-fee.selectors.mjs +1 -1
- package/esm2022/lib/store/selectors/public.selectors.mjs +7 -7
- package/esm2022/lib/store/selectors/saved-search.selectors.mjs +1 -1
- package/esm2022/lib/store/state/booking.state.mjs +1 -1
- package/esm2022/lib/store/state/calendar.state.mjs +3 -1
- package/esm2022/lib/store/state/constant.state.mjs +4 -1
- package/esm2022/lib/store/state/invoice.state.mjs +1 -1
- package/esm2022/lib/store/state/member-fee.state.mjs +1 -1
- package/esm2022/lib/store/state/public.state.mjs +7 -7
- package/fesm2022/myclub_se-data-access.mjs +3447 -2976
- package/fesm2022/myclub_se-data-access.mjs.map +1 -1
- package/lib/api-models/api-activity-invite.d.ts +3 -0
- package/lib/api-models/api-activity-question-connection.d.ts +10 -0
- package/lib/api-models/api-activity-question.d.ts +9 -0
- package/lib/api-models/api-activity-rule-relation.d.ts +10 -0
- package/lib/api-models/api-activity-rule.d.ts +8 -0
- package/lib/api-models/api-activity-settings.d.ts +6 -1
- package/lib/api-models/api-activity.d.ts +26 -0
- package/lib/api-models/api-invoice/api-payment-order.d.ts +5 -2
- package/lib/api-models/api-open-activity.d.ts +10 -0
- package/lib/api-models/api-search-attribute.d.ts +8 -0
- package/lib/api-models/api-search-club.d.ts +0 -2
- package/lib/api-models/index.d.ts +5 -0
- package/lib/models/activity-invite.d.ts +7 -1
- package/lib/models/activity-question-connection.d.ts +19 -0
- package/lib/models/activity-question-response.d.ts +5 -0
- package/lib/models/activity-question.d.ts +22 -0
- package/lib/models/activity-rule-relation.d.ts +14 -0
- package/lib/models/activity-rule.d.ts +12 -0
- package/lib/models/activity-settings.d.ts +7 -2
- package/lib/models/activity.d.ts +29 -1
- package/lib/models/index.d.ts +6 -0
- package/lib/models/invoice/payment-attempt.d.ts +1 -1
- package/lib/models/invoice/payment-order.d.ts +6 -3
- package/lib/models/open-activity.d.ts +10 -1
- package/lib/models/optional-fee.d.ts +9 -0
- package/lib/models/search-attribute.d.ts +9 -0
- package/lib/models/search-club.d.ts +1 -3
- package/lib/services/activity.service.d.ts +17 -11
- package/lib/services/constant.service.d.ts +3 -0
- package/lib/services/factories/activity-question-connection-factory.d.ts +3 -0
- package/lib/services/factories/activity-question-factory.d.ts +3 -0
- package/lib/services/factories/activity-rule-factory.d.ts +3 -0
- package/lib/services/factories/activity-rule-relation-factory.d.ts +3 -0
- package/lib/services/factories/index.d.ts +5 -0
- package/lib/services/factories/search-attribute.factory.d.ts +3 -0
- package/lib/services/index.d.ts +1 -1
- package/lib/services/invoice/payment-order.service.d.ts +1 -0
- package/lib/services/member-card.service.d.ts +2 -3
- package/lib/store/actions/activity.actions.d.ts +207 -59
- package/lib/store/actions/calendar.actions.d.ts +36 -0
- package/lib/store/actions/constant.actions.d.ts +42 -0
- package/lib/store/actions/invoice.actions.d.ts +23 -1
- package/lib/store/effects/activity.effects.d.ts +56 -16
- package/lib/store/effects/calendar.effects.d.ts +4 -31
- package/lib/store/effects/constant.effects.d.ts +15 -0
- package/lib/store/effects/invoice.effects.d.ts +3 -0
- package/lib/store/interfaces/index.d.ts +1 -0
- package/lib/store/interfaces/public-member-activity-result-interface.d.ts +7 -0
- package/lib/store/operators/ensure-public-member-activities-loading-done.d.ts +3 -0
- package/lib/store/operators/index.d.ts +1 -0
- package/lib/store/selectors/calendar.selectors.d.ts +2 -0
- package/lib/store/selectors/constant.selectors.d.ts +2 -0
- package/lib/store/selectors/public.selectors.d.ts +6 -6
- package/lib/store/state/calendar.state.d.ts +3 -1
- package/lib/store/state/constant.state.d.ts +3 -0
- package/lib/store/state/public.state.d.ts +8 -8
- package/package.json +4 -3
|
@@ -10,7 +10,10 @@ export interface ApiActivityInvite {
|
|
|
10
10
|
last_invite: string;
|
|
11
11
|
readonly leader: boolean;
|
|
12
12
|
member: ApiSearchMember;
|
|
13
|
+
member_invoice_id: string;
|
|
13
14
|
next_invite: string | null;
|
|
15
|
+
payment_link: string;
|
|
16
|
+
public_payment_link: string;
|
|
14
17
|
reminded: string;
|
|
15
18
|
response_date: string;
|
|
16
19
|
status: string;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiActivityQuestion } from './api-activity-question';
|
|
2
|
+
export interface ApiActivityQuestionConnection {
|
|
3
|
+
id: string;
|
|
4
|
+
activity_id: string;
|
|
5
|
+
activity_question_id: string;
|
|
6
|
+
activity_question: ApiActivityQuestion;
|
|
7
|
+
answer: string;
|
|
8
|
+
answer_display: string;
|
|
9
|
+
required: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ApiActivityRule } from './api-activity-rule';
|
|
2
|
+
export interface ApiActivityRuleRelation {
|
|
3
|
+
id: string;
|
|
4
|
+
activity_id: string;
|
|
5
|
+
club_id: string;
|
|
6
|
+
section_id: string | null;
|
|
7
|
+
parent_id: string | null;
|
|
8
|
+
rules: Array<ApiActivityRule>;
|
|
9
|
+
type: string;
|
|
10
|
+
}
|
|
@@ -1,13 +1,18 @@
|
|
|
1
1
|
import { OptionInterface } from '../interfaces';
|
|
2
2
|
export interface ApiActivitySettings {
|
|
3
|
+
booking_repeat_options: Array<OptionInterface>;
|
|
3
4
|
day_options: Array<OptionInterface>;
|
|
4
5
|
hour_options: Array<OptionInterface>;
|
|
5
6
|
invite_group_options: Array<OptionInterface>;
|
|
6
7
|
invite_settings_options: Array<OptionInterface>;
|
|
7
8
|
max_attendance_options: Array<OptionInterface>;
|
|
8
9
|
meet_up_time_options: Array<OptionInterface>;
|
|
10
|
+
question_type_options: Array<OptionInterface>;
|
|
9
11
|
remind_receiver_options: Array<OptionInterface>;
|
|
10
12
|
repeat_options: Array<OptionInterface>;
|
|
11
|
-
booking_repeat_options: Array<OptionInterface>;
|
|
12
13
|
repeat_type_options: Array<OptionInterface>;
|
|
14
|
+
show_other_invited_options: Array<OptionInterface>;
|
|
15
|
+
sisu_responsible_options: Array<OptionInterface>;
|
|
16
|
+
sisu_types: Array<string>;
|
|
17
|
+
status_options: Array<OptionInterface>;
|
|
13
18
|
}
|
|
@@ -1,18 +1,27 @@
|
|
|
1
1
|
import { ApiMemberActivityInvite } from './api-member-activity-invite';
|
|
2
|
+
import { ApiOptionalFee } from './api-optional-fee';
|
|
3
|
+
import { ApiActivityQuestionConnection } from './api-activity-question-connection';
|
|
4
|
+
import { ApiUnpaidMemberInvoice } from './api-invoice';
|
|
5
|
+
import { ApiActivityRuleRelation } from './api-activity-rule-relation';
|
|
2
6
|
export interface ApiActivity {
|
|
3
7
|
activity_group_id: string | null;
|
|
4
8
|
activity_location: string;
|
|
9
|
+
activity_status: string;
|
|
5
10
|
activity_type_id: string;
|
|
6
11
|
activity_type_name: string;
|
|
7
12
|
allow_maybe: boolean;
|
|
8
13
|
calendar_name: string;
|
|
9
14
|
club_id: string;
|
|
15
|
+
comment_required: boolean;
|
|
10
16
|
created: string;
|
|
11
17
|
current_num_attendants: number;
|
|
12
18
|
day: string;
|
|
19
|
+
default_fee: number;
|
|
20
|
+
default_fee_id: string;
|
|
13
21
|
description: string;
|
|
14
22
|
end_time: string;
|
|
15
23
|
file: string | null;
|
|
24
|
+
has_unpaid_invoices: boolean;
|
|
16
25
|
id: string;
|
|
17
26
|
invitation_text: string;
|
|
18
27
|
invite_first_days: number;
|
|
@@ -28,22 +37,39 @@ export interface ApiActivity {
|
|
|
28
37
|
last_response_date: string;
|
|
29
38
|
max_num_attendants: number;
|
|
30
39
|
max_num_attendants_type: string;
|
|
40
|
+
member_id: string;
|
|
41
|
+
member_name: string;
|
|
31
42
|
meet_up_place: string;
|
|
32
43
|
meet_up_time: number;
|
|
33
44
|
meet_up_time_display: string;
|
|
34
45
|
member_ids: Array<string>;
|
|
35
46
|
open_activity: boolean;
|
|
47
|
+
optional_fees: Array<ApiOptionalFee>;
|
|
48
|
+
optional_fee_required: boolean;
|
|
49
|
+
optional_fee_type: string;
|
|
50
|
+
payment_type: string;
|
|
36
51
|
qr_code: string | null;
|
|
37
52
|
qr_code_enabled: boolean;
|
|
53
|
+
questions: Array<ApiActivityQuestionConnection>;
|
|
38
54
|
repeat: string;
|
|
39
55
|
repeat_num: number;
|
|
40
56
|
repeat_to_day: string;
|
|
41
57
|
repeat_type: string;
|
|
58
|
+
rule_relations: Array<ApiActivityRuleRelation>;
|
|
59
|
+
service_fee: number;
|
|
60
|
+
service_fee_id: string;
|
|
42
61
|
show_other_invited: string;
|
|
43
62
|
start_time: string;
|
|
63
|
+
status: string;
|
|
44
64
|
team_id: string;
|
|
45
65
|
title: string;
|
|
66
|
+
unpaid_invoices: Array<ApiUnpaidMemberInvoice>;
|
|
46
67
|
updated: string;
|
|
47
68
|
use_invite: boolean;
|
|
48
69
|
update_repeating: boolean;
|
|
70
|
+
invite_auto_accept: boolean;
|
|
71
|
+
open_activity_confirmation_text: string | null;
|
|
72
|
+
send_open_activity_confirmation: boolean;
|
|
73
|
+
sisu_material: string;
|
|
74
|
+
sisu_responsible_id: string | null;
|
|
49
75
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import { ApiCreditCard, ApiSwish } from './api-invoice-payments';
|
|
2
2
|
import { ApiPaymentOrderRow } from './api-payment-order-row';
|
|
3
3
|
export interface ApiPaymentOrder {
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
activity_invite_id: string | null;
|
|
5
|
+
allow_credit_card_payment: boolean;
|
|
6
|
+
allow_ping_credit_card_payment: boolean;
|
|
7
|
+
allow_ping_swish_payment: boolean;
|
|
8
|
+
allow_swish_payment: boolean;
|
|
6
9
|
amount: number;
|
|
7
10
|
credit_card: ApiCreditCard | null;
|
|
8
11
|
club_name: string;
|
|
@@ -1,21 +1,27 @@
|
|
|
1
1
|
import { ApiMemberActivityInvite } from './api-member-activity-invite';
|
|
2
2
|
import { ApiOptionalFee } from './api-optional-fee';
|
|
3
|
+
import { ApiActivityQuestionConnection } from './api-activity-question-connection';
|
|
4
|
+
import { ApiUnpaidMemberInvoice } from './api-invoice';
|
|
3
5
|
export interface ApiOpenActivity {
|
|
4
6
|
readonly activity_group_id: string | null;
|
|
5
7
|
readonly activity_location: string;
|
|
8
|
+
readonly activity_status: string;
|
|
6
9
|
readonly activity_type_id: string;
|
|
7
10
|
readonly activity_type_name: string;
|
|
8
11
|
readonly allow_maybe: boolean;
|
|
9
12
|
readonly calendar_name: string;
|
|
10
13
|
readonly club_id: string;
|
|
14
|
+
readonly comment_required: boolean;
|
|
11
15
|
readonly created: string;
|
|
12
16
|
readonly current_num_attendants: number;
|
|
13
17
|
readonly day: string;
|
|
14
18
|
readonly default_fee: number;
|
|
19
|
+
readonly default_fee_id: string;
|
|
15
20
|
readonly description: string;
|
|
16
21
|
readonly end: string;
|
|
17
22
|
readonly end_time: string;
|
|
18
23
|
readonly file: string | null;
|
|
24
|
+
readonly has_unpaid_invoices: boolean;
|
|
19
25
|
readonly id: string;
|
|
20
26
|
readonly invitation_text: string;
|
|
21
27
|
readonly invite_first_days: number;
|
|
@@ -44,6 +50,9 @@ export interface ApiOpenActivity {
|
|
|
44
50
|
readonly optional_fees: Array<ApiOptionalFee>;
|
|
45
51
|
readonly optional_fee_required: boolean;
|
|
46
52
|
readonly optional_fee_type: string;
|
|
53
|
+
readonly payment_link: string;
|
|
54
|
+
readonly public_payment_link: string;
|
|
55
|
+
readonly questions: Array<ApiActivityQuestionConnection>;
|
|
47
56
|
readonly repeat: string;
|
|
48
57
|
readonly repeat_num: number;
|
|
49
58
|
readonly repeat_to_day: string;
|
|
@@ -54,6 +63,7 @@ export interface ApiOpenActivity {
|
|
|
54
63
|
readonly status: string;
|
|
55
64
|
readonly team_id: string;
|
|
56
65
|
readonly title: string;
|
|
66
|
+
readonly unpaid_invoices: Array<ApiUnpaidMemberInvoice>;
|
|
57
67
|
readonly updated: string;
|
|
58
68
|
readonly use_invite: boolean;
|
|
59
69
|
readonly update_repeating: boolean;
|
|
@@ -5,8 +5,6 @@ export interface ApiSearchClub {
|
|
|
5
5
|
member_search: boolean;
|
|
6
6
|
member_view: boolean;
|
|
7
7
|
name: string;
|
|
8
|
-
open_activities: boolean;
|
|
9
|
-
open_activities_name: string;
|
|
10
8
|
open_activities_search_type: string;
|
|
11
9
|
qr_codes_enabled: boolean;
|
|
12
10
|
mypages_menu: Array<ApiMypagesMenuItem>;
|
|
@@ -6,6 +6,10 @@ export * from './api-activity-location-group';
|
|
|
6
6
|
export * from './api-activity-location-tag';
|
|
7
7
|
export * from './api-activity-location-part';
|
|
8
8
|
export * from './api-activity-participant';
|
|
9
|
+
export * from './api-activity-question';
|
|
10
|
+
export * from './api-activity-question-connection';
|
|
11
|
+
export * from './api-activity-rule';
|
|
12
|
+
export * from './api-activity-rule-relation';
|
|
9
13
|
export * from './api-activity-type';
|
|
10
14
|
export * from './api-auth';
|
|
11
15
|
export * from './api-bookable-item';
|
|
@@ -55,6 +59,7 @@ export * from './api-partner';
|
|
|
55
59
|
export * from './api-registration-qr-code';
|
|
56
60
|
export * from './api-retrieve-2fa';
|
|
57
61
|
export * from './api-saved-search';
|
|
62
|
+
export * from './api-search-attribute';
|
|
58
63
|
export * from './api-search-club';
|
|
59
64
|
export * from './api-search-team';
|
|
60
65
|
export * from './api-section';
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Activity } from './activity';
|
|
2
2
|
import { SearchMember } from './member';
|
|
3
3
|
import { UnpaidMemberInvoice } from './invoice';
|
|
4
|
+
import { ActivityQuestionResponse } from './activity-question-response';
|
|
4
5
|
export declare class ActivityInvite {
|
|
5
6
|
id: string;
|
|
6
7
|
activity: Activity;
|
|
@@ -10,12 +11,17 @@ export declare class ActivityInvite {
|
|
|
10
11
|
last_invite: string;
|
|
11
12
|
readonly leader: boolean;
|
|
12
13
|
member: SearchMember;
|
|
14
|
+
member_invoice_id: string;
|
|
13
15
|
next_invite: string | null;
|
|
16
|
+
optional_fees: Array<string>;
|
|
17
|
+
payment_link: string;
|
|
18
|
+
public_payment_link: string;
|
|
14
19
|
reminded: string;
|
|
15
20
|
response_date: string;
|
|
21
|
+
responses: Array<ActivityQuestionResponse>;
|
|
16
22
|
status: string;
|
|
17
23
|
token: string;
|
|
18
24
|
unpaid_invoices: Array<UnpaidMemberInvoice>;
|
|
19
25
|
updated: string;
|
|
20
|
-
constructor(id: string, activity: Activity, comment: string, created: string, has_unpaid_invoices: boolean, last_invite: string, leader: boolean, member: SearchMember, next_invite: string | null, reminded: string, response_date: string, status: string, token: string, unpaid_invoices: Array<UnpaidMemberInvoice>, updated: string);
|
|
26
|
+
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);
|
|
21
27
|
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ActivityQuestion } from './activity-question';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
export declare class ActivityQuestionConnection {
|
|
4
|
+
id: string;
|
|
5
|
+
activity_id: string;
|
|
6
|
+
activity_question_id: string;
|
|
7
|
+
activity_question: ActivityQuestion;
|
|
8
|
+
answer: string;
|
|
9
|
+
answer_display: string;
|
|
10
|
+
required: boolean;
|
|
11
|
+
static asFormGroup(activityQuestionConnection: ActivityQuestionConnection): FormGroup<{
|
|
12
|
+
id: FormControl<string | null>;
|
|
13
|
+
activity_question_id: FormControl<string | null>;
|
|
14
|
+
answer: FormControl<string | null>;
|
|
15
|
+
answer_display: FormControl<string | null>;
|
|
16
|
+
required: FormControl<boolean | null>;
|
|
17
|
+
}>;
|
|
18
|
+
constructor(id: string, activity_id: string, activity_question_id: string, activity_question: ActivityQuestion, answer: string, answer_display: string, required: boolean);
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { FormArray, FormControl, FormGroup } from '@angular/forms';
|
|
2
|
+
export declare class ActivityQuestion {
|
|
3
|
+
id: string;
|
|
4
|
+
club_id: string;
|
|
5
|
+
section_id: string | null;
|
|
6
|
+
question: string;
|
|
7
|
+
question_type: string;
|
|
8
|
+
question_type_display: string;
|
|
9
|
+
question_choices: Record<string, string>;
|
|
10
|
+
static asFormGroup(activityQuestion: ActivityQuestion): FormGroup<{
|
|
11
|
+
id: FormControl<string>;
|
|
12
|
+
club_id: FormControl<string>;
|
|
13
|
+
section_id: FormControl<string | null>;
|
|
14
|
+
question: FormControl<string>;
|
|
15
|
+
question_type: FormControl<string>;
|
|
16
|
+
question_choices: FormArray<FormGroup<{
|
|
17
|
+
key: FormControl<string | null>;
|
|
18
|
+
value: FormControl<string | null>;
|
|
19
|
+
}>>;
|
|
20
|
+
}>;
|
|
21
|
+
constructor(id: string, club_id: string, section_id: string | null, question: string, question_type: string, question_type_display: string, question_choices: Record<string, string>);
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ActivityRule } from './activity-rule';
|
|
2
|
+
import { FormGroup } from '@angular/forms';
|
|
3
|
+
export declare class ActivityRuleRelation {
|
|
4
|
+
id: string;
|
|
5
|
+
uuid: string;
|
|
6
|
+
activity_id: string;
|
|
7
|
+
club_id: string;
|
|
8
|
+
section_id: string | null;
|
|
9
|
+
parent_id: string | null;
|
|
10
|
+
rules: Array<ActivityRule>;
|
|
11
|
+
type: string;
|
|
12
|
+
static asFormGroup(activityRuleRelation?: ActivityRuleRelation | null): FormGroup;
|
|
13
|
+
constructor(id: string, uuid: string, activity_id: string, club_id: string, section_id: string | null, parent_id: string | null, rules: Array<ActivityRule>, type: string);
|
|
14
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FormGroup } from '@angular/forms';
|
|
2
|
+
export declare class ActivityRule {
|
|
3
|
+
id: string;
|
|
4
|
+
uuid: string;
|
|
5
|
+
relation_id: string;
|
|
6
|
+
comparison_type: string;
|
|
7
|
+
dynamic_field_id: string | null;
|
|
8
|
+
rule_type: string;
|
|
9
|
+
value: string;
|
|
10
|
+
static asFormGroup(activityRule?: ActivityRule | null): FormGroup;
|
|
11
|
+
constructor(id: string, uuid: string, relation_id: string, comparison_type: string, dynamic_field_id: string | null, rule_type: string, value: string);
|
|
12
|
+
}
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
import { OptionInterface } from '../interfaces';
|
|
2
2
|
export declare class ActivitySettings {
|
|
3
3
|
activityLocations: Array<OptionInterface>;
|
|
4
|
+
activityStatuses: Array<OptionInterface>;
|
|
4
5
|
activityTypes: Array<OptionInterface>;
|
|
6
|
+
bookingRepeatOptions: Array<OptionInterface>;
|
|
5
7
|
dayOptions: Array<OptionInterface>;
|
|
6
8
|
hourOptions: Array<OptionInterface>;
|
|
7
9
|
inviteGroupOptions: Array<OptionInterface>;
|
|
8
10
|
inviteSettingsOptions: Array<OptionInterface>;
|
|
9
11
|
maxAttendanceOptions: Array<OptionInterface>;
|
|
10
12
|
meetUpTimeOptions: Array<OptionInterface>;
|
|
13
|
+
questionTypeOptions: Array<OptionInterface>;
|
|
11
14
|
remindReceiverOptions: Array<OptionInterface>;
|
|
12
15
|
repeatOptions: Array<OptionInterface>;
|
|
13
|
-
bookingRepeatOptions: Array<OptionInterface>;
|
|
14
16
|
repeatTypeOptions: Array<OptionInterface>;
|
|
15
|
-
|
|
17
|
+
showOtherInvitedOptions: Array<OptionInterface>;
|
|
18
|
+
sisuTypes: Array<string>;
|
|
19
|
+
sisuResponsibleOptions: Array<OptionInterface>;
|
|
20
|
+
constructor(activityLocations: Array<OptionInterface>, activityStatuses: Array<OptionInterface>, activityTypes: Array<OptionInterface>, bookingRepeatOptions: Array<OptionInterface>, dayOptions: Array<OptionInterface>, hourOptions: Array<OptionInterface>, inviteGroupOptions: Array<OptionInterface>, inviteSettingsOptions: Array<OptionInterface>, maxAttendanceOptions: Array<OptionInterface>, meetUpTimeOptions: Array<OptionInterface>, questionTypeOptions: Array<OptionInterface>, remindReceiverOptions: Array<OptionInterface>, repeatOptions: Array<OptionInterface>, repeatTypeOptions: Array<OptionInterface>, showOtherInvitedOptions: Array<OptionInterface>, sisuTypes: Array<string>, sisuResponsibleOptions: Array<OptionInterface>);
|
|
16
21
|
}
|
package/lib/models/activity.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { MemberActivityInvite } from "./member-activity-invite";
|
|
2
2
|
import { FormGroup } from '@angular/forms';
|
|
3
|
+
import { OptionalFee } from './optional-fee';
|
|
4
|
+
import { ActivityQuestionConnection } from './activity-question-connection';
|
|
5
|
+
import { UnpaidMemberInvoice } from "./invoice";
|
|
6
|
+
import { ActivityRuleRelation } from './activity-rule-relation';
|
|
3
7
|
export declare class Activity {
|
|
4
8
|
id: string;
|
|
5
9
|
activity_group_id: string | null;
|
|
@@ -8,15 +12,20 @@ export declare class Activity {
|
|
|
8
12
|
location_id: string;
|
|
9
13
|
team_id: string;
|
|
10
14
|
activity_location: string;
|
|
15
|
+
activity_status: string;
|
|
11
16
|
activity_type_name: string;
|
|
12
17
|
allow_maybe: boolean;
|
|
13
18
|
calendar_name: string;
|
|
19
|
+
comment_required: boolean;
|
|
14
20
|
created: string;
|
|
15
21
|
current_num_attendants: number;
|
|
16
22
|
day: string;
|
|
23
|
+
default_fee: number;
|
|
24
|
+
default_fee_id: string;
|
|
17
25
|
description: string;
|
|
18
26
|
end_time: string;
|
|
19
27
|
file: string | null;
|
|
28
|
+
has_unpaid_invoices: boolean;
|
|
20
29
|
invitation_text: string;
|
|
21
30
|
invite_first_days: number;
|
|
22
31
|
invite_groups: Array<string>;
|
|
@@ -33,20 +42,39 @@ export declare class Activity {
|
|
|
33
42
|
meet_up_place: string;
|
|
34
43
|
meet_up_time: number;
|
|
35
44
|
meet_up_time_display: string;
|
|
45
|
+
member_id: string;
|
|
36
46
|
member_ids: Array<string>;
|
|
47
|
+
member_name: string;
|
|
37
48
|
open_activity: boolean;
|
|
49
|
+
readonly optional_fees: Array<OptionalFee>;
|
|
50
|
+
readonly optional_fee_required: boolean;
|
|
51
|
+
readonly optional_fee_type: string;
|
|
52
|
+
payment_type: string;
|
|
38
53
|
qr_code: string | null;
|
|
39
54
|
qr_code_enabled: boolean;
|
|
55
|
+
questions: Array<ActivityQuestionConnection>;
|
|
40
56
|
repeat: string;
|
|
41
57
|
repeat_num: number;
|
|
42
58
|
repeat_to_day: string;
|
|
43
59
|
repeat_type: string;
|
|
60
|
+
rule_relations: Array<ActivityRuleRelation>;
|
|
61
|
+
service_fee: number;
|
|
62
|
+
service_fee_id: string;
|
|
44
63
|
show_other_invited: string;
|
|
45
64
|
start_time: string;
|
|
65
|
+
status: string;
|
|
46
66
|
title: string;
|
|
67
|
+
unpaid_invoices: Array<UnpaidMemberInvoice>;
|
|
47
68
|
updated: string;
|
|
48
69
|
use_invite: boolean;
|
|
49
70
|
update_repeating: boolean;
|
|
71
|
+
invite_auto_accept: boolean;
|
|
72
|
+
mail_invited: boolean;
|
|
73
|
+
open_activity_confirmation_text: string;
|
|
74
|
+
send_open_activity_confirmation: boolean;
|
|
75
|
+
sisu_material: string;
|
|
76
|
+
sisu_responsible_id: string | null;
|
|
50
77
|
static asFormGroup(activity?: Activity | null): FormGroup;
|
|
51
|
-
|
|
78
|
+
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);
|
|
52
80
|
}
|
package/lib/models/index.d.ts
CHANGED
|
@@ -6,6 +6,11 @@ export * from './activity-location-group';
|
|
|
6
6
|
export * from './activity-location-tag';
|
|
7
7
|
export * from './activity-location-part';
|
|
8
8
|
export * from './activity-participant';
|
|
9
|
+
export * from './activity-question';
|
|
10
|
+
export * from './activity-question-connection';
|
|
11
|
+
export * from './activity-question-response';
|
|
12
|
+
export * from './activity-rule';
|
|
13
|
+
export * from './activity-rule-relation';
|
|
9
14
|
export * from './activity-settings';
|
|
10
15
|
export * from './activity-type';
|
|
11
16
|
export * from './auth';
|
|
@@ -60,6 +65,7 @@ export * from './registration-qr-code';
|
|
|
60
65
|
export * from './retrieve-2fa';
|
|
61
66
|
export * from './role';
|
|
62
67
|
export * from './saved-search';
|
|
68
|
+
export * from './search-attribute';
|
|
63
69
|
export * from './search-club';
|
|
64
70
|
export * from './search-team';
|
|
65
71
|
export * from './section';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PaymentAttemptStatusType, PaymentAttemptType } from '../../types';
|
|
2
|
-
import { PaymentAttemptCreditCardDataType, PaymentAttemptPingCreditCardDataType, PaymentAttemptPingSwishDataType, PaymentAttemptSwishDataType, PaymentAttemptZimplerDataType
|
|
2
|
+
import { PaymentAttemptCreditCardDataType, PaymentAttemptFritidskortetDataType, PaymentAttemptPingCreditCardDataType, PaymentAttemptPingSwishDataType, PaymentAttemptSwishDataType, PaymentAttemptZimplerDataType } from './payment-attempt-data-types';
|
|
3
3
|
export declare class PaymentAttempt {
|
|
4
4
|
readonly id: number;
|
|
5
5
|
readonly amount: number;
|
|
@@ -2,8 +2,10 @@ import { CreditCard, Swish } from './payment-types';
|
|
|
2
2
|
import { PaymentOrderRow } from './payment-order-row';
|
|
3
3
|
export declare class PaymentOrder {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
allowCreditCardPayment: boolean;
|
|
6
|
+
allowPingCreditCardPayment: boolean;
|
|
7
|
+
allowPingSwishPayment: boolean;
|
|
8
|
+
allowSwishPayment: boolean;
|
|
7
9
|
amount: number;
|
|
8
10
|
creditCard: CreditCard | null;
|
|
9
11
|
clubName: string;
|
|
@@ -15,5 +17,6 @@ export declare class PaymentOrder {
|
|
|
15
17
|
full_title: string;
|
|
16
18
|
title: string;
|
|
17
19
|
pay_until: string;
|
|
18
|
-
|
|
20
|
+
activityInviteId: string | null;
|
|
21
|
+
constructor(id: string, allowCreditCardPayment: boolean, allowPingCreditCardPayment: boolean, allowPingSwishPayment: boolean, allowSwishPayment: boolean, amount: number, creditCard: CreditCard | null, clubName: string, isPaid: boolean, memberId: string, organisationName: string, rows: Array<PaymentOrderRow>, swish: Swish | null, full_title: string, title: string, pay_until: string, activityInviteId: string | null);
|
|
19
22
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { MemberActivityInvite } from './member-activity-invite';
|
|
2
2
|
import { OptionalFee } from './optional-fee';
|
|
3
|
+
import { ActivityQuestionConnection } from './activity-question-connection';
|
|
4
|
+
import { UnpaidMemberInvoice } from './invoice';
|
|
3
5
|
export declare class OpenActivity {
|
|
4
6
|
readonly id: string;
|
|
5
7
|
readonly activity_group_id: string | null;
|
|
@@ -12,14 +14,17 @@ export declare class OpenActivity {
|
|
|
12
14
|
readonly activity_type_name: string;
|
|
13
15
|
readonly allow_maybe: boolean;
|
|
14
16
|
readonly calendar_name: string;
|
|
17
|
+
readonly comment_required: boolean;
|
|
15
18
|
readonly created: string;
|
|
16
19
|
readonly current_num_attendants: number;
|
|
17
20
|
readonly day: string;
|
|
18
21
|
readonly default_fee: number;
|
|
22
|
+
readonly default_fee_id: string;
|
|
19
23
|
readonly description: string;
|
|
20
24
|
readonly end: string;
|
|
21
25
|
readonly end_time: string;
|
|
22
26
|
readonly file: string | null;
|
|
27
|
+
readonly has_unpaid_invoices: boolean;
|
|
23
28
|
readonly invitation_text: string;
|
|
24
29
|
readonly invite_first_days: number;
|
|
25
30
|
readonly invite_groups: Array<string>;
|
|
@@ -45,6 +50,9 @@ export declare class OpenActivity {
|
|
|
45
50
|
readonly optional_fees: Array<OptionalFee>;
|
|
46
51
|
readonly optional_fee_required: boolean;
|
|
47
52
|
readonly optional_fee_type: string;
|
|
53
|
+
readonly payment_link: string;
|
|
54
|
+
readonly public_payment_link: string;
|
|
55
|
+
readonly questions: Array<ActivityQuestionConnection>;
|
|
48
56
|
readonly repeat: string;
|
|
49
57
|
readonly repeat_num: number;
|
|
50
58
|
readonly repeat_to_day: string;
|
|
@@ -54,10 +62,11 @@ export declare class OpenActivity {
|
|
|
54
62
|
readonly start_time: string;
|
|
55
63
|
readonly status: string;
|
|
56
64
|
readonly title: string;
|
|
65
|
+
readonly unpaid_invoices: Array<UnpaidMemberInvoice>;
|
|
57
66
|
readonly updated: string;
|
|
58
67
|
readonly use_invite: boolean;
|
|
59
68
|
readonly update_repeating: boolean;
|
|
60
69
|
readonly qr_code: null;
|
|
61
70
|
readonly qr_code_enabled = false;
|
|
62
|
-
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_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, 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);
|
|
71
|
+
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, 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);
|
|
63
72
|
}
|
|
@@ -1,9 +1,18 @@
|
|
|
1
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
1
2
|
export declare class OptionalFee {
|
|
2
3
|
readonly id: string;
|
|
3
4
|
readonly activity_id: string;
|
|
4
5
|
readonly fee_id: string;
|
|
5
6
|
readonly amount: number;
|
|
6
7
|
readonly text: string;
|
|
8
|
+
static asFormGroup(optionalFee: OptionalFee): FormGroup<{
|
|
9
|
+
id: FormControl<string | null>;
|
|
10
|
+
activity_id: FormControl<string | null>;
|
|
11
|
+
checked: FormControl<boolean | null>;
|
|
12
|
+
fee_id: FormControl<string | null>;
|
|
13
|
+
amount: FormControl<number | null>;
|
|
14
|
+
text: FormControl<string | null>;
|
|
15
|
+
}>;
|
|
7
16
|
checked: boolean;
|
|
8
17
|
constructor(id: string, activity_id: string, fee_id: string, amount: number, text: string);
|
|
9
18
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { AttributeType } from '../types';
|
|
2
|
+
import { OptionInterface } from '../interfaces';
|
|
3
|
+
export declare class SearchAttribute {
|
|
4
|
+
readonly id: string;
|
|
5
|
+
readonly name: string;
|
|
6
|
+
readonly options: Array<OptionInterface>;
|
|
7
|
+
readonly type: AttributeType;
|
|
8
|
+
constructor(id: string, name: string, options: Array<OptionInterface>, type: AttributeType);
|
|
9
|
+
}
|
|
@@ -5,10 +5,8 @@ export declare class SearchClub {
|
|
|
5
5
|
member_search: boolean;
|
|
6
6
|
member_view: boolean;
|
|
7
7
|
name: string;
|
|
8
|
-
open_activities: boolean;
|
|
9
|
-
open_activities_name: string;
|
|
10
8
|
open_activities_search_type: string;
|
|
11
9
|
qr_codes_enabled: boolean;
|
|
12
10
|
mypages_menu: Array<MypagesMenuItem>;
|
|
13
|
-
constructor(id: string, leader_member_search: boolean, member_search: boolean, member_view: boolean, name: string,
|
|
11
|
+
constructor(id: string, leader_member_search: boolean, member_search: boolean, member_view: boolean, name: string, open_activities_search_type: string, qr_codes_enabled: boolean, mypages_menu: Array<MypagesMenuItem>);
|
|
14
12
|
}
|