UNPKG

@kiwicom/smart-faq

Version:

Smart FAQ

70 lines (64 loc) 1.59 kB
/*:: export type CuckooAction = | 'clickOnHelp' | 'articleOpened' | 'articleClosed' | 'openFlightCard' | 'bookingLoaded' | 'selectAnotherBooking' | 'goToMMB' | 'clickOnEticket' | 'addInsurance' | 'clickOnMoreInfoBoarding' | 'showTooltip' | 'downloadBoardingPass' | 'addMoreBags' | 'clickOnBaggageButton' | 'clickOnBoardingPassButton' | 'clickOnCategory' | 'clickOnIntroButton' | 'articleClicked' | 'search' | 'goToOldHelp' | 'signOut' | 'chatEnabled' | 'chatOpened' | 'chatDisplayed' | 'upVote' | 'downVote' | 'submitFeedback' | 'commentLimitReached' | 'phonesDisplayed' | 'phoneClicked' | 'phonesPriorityDisplayed';*/ /*:: export type Subcategory = | 'Booking overview' | 'Boarding passes' | 'Baggage' | 'FAQs' | 'Contact Form' | 'Login' | 'Guarantee Chat' | 'Smart FAQ';*/ /*:: export type CuckooError = | 'GraphQL network' | 'GraphQL error' | 'Phone number not returned';*/ /*:: export type CuckooEvent = {| category: 'smartFAQ', subcategory: Subcategory, action: CuckooAction, destinations: {| logmole: boolean, exponea: boolean, ga: boolean |}, |};*/ /*:: export type CuckooErrorEvent = { category: 'smartFAQ', subcategory: 'Error', action: CuckooError, destinations: {| logmole: boolean, exponea: boolean, ga: boolean |}, };*/ /*:: export type CuckooProps = { [string]: mixed };*/ /*:: export type CuckooLogger = {| track: (CuckooEvent, ?CuckooProps) => void, warning: (CuckooEvent, ?CuckooProps) => void, error: (CuckooErrorEvent, ?CuckooProps) => void, |};*/ "use strict";