Activity
Type Alias: Activity
[object Object]
Defined in: app/api/types.gen.ts:10
Represents an activity that members can enroll in. An activity has various properties such as name, price, description, location, and enrollment deadlines. It also has relationships with other entities such as enrollments and specification questions. This entity is used to manage and organize activities within the system, allowing members to view and enroll in activities based on their preferences and eligibility.
Properties
allowedAudience?
optionalallowedAudience?:TargetAudience
Defined in: app/api/types.gen.ts:100
areParticipantsVisible?
optionalareParticipantsVisible?:boolean
Defined in: app/api/types.gen.ts:91
Whether the participants are visible to each other.
costCenterId?
optionalcostCenterId?:string|null
Defined in: app/api/types.gen.ts:120
The cost center associated with this activity for financial tracking. Dutch: Kostenplaats
costUnitId?
optionalcostUnitId?:string|null
Defined in: app/api/types.gen.ts:124
The cost unit associated with this activity for financial tracking. Dutch: Kostendrager
dateTimeEnd?
optionaldateTimeEnd?:string
Defined in: app/api/types.gen.ts:46
The date and time at which the activity will end.
dateTimeStart?
optionaldateTimeStart?:string
Defined in: app/api/types.gen.ts:42
The date and time at which the activity will start.
dutchDescription?
optionaldutchDescription?:string
Defined in: app/api/types.gen.ts:34
A dutch description or arbitrary length, explaining everything there is to know about the activity.
englishDescription?
optionalenglishDescription?:string
Defined in: app/api/types.gen.ts:38
An english description or arbitrary length, explaining everything there is to know about the activity.
enrollmentDeadline?
optionalenrollmentDeadline?:string|null
Defined in: app/api/types.gen.ts:54
The deadline for enrollment from the activity.
enrollments?
optionalenrollments?:Enrollment[]
Defined in: app/api/types.gen.ts:112
The members enrolled in this activity.
enrollOpenDate?
optionalenrollOpenDate?:string|null
Defined in: app/api/types.gen.ts:58
The date and time at which the activity will be open for enrolling.
glAccountId?
optionalglAccountId?:string|null
Defined in: app/api/types.gen.ts:116
The general ledger account associated with this activity for financial tracking. Dutch: Grootboekrekening
id?
optionalid?:number
Defined in: app/api/types.gen.ts:14
The unique identifier of an activity, assigned incrementally.
isAdultOnly?
optionalisAdultOnly?:boolean
Defined in: app/api/types.gen.ts:95
Whether the activity is 18+ only.
isEnrollable?
optionalisEnrollable?:boolean
Defined in: app/api/types.gen.ts:87
Whether the activity is open for enrollment.
isOpenForPayment?
optionalisOpenForPayment?:boolean
Defined in: app/api/types.gen.ts:104
Whether the activity is open for payment.
isWeeklyDrinks?
optionalisWeeklyDrinks?:boolean
Defined in: app/api/types.gen.ts:99
Whether the activity belongs to the weekly drinks or not.
location?
optionallocation?:string
Defined in: app/api/types.gen.ts:62
The location where the activity will take place.
name
[object Object]
Defined in: app/api/types.gen.ts:18
The name of the activity.
organizer?
optionalorganizer?:Group
Defined in: app/api/types.gen.ts:71
organizerId?
optionalorganizerId?:number|null
Defined in: app/api/types.gen.ts:70
The unique identifier of the organizer group.
participantLimit?
optionalparticipantLimit?:number|null
Defined in: app/api/types.gen.ts:66
The maximum number of participants for the activity.
paymentDeadline
[object Object]
Defined in: app/api/types.gen.ts:128
The payment deadline for the activity.
posterFileName?
optionalposterFileName?:string|null
Defined in: app/api/types.gen.ts:26
The filename of the poster for the activity, if any.
posterPath?
optionalposterPath?:string|null
Defined in: app/api/types.gen.ts:30
The Path where the poster for the activity is stored, if any.
price?
optionalprice?:number
Defined in: app/api/types.gen.ts:22
The price of the activity.
showInKoala?
optionalshowInKoala?:boolean
Defined in: app/api/types.gen.ts:79
Whether the activity is shown in Koala.
showOnWebsite?
optionalshowOnWebsite?:boolean
Defined in: app/api/types.gen.ts:83
Whether the activity is shown on the website.
specificationQuestions?
optionalspecificationQuestions?:SpecificationQuestion[]
Defined in: app/api/types.gen.ts:75
An extra specification question for the activity.
unenrollmentDeadline?
optionalunenrollmentDeadline?:string|null
Defined in: app/api/types.gen.ts:50
The deadline for unenrollment from the activity.
vatRate?
optionalvatRate?:number|null
Defined in: app/api/types.gen.ts:108
The VAT rate applicable to the activity.