Skip to main content

UpdateRoutingRuleRequest

@gravity-rail/sdk


@gravity-rail/sdk / UpdateRoutingRuleRequest

Interface: UpdateRoutingRuleRequest

Partially update one routing rule.

Every field is optional and exclude_unset drives the update: an omitted top-level field keeps its stored value. actionParams, when present, is a complete replacement object rather than a nested merge. Changing channel or a binding FK moves the rule to another precedence scope, which the service re-validates. Explicit null leaves non-nullable scalar fields unchanged and clears nullable fields such as callerMemberFilterId and templateUuid. The resulting configuration must still satisfy binding and custom-window requirements.

Properties​

actionParams?​

optional actionParams: UpdateRoutingRuleRequestActionParams


actionType?​

optional actionType: RoutingActionType | null


audience?​

optional audience: RoutingAudience | null


callerMemberFilterId?​

optional callerMemberFilterId: number | null


channel?​

optional channel: RoutingChannel | null


inboxId?​

optional inboxId: number | null


order?​

optional order: number | null


phoneNumberId?​

optional phoneNumberId: number | null


schedule?​

optional schedule: RoutingSchedule | null


templateUuid?​

optional templateUuid: string | null