Cover
An event’s cover, inside its tickets (Event.tickets { cover }): its own for the night, or its venue’s. Its charge is also one of tickets.offers.
Mutations
Section titled “Mutations”| Operation | Returns | Description |
|---|---|---|
buyCoatCheckinput: CoatCheckBuyInput! |
CoatCheckBuyPayload |
Starts paying coat check at a venue tonight through the venue’s payment provider. Asking again the same night returns the same pending or paid coat check pass. requires cover:write:self |
buyCoverinput: CoverBuyInput! |
CoverBuyPayload |
Starts paying tonight’s cover at a venue, through the venue’s provider. Stripe: finish the payment with Stripe’s payment sheet (paymentIntentClientSecret, on the venue’s account stripeAccountId, with publishableKey), then call confirmCover. Square: make a payment token with Square’s In-App Payments SDK (squareApplicationId, squareLocationId), then call payCover with it. Asking again the same night returns the same pass. requires cover:write:self |
claimGuestPurchasesinput: GuestPurchasesClaimInput! |
GuestPurchasesClaimPayload |
Attaches covers and tips bought in the App Clip before signing in to the signed-in member, by the claim tokens the clip got when it started them (POST /v1/clip/covers and /v1/clip/tips). Each token works once, in its own audience. A cover is left unclaimed when they already hold one at that venue that night. requires cover:write:self or tipping:write:self |
clearCoverNight staffql onlyinput: CoverNightClearInput! |
CoverNightClearPayload |
Puts a night back to the usual cover at a venue whose door the caller works. requires cover:write:door |
confirmCoverinput: CoverConfirmInput! |
CoverConfirmPayload |
Checks a cover payment with its provider after the app finishes paying, so the pass works before the webhook arrives. requires cover:write:self |
markIdCheck staffql onlyinput: IdCheckMarkInput! |
IdCheckMarkPayload |
Marks a checked ID after looking at the card: NO ALCOHOL SALE on it (an interdicted person may come in but not buy or drink alcohol), or fake on sight. Only while it’s still in the log. requires cover:write:door |
payCoverinput: CoverPayInput! |
CoverPayPayload |
Pays a Square venue’s cover with a payment token from Square’s In-App Payments SDK (a card, Apple Pay or Google Pay), after buyCover. The pass works as soon as this returns it paid. requires cover:write:self |
recordIdCheck staffql onlyinput: IdCheckRecordInput! |
IdCheckRecordPayload |
Logs an ID the door couldn’t scan (a passport, a foreign licence, a worn barcode), typed in by hand: its kind, number, expiry, name and birth date, as Utah requires (R82-4-101(3)(b)). requires cover:write:door |
refundAdmissioninput: AdmissionRefundInput! |
AdmissionRefundPayload |
Refunds a cover. Buyers can refund their own until it’s scanned at the door or the night is over; the venue’s door staff and the audience’s admins can refund any paid cover. requires cover:write:self or cover:write:door |
scanAdmission staffql onlyinput: AdmissionScanInput! |
AdmissionScanPayload |
Checks a pass’s QR code at a venue’s door. The first scan of a paid pass checks them in; later ones that night are re-entry. requires cover:write:door or cover:write:venue |
scanId staffql onlyinput: IdCheckScanInput! |
IdCheckScanPayload |
Checks an ID at a venue’s door from the barcode on its back (PDF417, as the camera read it): its age, expiry and whether the barcode is shaped like a real one. Logs only what the venue’s jurisdiction lets the door keep, for as long as it may. requires cover:write:door |
setCoverNight staffql onlyinput: CoverNightSetInput! |
CoverNightSetPayload |
Changes one night’s cover at a venue whose door the caller works: another price, none, or other hours. It wins over the usual cover and over an event that night. requires cover:write:door |
updateVenueCover staffql onlyinput: VenueCoverUpdateInput! |
VenueCoverUpdatePayload |
Sets the usual cover for a venue whose door the caller manages. requires cover:write:door or cover:write:venue |
Subscriptions
Section titled “Subscriptions”| Operation | Returns | Description |
|---|---|---|
door staffql onlyvenueId: ID! |
DoorEvent! |
Follows a venue’s door for tonight: DoorOpened, then every cover that’s paid, scanned in or refunded, with fresh totals. For whoever may work the door: its admins, its listing managers, and a venue device with door. requires cover:write:door or cover:write:venue |
Objects
Section titled “Objects”Admission
Section titled “Admission”Object · implements ICharge, Node
Someone’s cover for one night at a venue, and their pass. See CoverPass for the QR code.
| Field | Type | Description |
|---|---|---|
amount |
Money! |
The cover. |
checkedInAt |
ISO8601DateTime |
When the door first scanned it. |
claimCheckNumber |
String |
Coat check hanger or claim number. |
createdAt |
ISO8601DateTime! |
When the record was created. |
event |
Event |
The event that night, if it set the cover. |
fee |
Money! |
The Hot Mess fee. |
id |
ID! |
Unique identifier. |
isRefundable |
Boolean! |
Whether the buyer can refund it themselves: paid, not scanned in, and the night isn’t over. |
kind |
AdmissionKindEnum! |
The kind of pass (cover or coat_check). |
night |
ISO8601Date! |
The local date of the cover night. |
passCode |
String |
The pass QR code right now, for clients that don’t make their own. Changes every 30 seconds. The buyer only. |
passSecret |
String |
The Base64 key the app makes the pass QR code with. The buyer only; null for everyone else. |
profile |
Profile! |
The buyer: their name for the door and the console, their picture so the door can match faces. |
quantity |
Int! |
Number of covers in this admission. |
scanCount |
Int! |
How many times the door has scanned it. |
status |
AdmissionStatus! |
Current payment status. |
tier |
String |
The cover tier, e.g. general, vip. |
total |
Money! |
What the buyer paid. |
venue |
Venue! |
The venue associated with this record. |
AdmissionConnection
Section titled “AdmissionConnection”Object
The connection type for Admission.
| Field | Type | Description |
|---|---|---|
edges |
[AdmissionEdge] |
A list of edges. |
nodes |
[Admission] |
A list of nodes. |
pageInfo |
PageInfo! |
Information to aid in pagination. |
totalCount |
Int! |
How many there are in all, whatever page this is. |
AdmissionEdge
Section titled “AdmissionEdge”Object
An edge in a connection.
| Field | Type | Description |
|---|---|---|
cursor |
String! |
A cursor for use in pagination. |
node |
Admission |
The item at the end of the edge. |
CoatCheck
Section titled “CoatCheck”Object · implements ICharge
A venue’s coat check service for the night.
| Field | Type | Description |
|---|---|---|
amount |
Money! |
The coat check fee the venue receives. |
fee |
Money! |
The platform fee. |
night |
ISO8601Date! |
The night this coat check applies. |
payable |
Boolean! |
Whether coat check can be paid in the app. |
paymentMechanisms |
[String!]! |
Supported payment mechanisms, e.g. [“apple_pay”, “card”]. |
total |
Money! |
What the buyer pays per coat, all in. |
CoverCharge
Section titled “CoverCharge”Object · implements IAdmissionOffer, ICharge
What it costs to get into a venue on a night. The apps show total, the all-in price, and take it with buyCover when payable is true; otherwise it’s paid at the door.
| Field | Type | Description |
|---|---|---|
amount |
Money! |
The cover the venue receives. |
coatCheck |
CoatCheck |
The venue’s coat check service for the night, if offered. |
event |
Event |
The event that night, when it sets the night’s cover. |
fee |
Money! |
The Hot Mess fee in it. Part of total when the buyer pays fees; taken from the cover when the venue does. Zero when it is paid at the door. |
from |
TimeOfDay |
When the cover starts, local time, e.g. 21:00. |
night |
ISO8601Date! |
The night it is for. A night runs 6am to 6am, so 1am Saturday is Friday night. |
override |
Boolean! |
Whether the venue changed this night’s cover from its usual one. |
payable |
Boolean! |
Whether it can be paid in the app. |
paymentMechanisms |
[String!]! |
Supported payment mechanisms, e.g. apple_pay, card. |
price |
Money |
What it costs the buyer, all in (the lowest price for tickets). Null when the seller does not say. |
scale |
CoverScale |
Its sliding scale, when the buyer chooses what to pay; null for a fixed cover. amount is then the suggested amount. |
seller |
IProvider! |
Who sells it: a ticketing partner, or AudienceKit itself. |
tiers |
[CoverTier!] |
Cover tiers for this night, if any. |
total |
Money! |
What the buyer pays, all in. The cover itself when it is paid at the door. |
totalForamount: MoneyInput! |
Money |
What the buyer pays, all in, for one cover at amount: null when the cover doesn’t take that amount. |
until |
TimeOfDay |
When the cover ends, local time, e.g. 02:00. |
url |
String |
Where to buy it on the web. Null when it’s bought in the app (buyCover) or at the door. |
CoverNight
Section titled “CoverNight”Object
One night’s change to a venue’s cover. Null fields keep the usual.
| Field | Type | Description |
|---|---|---|
coverCents |
Int |
That night’s cover in cents: 0 for none, null for the usual. |
coverMaxCents |
Int |
A sliding scale that night: the most, in cents. |
coverMinCents |
Int |
A sliding scale that night: the least, in cents; coverCents is the suggested amount. Null for a fixed cover. |
from |
TimeOfDay |
When the cover starts that night. |
night |
ISO8601Date! |
The night it changes. |
until |
TimeOfDay |
When the cover ends that night. |
CoverScale
Section titled “CoverScale”Object
A sliding-scale cover’s range (SlidingCover): the buyer chooses what to pay from min to max, starting at suggested, and passes it as buyCover(amount:). Amounts are what the venue receives, before fees (CoverCharge.totalFor gives the all-in price for one).
| Field | Type | Description |
|---|---|---|
max |
Money! |
The most a buyer can pay. |
min |
Money! |
The least a buyer can pay. |
suggested |
Money! |
What the venue suggests; the cover amount. |
CoverTier
Section titled “CoverTier”Object
A pricing tier for a cover charge, e.g. General Admission, VIP.
| Field | Type | Description |
|---|---|---|
amount |
Money! |
Base cover amount for the tier. |
description |
String |
Perks or description of this tier. |
id |
String! |
Tier identifier. |
name |
String! |
Name of the tier. |
total |
Money! |
All-in price for the tier. |
DoorAdmissionChanged
Section titled “DoorAdmissionChanged”Object · staffql only
A cover that changed at the door, with the night’s fresh totals.
| Field | Type | Description |
|---|---|---|
admission staffql only |
Admission! |
The cover as it is now. |
checkedInCount staffql only |
Int! |
Paid covers scanned in. |
gross staffql only |
Money! |
Covers paid and not refunded, before fees. |
outcome staffql only |
DoorOutcome! |
What happened to it. |
paidCount staffql only |
Int! |
Covers paid and not refunded. |
DoorNight
Section titled “DoorNight”Object
A venue’s door for one night: who paid cover and who has been scanned in.
| Field | Type | Description |
|---|---|---|
admissionsafter: Stringbefore: Stringfirst: Intlast: Int |
AdmissionConnection! |
Paid, refunded and disputed covers, newest first; every one unless paged. |
checkedInCount |
Int! |
Paid covers scanned in. |
gross |
Money! |
Covers paid and not refunded, before fees. |
night |
ISO8601Date! |
The local date of the cover night. |
paidCount |
Int! |
Covers paid and not refunded. |
DoorOpened
Section titled “DoorOpened”Object · staffql only
A venue’s door for the night as it stands: when a station starts following it, and when the night rolls over at 6 AM.
| Field | Type | Description |
|---|---|---|
night staffql only |
DoorNight! |
The night. |
EventCoverView
Section titled “EventCoverView”Object · implements IEventCover
The local Cover implementation of an event’s cover.
| Field | Type | Description |
|---|---|---|
cents |
Int |
The cover that night instead of the venue’s, in cents: 0 for none, null for the venue’s. |
charge |
CoverCharge |
The cover at its venue that night. Null when there’s none, or when it sells tickets (tickets.url). |
maxCents |
Int |
Its own sliding scale: the most, in cents. |
minCents |
Int |
Its own sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. |
GuestPurchaseUnclaimed
Section titled “GuestPurchaseUnclaimed”Object
A claim token that claimed nothing, and why (ClipCheckout::Unclaimed).
| Field | Type | Description |
|---|---|---|
claimToken |
String! |
The token as it was sent. |
reason |
GuestClaimReason! |
Why it claimed nothing. |
IdCheck
Section titled “IdCheck”Object · staffql only
One ID a venue’s door checked, as its log keeps it until it is deleted (expiresAt). Only the fields its jurisdiction lets a door keep; for proving age only.
| Field | Type | Description |
|---|---|---|
age staffql only |
Int |
Their age when checked. |
birthDate staffql only |
ISO8601Date |
Their date of birth. |
checkedAt staffql only |
ISO8601DateTime! |
When it was checked. |
documentKind staffql only |
IdDocumentKind! |
The kind of ID. |
entry staffql only |
IdCheckEntry! |
Scanned or typed in. |
expiresAt staffql only |
ISO8601DateTime! |
When the log deletes it. |
expiresOn staffql only |
ISO8601Date |
The ID’s expiry date. |
gender staffql only |
String |
male, female or unspecified, as on the ID. |
id staffql only |
ID! |
Its UUID. |
idNumber staffql only |
String |
The ID number, kept only for IDs typed in by hand (Utah keeps none for scans). |
issuer staffql only |
String |
The state or province that issued it, e.g. “UT”. |
name staffql only |
String |
The name on the ID. |
noAlcoholSale staffql only |
Boolean! |
The door saw NO ALCOHOL SALE on the card: they may come in but not buy or drink alcohol. |
outcome staffql only |
IdCheckOutcome! |
What the check found. |
IdCheckPolicy
Section titled “IdCheckPolicy”Object · staffql only
What a venue’s door must do with IDs where it is (DoorId::Policy). Nothing is reported to any state: the door keeps a short log and shows it to law enforcement on request.
| Field | Type | Description |
|---|---|---|
citation staffql only |
String |
The law it follows, e.g. “Utah Code 32B-1-407”. |
drinkingAge staffql only |
Int! |
The age a check must show. |
jurisdiction staffql only |
String |
The state or province, e.g. “UT”; null when unknown. |
retentionHours staffql only |
Int! |
How long the log keeps a check before deleting it. |
scan staffql only |
IdCheckScanRule! |
Whose ID to scan. |
summary staffql only |
String! |
The rules in a sentence or two, for the door. |
visualCheck staffql only |
String |
What to look for on the card that a scanner can’t read, e.g. Utah’s NO ALCOHOL SALE marking. |
IdCheckResult
Section titled “IdCheckResult”Object · staffql only
The answer to an ID checked at a door.
| Field | Type | Description |
|---|---|---|
idCheck staffql only |
IdCheck |
The log entry; null when what was scanned isn’t an ID’s barcode (nothing is logged). |
idNumber staffql only |
String |
The ID number, to show the door now. A scanned one is not kept. |
message staffql only |
String! |
What to show the door, e.g. “OK · Alex Doe, 27”. |
outcome staffql only |
IdCheckOutcome |
What the check found; null when not an ID. |
policy staffql only |
IdCheckPolicy! |
The venue’s rules the check followed. |
problems staffql only |
[String!]! |
Why the barcode looks fake, when it does (e.g. “The barcode’s issuer number isn’t an ID issuer’s”). |
Object
An amount of money: whole cents of a currency. $10.00 is { cents: 1000, currency: “usd” }.
| Field | Type | Description |
|---|---|---|
cents |
Int! |
The amount in the currency’s minor unit (cents for dollars). |
currency |
String! |
Its ISO 4217 code in lower case, e.g. usd. |
PaymentAccount
Section titled “PaymentAccount”Object · implements Node
A venue’s Stripe or Square account, which takes its cover charges.
| Field | Type | Description |
|---|---|---|
chargesEnabled |
Boolean! |
It can take payments. |
detailsSubmitted |
Boolean! |
Stripe: its owner finished Stripe’s onboarding. |
environment |
PaymentEnvironment! |
The payment environment for this account. |
externalId |
String! |
The provider’s ID for the account (Square’s merchant ID). |
id |
ID! |
Unique identifier. |
locationId |
String |
Square: the location that gets paid. |
locationName |
String |
The Square location display name. |
payoutsEnabled |
Boolean! |
Stripe: Stripe pays out to its bank account. |
provider |
PaymentProvider! |
The provider serving this record. |
squareLocations |
[SquareLocation!] |
Square: the seller’s locations that can take cards, read from Square. Null for Stripe, or when Square doesn’t answer. |
status |
String! |
active (taking payments), pending (Stripe is reviewing it), incomplete (Stripe onboarding isn’t finished, or no Square location is picked) or disconnected. |
ScanResult
Section titled “ScanResult”Object · staffql only
The answer to a door scan.
| Field | Type | Description |
|---|---|---|
admission staffql only |
Admission |
The pass, when the code was one we know. |
message staffql only |
String! |
What to show the door, e.g. “Paid · Alex”. |
outcome staffql only |
ScanOutcome! |
The result of validating the scanned pass. |
SquareLocation
Section titled “SquareLocation”Object
One of a Square seller’s locations that can take card payments.
| Field | Type | Description |
|---|---|---|
address |
String |
Formatted street address. |
id |
ID! |
Unique identifier. |
name |
String! |
Display name. |
Object · implements ICharge, Node
A fan’s tip to a performer, paid in the app.
| Field | Type | Description |
|---|---|---|
amount |
Money! |
What the performer gets. |
createdAt |
ISO8601DateTime! |
When the record was created. |
event |
Event |
The show it was for, if the app said. |
fee |
Money! |
The card fee the fan covered. |
id |
ID! |
Unique identifier. |
note |
String |
Their note to the performer. |
paidAt |
ISO8601DateTime |
When it was paid. |
person |
Person! |
The performer. |
publication |
Publication |
The Soapbox publication it was for, if a reader tipped one. |
readsAdFreeUntil |
ISO8601DateTime |
When the time reading its publication without ads it gave ends; null when it gave none (too small, not paid, refunded, or not for a publication). |
status |
TipStatus! |
Current payment status. |
tipper |
Profile |
The fan who tipped, for themselves and for the console (tipping:read:* across the audience). Performers and their listing managers get null: they see tipperFirstName, or Anonymous. Null too when the account that tipped is gone. |
tipperFirstName |
String |
The fan’s first name, when they chose to show it (showFirstName on startTip or an App Clip tip). Null otherwise: show them as Anonymous. |
total |
Money! |
What the fan paid. |
UserStateCoverView
Section titled “UserStateCoverView”Object · implements IUserStateCover
The local Cover implementation of the cover module’s viewer state.
| Field | Type | Description |
|---|---|---|
admissionsafter: Stringbefore: Stringfirst: Intlast: Int |
AdmissionConnection! |
The viewer’s cover passes in the audience, newest first (at most 100). |
doorVenuesafter: Stringbefore: Stringfirst: Intlast: Int |
VenueConnection! |
Venues whose door the viewer can work, for the apps’ Door mode. |
VenueCoverView
Section titled “VenueCoverView”Object · implements IVenueCover
The local Cover implementation of a venue’s cover charge.
| Field | Type | Description |
|---|---|---|
canWorkDoor |
Boolean! |
Whether the viewer can scan passes: the audience’s admins and its listing managers. |
cents |
Int |
Its usual cover in cents, on the nights in days. |
chargenight: ISO8601Date |
CoverCharge |
Tonight’s cover, or null when there is none (or an event tonight sells tickets instead). |
coatCheck |
CoatCheck |
The venue’s coat check service tonight, if offered. |
days |
[Int!]! |
The weekdays its cover applies, 0 for Sunday; empty for every night. |
doornight: ISO8601Date |
DoorNight |
Its door for a night: covers paid and scanned. Null unless canWorkDoor. |
feePayer |
CoverFeePayer! |
Who pays processing fees. |
from |
TimeOfDay |
When its cover starts. |
maxCents |
Int |
Its usual sliding scale: the most, in cents. |
minCents |
Int |
Its usual sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. |
nights |
[CoverNight!]! |
Changes to its cover on nights from tonight on. |
payable |
Boolean! |
Whether its cover can be paid in the app. When false it is paid at the door, with no fees added, so feePayer does not apply. |
paymentAccountenvironment: PaymentEnvironment |
PaymentAccount |
The Stripe or Square account its covers are paid to. Admins and its listing managers only. requires payments:read:mine |
timeZone |
String |
The IANA time zone its nights are counted in: its cover zone, else its locale’s. |
until |
TimeOfDay |
When its cover ends. |
viewerAdmission |
Admission |
The signed-in user’s cover for tonight, paid or being paid. |
viewerCoatCheck |
Admission |
The signed-in user’s coat check pass for tonight, paid or being paid. |
Mutation payloads
Section titled “Mutation payloads”AdmissionRefundPayload
Section titled “AdmissionRefundPayload”Object
Autogenerated return type of AdmissionRefund.
| Field | Type | Description |
|---|---|---|
admission |
Admission! |
The cover admission affected by this operation. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
AdmissionScanPayload
Section titled “AdmissionScanPayload”Object · staffql only
Autogenerated return type of AdmissionScan.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
result staffql only |
ScanResult! |
The result of scanning the pass. |
CoatCheckBuyPayload
Section titled “CoatCheckBuyPayload”Object
Autogenerated return type of CoatCheckBuy.
| Field | Type | Description |
|---|---|---|
admission |
Admission! |
The coat check pass, pending until paid. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
paymentIntentClientSecret |
String |
Stripe: for the payment sheet. Null once it’s paid. |
provider |
PaymentProvider! |
The provider serving this record. |
publishableKey |
String |
Stripe: the audience’s publishable key. |
squareApplicationId |
String |
Square: the audience’s application ID. |
squareLocationId |
String |
Square: the venue’s location that gets paid. |
stripeAccountId |
String |
Stripe: the venue’s account, for the payment sheet. |
CoverBuyPayload
Section titled “CoverBuyPayload”Object
Autogenerated return type of CoverBuy.
| Field | Type | Description |
|---|---|---|
admission |
Admission! |
The pass, pending until the payment succeeds. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
paymentIntentClientSecret |
String |
Stripe: for the payment sheet. Null once it’s paid. |
provider |
PaymentProvider! |
The provider serving this record. |
publishableKey |
String |
Stripe: the audience’s publishable key. |
squareApplicationId |
String |
Square: the audience’s application ID. |
squareLocationId |
String |
Square: the venue’s location that gets paid. |
stripeAccountId |
String |
Stripe: the venue’s account, for the payment sheet. |
CoverConfirmPayload
Section titled “CoverConfirmPayload”Object
Autogenerated return type of CoverConfirm.
| Field | Type | Description |
|---|---|---|
admission |
Admission! |
The cover admission affected by this operation. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
CoverNightClearPayload
Section titled “CoverNightClearPayload”Object · staffql only
Autogenerated return type of CoverNightClear.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venue staffql only |
Venue! |
The venue, with the cover that night. |
CoverNightSetPayload
Section titled “CoverNightSetPayload”Object · staffql only
Autogenerated return type of CoverNightSet.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
coverNight staffql only |
CoverNight! |
The change. |
venue staffql only |
Venue! |
The venue, with the cover that night. |
CoverPayPayload
Section titled “CoverPayPayload”Object
Autogenerated return type of CoverPay.
| Field | Type | Description |
|---|---|---|
admission |
Admission! |
The cover admission affected by this operation. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
GuestPurchasesClaimPayload
Section titled “GuestPurchasesClaimPayload”Object
Autogenerated return type of GuestPurchasesClaim.
| Field | Type | Description |
|---|---|---|
admissions |
[Admission!]! |
The covers now theirs. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
tips |
[Tip!]! |
The tips now theirs. |
unclaimed |
[GuestPurchaseUnclaimed!]! |
The tokens that claimed nothing, and why. |
IdCheckMarkPayload
Section titled “IdCheckMarkPayload”Object · staffql only
Autogenerated return type of IdCheckMark.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
idCheck staffql only |
IdCheck! |
The check, as marked. |
IdCheckRecordPayload
Section titled “IdCheckRecordPayload”Object · staffql only
Autogenerated return type of IdCheckRecord.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
result staffql only |
IdCheckResult! |
The answer. |
IdCheckScanPayload
Section titled “IdCheckScanPayload”Object · staffql only
Autogenerated return type of IdCheckScan.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
result staffql only |
IdCheckResult! |
The answer. |
VenueCoverUpdatePayload
Section titled “VenueCoverUpdatePayload”Object · staffql only
Autogenerated return type of VenueCoverUpdate.
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venue staffql only |
Venue! |
The updated venue. |
Inputs
Section titled “Inputs”AdmissionRefundInput
Section titled “AdmissionRefundInput”Input
Autogenerated input type of AdmissionRefund
| Field | Type | Description |
|---|---|---|
admissionId |
ID! |
The cover admission identifier. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
AdmissionScanInput
Section titled “AdmissionScanInput”Input · staffql only
Autogenerated input type of AdmissionScan
| Field | Type | Description |
|---|---|---|
claimCheckNumber staffql only |
String |
Optional coat check hanger or claim number. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
code staffql only |
String! |
What the scanner read. |
venueId staffql only |
ID! |
The door being worked. |
CoatCheckBuyInput
Section titled “CoatCheckBuyInput”Input
Autogenerated input type of CoatCheckBuy
| Field | Type | Description |
|---|---|---|
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
quantity |
Int |
Number of coats to check. |
venueId |
ID! |
The venue identifier. |
CoverBuyInput
Section titled “CoverBuyInput”Input
Autogenerated input type of CoverBuy
| Field | Type | Description |
|---|---|---|
amount |
MoneyInput |
What the buyer chooses to pay for each cover, when it’s on a sliding scale (CoverCharge.scale): from its min to its max. Left out, the suggested amount. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
quantity |
Int |
Number of covers to buy. |
tier |
String |
Optional cover tier to purchase. |
venueId |
ID! |
The venue identifier. |
CoverConfirmInput
Section titled “CoverConfirmInput”Input
Autogenerated input type of CoverConfirm
| Field | Type | Description |
|---|---|---|
admissionId |
ID! |
The cover admission identifier. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
CoverNightClearInput
Section titled “CoverNightClearInput”Input · staffql only
Autogenerated input type of CoverNightClear
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
night staffql only |
ISO8601Date! |
The night. |
venueId staffql only |
ID! |
The venue. |
CoverNightSetInput
Section titled “CoverNightSetInput”Input · staffql only
Autogenerated input type of CoverNightSet
| Field | Type | Description |
|---|---|---|
amount staffql only |
MoneyInput |
The cover that night: zero cents for none, null for the usual price. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
from staffql only |
TimeOfDay |
When it starts that night; null for the usual. |
max staffql only |
MoneyInput |
A sliding scale that night: the most a buyer can pay, with amount as the suggested. Null (with min) for a fixed cover. |
min staffql only |
MoneyInput |
A sliding scale that night: the least a buyer can pay. |
night staffql only |
ISO8601Date! |
The night; a night runs 6am to 6am. |
until staffql only |
TimeOfDay |
When it ends that night; null for the usual. |
venueId staffql only |
ID! |
The venue. |
CoverPayInput
Section titled “CoverPayInput”Input
Autogenerated input type of CoverPay
| Field | Type | Description |
|---|---|---|
admissionId |
ID! |
The cover admission identifier. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
sourceId |
String! |
The payment token (nonce) Square’s SDK made. |
verificationToken |
String |
From Square’s buyer verification, when the SDK asked for it. |
GuestPurchasesClaimInput
Section titled “GuestPurchasesClaimInput”Input
Autogenerated input type of GuestPurchasesClaim
| Field | Type | Description |
|---|---|---|
claimTokens |
[String!]! |
The claim tokens the App Clip kept, at most 20. |
clientMutationId |
String |
A unique identifier for the client performing the mutation. |
IdCheckMarkInput
Section titled “IdCheckMarkInput”Input · staffql only
Autogenerated input type of IdCheckMark
| Field | Type | Description |
|---|---|---|
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
id staffql only |
ID! |
The check. |
noAlcoholSale staffql only |
Boolean |
NO ALCOHOL SALE is on the card. |
suspect staffql only |
Boolean |
The card looks fake: keep it and call the police. |
IdCheckRecordInput
Section titled “IdCheckRecordInput”Input · staffql only
Autogenerated input type of IdCheckRecord
| Field | Type | Description |
|---|---|---|
birthDate staffql only |
ISO8601Date! |
Their date of birth. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
documentKind staffql only |
IdDocumentKind! |
The kind of ID. |
expiresOn staffql only |
ISO8601Date! |
The ID’s expiry date. |
gender staffql only |
String |
male, female or unspecified. |
idNumber staffql only |
String! |
The ID number. |
issuer staffql only |
String |
The issuing state, province or country. |
name staffql only |
String! |
The name on the ID. |
suspect staffql only |
Boolean |
The door thinks it is fake. |
venueId staffql only |
ID! |
The door being worked. |
IdCheckScanInput
Section titled “IdCheckScanInput”Input · staffql only
Autogenerated input type of IdCheckScan
| Field | Type | Description |
|---|---|---|
barcode staffql only |
String! |
The barcode’s text, control characters included. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
venueId staffql only |
ID! |
The door being worked. |
MoneyInput
Section titled “MoneyInput”Input
An amount of money: whole cents of a currency, as Money gives it.
| Field | Type | Description |
|---|---|---|
cents |
Int! |
The amount in the currency’s minor unit (cents for dollars). |
currency |
String! |
Its ISO 4217 code, e.g. usd. Case does not matter. |
VenueCoverUpdateInput
Section titled “VenueCoverUpdateInput”Input · staffql only
Autogenerated input type of VenueCoverUpdate
| Field | Type | Description |
|---|---|---|
amount staffql only |
MoneyInput |
The cover; null disables the usual cover. |
clientMutationId staffql only |
String |
A unique identifier for the client performing the mutation. |
days staffql only |
[Int!]! |
Weekdays, Sunday zero; empty means every night. |
feePayer staffql only |
CoverFeePayer! |
Who pays payment fees. |
from staffql only |
TimeOfDay |
When the cover starts each night; left out, unchanged. |
max staffql only |
MoneyInput |
A sliding scale: the most a buyer can pay, with amount as the suggested. Null (with min) for a fixed cover; left out (with min), unchanged. |
min staffql only |
MoneyInput |
A sliding scale: the least a buyer can pay. |
timeZone staffql only |
String! |
Time zone for the venue’s nights. |
until staffql only |
TimeOfDay |
When the cover ends each night; left out, unchanged. |
venueId staffql only |
ID! |
The venue to manage. |
Interfaces
Section titled “Interfaces”IAdmissionOffer
Section titled “IAdmissionOffer”Interface · implemented by CoverCharge, EventListing
A way into an event or a venue night, from whoever sells it: tickets on a partner or the cover AudienceKit takes.
| Field | Type | Description |
|---|---|---|
price |
Money |
What it costs the buyer, all in (the lowest price for tickets). Null when the seller does not say. |
seller |
IProvider! |
Who sells it: a ticketing partner, or AudienceKit itself. |
url |
String |
Where to buy it on the web. Null when it’s bought in the app (buyCover) or at the door. |
ICharge
Section titled “ICharge”Interface · implemented by Admission, CoatCheck, CoverCharge, Tip, TipQuote
What a payment comes to: the amount its recipient gets, the fee on top, and the total the buyer pays.
| Field | Type | Description |
|---|---|---|
amount |
Money! |
What the venue or performer receives. |
fee |
Money! |
The fee on top of the amount. |
total |
Money! |
What the buyer pays, all in. |
IEventCover
Section titled “IEventCover”Interface · implemented by EventCoverView · mixin edge cover on EventTickets
An event’s cover, inside its tickets (Event.tickets { cover }): its own for the night, or its venue’s. Its charge is also one of tickets.offers.
| Field | Type | Description |
|---|---|---|
cents |
Int |
The cover that night instead of the venue’s, in cents: 0 for none, null for the venue’s. |
charge |
CoverCharge |
The cover at its venue that night. Null when there’s none, or when it sells tickets (tickets.url). |
maxCents |
Int |
Its own sliding scale: the most, in cents. |
minCents |
Int |
Its own sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. |
IUserStateCover
Section titled “IUserStateCover”Interface · implemented by UserStateCoverView · mixin edge cover on UserState
The cover module’s viewer state: the viewer’s cover passes and the doors they work.
| Field | Type | Description |
|---|---|---|
admissionsafter: Stringbefore: Stringfirst: Intlast: Int |
AdmissionConnection! |
The viewer’s cover passes in the audience, newest first (at most 100). |
doorVenuesafter: Stringbefore: Stringfirst: Intlast: Int |
VenueConnection! |
Venues whose door the viewer can work, for the apps’ Door mode. |
IVenueCover
Section titled “IVenueCover”Interface · implemented by VenueCoverView · mixin edge cover on VenueTickets
A venue’s cover charge, inside its tickets (Venue.tickets { cover }): what it usually charges and when, changes on coming nights, and its door. Its charge for a night is also one of tickets.offers.
| Field | Type | Description |
|---|---|---|
canWorkDoor |
Boolean! |
Whether the viewer can scan passes: the audience’s admins and its listing managers. |
cents |
Int |
Its usual cover in cents, on the nights in days. |
chargenight: ISO8601Date |
CoverCharge |
Tonight’s cover, or null when there is none (or an event tonight sells tickets instead). |
coatCheck |
CoatCheck |
The venue’s coat check service tonight, if offered. |
days |
[Int!]! |
The weekdays its cover applies, 0 for Sunday; empty for every night. |
doornight: ISO8601Date |
DoorNight |
Its door for a night: covers paid and scanned. Null unless canWorkDoor. |
feePayer |
CoverFeePayer! |
Who pays processing fees. |
from |
TimeOfDay |
When its cover starts. |
maxCents |
Int |
Its usual sliding scale: the most, in cents. |
minCents |
Int |
Its usual sliding scale: the least, in cents; cents is the suggested amount. Null for a fixed cover. |
nights |
[CoverNight!]! |
Changes to its cover on nights from tonight on. |
payable |
Boolean! |
Whether its cover can be paid in the app. When false it is paid at the door, with no fees added, so feePayer does not apply. |
paymentAccountenvironment: PaymentEnvironment |
PaymentAccount |
The Stripe or Square account its covers are paid to. Admins and its listing managers only. requires payments:read:mine |
timeZone |
String |
The IANA time zone its nights are counted in: its cover zone, else its locale’s. |
until |
TimeOfDay |
When its cover ends. |
viewerAdmission |
Admission |
The signed-in user’s cover for tonight, paid or being paid. |
viewerCoatCheck |
Admission |
The signed-in user’s coat check pass for tonight, paid or being paid. |
AdmissionKindEnum
Section titled “AdmissionKindEnum”Enum
The kind of admission or service pass.
COAT_CHECKA coat check claim ticket pass.COVERA cover pass to enter the venue.
AdmissionStatus
Section titled “AdmissionStatus”Enum
Where a cover payment stands.
CANCELEDThe payment was abandoned.DISPUTEDThe buyer disputed the charge with their bank.FAILEDThe payment was declined.PAIDPaid: the pass works.PENDINGPaying in the app has started but not finished.REFUNDEDThe money went back; the pass no longer works.
CoverFeePayer
Section titled “CoverFeePayer”Enum
Who pays the card fee and the Hot Mess fee on a cover.
BUYERAdded to the price, so the venue receives the full cover.VENUETaken from the cover, so the buyer pays the round price.
DoorOutcome
Section titled “DoorOutcome”Enum · staffql only
What happened to a cover at the door.
ADMITA paid pass was scanned in.PAIDA guest paid.REFUNDA cover was refunded.RE_ENTRYA pass already scanned in tonight was scanned again.
GuestClaimReason
Section titled “GuestClaimReason”Enum
Why a guest purchase’s claim token claimed nothing (claimGuestPurchases).
ALREADY_HAS_COVERThey already hold a cover at that venue that night. The guest pass still works in the App Clip with its token.NOT_FOUNDNo unclaimed cover or tip in this audience has that token: it is unknown, already claimed, or another audience’s.
IdCheckEntry
Section titled “IdCheckEntry”Enum · staffql only
How the door read an ID.
MANUALTyped in by the door because it couldn’t be scanned.SCANRead from the barcode on the card’s back.
IdCheckOutcome
Section titled “IdCheckOutcome”Enum · staffql only
What the door should do with a checked ID.
EXPIREDPast its expiry date: not proof of age.OKValid, not expired, and old enough to drink.SUSPECTThe barcode isn’t shaped like a real one, or the door marked it fake: keep the ID and call the police (Utah Code 32B-1-407).UNDER_AGEYounger than the drinking age (or no birth date).
IdCheckScanRule
Section titled “IdCheckScanRule”Enum · staffql only
Whose ID a venue’s door must scan, by its jurisdiction (DoorId::Policy).
APPEARS_35_OR_UNDERAnyone who looks 35 or younger, before serving them alcohol (Utah restaurants).EVERYONEEvery ID, before letting anyone in (Utah bars and taverns).OPTIONALNothing makes the door scan; it may.
IdDocumentKind
Section titled “IdDocumentKind”Enum · staffql only
The kind of ID checked at a door.
DRIVERS_LICENSEA driver’s licence.ID_CARDA state or provincial ID card.MILITARYA military ID.OTHERAny other acceptable ID, e.g. a foreign licence.PASSPORTA passport or passport card.
PaymentProvider
Section titled “PaymentProvider”Enum
Who takes a payment.
SQUARESquare; the apps pay with Square’s In-App Payments SDK.STRIPEStripe Connect; the apps pay with Stripe’s payment sheet.
ScanOutcome
Section titled “ScanOutcome”Enum · staffql only
What the door should do with a scanned pass.
ADMITPaid and first scan tonight: let them in.COAT_CHECK_CLAIMCoat claimed / returned at coat check.COAT_CHECK_INCoat checked in at coat check.EXPIREDAn old code, e.g. a screenshot. Ask them to open the pass.NOT_PAIDThe cover wasn’t paid, or was refunded or disputed.RE_ENTRYPaid and already scanned in tonight: coming back in.UNREADABLENot a Hot Mess pass, or one we don’t know.WRONG_VENUEA pass for another venue or another night.
Unions
Section titled “Unions”DoorEvent
Section titled “DoorEvent”Union · staffql only
What a door station following a venue hears (Subscription.door): DoorOpened first, then every cover that changes.
Scalars
Section titled “Scalars”TimeOfDay
Section titled “TimeOfDay”Scalar
A time of day on a 24-hour clock, as HH:MM (e.g. “21:00”, “02:30”), local to the time zone of the venue or locale it belongs to. An empty string means no time, like null.