Options
All
  • Public
  • Public/Protected
  • All
Menu

Build Status Coverage Status Code Climate dependencies Status Known Vulnerabilities semantic-release Commitizen friendly Inline docs GreenkeeperNPM

eventbrite-checkins

A small npm module to help run our meetups where we query for a registrants's attendance status

Index

Type aliases

AttendanceFlag

AttendanceFlag: "NOSHOW" | "CHECKEDIN" | "ALL"

Variables

Const attendeeMock

attendeeMock: Factory<IAttendee, "team" | "costs" | "resource_uri" | "id" | "changed" | "created" | "quantity" | "variant_id" | "profile" | "barcodes" | "answers" | "checked_in" | "cancelled" | "refunded" | "affiliate" | "guestlist_id" | "invited_by" | "status" | "ticket_class_name" | "delivery_method" | "event_id" | "order_id" | "ticket_class_id"> = factory.Async.makeFactory<IAttendee>({cancelled: false,checked_in: false,profile: profileChild,refunded: false})

Const baseURL

baseURL: string = "https://www.eventbriteapi.com/v3/events/"

Const ebEventAttendeesMock

ebEventAttendeesMock: Factory<IEBEventAttendees, "pagination" | "attendees"> = factory.Async.makeFactory<IEBEventAttendees>({attendees: attendeeMock.buildList(1)})

Const profileChild

profileChild: Promise<IProfile> = profileMock.build()

Const profileMock

profileMock: Factory<IProfile, "first_name" | "last_name" | "addresses" | "cell_phone" | "email" | "name"> = factory.Async.makeFactory<IProfile>({first_name: faker.name.firstName(),last_name: faker.name.lastName(),// tslint:disable-next-line:object-literal-sort-keyscell_phone: faker.phone.phoneNumber()})

Const rest

rest: RestClient = new rm.RestClient('ebCheckins', baseURL)

Let scope

scope: Scope

Functions

getAttendeesForEvent

hasRegisteredForEvent

  • hasRegisteredForEvent(accessToken: string, eventID: string, attendeeID: string): Promise<boolean>
  • Check if the attendee has registered for the Eventbrite event

    Parameters

    • accessToken: string
    • eventID: string
    • attendeeID: string

    Returns Promise<boolean>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc