Changeset 0.30.2 (#201)
Co-authored-by: Jeffrey Smith <jasafpro@gmail.com> Co-committed-by: Jeffrey Smith <jasafpro@gmail.com>
This commit is contained in:
@@ -57,10 +57,11 @@ type WorkflowStage struct {
|
||||
PersonaID *string `json:"persona_id,omitempty"`
|
||||
AssignmentTeamID *string `json:"assignment_team_id,omitempty"`
|
||||
FormTemplate json.RawMessage `json:"form_template"`
|
||||
StageMode string `json:"stage_mode"` // chat_only | form_only | form_chat
|
||||
StageMode string `json:"stage_mode"` // chat_only | form_only | form_chat | review
|
||||
HistoryMode string `json:"history_mode"` // full | summary | fresh
|
||||
AutoTransition bool `json:"auto_transition"`
|
||||
TransitionRules json.RawMessage `json:"transition_rules"`
|
||||
SurfacePkgID *string `json:"surface_pkg_id,omitempty"`
|
||||
CreatedAt time.Time `json:"created_at"`
|
||||
}
|
||||
|
||||
@@ -70,6 +71,7 @@ const (
|
||||
StageModeChatOnly = "chat_only"
|
||||
StageModeFormOnly = "form_only"
|
||||
StageModeFormChat = "form_chat"
|
||||
StageModeReview = "review"
|
||||
)
|
||||
|
||||
// ValidStageModes is the set of valid stage_mode values.
|
||||
@@ -77,6 +79,7 @@ var ValidStageModes = map[string]bool{
|
||||
StageModeChatOnly: true,
|
||||
StageModeFormOnly: true,
|
||||
StageModeFormChat: true,
|
||||
StageModeReview: true,
|
||||
}
|
||||
|
||||
// ── Typed Form Template ─────────────────────
|
||||
|
||||
Reference in New Issue
Block a user