SDKReference
Questions
Questions a run asks the person, and the answers sent back.
Exports of @crouter/sdk, read from the TypeScript compiler at build time. Types re-exported from @crouter/api are documented with that package.
Question
interface declared in resources/questions.ts
A question an agent in a run asked the user.
Prop
Type
QuestionAnswered
interface declared in resources/questions.ts
Prop
Type
QuestionFields
interface declared in resources/questions.ts
The fields a waiting_on_user run event and questions.get share.
Prop
Type
QuestionResponses
type declared in resources/questions.ts
Responses keyed by slot id.
{ [x: string]: unknown; }QuestionSlot
interface declared in resources/questions.ts
One input or display element of a question. id is absent on a slot that takes no response.
Prop
Type
QuestionStatus
type declared in resources/questions.ts
"answered" | "canceled" | "open"