Visit
Visit
Visit
Represents a visit to a location
Kind: Object
Fields
| Field | Type | Description |
|---|---|---|
car |
Car |
The car associated with the visit |
carId |
String |
The id of the car associated with the visit |
createdAt |
DateTime! |
The timestamp when the visit was created |
employee |
Employee |
The employee who processed the visit |
id |
ID! |
The unique identifier for the visit |
imageUrl |
String |
The URL of the image of the car. This is a signed URL for our object storage that will expire. |
isExternalMember |
Boolean! |
Whether or not this is a member in an external system. Primarily useful during onboarding. Will always be false if visit type is not ‘member’. |
isSale |
Boolean! |
Whether or not this visit included a membership signup or wash purchase. |
laneId |
String |
The lane ID where the visit occurred |
locationId |
String! |
The id of the location where the visit occurred |
lprOverridden |
Boolean |
Whether the LPR data has been overridden |
lprPlate |
String |
The plate as seen by LPR |
lprState |
String |
The state as seen by LPR |
membershipId |
String |
If this visit is a member visit, the ID of the membership |
plate |
String |
The plate number of the vehicle |
plateImageUrl |
String |
The URL of the plate image. This is a signed URL for our object storage that will expire. |
rfidTag |
String |
The RFID tag of the vehicle |
state |
String |
The state of the vehicle |
status |
String! |
The status of the visit |
timeTotal |
Float |
The total time the visit took in seconds. |
timeWaitingForAttendant |
Float |
The time the visit spent waiting for the attendant in seconds. |
timeWaitingForGate |
Float |
The time the visit spent waiting for the gate to open in seconds. |
timeWithAttendant |
Float |
The time the visit spent with the attendant in seconds. |
updatedAt |
DateTime! |
The timestamp when the visit was last updated |
visitType |
String |
The type of visit |
washPackage |
WashPackage |
The wash package for the visit |
washPackageId |
String |
The ID of the wash package for the visit |
stripeSubscriptionId |
String |
Deprecated Will be replaced with Membership IDs The Stripe subscription ID for the visit |
Definition
"""Represents a visit to a location"""
type Visit {
"""The car associated with the visit"""
car: Car
"""The id of the car associated with the visit"""
carId: String
"""The timestamp when the visit was created"""
createdAt: DateTime!
"""The employee who processed the visit"""
employee: Employee
"""The unique identifier for the visit"""
id: ID!
"""
The URL of the image of the car. This is a signed URL for our object storage that will expire.
"""
imageUrl: String
"""
Whether or not this is a member in an external system. Primarily useful during onboarding.
Will always be false if visit type is not 'member'.
"""
isExternalMember: Boolean!
"""
Whether or not this visit included a membership signup or wash purchase.
"""
isSale: Boolean!
"""The lane ID where the visit occurred"""
laneId: String
"""The id of the location where the visit occurred"""
locationId: String!
"""Whether the LPR data has been overridden"""
lprOverridden: Boolean
"""The plate as seen by LPR"""
lprPlate: String
"""The state as seen by LPR"""
lprState: String
"""If this visit is a member visit, the ID of the membership"""
membershipId: String
"""The plate number of the vehicle"""
plate: String
"""
The URL of the plate image. This is a signed URL for our object storage that will expire.
"""
plateImageUrl: String
"""The RFID tag of the vehicle"""
rfidTag: String
"""The state of the vehicle"""
state: String
"""The status of the visit"""
status: String!
"""The Stripe subscription ID for the visit"""
stripeSubscriptionId: String @deprecated(reason: "Will be replaced with Membership IDs")
"""The total time the visit took in seconds."""
timeTotal: Float
"""The time the visit spent waiting for the attendant in seconds."""
timeWaitingForAttendant: Float
"""The time the visit spent waiting for the gate to open in seconds."""
timeWaitingForGate: Float
"""The time the visit spent with the attendant in seconds."""
timeWithAttendant: Float
"""The timestamp when the visit was last updated"""
updatedAt: DateTime!
"""The type of visit"""
visitType: String
"""The wash package for the visit"""
washPackage: WashPackage
"""The ID of the wash package for the visit"""
washPackageId: String
}