PreviewRoutingRuleRequest
@gravity-rail/sdk / PreviewRoutingRuleRequest
Interface: PreviewRoutingRuleRequest
Dry-run one evaluation: which rule WOULD match, and why.
Read-only. The endpoint is required — a rule belongs to one endpoint, so
there is no rule list to evaluate without naming the one the interaction
would arrive on. The caller axis is stated explicitly — exactly one of
callerAnonymous or memberId — because a rule matches the anonymous
branch or the member branch and there is no third state to infer. A
memberId also lets the preview evaluate a rule's member filter against
a real member instead of reporting it unresolvable; that branch requires
members:read on top of read access to the endpoint (see the module
docstring).
Properties
at?
optionalat:string|null
callerAnonymous?
optionalcallerAnonymous:boolean
channel
channel:
RoutingChannel
inboxId?
optionalinboxId:number|null
memberId?
optionalmemberId:number|null
phoneNumberId?
optionalphoneNumberId:number|null