/** * Internal publishing module. The standalone `./publishing` published * subpath was removed in 0.4.2 to slim the SDK surface. * * The Sitecore AI Publishing API (XM Cloud publish jobs) plus the * library-layer safety primitives that gate every destructive call: * the `PublishConsent` argument, the typed scope-token flow, and the * append-only audit log. See `docs/parity-with-devex.md` for the * three-layer safety model. * * Library consumers that wrap publishing for an MCP host, CI pipeline, * or higher-level agent are expected to construct a `PublishConsent` * before calling the HTTP primitives — the CLI's `runPublishItem` task * shows the canonical assembly. */ export { submitPublishJob, getPublishJob, cancelPublishJob, listPublishJobs } from "./api/client.js"; export type { CreatePublishJobRequest, ListPublishJobsQuery, PublishItemModel, PublishItemsMode, PublishItemsOptions, PublishJob, PublishJobPermissions, PublishJobResponse, PublishJobState, PublishJobStatusWire, PublishJobSystem, PublishJobUserRef, PublishOptionsModel, PublishSiteMode, PublishSiteOptions, PublishingApiClientOptions, XmcPublishingOptions, } from "./api/types.js"; export { PUBLISHING_SCOPES_REQUESTED, acquirePublishingToken, type AcquirePublishingTokenOptions, } from "./api/auth.js"; export { SCOPE_TOKEN_TTL_MS, computeScopeHash, mintScopeToken, verifyScopeToken, type PublishConsent, type ScopeTokenVerification, type ScopeTokenVerificationFailure, } from "../shared/publish-consent.js"; export { recordPublishAudit, readRecentPublishAudit, type PublishAuditCaller, type PublishAuditEntry, type PublishAuditScope, } from "../shared/publish-audit.js"; export { isProductionTier } from "../shared/env-tier.js"; export { runPublishStatus, type RunPublishStatusOptions } from "./tasks/status.js"; export { runPublishItem, type RunPublishItemOptions } from "./tasks/item.js"; export { runPublishAll, type RunPublishAllOptions } from "./tasks/all.js"; export { runPublishCancel, type RunPublishCancelOptions } from "./tasks/cancel.js"; export { runPublishUnpublish, type RunPublishUnpublishOptions } from "./tasks/unpublish.js";