Index

Type aliases

AppziEvent

AppziEvent: { configId: string; data?: AppziEventData; type: EventType }

Type declaration

AppziEventData

AppziEventData: { blockId: string; value: SubmittedFeedbackBlockValue }[]

AppziSettings

AppziSettings: { data?: Record<string, FeedbackData>; eager?: boolean; portal?: string; render?: AppziWindowRenderOptions; userId?: string; onEvent?: any; onFeedback?: any; ready?: any }

Type declaration

  • Optional data?: Record<string, FeedbackData>
  • Optional eager?: boolean

    when true the does not use lazy load

  • Optional portal?: string

    portalId

  • Optional render?: AppziWindowRenderOptions
  • Optional userId?: string
  • onEvent: function
  • onFeedback: function
    • onFeedback(props: Pick<SubmitProps, "configId" | "payload">): Promise<void>
    • Parameters

      • props: Pick<SubmitProps, "configId" | "payload">

      Returns Promise<void>

  • ready: function
    • ready(appzi: OrchestratorPublicApi): void
    • Parameters

      • appzi: OrchestratorPublicApi

      Returns void

EventType

EventType: "open-survey" | "dismiss-survey" | "submit"

FeedbackData

FeedbackData: PrimitiveValue | { label: string; value: PrimitiveValue }

PrimitiveValue

PrimitiveValue: number | string | boolean

SubmittedBlockOption

SubmittedBlockOption: { id: string; label: string }

Type declaration

  • id: string
  • label: string

SubmittedFeedbackBlockValue

SubmittedFeedbackBlockValue: PrimitiveValue | SubmittedBlockOption | SubmittedBlockOption[]

Legend

Generated using TypeDoc