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?

optional allowedAudience?: TargetAudience

Defined in: app/api/types.gen.ts:100


areParticipantsVisible?

optional areParticipantsVisible?: boolean

Defined in: app/api/types.gen.ts:91

Whether the participants are visible to each other.


costCenterId?

optional costCenterId?: string | null

Defined in: app/api/types.gen.ts:120

The cost center associated with this activity for financial tracking. Dutch: Kostenplaats


costUnitId?

optional costUnitId?: string | null

Defined in: app/api/types.gen.ts:124

The cost unit associated with this activity for financial tracking. Dutch: Kostendrager


dateTimeEnd?

optional dateTimeEnd?: string

Defined in: app/api/types.gen.ts:46

The date and time at which the activity will end.


dateTimeStart?

optional dateTimeStart?: string

Defined in: app/api/types.gen.ts:42

The date and time at which the activity will start.


dutchDescription?

optional dutchDescription?: 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?

optional englishDescription?: 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?

optional enrollmentDeadline?: string | null

Defined in: app/api/types.gen.ts:54

The deadline for enrollment from the activity.


enrollments?

optional enrollments?: Enrollment[]

Defined in: app/api/types.gen.ts:112

The members enrolled in this activity.


enrollOpenDate?

optional enrollOpenDate?: string | null

Defined in: app/api/types.gen.ts:58

The date and time at which the activity will be open for enrolling.


glAccountId?

optional glAccountId?: string | null

Defined in: app/api/types.gen.ts:116

The general ledger account associated with this activity for financial tracking. Dutch: Grootboekrekening


id?

optional id?: number

Defined in: app/api/types.gen.ts:14

The unique identifier of an activity, assigned incrementally.


isAdultOnly?

optional isAdultOnly?: boolean

Defined in: app/api/types.gen.ts:95

Whether the activity is 18+ only.


isEnrollable?

optional isEnrollable?: boolean

Defined in: app/api/types.gen.ts:87

Whether the activity is open for enrollment.


isOpenForPayment?

optional isOpenForPayment?: boolean

Defined in: app/api/types.gen.ts:104

Whether the activity is open for payment.


isWeeklyDrinks?

optional isWeeklyDrinks?: boolean

Defined in: app/api/types.gen.ts:99

Whether the activity belongs to the weekly drinks or not.


location?

optional location?: 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?

optional organizer?: Group

Defined in: app/api/types.gen.ts:71


organizerId?

optional organizerId?: number | null

Defined in: app/api/types.gen.ts:70

The unique identifier of the organizer group.


participantLimit?

optional participantLimit?: 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?

optional posterFileName?: string | null

Defined in: app/api/types.gen.ts:26

The filename of the poster for the activity, if any.


posterPath?

optional posterPath?: string | null

Defined in: app/api/types.gen.ts:30

The Path where the poster for the activity is stored, if any.


price?

optional price?: number

Defined in: app/api/types.gen.ts:22

The price of the activity.


showInKoala?

optional showInKoala?: boolean

Defined in: app/api/types.gen.ts:79

Whether the activity is shown in Koala.


showOnWebsite?

optional showOnWebsite?: boolean

Defined in: app/api/types.gen.ts:83

Whether the activity is shown on the website.


specificationQuestions?

optional specificationQuestions?: SpecificationQuestion[]

Defined in: app/api/types.gen.ts:75

An extra specification question for the activity.


unenrollmentDeadline?

optional unenrollmentDeadline?: string | null

Defined in: app/api/types.gen.ts:50

The deadline for unenrollment from the activity.


vatRate?

optional vatRate?: number | null

Defined in: app/api/types.gen.ts:108

The VAT rate applicable to the activity.

On this page