workflows

package
v1.7.30 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	TestBotTestStepType_name = map[int32]string{
		0:    "TEST_BOT_TEST_STEP_TYPE_UNSPECIFIED",
		1000: "TEST_BOT_TEST_STEP_TYPE_OMNICHANNEL_CREATE_PROJECT",
		1001: "TEST_BOT_TEST_STEP_TYPE_OMNICHANNEL_GET_PROJECT",
	}
	TestBotTestStepType_value = map[string]int32{
		"TEST_BOT_TEST_STEP_TYPE_UNSPECIFIED":                0,
		"TEST_BOT_TEST_STEP_TYPE_OMNICHANNEL_CREATE_PROJECT": 1000,
		"TEST_BOT_TEST_STEP_TYPE_OMNICHANNEL_GET_PROJECT":    1001,
	}
)

Enum value maps for TestBotTestStepType.

View Source
var (
	TestBotEntityType_name = map[int32]string{
		0:   "TEST_BOT_ENTITY_TYPE_UNSPECIFIED",
		100: "TEST_BOT_ENTITY_TYPE_USER",
		300: "TEST_BOT_ENTITY_TYPE_OMNICHANNEL_PROJECT",
	}
	TestBotEntityType_value = map[string]int32{
		"TEST_BOT_ENTITY_TYPE_UNSPECIFIED":         0,
		"TEST_BOT_ENTITY_TYPE_USER":                100,
		"TEST_BOT_ENTITY_TYPE_OMNICHANNEL_PROJECT": 300,
	}
)

Enum value maps for TestBotEntityType.

View Source
var File_api_commons_workflows_entities_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_example_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_nodes_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_omni_bot_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_omni_proto protoreflect.FileDescriptor
View Source
var File_api_commons_workflows_test_bot_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type ChatbotDocument

type ChatbotDocument struct {
	InMessage  string `protobuf:"bytes,1,opt,name=in_message,json=inMessage,proto3" json:"in_message,omitempty"`
	OutMessage string `protobuf:"bytes,2,opt,name=out_message,json=outMessage,proto3" json:"out_message,omitempty"`
	Error      string `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*ChatbotDocument) Descriptor deprecated

func (*ChatbotDocument) Descriptor() ([]byte, []int)

Deprecated: Use ChatbotDocument.ProtoReflect.Descriptor instead.

func (*ChatbotDocument) GetError

func (x *ChatbotDocument) GetError() string

func (*ChatbotDocument) GetInMessage

func (x *ChatbotDocument) GetInMessage() string

func (*ChatbotDocument) GetOutMessage

func (x *ChatbotDocument) GetOutMessage() string

func (*ChatbotDocument) ProtoMessage

func (*ChatbotDocument) ProtoMessage()

func (*ChatbotDocument) ProtoReflect

func (x *ChatbotDocument) ProtoReflect() protoreflect.Message

func (*ChatbotDocument) Reset

func (x *ChatbotDocument) Reset()

func (*ChatbotDocument) String

func (x *ChatbotDocument) String() string

type DiceDocument

type DiceDocument struct {
	DiceValue    int32             `protobuf:"varint,1,opt,name=dice_value,json=diceValue,proto3" json:"dice_value,omitempty"`
	DiceValueMax int32             `protobuf:"varint,2,opt,name=dice_value_max,json=diceValueMax,proto3" json:"dice_value_max,omitempty"`
	DiceValueMin int32             `protobuf:"varint,3,opt,name=dice_value_min,json=diceValueMin,proto3" json:"dice_value_min,omitempty"`
	LastMessage  string            `protobuf:"bytes,4,opt,name=last_message,json=lastMessage,proto3" json:"last_message,omitempty"`
	Variables    map[string]string `` /* 159-byte string literal not displayed */
	Error        string            `protobuf:"bytes,100,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*DiceDocument) Descriptor deprecated

func (*DiceDocument) Descriptor() ([]byte, []int)

Deprecated: Use DiceDocument.ProtoReflect.Descriptor instead.

func (*DiceDocument) GetDiceValue

func (x *DiceDocument) GetDiceValue() int32

func (*DiceDocument) GetDiceValueMax

func (x *DiceDocument) GetDiceValueMax() int32

func (*DiceDocument) GetDiceValueMin

func (x *DiceDocument) GetDiceValueMin() int32

func (*DiceDocument) GetError

func (x *DiceDocument) GetError() string

func (*DiceDocument) GetLastMessage

func (x *DiceDocument) GetLastMessage() string

func (*DiceDocument) GetVariables

func (x *DiceDocument) GetVariables() map[string]string

func (*DiceDocument) ProtoMessage

func (*DiceDocument) ProtoMessage()

func (*DiceDocument) ProtoReflect

func (x *DiceDocument) ProtoReflect() protoreflect.Message

func (*DiceDocument) Reset

func (x *DiceDocument) Reset()

func (*DiceDocument) String

func (x *DiceDocument) String() string

type Envelope

type Envelope struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	OrgId string `protobuf:"bytes,2,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	// contains filtered or unexported fields
}

func (*Envelope) Descriptor deprecated

func (*Envelope) Descriptor() ([]byte, []int)

Deprecated: Use Envelope.ProtoReflect.Descriptor instead.

func (*Envelope) GetId

func (x *Envelope) GetId() string

func (*Envelope) GetOrgId

func (x *Envelope) GetOrgId() string

func (*Envelope) ProtoMessage

func (*Envelope) ProtoMessage()

func (*Envelope) ProtoReflect

func (x *Envelope) ProtoReflect() protoreflect.Message

func (*Envelope) Reset

func (x *Envelope) Reset()

func (*Envelope) String

func (x *Envelope) String() string

type FlowDefinition

type FlowDefinition struct {
	Id          string            `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string            `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	Description string            `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	EntryNodeId string            `protobuf:"bytes,4,opt,name=entry_node_id,json=entryNodeId,proto3" json:"entry_node_id,omitempty"`
	OrgId       string            `protobuf:"bytes,5,opt,name=org_id,json=orgId,proto3" json:"org_id,omitempty"`
	Nodes       []*NodeDefinition `protobuf:"bytes,10,rep,name=nodes,proto3" json:"nodes,omitempty"`
	ErrorNodeId string            `protobuf:"bytes,11,opt,name=error_node_id,json=errorNodeId,proto3" json:"error_node_id,omitempty"`
	// contains filtered or unexported fields
}

The overarching object that defines a flow

func (*FlowDefinition) Descriptor deprecated

func (*FlowDefinition) Descriptor() ([]byte, []int)

Deprecated: Use FlowDefinition.ProtoReflect.Descriptor instead.

func (*FlowDefinition) GetDescription

func (x *FlowDefinition) GetDescription() string

func (*FlowDefinition) GetEntryNodeId

func (x *FlowDefinition) GetEntryNodeId() string

func (*FlowDefinition) GetErrorNodeId

func (x *FlowDefinition) GetErrorNodeId() string

func (*FlowDefinition) GetId

func (x *FlowDefinition) GetId() string

func (*FlowDefinition) GetName

func (x *FlowDefinition) GetName() string

func (*FlowDefinition) GetNodes

func (x *FlowDefinition) GetNodes() []*NodeDefinition

func (*FlowDefinition) GetOrgId added in v1.7.21

func (x *FlowDefinition) GetOrgId() string

func (*FlowDefinition) ProtoMessage

func (*FlowDefinition) ProtoMessage()

func (*FlowDefinition) ProtoReflect

func (x *FlowDefinition) ProtoReflect() protoreflect.Message

func (*FlowDefinition) Reset

func (x *FlowDefinition) Reset()

func (*FlowDefinition) String

func (x *FlowDefinition) String() string

type FlowState

type FlowState struct {
	Envelope *Envelope `protobuf:"bytes,1,opt,name=envelope,proto3" json:"envelope,omitempty"`
	State    *State    `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	Payload  *Payload  `protobuf:"bytes,100,opt,name=payload,proto3" json:"payload,omitempty"`
	// contains filtered or unexported fields
}

func (*FlowState) Descriptor deprecated

func (*FlowState) Descriptor() ([]byte, []int)

Deprecated: Use FlowState.ProtoReflect.Descriptor instead.

func (*FlowState) GetEnvelope

func (x *FlowState) GetEnvelope() *Envelope

func (*FlowState) GetPayload

func (x *FlowState) GetPayload() *Payload

func (*FlowState) GetState

func (x *FlowState) GetState() *State

func (*FlowState) ProtoMessage

func (*FlowState) ProtoMessage()

func (*FlowState) ProtoReflect

func (x *FlowState) ProtoReflect() protoreflect.Message

func (*FlowState) Reset

func (x *FlowState) Reset()

func (*FlowState) String

func (x *FlowState) String() string

type Message

type Message struct {

	// Types that are assignable to Payload:
	//
	//	*Message_Text
	Payload isMessage_Payload `protobuf_oneof:"payload"`
	// contains filtered or unexported fields
}

func (*Message) Descriptor deprecated

func (*Message) Descriptor() ([]byte, []int)

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetPayload

func (m *Message) GetPayload() isMessage_Payload

func (*Message) GetText

func (x *Message) GetText() string

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

func (x *Message) ProtoReflect() protoreflect.Message

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type Message_Text

type Message_Text struct {
	Text string `protobuf:"bytes,1,opt,name=text,proto3,oneof"`
}

type NodeChatbot

type NodeChatbot struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodeChatbot) Descriptor deprecated

func (*NodeChatbot) Descriptor() ([]byte, []int)

Deprecated: Use NodeChatbot.ProtoReflect.Descriptor instead.

func (*NodeChatbot) GetMessage

func (x *NodeChatbot) GetMessage() string

func (*NodeChatbot) ProtoMessage

func (*NodeChatbot) ProtoMessage()

func (*NodeChatbot) ProtoReflect

func (x *NodeChatbot) ProtoReflect() protoreflect.Message

func (*NodeChatbot) Reset

func (x *NodeChatbot) Reset()

func (*NodeChatbot) String

func (x *NodeChatbot) String() string

type NodeComparator

type NodeComparator struct {
	FirstField  string `protobuf:"bytes,1,opt,name=first_field,json=firstField,proto3" json:"first_field,omitempty"`
	SecondField string `protobuf:"bytes,2,opt,name=second_field,json=secondField,proto3" json:"second_field,omitempty"`
	// contains filtered or unexported fields
}

comparator has 3 outputs: smaller, equal, greater the fields are evaluated using JSONata

func (*NodeComparator) Descriptor deprecated

func (*NodeComparator) Descriptor() ([]byte, []int)

Deprecated: Use NodeComparator.ProtoReflect.Descriptor instead.

func (*NodeComparator) GetFirstField

func (x *NodeComparator) GetFirstField() string

func (*NodeComparator) GetSecondField

func (x *NodeComparator) GetSecondField() string

func (*NodeComparator) ProtoMessage

func (*NodeComparator) ProtoMessage()

func (*NodeComparator) ProtoReflect

func (x *NodeComparator) ProtoReflect() protoreflect.Message

func (*NodeComparator) Reset

func (x *NodeComparator) Reset()

func (*NodeComparator) String

func (x *NodeComparator) String() string

type NodeConsoleInput

type NodeConsoleInput struct {
	Prompt string `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	// contains filtered or unexported fields
}

input has 1 output reads input from the console

func (*NodeConsoleInput) Descriptor deprecated

func (*NodeConsoleInput) Descriptor() ([]byte, []int)

Deprecated: Use NodeConsoleInput.ProtoReflect.Descriptor instead.

func (*NodeConsoleInput) GetPrompt

func (x *NodeConsoleInput) GetPrompt() string

func (*NodeConsoleInput) ProtoMessage

func (*NodeConsoleInput) ProtoMessage()

func (*NodeConsoleInput) ProtoReflect

func (x *NodeConsoleInput) ProtoReflect() protoreflect.Message

func (*NodeConsoleInput) Reset

func (x *NodeConsoleInput) Reset()

func (*NodeConsoleInput) String

func (x *NodeConsoleInput) String() string

type NodeDefinition

type NodeDefinition struct {

	// common fields for a node
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Name        string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	Description string   `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	Outputs     []string `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs,omitempty"`
	ErrorNodeId string   `protobuf:"bytes,6,opt,name=error_node_id,json=errorNodeId,proto3" json:"error_node_id,omitempty"`
	// specific node definition
	//
	// Types that are assignable to Definition:
	//
	//	*NodeDefinition_Print
	//	*NodeDefinition_Random
	//	*NodeDefinition_ConsoleInput
	//	*NodeDefinition_Comparator
	//	*NodeDefinition_StoreInput
	//	*NodeDefinition_Chatbot
	//	*NodeDefinition_OmniPrompt
	//	*NodeDefinition_OmniSetSkill
	//	*NodeDefinition_OmniToAgent
	//	*NodeDefinition_OmniError
	//	*NodeDefinition_OmniBotTestStart
	//	*NodeDefinition_OmniBotTestStep
	//	*NodeDefinition_OmniBotTestEnd
	//	*NodeDefinition_TestBotTestStart
	//	*NodeDefinition_TestBotTestStep
	//	*NodeDefinition_TestBotTestEnd
	Definition isNodeDefinition_Definition `protobuf_oneof:"definition"`
	// contains filtered or unexported fields
}

A node is a single step in a flow

func (*NodeDefinition) Descriptor deprecated

func (*NodeDefinition) Descriptor() ([]byte, []int)

Deprecated: Use NodeDefinition.ProtoReflect.Descriptor instead.

func (*NodeDefinition) GetChatbot

func (x *NodeDefinition) GetChatbot() *NodeChatbot

func (*NodeDefinition) GetComparator

func (x *NodeDefinition) GetComparator() *NodeComparator

func (*NodeDefinition) GetConsoleInput

func (x *NodeDefinition) GetConsoleInput() *NodeConsoleInput

func (*NodeDefinition) GetDefinition

func (m *NodeDefinition) GetDefinition() isNodeDefinition_Definition

func (*NodeDefinition) GetDescription

func (x *NodeDefinition) GetDescription() string

func (*NodeDefinition) GetErrorNodeId

func (x *NodeDefinition) GetErrorNodeId() string

func (*NodeDefinition) GetId

func (x *NodeDefinition) GetId() string

func (*NodeDefinition) GetName

func (x *NodeDefinition) GetName() string

func (*NodeDefinition) GetOmniBotTestEnd deprecated added in v1.7.21

func (x *NodeDefinition) GetOmniBotTestEnd() *OmniBotNodeTestEnd

Deprecated: Marked as deprecated in api/commons/workflows/nodes.proto.

func (*NodeDefinition) GetOmniBotTestStart deprecated added in v1.7.21

func (x *NodeDefinition) GetOmniBotTestStart() *OmniBotNodeTestStart

Deprecated: Marked as deprecated in api/commons/workflows/nodes.proto.

func (*NodeDefinition) GetOmniBotTestStep deprecated added in v1.7.21

func (x *NodeDefinition) GetOmniBotTestStep() *OmniBotNodeTestStep

Deprecated: Marked as deprecated in api/commons/workflows/nodes.proto.

func (*NodeDefinition) GetOmniError

func (x *NodeDefinition) GetOmniError() *OmniNodeError

func (*NodeDefinition) GetOmniPrompt

func (x *NodeDefinition) GetOmniPrompt() *OmniNodePrompt

func (*NodeDefinition) GetOmniSetSkill

func (x *NodeDefinition) GetOmniSetSkill() *OmniNodeSetSkill

func (*NodeDefinition) GetOmniToAgent

func (x *NodeDefinition) GetOmniToAgent() *OmniNodeToAgent

func (*NodeDefinition) GetOutputs

func (x *NodeDefinition) GetOutputs() []string

func (*NodeDefinition) GetPrint

func (x *NodeDefinition) GetPrint() *NodePrint

func (*NodeDefinition) GetRandom

func (x *NodeDefinition) GetRandom() *NodeRandom

func (*NodeDefinition) GetStoreInput

func (x *NodeDefinition) GetStoreInput() *NodeStoreInput

func (*NodeDefinition) GetTestBotTestEnd added in v1.7.27

func (x *NodeDefinition) GetTestBotTestEnd() *TestBotNodeTestEnd

func (*NodeDefinition) GetTestBotTestStart added in v1.7.27

func (x *NodeDefinition) GetTestBotTestStart() *TestBotNodeTestStart

func (*NodeDefinition) GetTestBotTestStep added in v1.7.27

func (x *NodeDefinition) GetTestBotTestStep() *TestBotNodeTestStep

func (*NodeDefinition) ProtoMessage

func (*NodeDefinition) ProtoMessage()

func (*NodeDefinition) ProtoReflect

func (x *NodeDefinition) ProtoReflect() protoreflect.Message

func (*NodeDefinition) Reset

func (x *NodeDefinition) Reset()

func (*NodeDefinition) String

func (x *NodeDefinition) String() string

type NodeDefinition_Chatbot

type NodeDefinition_Chatbot struct {
	Chatbot *NodeChatbot `protobuf:"bytes,1000,opt,name=chatbot,proto3,oneof"`
}

type NodeDefinition_Comparator

type NodeDefinition_Comparator struct {
	Comparator *NodeComparator `protobuf:"bytes,104,opt,name=comparator,proto3,oneof"`
}

type NodeDefinition_ConsoleInput

type NodeDefinition_ConsoleInput struct {
	ConsoleInput *NodeConsoleInput `protobuf:"bytes,103,opt,name=console_input,json=consoleInput,proto3,oneof"`
}

type NodeDefinition_OmniBotTestEnd added in v1.7.21

type NodeDefinition_OmniBotTestEnd struct {
	// Deprecated: Marked as deprecated in api/commons/workflows/nodes.proto.
	OmniBotTestEnd *OmniBotNodeTestEnd `protobuf:"bytes,303,opt,name=omni_bot_test_end,json=omniBotTestEnd,proto3,oneof"`
}

type NodeDefinition_OmniBotTestStart added in v1.7.21

type NodeDefinition_OmniBotTestStart struct {
	// Deprecated: Marked as deprecated in api/commons/workflows/nodes.proto.
	OmniBotTestStart *OmniBotNodeTestStart `protobuf:"bytes,301,opt,name=omni_bot_test_start,json=omniBotTestStart,proto3,oneof"`
}

type NodeDefinition_OmniBotTestStep added in v1.7.21

type NodeDefinition_OmniBotTestStep struct {
	// Deprecated: Marked as deprecated in api/commons/workflows/nodes.proto.
	OmniBotTestStep *OmniBotNodeTestStep `protobuf:"bytes,302,opt,name=omni_bot_test_step,json=omniBotTestStep,proto3,oneof"`
}

type NodeDefinition_OmniError

type NodeDefinition_OmniError struct {
	OmniError *OmniNodeError `protobuf:"bytes,204,opt,name=omni_error,json=omniError,proto3,oneof"`
}

type NodeDefinition_OmniPrompt

type NodeDefinition_OmniPrompt struct {
	OmniPrompt *OmniNodePrompt `protobuf:"bytes,201,opt,name=omni_prompt,json=omniPrompt,proto3,oneof"`
}

type NodeDefinition_OmniSetSkill

type NodeDefinition_OmniSetSkill struct {
	OmniSetSkill *OmniNodeSetSkill `protobuf:"bytes,202,opt,name=omni_set_skill,json=omniSetSkill,proto3,oneof"`
}

type NodeDefinition_OmniToAgent

type NodeDefinition_OmniToAgent struct {
	OmniToAgent *OmniNodeToAgent `protobuf:"bytes,203,opt,name=omni_to_agent,json=omniToAgent,proto3,oneof"`
}

type NodeDefinition_Print

type NodeDefinition_Print struct {
	Print *NodePrint `protobuf:"bytes,101,opt,name=print,proto3,oneof"`
}

type NodeDefinition_Random

type NodeDefinition_Random struct {
	Random *NodeRandom `protobuf:"bytes,102,opt,name=random,proto3,oneof"`
}

type NodeDefinition_StoreInput

type NodeDefinition_StoreInput struct {
	StoreInput *NodeStoreInput `protobuf:"bytes,105,opt,name=store_input,json=storeInput,proto3,oneof"`
}

type NodeDefinition_TestBotTestEnd added in v1.7.27

type NodeDefinition_TestBotTestEnd struct {
	TestBotTestEnd *TestBotNodeTestEnd `protobuf:"bytes,403,opt,name=test_bot_test_end,json=testBotTestEnd,proto3,oneof"`
}

type NodeDefinition_TestBotTestStart added in v1.7.27

type NodeDefinition_TestBotTestStart struct {
	TestBotTestStart *TestBotNodeTestStart `protobuf:"bytes,401,opt,name=test_bot_test_start,json=testBotTestStart,proto3,oneof"`
}

type NodeDefinition_TestBotTestStep added in v1.7.27

type NodeDefinition_TestBotTestStep struct {
	TestBotTestStep *TestBotNodeTestStep `protobuf:"bytes,402,opt,name=test_bot_test_step,json=testBotTestStep,proto3,oneof"`
}

type NodePrint

type NodePrint struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*NodePrint) Descriptor deprecated

func (*NodePrint) Descriptor() ([]byte, []int)

Deprecated: Use NodePrint.ProtoReflect.Descriptor instead.

func (*NodePrint) GetMessage

func (x *NodePrint) GetMessage() string

func (*NodePrint) ProtoMessage

func (*NodePrint) ProtoMessage()

func (*NodePrint) ProtoReflect

func (x *NodePrint) ProtoReflect() protoreflect.Message

func (*NodePrint) Reset

func (x *NodePrint) Reset()

func (*NodePrint) String

func (x *NodePrint) String() string

type NodeRandom

type NodeRandom struct {
	Min          int32 `protobuf:"varint,1,opt,name=min,proto3" json:"min,omitempty"`
	Max          int32 `protobuf:"varint,2,opt,name=max,proto3" json:"max,omitempty"`
	SingleOutput bool  `protobuf:"varint,3,opt,name=single_output,json=singleOutput,proto3" json:"single_output,omitempty"`
	// contains filtered or unexported fields
}

sets the diceValue property to a random number between min and max

func (*NodeRandom) Descriptor deprecated

func (*NodeRandom) Descriptor() ([]byte, []int)

Deprecated: Use NodeRandom.ProtoReflect.Descriptor instead.

func (*NodeRandom) GetMax

func (x *NodeRandom) GetMax() int32

func (*NodeRandom) GetMin

func (x *NodeRandom) GetMin() int32

func (*NodeRandom) GetSingleOutput

func (x *NodeRandom) GetSingleOutput() bool

func (*NodeRandom) ProtoMessage

func (*NodeRandom) ProtoMessage()

func (*NodeRandom) ProtoReflect

func (x *NodeRandom) ProtoReflect() protoreflect.Message

func (*NodeRandom) Reset

func (x *NodeRandom) Reset()

func (*NodeRandom) String

func (x *NodeRandom) String() string

type NodeStoreInput

type NodeStoreInput struct {
	StoreTo string `protobuf:"bytes,1,opt,name=store_to,json=storeTo,proto3" json:"store_to,omitempty"`
	// contains filtered or unexported fields
}

store input node stores the text payload of the message in the variable named by store_to

func (*NodeStoreInput) Descriptor deprecated

func (*NodeStoreInput) Descriptor() ([]byte, []int)

Deprecated: Use NodeStoreInput.ProtoReflect.Descriptor instead.

func (*NodeStoreInput) GetStoreTo

func (x *NodeStoreInput) GetStoreTo() string

func (*NodeStoreInput) ProtoMessage

func (*NodeStoreInput) ProtoMessage()

func (*NodeStoreInput) ProtoReflect

func (x *NodeStoreInput) ProtoReflect() protoreflect.Message

func (*NodeStoreInput) Reset

func (x *NodeStoreInput) Reset()

func (*NodeStoreInput) String

func (x *NodeStoreInput) String() string

type OmniBotNodeTestEnd added in v1.7.21

type OmniBotNodeTestEnd struct {

	// deprecated
	//
	// Deprecated: Marked as deprecated in api/commons/workflows/omni_bot.proto.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

OmniBotNodeTestEnd represents an omni-bot end-of-test node.

func (*OmniBotNodeTestEnd) Descriptor deprecated added in v1.7.21

func (*OmniBotNodeTestEnd) Descriptor() ([]byte, []int)

Deprecated: Use OmniBotNodeTestEnd.ProtoReflect.Descriptor instead.

func (*OmniBotNodeTestEnd) GetError deprecated added in v1.7.21

func (x *OmniBotNodeTestEnd) GetError() string

Deprecated: Marked as deprecated in api/commons/workflows/omni_bot.proto.

func (*OmniBotNodeTestEnd) ProtoMessage added in v1.7.21

func (*OmniBotNodeTestEnd) ProtoMessage()

func (*OmniBotNodeTestEnd) ProtoReflect added in v1.7.21

func (x *OmniBotNodeTestEnd) ProtoReflect() protoreflect.Message

func (*OmniBotNodeTestEnd) Reset added in v1.7.21

func (x *OmniBotNodeTestEnd) Reset()

func (*OmniBotNodeTestEnd) String added in v1.7.21

func (x *OmniBotNodeTestEnd) String() string

type OmniBotNodeTestStart added in v1.7.21

type OmniBotNodeTestStart struct {

	// deprecated
	//
	// Deprecated: Marked as deprecated in api/commons/workflows/omni_bot.proto.
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

OmniBotNodeTestStart represents an omni-bot start-of-test node.

func (*OmniBotNodeTestStart) Descriptor deprecated added in v1.7.21

func (*OmniBotNodeTestStart) Descriptor() ([]byte, []int)

Deprecated: Use OmniBotNodeTestStart.ProtoReflect.Descriptor instead.

func (*OmniBotNodeTestStart) GetData deprecated added in v1.7.21

func (x *OmniBotNodeTestStart) GetData() string

Deprecated: Marked as deprecated in api/commons/workflows/omni_bot.proto.

func (*OmniBotNodeTestStart) ProtoMessage added in v1.7.21

func (*OmniBotNodeTestStart) ProtoMessage()

func (*OmniBotNodeTestStart) ProtoReflect added in v1.7.21

func (x *OmniBotNodeTestStart) ProtoReflect() protoreflect.Message

func (*OmniBotNodeTestStart) Reset added in v1.7.21

func (x *OmniBotNodeTestStart) Reset()

func (*OmniBotNodeTestStart) String added in v1.7.21

func (x *OmniBotNodeTestStart) String() string

type OmniBotNodeTestStep added in v1.7.21

type OmniBotNodeTestStep struct {

	// deprecated
	//
	// Deprecated: Marked as deprecated in api/commons/workflows/omni_bot.proto.
	Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

OmniBotNodeTestStep represents an omni-bot test-step node.

func (*OmniBotNodeTestStep) Descriptor deprecated added in v1.7.21

func (*OmniBotNodeTestStep) Descriptor() ([]byte, []int)

Deprecated: Use OmniBotNodeTestStep.ProtoReflect.Descriptor instead.

func (*OmniBotNodeTestStep) GetData deprecated added in v1.7.21

func (x *OmniBotNodeTestStep) GetData() string

Deprecated: Marked as deprecated in api/commons/workflows/omni_bot.proto.

func (*OmniBotNodeTestStep) ProtoMessage added in v1.7.21

func (*OmniBotNodeTestStep) ProtoMessage()

func (*OmniBotNodeTestStep) ProtoReflect added in v1.7.21

func (x *OmniBotNodeTestStep) ProtoReflect() protoreflect.Message

func (*OmniBotNodeTestStep) Reset added in v1.7.21

func (x *OmniBotNodeTestStep) Reset()

func (*OmniBotNodeTestStep) String added in v1.7.21

func (x *OmniBotNodeTestStep) String() string

type OmniNodeError

type OmniNodeError struct {
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*OmniNodeError) Descriptor deprecated

func (*OmniNodeError) Descriptor() ([]byte, []int)

Deprecated: Use OmniNodeError.ProtoReflect.Descriptor instead.

func (*OmniNodeError) GetError

func (x *OmniNodeError) GetError() string

func (*OmniNodeError) ProtoMessage

func (*OmniNodeError) ProtoMessage()

func (*OmniNodeError) ProtoReflect

func (x *OmniNodeError) ProtoReflect() protoreflect.Message

func (*OmniNodeError) Reset

func (x *OmniNodeError) Reset()

func (*OmniNodeError) String

func (x *OmniNodeError) String() string

type OmniNodePrompt

type OmniNodePrompt struct {
	Prompt  string   `protobuf:"bytes,1,opt,name=prompt,proto3" json:"prompt,omitempty"`
	StoreTo string   `protobuf:"bytes,2,opt,name=store_to,json=storeTo,proto3" json:"store_to,omitempty"`
	Options []string `protobuf:"bytes,3,rep,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*OmniNodePrompt) Descriptor deprecated

func (*OmniNodePrompt) Descriptor() ([]byte, []int)

Deprecated: Use OmniNodePrompt.ProtoReflect.Descriptor instead.

func (*OmniNodePrompt) GetOptions

func (x *OmniNodePrompt) GetOptions() []string

func (*OmniNodePrompt) GetPrompt

func (x *OmniNodePrompt) GetPrompt() string

func (*OmniNodePrompt) GetStoreTo

func (x *OmniNodePrompt) GetStoreTo() string

func (*OmniNodePrompt) ProtoMessage

func (*OmniNodePrompt) ProtoMessage()

func (*OmniNodePrompt) ProtoReflect

func (x *OmniNodePrompt) ProtoReflect() protoreflect.Message

func (*OmniNodePrompt) Reset

func (x *OmniNodePrompt) Reset()

func (*OmniNodePrompt) String

func (x *OmniNodePrompt) String() string

type OmniNodeSetSkill

type OmniNodeSetSkill struct {
	Skill string `protobuf:"bytes,1,opt,name=skill,proto3" json:"skill,omitempty"`
	// contains filtered or unexported fields
}

func (*OmniNodeSetSkill) Descriptor deprecated

func (*OmniNodeSetSkill) Descriptor() ([]byte, []int)

Deprecated: Use OmniNodeSetSkill.ProtoReflect.Descriptor instead.

func (*OmniNodeSetSkill) GetSkill

func (x *OmniNodeSetSkill) GetSkill() string

func (*OmniNodeSetSkill) ProtoMessage

func (*OmniNodeSetSkill) ProtoMessage()

func (*OmniNodeSetSkill) ProtoReflect

func (x *OmniNodeSetSkill) ProtoReflect() protoreflect.Message

func (*OmniNodeSetSkill) Reset

func (x *OmniNodeSetSkill) Reset()

func (*OmniNodeSetSkill) String

func (x *OmniNodeSetSkill) String() string

type OmniNodeToAgent

type OmniNodeToAgent struct {
	// contains filtered or unexported fields
}

func (*OmniNodeToAgent) Descriptor deprecated

func (*OmniNodeToAgent) Descriptor() ([]byte, []int)

Deprecated: Use OmniNodeToAgent.ProtoReflect.Descriptor instead.

func (*OmniNodeToAgent) ProtoMessage

func (*OmniNodeToAgent) ProtoMessage()

func (*OmniNodeToAgent) ProtoReflect

func (x *OmniNodeToAgent) ProtoReflect() protoreflect.Message

func (*OmniNodeToAgent) Reset

func (x *OmniNodeToAgent) Reset()

func (*OmniNodeToAgent) String

func (x *OmniNodeToAgent) String() string

type Payload

type Payload struct {
	Data  string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*Payload) Descriptor deprecated

func (*Payload) Descriptor() ([]byte, []int)

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetData

func (x *Payload) GetData() string

func (*Payload) GetError

func (x *Payload) GetError() string

func (*Payload) ProtoMessage

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect

func (x *Payload) ProtoReflect() protoreflect.Message

func (*Payload) Reset

func (x *Payload) Reset()

func (*Payload) String

func (x *Payload) String() string

type State

type State struct {
	FlowDone    bool   `protobuf:"varint,1,opt,name=flow_done,json=flowDone,proto3" json:"flow_done,omitempty"`
	FlowId      string `protobuf:"bytes,2,opt,name=flow_id,json=flowId,proto3" json:"flow_id,omitempty"`
	CurrentNode string `protobuf:"bytes,3,opt,name=current_node,json=currentNode,proto3" json:"current_node,omitempty"`
	Error       string `protobuf:"bytes,4,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*State) Descriptor deprecated

func (*State) Descriptor() ([]byte, []int)

Deprecated: Use State.ProtoReflect.Descriptor instead.

func (*State) GetCurrentNode

func (x *State) GetCurrentNode() string

func (*State) GetError

func (x *State) GetError() string

func (*State) GetFlowDone

func (x *State) GetFlowDone() bool

func (*State) GetFlowId

func (x *State) GetFlowId() string

func (*State) ProtoMessage

func (*State) ProtoMessage()

func (*State) ProtoReflect

func (x *State) ProtoReflect() protoreflect.Message

func (*State) Reset

func (x *State) Reset()

func (*State) String

func (x *State) String() string

type TestBotEntity added in v1.7.25

type TestBotEntity struct {

	// Required. The entity type.
	Type TestBotEntityType `protobuf:"varint,1,opt,name=type,proto3,enum=api.commons.workflows.TestBotEntityType" json:"type,omitempty"`
	// Optional. Whether the entity is "atomic." An atomic entity
	// is one that can only be used by one test at any given time.
	Atomic bool `protobuf:"varint,2,opt,name=atomic,proto3" json:"atomic,omitempty"`
	// Required. The entity value.
	//
	// Types that are assignable to Data:
	//
	//	*TestBotEntity_User
	//	*TestBotEntity_OmnichannelProject
	Data isTestBotEntity_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

TestBotEntity represents an entity that is required for the test.

func (*TestBotEntity) Descriptor deprecated added in v1.7.25

func (*TestBotEntity) Descriptor() ([]byte, []int)

Deprecated: Use TestBotEntity.ProtoReflect.Descriptor instead.

func (*TestBotEntity) GetAtomic added in v1.7.25

func (x *TestBotEntity) GetAtomic() bool

func (*TestBotEntity) GetData added in v1.7.25

func (m *TestBotEntity) GetData() isTestBotEntity_Data

func (*TestBotEntity) GetOmnichannelProject added in v1.7.25

func (x *TestBotEntity) GetOmnichannelProject() *v0alpha.Project

func (*TestBotEntity) GetType added in v1.7.25

func (x *TestBotEntity) GetType() TestBotEntityType

func (*TestBotEntity) GetUser added in v1.7.25

func (x *TestBotEntity) GetUser() *auth.AuthenticatedUser

func (*TestBotEntity) ProtoMessage added in v1.7.25

func (*TestBotEntity) ProtoMessage()

func (*TestBotEntity) ProtoReflect added in v1.7.25

func (x *TestBotEntity) ProtoReflect() protoreflect.Message

func (*TestBotEntity) Reset added in v1.7.25

func (x *TestBotEntity) Reset()

func (*TestBotEntity) String added in v1.7.25

func (x *TestBotEntity) String() string

type TestBotEntityType added in v1.7.25

type TestBotEntityType int32

TestBotEntityType represents the type of entity.

const (
	TestBotEntityType_TEST_BOT_ENTITY_TYPE_UNSPECIFIED TestBotEntityType = 0
	TestBotEntityType_TEST_BOT_ENTITY_TYPE_USER        TestBotEntityType = 100
	// OMNICHANNEL
	TestBotEntityType_TEST_BOT_ENTITY_TYPE_OMNICHANNEL_PROJECT TestBotEntityType = 300
)

func (TestBotEntityType) Descriptor added in v1.7.25

func (TestBotEntityType) Enum added in v1.7.25

func (TestBotEntityType) EnumDescriptor deprecated added in v1.7.25

func (TestBotEntityType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestBotEntityType.Descriptor instead.

func (TestBotEntityType) Number added in v1.7.25

func (TestBotEntityType) String added in v1.7.25

func (x TestBotEntityType) String() string

func (TestBotEntityType) Type added in v1.7.25

type TestBotEntity_OmnichannelProject added in v1.7.25

type TestBotEntity_OmnichannelProject struct {
	// OMNICHANNEL
	OmnichannelProject *v0alpha.Project `protobuf:"bytes,300,opt,name=omnichannel_project,json=omnichannelProject,proto3,oneof"`
}

type TestBotEntity_User added in v1.7.25

type TestBotEntity_User struct {
	User *auth.AuthenticatedUser `protobuf:"bytes,100,opt,name=user,proto3,oneof"`
}

type TestBotNodeTestEnd added in v1.7.25

type TestBotNodeTestEnd struct {

	// Optional. Error message if the test failed.
	Error string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

TestBotNodeTestEnd represents an test-bot end-of-test node.

func (*TestBotNodeTestEnd) Descriptor deprecated added in v1.7.25

func (*TestBotNodeTestEnd) Descriptor() ([]byte, []int)

Deprecated: Use TestBotNodeTestEnd.ProtoReflect.Descriptor instead.

func (*TestBotNodeTestEnd) GetError added in v1.7.25

func (x *TestBotNodeTestEnd) GetError() string

func (*TestBotNodeTestEnd) ProtoMessage added in v1.7.25

func (*TestBotNodeTestEnd) ProtoMessage()

func (*TestBotNodeTestEnd) ProtoReflect added in v1.7.25

func (x *TestBotNodeTestEnd) ProtoReflect() protoreflect.Message

func (*TestBotNodeTestEnd) Reset added in v1.7.25

func (x *TestBotNodeTestEnd) Reset()

func (*TestBotNodeTestEnd) String added in v1.7.25

func (x *TestBotNodeTestEnd) String() string

type TestBotNodeTestStart added in v1.7.25

type TestBotNodeTestStart struct {

	// Optional. The entities the test requires to run, where
	// the key is a unique name given to the entity for the
	// sole purpose of this flow.
	Entities map[string]*TestBotEntity `` /* 157-byte string literal not displayed */
	// contains filtered or unexported fields
}

TestBotNodeTestStart represents a start-of-test node.

func (*TestBotNodeTestStart) Descriptor deprecated added in v1.7.25

func (*TestBotNodeTestStart) Descriptor() ([]byte, []int)

Deprecated: Use TestBotNodeTestStart.ProtoReflect.Descriptor instead.

func (*TestBotNodeTestStart) GetEntities added in v1.7.25

func (x *TestBotNodeTestStart) GetEntities() map[string]*TestBotEntity

func (*TestBotNodeTestStart) ProtoMessage added in v1.7.25

func (*TestBotNodeTestStart) ProtoMessage()

func (*TestBotNodeTestStart) ProtoReflect added in v1.7.25

func (x *TestBotNodeTestStart) ProtoReflect() protoreflect.Message

func (*TestBotNodeTestStart) Reset added in v1.7.25

func (x *TestBotNodeTestStart) Reset()

func (*TestBotNodeTestStart) String added in v1.7.25

func (x *TestBotNodeTestStart) String() string

type TestBotNodeTestStep added in v1.7.25

type TestBotNodeTestStep struct {

	// Optional. Whether the test should error if the step fails.
	ShouldError bool `protobuf:"varint,1,opt,name=should_error,json=shouldError,proto3" json:"should_error,omitempty"`
	// Required. The type of test step.
	Type TestBotTestStepType `protobuf:"varint,2,opt,name=type,proto3,enum=api.commons.workflows.TestBotTestStepType" json:"type,omitempty"`
	// Optional. The names of the entities to use in the test step.
	// These names must correspond to the names provided in the
	// NodeTestStart message.
	EntityNames []string `protobuf:"bytes,3,rep,name=entity_names,json=entityNames,proto3" json:"entity_names,omitempty"`
	// contains filtered or unexported fields
}

TestBotNodeTestStep represents an test-bot test-step node.

func (*TestBotNodeTestStep) Descriptor deprecated added in v1.7.25

func (*TestBotNodeTestStep) Descriptor() ([]byte, []int)

Deprecated: Use TestBotNodeTestStep.ProtoReflect.Descriptor instead.

func (*TestBotNodeTestStep) GetEntityNames added in v1.7.25

func (x *TestBotNodeTestStep) GetEntityNames() []string

func (*TestBotNodeTestStep) GetShouldError added in v1.7.25

func (x *TestBotNodeTestStep) GetShouldError() bool

func (*TestBotNodeTestStep) GetType added in v1.7.25

func (*TestBotNodeTestStep) ProtoMessage added in v1.7.25

func (*TestBotNodeTestStep) ProtoMessage()

func (*TestBotNodeTestStep) ProtoReflect added in v1.7.25

func (x *TestBotNodeTestStep) ProtoReflect() protoreflect.Message

func (*TestBotNodeTestStep) Reset added in v1.7.25

func (x *TestBotNodeTestStep) Reset()

func (*TestBotNodeTestStep) String added in v1.7.25

func (x *TestBotNodeTestStep) String() string

type TestBotTestStepType added in v1.7.25

type TestBotTestStepType int32

TestBotTestStepType represents the type of test step.

const (
	TestBotTestStepType_TEST_BOT_TEST_STEP_TYPE_UNSPECIFIED TestBotTestStepType = 0
	// OMNICHANNEL
	TestBotTestStepType_TEST_BOT_TEST_STEP_TYPE_OMNICHANNEL_CREATE_PROJECT TestBotTestStepType = 1000
	TestBotTestStepType_TEST_BOT_TEST_STEP_TYPE_OMNICHANNEL_GET_PROJECT    TestBotTestStepType = 1001
)

func (TestBotTestStepType) Descriptor added in v1.7.25

func (TestBotTestStepType) Enum added in v1.7.25

func (TestBotTestStepType) EnumDescriptor deprecated added in v1.7.25

func (TestBotTestStepType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TestBotTestStepType.Descriptor instead.

func (TestBotTestStepType) Number added in v1.7.25

func (TestBotTestStepType) String added in v1.7.25

func (x TestBotTestStepType) String() string

func (TestBotTestStepType) Type added in v1.7.25

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL