S
Capacity
S
Capacity
Les différents évènements organisés par des groupes.
Un évènement peut, ou non, avoir des billets (et donc un système de billetterie).
Voir Billetterie pour tout ce qui est billest et réservations.
Renvoie un billet PDF d'une réservation ayant pour code :code
.
S
Capacity
allowedVisibilities
:
[ Visibility] applicableOffers
:
[ PromotionType] SIMPPS
articles
:
[ Article] author
:
User? authorId
:
ID? banned
:
[ User] beneficiary
:
LydiaAccount? bookings(...)
→ Connection< Registration>
Arguments
after:
String?
before:
String?
first:
Int?
last:
Int?
only:
Paid | Unpaid | Verified
bookingsCounts
:
RegistrationsCounts cancelled
:
Float paid
:
Float total
:
Float unpaid(method: PaymentMethod?)
→ Float
unpaidLydia
:
Float Déprécié
Use unpaid(method: Lydia)
verified
:
Float bookingsCsv(bookingURL: URL, dialect: CsvDialect = Standard)
→ Result< String>
Arguments
bookingURL:
URL
dialect:
Excel | Standard
= "Standard"
canEdit(assert: String?)
→ Boolean
Arguments
assert:
String?
canEditManagers
:
Boolean canScanBookings(assert: String?)
→ Boolean
Arguments
assert:
String?
canSeeAllBookings(assert: String?)
→ Boolean
Arguments
assert:
String?
canSeeLogs
:
Boolean capacity
:
Int coOrganizers
:
[ Group] contactMail
:
String createdAt
:
DateTime description
:
String descriptionHtml
:
HTML descriptionPreview
:
String enabledSpecialOffers
:
[ PromotionType]? SIMPPS
endsAt
:
DateTime? enforcePointOfContact
:
Boolean externalTicketing
:
URL? forms
:
[ Form] frequency
:
EventFrequency Biweekly
Monthly
Once
Weekly
globalCapacity
:
Capacity? group
:
Group Déprécié
Use `organizer` instead.
groupId
:
ID hasSeparateDarkPicture
:
Boolean id
:
ID includeInKiosk
:
Boolean inheritedManagers
:
[ InheritedEventManager] links
:
[ Link] localID
:
LocalID location
:
String logs(after, before, first, last)
→ Connection< LogEntry>
Arguments
after:
String?
before:
String?
first:
Int?
last:
Int?
lydiaAccountId
:
ID? managerInvites
:
[ EventManagerInvite] managers
:
[ EventManager] myBookings(count: Int?)
→ [ Registration]
Arguments
count:
Int?
myReactions
:
BooleanMap mySoonestShotgunOpensAt
:
DateTime? Déprécié
Use first ticket's opensAt instead. Event.tickets is now sorted such that if the user has access to tickets with soon-to-open or opened shotguns, the earliest one will be first.
organizer
:
Group pictureAltText
:
String pictureFile
:
String pictureFileDark
:
String pictureURL(dark: Boolean = false, timestamp: Boolean = true)
→ String
Arguments
dark:
Boolean
timestamp:
Boolean
= true
placesLeft
:
Capacity? profitsBreakdown
:
ProfitsBreakdown byPaymentMethod
:
ProfitsBreakdownByPaymentMethod Card
:
Float Cash
:
Float Check
:
Float External
:
Float Lydia
:
Float Other
:
Float PayPal
:
Float Transfer
:
Float byTicket
:
[ ProfitsBreakdownByTicket] amount
:
Float id
:
ID total
:
Float reacted(emoji: String)
→ Boolean
reactionCounts
:
Counts reactions(emoji: String)
→ Int
recurringUntil
:
DateTime? searchBookings(only: (Paid | Unpaid | Verified)?, q: String)
→ [ RegistrationSearchResult]
Arguments
only:
(Paid | Unpaid | Verified)?
q:
String
shares
:
Int showCapacity
:
Boolean showPlacesLeft
:
Boolean slug
:
String startsAt
:
DateTime? ticket(id: LocalID)
→ Ticket?
ticketGroup(id: LocalID)
→ TicketGroup?
ticketGroups
:
[ TicketGroup] tickets
:
[ Ticket] title
:
String uid
:
String Déprécié
Use `slug` instead. This field was never universally unique.
updatedAt
:
DateTime? visibilitiesRestrictedWhy
:
String visibility
:
GroupRestricted | Private | Public | SchoolRestricted | Unlisted EventManager
implements NodecanEdit
:
Boolean canEditPermissions
:
Boolean canVerifyRegistrations
:
Boolean event
:
Event id
:
ID localID
:
LocalID power
:
Edit | EditPermissions | ReadOnly | ScanTickets usedInvite
:
EventManagerInvite? user
:
User EventManagerInvite
implements Nodecapacity
:
Capacity code
:
String? createdAt
:
DateTime event
:
Event expired
:
Boolean expiresAt(definitive: Boolean = false)
→ DateTime?
Arguments
definitive:
Boolean
id
:
ID localID
:
LocalID power
:
Edit | EditPermissions | ReadOnly | ScanTickets qrcode(url: URL)
→ QRCode
Arguments
url:
URL
unusable
:
Boolean updatedAt
:
DateTime usedBy(after, before, first, last)
→ Connection< User>
Arguments
after:
String?
before:
String?
first:
Int?
last:
Int?
uses
:
Int usesLeft
:
Capacity N
EventManagerInviteInput
capacity
:
Capacity? expiresAt
:
DateTime? powerlevel
:
(Edit | EditPermissions | ReadOnly | ScanTickets)? resetExpiresAt
:
Boolean U
EventManagerMaybeInherited
E
EventManagerPowerLevel
Edit
EditPermissions
ReadOnly
ScanTickets
EventsByDay
InheritedEventManager
canEdit
:
Boolean canEditPermissions
:
Boolean canVerifyRegistrations
:
Boolean event
:
Event groupMember
:
GroupMember power
:
Edit | EditPermissions | ReadOnly | ScanTickets user
:
User N
ManagerOfEventInput
canEdit
:
Boolean canEditPermissions
:
Boolean canVerifyRegistrations
:
Boolean userUid
:
String N
TicketGroupInput
capacity
:
Int id
:
ID? name
:
String event(id: LocalID)
→ Event
eventManager(id: LocalID)
→ EventManager
eventManagerInvite(idOrCode: String)
→ EventManagerInvite?
Arguments
idOrCode:
String
events(...)
→ Connection< Event>
Arguments
after:
String?
before:
String?
first:
Int?
future:
Boolean?
kiosk:
Boolean?
last:
Int?
noLinkedArticles:
Boolean?
past:
Boolean?
pastRecurring:
Boolean?
upcomingShotguns:
Boolean?
eventsByDay(...)
→ Connection< EventsByDay>
Arguments
after:
String?
before:
String?
first:
Int?
kiosk:
Boolean?
last:
Int?
eventsInWeek(today: DateTime)
→ [ Event]
searchEvents(groupUid: String?, q: String)
→ [ EventSearchResult]
banFromEvent(id: LocalID, user: UID)
→ Result< Event>
changeEventOrganizer(group: UID, id: LocalID)
→ Result< Event>
createEvent(createManagerInvite: Boolean = false, dates: DateRangeInput?, group: UID, title: ShortString)
→ Result< Event>
Arguments
createManagerInvite:
Boolean
dates:
DateRangeInput?
group:
UID
title:
ShortString
deleteEvent(id: LocalID)
→ Result< Event>
deleteEventManager(eventId: ID, user: String)
→ Boolean
Déprécié
Use 'removeEventManager' instead
deleteEventManagerInvite(id: LocalID, kickManagers: Boolean = false)
→ Result< EventManagerInvite>
Arguments
id:
LocalID
kickManagers:
Boolean
deleteEventPicture(id: ID)
→ Event
removeEventManager(event: LocalID, user: UID)
→ Result< EventManager>
setEventApplicableOffers(event: LocalID, offers: [ PromotionType])
→ Result< Event>
setEventBeneficiary(event: LocalID, lydiaAccount: LocalID?)
→ Result< Event>
Arguments
event:
LocalID
lydiaAccount:
LocalID?
setEventCoOrganizers(coOrganizers: [ UID], id: LocalID)
→ Result< Event>
setEventDates(dates: DateRangeInput?, id: LocalID)
→ Result< Event>
Arguments
dates:
DateRangeInput?
id:
LocalID
setEventVisibility(id: LocalID, visibility: Visibility)
→ Result< Event>
unbanFromEvent(id: LocalID, user: UID)
→ Result< Event>
updateEvent(...)
→ Result< Event>
Arguments
applicableOffers:
[ PromotionType]?
contactMail:
String?
description:
Markdown?
enforcePointOfContact:
Boolean?
globalCapacity:
Capacity?
id:
LocalID
includeInKiosk:
Boolean?
location:
String?
showCapacity:
Boolean?
= true
showPlacesLeft:
Boolean?
= true
title:
String?
updateEventPicture(file: File, id: ID)
→ Event
updateEventRecurrence(frequency: EventFrequency = Once, id: LocalID, recurringUntil: DateTime?)
→ Result< Event>
Arguments
frequency:
Biweekly | Monthly | Once | Weekly
= "Once"
id:
LocalID
recurringUntil:
DateTime?
upsertEventManager(event: LocalID, powerlevel: EventManagerPowerLevel, user: UID)
→ Result< EventManager>
upsertEventManagerInvite(event: LocalID?, id: LocalID?, input: EventManagerInviteInput)
→ Result< EventManagerInvite>
Arguments
event:
LocalID?
id:
LocalID?
input:
EventManagerInviteInput
upsertManagersOfEvent(eventId: ID, managers: [ ManagerOfEventInput])
→ [ EventManager]
Déprécié
Use 'upsertEventManager' and 'removeEventManager' instead
useEventManagerInvite(code: String)
→ Result< EventManager>
Arguments
code:
String
event(id: LocalID)
→ Event