Skip to main content

PhoneNumberBundleItem

@gravity-rail/sdk


@gravity-rail/sdk / PhoneNumberBundleItem

Interface: PhoneNumberBundleItem

The inbound routing of one Phone Number: its call and text routing rules.

phoneNumberUuid is the source workspace's Phone Number: the one every draft save and publish captures again. The installed routing is found by its installation and item key on the Phone Number the slot binds, never by this uuid. name is the source Phone Number's name, the label the installer sees and the name of a Phone Number installation creates.

outboundWorkflowKeys are the Workflow items of the same version whose source Workflow calls and texts from the source Phone Number, captured with the routing, never supplied by a client. Each installed Workflow's outbound Phone Number follows the one this item's slot binds, and opens no slot of its own.

Properties​

key​

key: string

Min Length​

1

Max Length​

100

Pattern​

^[a-z][a-z0-9_]*$


kind​

kind: "phone_number"


name​

name: string

Min Length​

1

Max Length​

100


operatorGroups?​

optional operatorGroups: ChannelOperatorGroup[]


outboundWorkflowKeys?​

optional outboundWorkflowKeys: string[]

Max Items​

100 @items.minLength 1 @items.maxLength 100 @items.pattern ^[a-z][a-z0-9_]*$


phoneNumberUuid​

phoneNumberUuid: string


routingRules?​

optional routingRules: ChannelRoutingRule[]