/** * Public entry for `@sitecoreai-labs/sitecoreai-cli/unstable/campaigns`. * * Sitecore **Orchestrate API** client. A "campaign" in the product UI * is an Orchestrate `project`; a project owns deliverables, a * deliverable owns tasks. Hosts are regional — * `ai-workflows-.sitecorecloud.io` — so callers normally pass * `baseUrl` from per-env config. * * **Status**: built from a HAR capture of the Content Operations UI on * 2026-05-15; full-object update PUTs verified 2026-06-10 against TestDemo * + the Sitecore AI Symphony frontend. Request/response shapes are * observed-accurate. Remaining unverified items, tracked in * `docs/campaigns-followups.md`: * - the OAuth scope (the HAR stripped Authorization headers) * - `deleteProject` / `deleteDeliverable` / `deleteTask` — DELETE was * never captured; wired optimistically per REST conventions. * Smoke-test with `scripts/_smoke-campaign-delete.ts` before relying * on them. */ export type { CampaignApiClientOptions, CampaignRequestInit, CampaignQueryValue, CampaignQueryRecord, } from "./api/types.js"; export { CAMPAIGN_API_HOST_TEMPLATE, DEFAULT_CAMPAIGN_API_BASE } from "./api/types.js"; export { campaignRequest } from "./api/request.js"; export type { PagedResult, Project, ProjectMember, ProjectAttachment, Deliverable, Task, CampaignUser, } from "./api/schema.js"; export { listProjects, getProject, createProject, updateProjectLabels, updateProject, deleteProject, addProjectMember, type ListProjectsQuery, type CreateProjectInput, type AddProjectMemberInput, } from "./api/projects.js"; export { createDeliverable, updateDeliverable, deleteDeliverable, type CreateDeliverableInput, } from "./api/deliverables.js"; export { attachProjectAttachment, deleteProjectAttachment, type AttachmentMetadata, } from "./api/attachments.js"; export { listTasks, getTask, createTask, updateTask, deleteTask, type CreateTaskInput, type UpdateTaskInput, } from "./api/tasks.js"; export { listUsers } from "./api/users.js"; export { acquireCampaignToken, type AcquireCampaignTokenOptions } from "./auth.js"; export { resolveCampaignClient, type ResolveCampaignClientOptions, type ResolvedCampaignClient, } from "./client.js"; export { campaignKind } from "./recipe/index.js"; export type { CampaignRecipe } from "./recipe/index.js";