Module Values_0.RuleActionSource

Information about the action to be performed when a rule is triggered.

Sourcetype nonrec t = {
  1. actionType : ActionType.t;
    (*

    The type of action that creates a rule.

    *)
  2. taskAction : TaskActionDefinition.t option;
    (*

    Information about the task action. This field is required if TriggerEventSource is one of the following values: OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

    *)
  3. eventBridgeAction : EventBridgeActionDefinition.t option;
    (*

    Information about the EventBridge action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

    *)
  4. assignContactCategoryAction : AssignContactCategoryActionDefinition.t option;
    (*

    Information about the contact category action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnZendeskTicketCreate | OnZendeskTicketStatusUpdate | OnSalesforceCaseCreate

    *)
  5. sendNotificationAction : SendNotificationActionDefinition.t option;
    (*

    Information about the send notification action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnRealTimeCallAnalysisAvailable | OnRealTimeChatAnalysisAvailable | OnPostChatAnalysisAvailable | OnContactEvaluationSubmit | OnMetricDataUpdate

    *)
  6. createCaseAction : CreateCaseActionDefinition.t option;
    (*

    Information about the create case action. Supported only for TriggerEventSource values: OnPostCallAnalysisAvailable | OnPostChatAnalysisAvailable.

    *)
  7. updateCaseAction : UpdateCaseActionDefinition.t option;
    (*

    Information about the update case action. Supported only for TriggerEventSource values: OnCaseCreate | OnCaseUpdate.

    *)
  8. assignSlaAction : AssignSlaActionDefinition.t option;
    (*

    Information about the assign SLA action.

    *)
  9. endAssociatedTasksAction : EndAssociatedTasksActionDefinition.t option;
    (*

    Information about the end associated tasks action. Supported only for TriggerEventSource values: OnCaseUpdate.

    *)
  10. submitAutoEvaluationAction : SubmitAutoEvaluationActionDefinition.t option;
    (*

    Information about the submit automated evaluation action.

    *)
}
Sourceval context_ : string
Sourceval make : ?taskAction:??? -> ?eventBridgeAction:??? -> ?assignContactCategoryAction:??? -> ?sendNotificationAction:??? -> ?createCaseAction:??? -> ?updateCaseAction:??? -> ?assignSlaAction:??? -> ?endAssociatedTasksAction:??? -> ?submitAutoEvaluationAction:??? -> actionType:ActionType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of FieldValueId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldStringValue.t | `Structure of 'a list ]) list ]) list ] list | `Map of ([> `String of ReferenceKey.t ] * [> `Structure of (string * [> `Enum of string | `String of ReferenceValue.t ]) list ]) list | `String of TaskNameExpression.t | `Structure of (string * [> `Enum of string | `List of [> `String of UserId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldStringValue.t | `Structure of 'b list ]) list ] list | `Long of TargetSlaMinutes.t | `Map of ([> `String of String_.t ] * [> `String of String_.t ]) list | `String of SlaName.t ]) 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