Module Values.PostDialogCodeHookInvocationSpecificationSource

Specifies next steps to run after the dialog code hook finishes.

Sourcetype nonrec t = {
  1. successResponse : ResponseSpecification.t option;
  2. successNextStep : DialogState.t option;
    (*

    Specifics the next step the bot runs after the dialog code hook finishes successfully.

    *)
  3. successConditional : ConditionalSpecification.t option;
    (*

    A list of conditional branches to evaluate after the dialog code hook finishes successfully.

    *)
  4. failureResponse : ResponseSpecification.t option;
  5. failureNextStep : DialogState.t option;
    (*

    Specifies the next step the bot runs after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.

    *)
  6. failureConditional : ConditionalSpecification.t option;
    (*

    A list of conditional branches to evaluate after the dialog code hook throws an exception or returns with the State field of the Intent object set to Failed.

    *)
  7. timeoutResponse : ResponseSpecification.t option;
  8. timeoutNextStep : DialogState.t option;
    (*

    Specifies the next step that the bot runs when the code hook times out.

    *)
  9. timeoutConditional : ConditionalSpecification.t option;
    (*

    A list of conditional branches to evaluate if the code hook times out.

    *)
}
Sourceval make : ?successResponse:??? -> ?successNextStep:??? -> ?successConditional:??? -> ?failureResponse:??? -> ?failureNextStep:??? -> ?failureConditional:??? -> ?timeoutResponse:??? -> ?timeoutNextStep:??? -> ?timeoutConditional:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `String of ConditionExpression.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of Name.t | `Structure of (string * [> `Boolean of BoxedBoolean.t | `List of [> `Structure of (string * [> `List of [> `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ] list | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of ButtonText.t ]) list ] list | `String of PlainTextMessageValue.t ]) list ]) list ]) list ] list | `Map of ([> `String of NonEmptyString.t ] * [> `String of String_.t ]) list | `Structure of (string * [> `Boolean of BoxedBoolean.t | `Enum of string | `Map of ([> `String of Name.t ] * Awso.Botodata.value) list | `String of Name.t ]) list ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t