HandlersCampaignRequest
HandlersCampaignRequest =
object
Defined in: src/client/types.gen.ts:1660
Properties
body?
optionalbody:string
Defined in: src/client/types.gen.ts:1661
data?
optionaldata:number[]
Defined in: src/client/types.gen.ts:1662
event_type?
optionalevent_type:string
Defined in: src/client/types.gen.ts:1668
EventType is the dispatch event type (create-only; defaults to “announcement.campaign”). Must map to the announcements category — campaigns are marketing and may never ride a default-on category.
locales?
optionallocales:string[]
Defined in: src/client/types.gen.ts:1669
min_app_version?
optionalmin_app_version:string
Defined in: src/client/types.gen.ts:1673
MinAppVersion is a dotted numeric version (“1.4.2”).
platforms?
optionalplatforms:string[]
Defined in: src/client/types.gen.ts:1674
scheduled_at?
optionalscheduled_at:string
Defined in: src/client/types.gen.ts:1679
ScheduledAt (RFC 3339) is when the worker may start draining. Required when status is “scheduled”.
status?
optionalstatus:string
Defined in: src/client/types.gen.ts:1684
Status may be “draft” (default on create) or “scheduled”. Every other transition belongs to the worker or the cancel endpoint.
tiers?
optionaltiers:string[]
Defined in: src/client/types.gen.ts:1690
Segment dimensions, AND-combined; empty list = no filter. Tiers are subscription tiers (“basic”/“starter”/“pro”); platforms are “ios”/“android”; locales accept full BCP-47 tags or primary subtags.
title?
optionaltitle:string
Defined in: src/client/types.gen.ts:1691
url?
optionalurl:string
Defined in: src/client/types.gen.ts:1696
URL is the client deep link opened on tap. Must match the mobile client’s allowed shape: ”/(auth)/” prefix and no ”..”.