EventTemplate

View normalized Markdown

Event templates that are managed in this app

graphql
type EventTemplate {
  descTranslated: String
  duration: Int!
  exclusivity: ExclusivityEnum!
  firstPotentialEvent(posId: ID, span: TsRange): PotentialEvent
  globalPersonalizationAttachmentAttrs: [PersonalizationAttr!]!
  globalPersonalizationAttrs: [PersonalizationAttr!]!
  id: ID!
  images: [ImageAttachment!]!
  locationAddress: String!
  locationName: String!
  nameTranslated: String!
  personalizationAttachmentAttrs: [PersonalizationAttr!]!
  personalizationAttrs: [PersonalizationAttr!]!
  potentialEvents(
    after: String
    before: String
    datePricePricings: [PricingInput!]
    dates: [DateRange!]
    first: Int
    includeEvents: Boolean
    includeQuota: Boolean
    last: Int
    onlyBooked: Boolean
    posId: ID!
    quantity: Int
    span: TsRange
    spanOperator: RangeOperatorEnum = OVERLAP
  ): PotentialEventConnection!
  priceRules(posId: ID): [PriceRule!]!
  publicDescTranslated: String
  publicNameTranslated: String!
  relatedProducts: [Product!]!
  remainingQuota: BigInt
  tags: [Tag!]!
  timeZone: String!
  waiver: Waiver
}

Fields

EventTemplate.descTranslated · String scalar

Translated description in language specified by Accept-Language header.

EventTemplate.duration · Int! non-null scalar

Duration of the event in seconds

EventTemplate.exclusivity · ExclusivityEnum! non-null enum

EventTemplate.firstPotentialEvent · PotentialEvent object

EventTemplate.firstPotentialEvent.posId · ID scalar

For which POS should the quota information be calculated. Required here when not given already in parent query.

EventTemplate.firstPotentialEvent.span · TsRange scalar

EventTemplate.globalPersonalizationAttachmentAttrs · [PersonalizationAttr!]! non-null object

EventTemplate.globalPersonalizationAttrs · [PersonalizationAttr!]! non-null object

EventTemplate.id · ID! non-null scalar

EventTemplate.images · [ImageAttachment!]! non-null object

EventTemplate.locationAddress · String! non-null scalar

Address of location with fallback to tenant address.

EventTemplate.locationName · String! non-null scalar

Name of location with fallback to tenant name.

EventTemplate.nameTranslated · String! non-null scalar

Translated name in language specified by Accept-Language header.

EventTemplate.personalizationAttachmentAttrs · [PersonalizationAttr!]! non-null object

EventTemplate.personalizationAttrs · [PersonalizationAttr!]! non-null object

EventTemplate.potentialEvents · PotentialEventConnection! non-null object

EventTemplate.potentialEvents.after · String scalar

Returns the elements in the list that come after the specified cursor.

EventTemplate.potentialEvents.before · String scalar

Returns the elements in the list that come before the specified cursor.

EventTemplate.potentialEvents.datePricePricings · [PricingInput!] list input

Selected pricings used to include per-slot candidates for date price indications.

EventTemplate.potentialEvents.dates · [DateRange!] list scalar

EventTemplate.potentialEvents.first · Int scalar

Returns the first _n_ elements from the list.

EventTemplate.potentialEvents.includeEvents · Boolean scalar

EventTemplate.potentialEvents.includeQuota · Boolean scalar

EventTemplate.potentialEvents.last · Int scalar

Returns the last _n_ elements from the list.

EventTemplate.potentialEvents.onlyBooked · Boolean scalar

EventTemplate.potentialEvents.posId · ID! non-null scalar

For which POS should the quota information be calculated.

EventTemplate.potentialEvents.quantity · Int scalar

EventTemplate.potentialEvents.span · TsRange scalar

EventTemplate.potentialEvents.spanOperator · RangeOperatorEnum enum

EventTemplate.priceRules · [PriceRule!]! non-null object

EventTemplate.priceRules.posId · ID scalar

EventTemplate.publicDescTranslated · String scalar

Translated public-facing description in language specified by Accept-Language header.

EventTemplate.publicNameTranslated · String! non-null scalar

Translated public-facing name in language specified by Accept-Language header.

EventTemplate.remainingQuota · BigInt scalar

Remaining quota of capacity that can still be sold at this point of sale

EventTemplate.tags · [Tag!]! non-null object

EventTemplate.timeZone · String! non-null scalar

EventTemplate.waiver · Waiver object

Implemented By

OfferableUnion union

Ready to Get Started?

Book a free demo or reach out — we’d love to hear from you.