feriennet.path

Functions

get_vacation_activities(...)

get_vacation_activity(...)

get_occasion(→ onegov.activity.Occasion | None)

get_periods(→ onegov.activity.PeriodCollection)

get_period(→ onegov.activity.Period | None)

get_my_bookings(→ onegov.activity.BookingCollection)

get_booking(→ onegov.activity.Booking | None)

get_attendee(→ onegov.activity.Attendee | None)

get_matches(...)

get_billing(...)

get_invoice_action(...)

get_my_invoices(→ onegov.activity.InvoiceCollection | None)

get_my_invoice_item(→ onegov.activity.InvoiceItem | None)

get_occasion_attendee_collection(...)

get_notification_template_collection(...)

get_notification_template(...)

get_calendar(→ onegov.feriennet.models.Calendar | None)

get_group_invite(...)

get_occasion_need(→ onegov.activity.OccasionNeed | None)

get_volunteer_cart(→ onegov.feriennet.models.VolunteerCart)

get_volunteer_cart_action(...)

get_volunteers(...)

get_volunteer(→ onegov.activity.Volunteer | None)

Module Contents

feriennet.path.get_vacation_activities(request: onegov.feriennet.request.FeriennetRequest, app: onegov.feriennet.FeriennetApp, pages: tuple[int, int] | None = None, filter: dict[str, list[str]] | None = None) onegov.feriennet.collections.VacationActivityCollection[source]
feriennet.path.get_vacation_activity(request: onegov.feriennet.request.FeriennetRequest, name: str) onegov.feriennet.models.VacationActivity | None[source]
feriennet.path.get_occasion(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.Occasion | None[source]
feriennet.path.get_periods(request: onegov.feriennet.request.FeriennetRequest) onegov.activity.PeriodCollection[source]
feriennet.path.get_period(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.Period | None[source]
feriennet.path.get_my_bookings(request: onegov.feriennet.request.FeriennetRequest, app: onegov.feriennet.FeriennetApp, period_id: uuid.UUID | None = None, username: str | None = None) onegov.activity.BookingCollection[source]
feriennet.path.get_booking(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.Booking | None[source]
feriennet.path.get_attendee(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.Attendee | None[source]
feriennet.path.get_matches(request: onegov.feriennet.request.FeriennetRequest, app: onegov.feriennet.FeriennetApp, period_id: uuid.UUID | None, states: list[onegov.feriennet.collections.match.OccasionState] | None = None) onegov.feriennet.collections.MatchCollection | None[source]
feriennet.path.get_billing(request: onegov.feriennet.request.FeriennetRequest, app: onegov.feriennet.FeriennetApp, period_id: uuid.UUID, username: str | None = None, expand: bool = False, state: Literal['paid', 'unpaid'] = 'unpaid') onegov.feriennet.collections.BillingCollection | None[source]
feriennet.path.get_invoice_action(request: onegov.feriennet.models.InvoiceAction, app: onegov.feriennet.FeriennetApp, id: uuid.UUID, action: Literal['mark-paid', 'mark-unpaid', 'remove-manual'], extend_to: Literal['invoice', 'family'] | None = None) onegov.feriennet.models.InvoiceAction | None[source]
feriennet.path.get_my_invoices(request: onegov.feriennet.request.FeriennetRequest, app: onegov.feriennet.FeriennetApp, username: str | None = None, invoice: uuid.UUID | None = None) onegov.activity.InvoiceCollection | None[source]
feriennet.path.get_my_invoice_item(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.InvoiceItem | None[source]
feriennet.path.get_occasion_attendee_collection(request: onegov.feriennet.request.FeriennetRequest, app: onegov.feriennet.FeriennetApp, activity_name: str, period_id: uuid.UUID | None = None) onegov.feriennet.collections.OccasionAttendeeCollection | None[source]
feriennet.path.get_notification_template_collection(app: onegov.feriennet.FeriennetApp) onegov.feriennet.collections.NotificationTemplateCollection[source]
feriennet.path.get_notification_template(app: onegov.feriennet.FeriennetApp, id: uuid.UUID, period_id: uuid.UUID | None) onegov.feriennet.models.NotificationTemplate | None[source]
feriennet.path.get_calendar(request: onegov.feriennet.request.FeriennetRequest, name: str, token: str) onegov.feriennet.models.Calendar | None[source]
feriennet.path.get_group_invite(request: onegov.feriennet.request.FeriennetRequest, group_code: str, username: str | None = None) onegov.feriennet.models.GroupInvite | None[source]
feriennet.path.get_occasion_need(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.OccasionNeed | None[source]
feriennet.path.get_volunteer_cart(request: onegov.feriennet.request.FeriennetRequest) onegov.feriennet.models.VolunteerCart[source]
feriennet.path.get_volunteer_cart_action(request: onegov.feriennet.request.FeriennetRequest, action: Literal['add', 'remove'], target: uuid.UUID) onegov.feriennet.models.VolunteerCartAction[source]
feriennet.path.get_volunteers(request: onegov.feriennet.request.FeriennetRequest, period_id: uuid.UUID) onegov.activity.VolunteerCollection | None[source]
feriennet.path.get_volunteer(request: onegov.feriennet.request.FeriennetRequest, id: uuid.UUID) onegov.activity.Volunteer | None[source]