Creates a container, resolving to its id.
Reads a container's state by id.
Used in error logs, e.g. "Instagram".
Publishes a finished container, resolving to the post id.
{ publish, createChildren }.
Creates and awaits every carousel child in parallel, resolving to
their ids in input order — or null if any failed.
Parallel because each child is an independent create-then-poll and Meta
spends ~5s accepting a single container, so ten sequential children cost
~50s of mostly waiting — past what a serverless caller can fit in its
timeout. Promise.all preserves input order, which the carousel's slide
order depends on.
Creates a container, waits for it to finish processing, then publishes it.
Wires up the create → wait → publish flow Meta platforms share. Instagram and Threads differ only in their endpoints, so each builds one publisher and every post shape goes through it.