dineway 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (169) hide show
  1. package/dist/api/route-utils.d.mts +3 -3
  2. package/dist/api/route-utils.mjs +1 -1
  3. package/dist/api/schemas/index.d.mts +2 -2
  4. package/dist/api/schemas/index.mjs +3 -3
  5. package/dist/{api-BZ_oWfPM.mjs → api-C3-s1R27.mjs} +1 -1
  6. package/dist/astro/index.d.mts +2 -2
  7. package/dist/astro/index.mjs +2 -2
  8. package/dist/astro/middleware/auth.d.mts +2 -2
  9. package/dist/astro/middleware/auth.mjs +2 -2
  10. package/dist/astro/middleware/setup.mjs +1 -1
  11. package/dist/astro/middleware.mjs +10 -10
  12. package/dist/astro/routes/api/admin/allowed-domains/_domain_.mjs +2 -2
  13. package/dist/astro/routes/api/admin/allowed-domains/index.mjs +2 -2
  14. package/dist/astro/routes/api/admin/briefing.mjs +2 -2
  15. package/dist/astro/routes/api/admin/byline-fields/_slug_.mjs +2 -2
  16. package/dist/astro/routes/api/admin/byline-fields/index.mjs +2 -2
  17. package/dist/astro/routes/api/admin/byline-fields/reorder.mjs +2 -2
  18. package/dist/astro/routes/api/admin/bylines/_id_/index.mjs +2 -2
  19. package/dist/astro/routes/api/admin/bylines/_id_/translations.mjs +2 -2
  20. package/dist/astro/routes/api/admin/bylines/index.mjs +2 -2
  21. package/dist/astro/routes/api/admin/comments/_id_/status.mjs +2 -2
  22. package/dist/astro/routes/api/admin/comments/bulk.mjs +2 -2
  23. package/dist/astro/routes/api/admin/comments/index.mjs +2 -2
  24. package/dist/astro/routes/api/admin/context/_id_/history.mjs +3 -3
  25. package/dist/astro/routes/api/admin/context/_id_/index.mjs +3 -3
  26. package/dist/astro/routes/api/admin/context/_id_/review.mjs +5 -5
  27. package/dist/astro/routes/api/admin/context/_id_/supersede.mjs +5 -5
  28. package/dist/astro/routes/api/admin/context/diff.mjs +5 -5
  29. package/dist/astro/routes/api/admin/context/index.mjs +5 -5
  30. package/dist/astro/routes/api/admin/context/stale.mjs +5 -5
  31. package/dist/astro/routes/api/admin/hitl-requests/_id_/index.mjs +4 -4
  32. package/dist/astro/routes/api/admin/hitl-requests/_id_/resolve.mjs +6 -6
  33. package/dist/astro/routes/api/admin/hitl-requests/index.mjs +6 -6
  34. package/dist/astro/routes/api/admin/hooks/exclusive/_hookName_.mjs +3 -3
  35. package/dist/astro/routes/api/admin/plugins/_id_/disable.mjs +6 -6
  36. package/dist/astro/routes/api/admin/plugins/_id_/enable.mjs +6 -6
  37. package/dist/astro/routes/api/admin/plugins/_id_/index.mjs +3 -3
  38. package/dist/astro/routes/api/admin/plugins/_id_/uninstall.mjs +6 -6
  39. package/dist/astro/routes/api/admin/plugins/_id_/update.mjs +6 -6
  40. package/dist/astro/routes/api/admin/plugins/index.mjs +3 -3
  41. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/index.mjs +3 -3
  42. package/dist/astro/routes/api/admin/plugins/marketplace/_id_/install.mjs +6 -6
  43. package/dist/astro/routes/api/admin/plugins/marketplace/index.mjs +3 -3
  44. package/dist/astro/routes/api/admin/plugins/updates.mjs +3 -3
  45. package/dist/astro/routes/api/admin/review-requests/_id_/resolve.mjs +4 -4
  46. package/dist/astro/routes/api/admin/review-requests/index.mjs +4 -4
  47. package/dist/astro/routes/api/admin/themes/marketplace/_id_/index.mjs +3 -3
  48. package/dist/astro/routes/api/admin/themes/marketplace/index.mjs +3 -3
  49. package/dist/astro/routes/api/admin/users/_id_/index.mjs +2 -2
  50. package/dist/astro/routes/api/admin/users/index.mjs +2 -2
  51. package/dist/astro/routes/api/auth/invite/complete.mjs +4 -4
  52. package/dist/astro/routes/api/auth/invite/index.mjs +2 -2
  53. package/dist/astro/routes/api/auth/invite/register-options.mjs +3 -3
  54. package/dist/astro/routes/api/auth/magic-link/send.mjs +2 -2
  55. package/dist/astro/routes/api/auth/me.mjs +2 -2
  56. package/dist/astro/routes/api/auth/mode.mjs +1 -1
  57. package/dist/astro/routes/api/auth/passkey/_id_.mjs +2 -2
  58. package/dist/astro/routes/api/auth/passkey/options.mjs +3 -3
  59. package/dist/astro/routes/api/auth/passkey/register/options.mjs +3 -3
  60. package/dist/astro/routes/api/auth/passkey/register/verify.mjs +4 -4
  61. package/dist/astro/routes/api/auth/passkey/verify.mjs +4 -4
  62. package/dist/astro/routes/api/auth/signup/complete.mjs +4 -4
  63. package/dist/astro/routes/api/auth/signup/request.mjs +2 -2
  64. package/dist/astro/routes/api/comments/_collection_/_contentId_/index.mjs +2 -2
  65. package/dist/astro/routes/api/comments/_collection_/_contentId_/reactions.mjs +2 -2
  66. package/dist/astro/routes/api/content/_collection_/_id_/preview-url.mjs +2 -2
  67. package/dist/astro/routes/api/content/_collection_/_id_/publish.mjs +14 -7
  68. package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.d.mts +7 -0
  69. package/dist/astro/routes/api/content/_collection_/_id_/release-readiness.mjs +43 -0
  70. package/dist/astro/routes/api/content/_collection_/_id_/schedule.mjs +3 -3
  71. package/dist/astro/routes/api/content/_collection_/_id_/terms/_taxonomy_.mjs +2 -2
  72. package/dist/astro/routes/api/content/_collection_/_id_.mjs +2 -2
  73. package/dist/astro/routes/api/content/_collection_/index.mjs +2 -2
  74. package/dist/astro/routes/api/content/_collection_/trash.mjs +2 -2
  75. package/dist/astro/routes/api/health.mjs +1 -1
  76. package/dist/astro/routes/api/import/probe.mjs +2 -2
  77. package/dist/astro/routes/api/import/wordpress/execute.d.mts +2 -2
  78. package/dist/astro/routes/api/import/wordpress/execute.mjs +3 -3
  79. package/dist/astro/routes/api/import/wordpress/media.d.mts +2 -2
  80. package/dist/astro/routes/api/import/wordpress/media.mjs +2 -2
  81. package/dist/astro/routes/api/import/wordpress/prepare.mjs +5 -5
  82. package/dist/astro/routes/api/import/wordpress/rewrite-urls.d.mts +2 -2
  83. package/dist/astro/routes/api/import/wordpress/rewrite-urls.mjs +5 -5
  84. package/dist/astro/routes/api/import/wordpress-plugin/analyze.mjs +2 -2
  85. package/dist/astro/routes/api/import/wordpress-plugin/execute.d.mts +2 -2
  86. package/dist/astro/routes/api/import/wordpress-plugin/execute.mjs +5 -5
  87. package/dist/astro/routes/api/manifest.mjs +2 -2
  88. package/dist/astro/routes/api/mcp.mjs +46 -8
  89. package/dist/astro/routes/api/media/_id_/confirm.mjs +2 -2
  90. package/dist/astro/routes/api/media/_id_.mjs +2 -2
  91. package/dist/astro/routes/api/media/upload-url.mjs +2 -2
  92. package/dist/astro/routes/api/media.mjs +2 -2
  93. package/dist/astro/routes/api/menus/_name_/items/_id_.mjs +5 -5
  94. package/dist/astro/routes/api/menus/_name_/items.mjs +5 -5
  95. package/dist/astro/routes/api/menus/_name_/reorder.mjs +5 -5
  96. package/dist/astro/routes/api/menus/_name_/translations.mjs +5 -5
  97. package/dist/astro/routes/api/menus/_name_.mjs +5 -5
  98. package/dist/astro/routes/api/menus/index.mjs +5 -5
  99. package/dist/astro/routes/api/openapi.json.mjs +24 -3
  100. package/dist/astro/routes/api/redirects/404s/index.mjs +2 -2
  101. package/dist/astro/routes/api/redirects/404s/summary.mjs +2 -2
  102. package/dist/astro/routes/api/redirects/_id_.mjs +5 -5
  103. package/dist/astro/routes/api/redirects/index.mjs +5 -5
  104. package/dist/astro/routes/api/schema/collections/_slug_/fields/_fieldSlug_.mjs +3 -3
  105. package/dist/astro/routes/api/schema/collections/_slug_/fields/index.mjs +3 -3
  106. package/dist/astro/routes/api/schema/collections/_slug_/fields/reorder.mjs +3 -3
  107. package/dist/astro/routes/api/schema/collections/_slug_/index.mjs +3 -3
  108. package/dist/astro/routes/api/schema/collections/index.mjs +3 -3
  109. package/dist/astro/routes/api/schema/orphans/_slug_.mjs +3 -3
  110. package/dist/astro/routes/api/schema/orphans/index.mjs +3 -3
  111. package/dist/astro/routes/api/search/enable.mjs +2 -2
  112. package/dist/astro/routes/api/search/index.mjs +2 -2
  113. package/dist/astro/routes/api/search/rebuild.mjs +2 -2
  114. package/dist/astro/routes/api/search/suggest.mjs +2 -2
  115. package/dist/astro/routes/api/sections/_slug_.mjs +5 -5
  116. package/dist/astro/routes/api/sections/index.mjs +5 -5
  117. package/dist/astro/routes/api/settings.mjs +5 -5
  118. package/dist/astro/routes/api/setup/admin-verify.mjs +5 -5
  119. package/dist/astro/routes/api/setup/admin.mjs +3 -3
  120. package/dist/astro/routes/api/setup/index.mjs +3 -3
  121. package/dist/astro/routes/api/setup/status.mjs +1 -1
  122. package/dist/astro/routes/api/snapshot.mjs +1 -1
  123. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_/translations.mjs +5 -5
  124. package/dist/astro/routes/api/taxonomies/_name_/terms/_slug_.mjs +5 -5
  125. package/dist/astro/routes/api/taxonomies/_name_/terms/index.mjs +5 -5
  126. package/dist/astro/routes/api/taxonomies/index.mjs +5 -5
  127. package/dist/astro/routes/api/well-known/auth.mjs +2 -2
  128. package/dist/astro/routes/api/widget-areas/_name_/reorder.mjs +5 -5
  129. package/dist/astro/routes/api/widget-areas/_name_/widgets/_id_.mjs +5 -5
  130. package/dist/astro/routes/api/widget-areas/_name_/widgets.mjs +5 -5
  131. package/dist/astro/routes/api/widget-areas/_name_.mjs +3 -3
  132. package/dist/astro/routes/api/widget-areas/index.mjs +5 -5
  133. package/dist/astro/types.d.mts +3 -3
  134. package/dist/{byline-fields-yT4herdN.mjs → byline-fields-Co_MIUWm.mjs} +1 -1
  135. package/dist/{byline-fields-CXBvHvRM.d.mts → byline-fields-bnvqaEuF.d.mts} +210 -29
  136. package/dist/cli/index.mjs +54 -6
  137. package/dist/cli/plugin-kit.d.mts +8 -0
  138. package/dist/client/external-auth-headers.d.mts +1 -1
  139. package/dist/client/index.d.mts +22 -4
  140. package/dist/client/index.mjs +14 -2
  141. package/dist/{context-AJNd0tcG.mjs → context-m06dNjS1.mjs} +1 -1
  142. package/dist/{hitl-requests-Bee8Cjj8.mjs → hitl-requests-D8pHHlSA.mjs} +1 -1
  143. package/dist/{hitl-route-helpers-DtHaKGgm.mjs → hitl-route-helpers-BIzP0Opq.mjs} +1 -1
  144. package/dist/index.d.mts +3 -3
  145. package/dist/index.mjs +6 -6
  146. package/dist/{jsonld-BFdufCos.d.mts → jsonld-CG-hNWNO.d.mts} +1 -1
  147. package/dist/{mcp-reviewed-executor-DnlF7mIL.mjs → mcp-reviewed-executor-DM53lZ9z.mjs} +2 -2
  148. package/dist/media/local-runtime.d.mts +2 -2
  149. package/dist/page/index.d.mts +3 -3
  150. package/dist/plugin-utils.d.mts +2 -2
  151. package/dist/plugins/adapt-sandbox-entry.d.mts +2 -2
  152. package/dist/{public-url-BVBNJJkd.d.mts → public-url-Cqi7Ds4u.d.mts} +1 -1
  153. package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-BYieJR6-.mjs} +145 -3
  154. package/dist/{redirects-E_B6hvuz.mjs → redirects-CALMB6T5.mjs} +70 -1
  155. package/dist/runtime.d.mts +3 -3
  156. package/dist/{site-context-CzaEGizi.mjs → site-context-Bz8hdcZH.mjs} +1 -1
  157. package/dist/{types-CQnfHvPQ.d.mts → types-C-3YPdr-.d.mts} +166 -108
  158. package/dist/ui/server-runtime.d.mts +5 -5
  159. package/dist/version-D9xoSUza.mjs +6 -0
  160. package/package.json +3 -3
  161. package/dist/version-EHBE9US2.mjs +0 -6
  162. /package/dist/{allowed-origins-oVgzR3X5.mjs → allowed-origins-VLgv2PL1.mjs} +0 -0
  163. /package/dist/{challenge-store-DtdQHXf5.mjs → challenge-store-BMkL2kmt.mjs} +0 -0
  164. /package/dist/{mode-DqpBaEOy.mjs → mode-DPC7segX.mjs} +0 -0
  165. /package/dist/{portable-text-Ehqj3I_y.d.mts → portable-text-BYUu-wtj.d.mts} +0 -0
  166. /package/dist/{provider-loader-BIbIiz0P.d.mts → provider-loader-Db-pJFu3.d.mts} +0 -0
  167. /package/dist/{session-user-CYjNeJoD.mjs → session-user-BwliEFp0.mjs} +0 -0
  168. /package/dist/{setup-complete-DcAQzVsB.mjs → setup-complete-PvF8I7Oh.mjs} +0 -0
  169. /package/dist/{transport-BZ3aqdu7.d.mts → transport-CXkC1F2Z.d.mts} +0 -0
@@ -8,8 +8,8 @@ import "../../../../media-B4m-cnmj.mjs";
8
8
  import "../../../../options-DQPTH5n0.mjs";
9
9
  import "../../../../site-activity-BVK40wCy.mjs";
10
10
  import "../../../../review-requests-CObSuTYU.mjs";
11
- import "../../../../publication-authorization-BVQ5rCAF.mjs";
12
- import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../site-context-CzaEGizi.mjs";
11
+ import "../../../../publication-authorization-BYieJR6-.mjs";
12
+ import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../site-context-Bz8hdcZH.mjs";
13
13
  import "../../../../request-cache-CBFjCwSt.mjs";
14
14
  import "../../../../briefing-GFhLTLJo.mjs";
15
15
  import "../../../../context-types-eBuMDAg-.mjs";
@@ -28,7 +28,7 @@ import "../../../../utils-B7gemXz5.mjs";
28
28
  import "../../../../search-BXEQepxL.mjs";
29
29
  import { i as rowToWidget } from "../../../../widgets-DyGcotPM.mjs";
30
30
  import { n as requirePerm } from "../../../../authorize-D6MkRtPw.mjs";
31
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-DtHaKGgm.mjs";
31
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-BIzP0Opq.mjs";
32
32
  import { z } from "zod";
33
33
 
34
34
  //#region src/astro/routes/api/widget-areas/[name].ts
@@ -8,8 +8,8 @@ import "../../../../media-B4m-cnmj.mjs";
8
8
  import "../../../../options-DQPTH5n0.mjs";
9
9
  import "../../../../site-activity-BVK40wCy.mjs";
10
10
  import "../../../../review-requests-CObSuTYU.mjs";
11
- import "../../../../publication-authorization-BVQ5rCAF.mjs";
12
- import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../site-context-CzaEGizi.mjs";
11
+ import "../../../../publication-authorization-BYieJR6-.mjs";
12
+ import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../site-context-Bz8hdcZH.mjs";
13
13
  import "../../../../request-cache-CBFjCwSt.mjs";
14
14
  import "../../../../briefing-GFhLTLJo.mjs";
15
15
  import "../../../../context-types-eBuMDAg-.mjs";
@@ -22,8 +22,8 @@ import "../../../../zod-generator-Cr3SiHsc.mjs";
22
22
  import "../../../../schema-Dk_N31V4.mjs";
23
23
  import { n as apiSuccess, r as handleError, t as apiError } from "../../../../error-BW9f_ynq.mjs";
24
24
  import { n as parseBody, t as isParseError } from "../../../../parse-B-Y84oJl.mjs";
25
- import { p as createWidgetAreaBody } from "../../../../redirects-E_B6hvuz.mjs";
26
- import "../../../../byline-fields-yT4herdN.mjs";
25
+ import { p as createWidgetAreaBody } from "../../../../redirects-CALMB6T5.mjs";
26
+ import "../../../../byline-fields-Co_MIUWm.mjs";
27
27
  import "../../../../status-BN40hMpr.mjs";
28
28
  import "../../../../api/schemas/index.mjs";
29
29
  import "../../../../activity-BDMlkpYY.mjs";
@@ -32,7 +32,7 @@ import "../../../../utils-B7gemXz5.mjs";
32
32
  import "../../../../search-BXEQepxL.mjs";
33
33
  import { i as rowToWidget } from "../../../../widgets-DyGcotPM.mjs";
34
34
  import { n as requirePerm } from "../../../../authorize-D6MkRtPw.mjs";
35
- import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-DtHaKGgm.mjs";
35
+ import { i as resolveHitlRouteActor, n as hitlRequiredRouteError, t as ensureWorkflowHitlRouteRequest } from "../../../../hitl-route-helpers-BIzP0Opq.mjs";
36
36
  import { ulid } from "ulidx";
37
37
  import { z } from "zod";
38
38
 
@@ -1,5 +1,5 @@
1
1
  import { i as ContentItem } from "../types-GtwhHAg8.mjs";
2
- import { Aa as MediaResponse, As as ContentResponse, D as PageMetadataContribution, Ga as HookPipeline, Ha as SandboxedPluginEntry, M as PluginActor, Wa as EmailPipeline, Za as SandboxRunner, at as PluginRouteApiTokenPolicy, es as MediaItem, gt as PublicPageContext, jt as PublicationAuthorizationService, ka as MediaListResponse, ks as ContentListResponse, ot as PluginRouteAuthorization, ro as DinewayConfig, to as PluginMcpRegistry, v as HttpAccess, vt as ResolvedPlugin, w as PageFragmentContribution, ys as Element } from "../types-CQnfHvPQ.mjs";
2
+ import { Cs as Element, D as PageMetadataContribution, Ja as EmailPipeline, Ka as SandboxedPluginEntry, M as PluginActor, Na as MediaListResponse, Ns as ContentListResponse, Pa as MediaResponse, Ps as ContentResponse, Ya as HookPipeline, ao as PluginMcpRegistry, at as PluginRouteApiTokenPolicy, ds as MediaItem, gt as PublicPageContext, jt as PublicationAuthorizationService, ot as PluginRouteAuthorization, so as DinewayConfig, to as SandboxRunner, v as HttpAccess, vt as ResolvedPlugin, w as PageFragmentContribution } from "../types-C-3YPdr-.mjs";
3
3
  import { t as Database } from "../types-BFeoAIHl.mjs";
4
4
  import { f as MediaProvider, p as MediaProviderCapabilities } from "../placeholder-C6ZjZcmJ.mjs";
5
5
  import "../runner-Bcy5w0vj.mjs";
@@ -7,7 +7,7 @@ import "../index-DybFmYtZ.mjs";
7
7
  import "../types-S9VIopdY.mjs";
8
8
  import { d as Storage } from "../types-YxFz4lDr.mjs";
9
9
  import "../validate-YiX3rly5.mjs";
10
- import "../byline-fields-CXBvHvRM.mjs";
10
+ import "../byline-fields-bnvqaEuF.mjs";
11
11
  import "../types-BsTXSvKG.mjs";
12
12
  import "../index.mjs";
13
13
  import { Kysely } from "kysely";
@@ -253,7 +253,7 @@ interface DinewayHandlers {
253
253
  }) => Promise<HandlerResponse>;
254
254
  handleContentUnpublish: (collection: string, id: string) => Promise<HandlerResponse>;
255
255
  handleContentSchedule: (collection: string, id: string, scheduledAt: string) => Promise<HandlerResponse>;
256
- createPublicationAuthorizationService: () => Pick<PublicationAuthorizationService, "publishAuthorizedContent" | "publishAuthorizedDueContent" | "scheduleAuthorizedContent" | "unscheduleAuthorizedContent">;
256
+ createPublicationAuthorizationService: () => Pick<PublicationAuthorizationService, "checkPublicationReadiness" | "publishAuthorizedContent" | "publishAuthorizedDueContent" | "scheduleAuthorizedContent" | "unscheduleAuthorizedContent">;
257
257
  handleContentUnschedule: (collection: string, id: string) => Promise<HandlerResponse>;
258
258
  handleContentCountScheduled: (collection: string) => Promise<HandlerResponse>;
259
259
  handleContentDiscardDraft: (collection: string, id: string) => Promise<HandlerResponse>;
@@ -1,6 +1,6 @@
1
1
  import { i as RESERVED_BYLINE_FIELD_SLUGS } from "./types-B7TDDFMG.mjs";
2
2
  import { n as isSiteContextType, t as SITE_CONTEXT_TYPES } from "./context-types-eBuMDAg-.mjs";
3
- import { Nn as roleLevel, kn as httpUrl } from "./redirects-E_B6hvuz.mjs";
3
+ import { Ln as roleLevel, Nn as httpUrl } from "./redirects-CALMB6T5.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/api/schemas/context.ts
@@ -128,6 +128,83 @@ declare const contentPublishBody: z.ZodObject<{
128
128
  reviewRequestId: z.ZodString;
129
129
  releaseAuthorizationId: z.ZodOptional<z.ZodString>;
130
130
  }, z.core.$strip>;
131
+ declare const contentPublicationReceiptSchema: z.ZodObject<{
132
+ id: z.ZodString;
133
+ status: z.ZodEnum<{
134
+ published: "published";
135
+ scheduled: "scheduled";
136
+ }>;
137
+ collection: z.ZodString;
138
+ contentId: z.ZodString;
139
+ liveRevisionId: z.ZodNullable<z.ZodString>;
140
+ draftRevisionId: z.ZodNullable<z.ZodString>;
141
+ editorialReviewRequestId: z.ZodString;
142
+ releaseHitlRequestId: z.ZodNullable<z.ZodString>;
143
+ actionHash: z.ZodString;
144
+ policyContributions: z.ZodArray<z.ZodObject<{
145
+ providerId: z.ZodString;
146
+ policyVersion: z.ZodString;
147
+ fingerprint: z.ZodString;
148
+ reservationId: z.ZodNullable<z.ZodString>;
149
+ }, z.core.$strip>>;
150
+ authorizedByActorType: z.ZodEnum<{
151
+ user: "user";
152
+ api_token: "api_token";
153
+ system: "system";
154
+ }>;
155
+ authorizedByActorId: z.ZodString;
156
+ createdAt: z.ZodString;
157
+ consumedAt: z.ZodNullable<z.ZodString>;
158
+ publishedAt: z.ZodNullable<z.ZodString>;
159
+ scheduledAt: z.ZodNullable<z.ZodString>;
160
+ }, z.core.$strip>;
161
+ declare const contentReleaseReadinessQuery: z.ZodObject<{
162
+ operation: z.ZodOptional<z.ZodEnum<{
163
+ publish: "publish";
164
+ schedule: "schedule";
165
+ }>>;
166
+ reviewRequestId: z.ZodOptional<z.ZodString>;
167
+ releaseAuthorizationId: z.ZodOptional<z.ZodString>;
168
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
169
+ scheduledAt: z.ZodOptional<z.ZodISODateTime>;
170
+ locale: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
171
+ }, z.core.$strip>;
172
+ declare const contentReleaseReadinessResponseSchema: z.ZodObject<{
173
+ ready: z.ZodBoolean;
174
+ generatedAt: z.ZodString;
175
+ nextAction: z.ZodEnum<{
176
+ publish: "publish";
177
+ schedule: "schedule";
178
+ fix_release_blockers: "fix_release_blockers";
179
+ }>;
180
+ target: z.ZodNullable<z.ZodObject<{
181
+ collection: z.ZodString;
182
+ entryId: z.ZodString;
183
+ scope: z.ZodString;
184
+ operation: z.ZodEnum<{
185
+ publish: "publish";
186
+ schedule: "schedule";
187
+ }>;
188
+ liveRevisionId: z.ZodNullable<z.ZodString>;
189
+ draftRevisionId: z.ZodNullable<z.ZodString>;
190
+ reviewedRev: z.ZodString;
191
+ publishedAt: z.ZodNullable<z.ZodString>;
192
+ scheduledAt: z.ZodNullable<z.ZodString>;
193
+ siteTimezone: z.ZodString;
194
+ }, z.core.$strip>>;
195
+ blockers: z.ZodArray<z.ZodObject<{
196
+ code: z.ZodString;
197
+ source: z.ZodEnum<{
198
+ content: "content";
199
+ editorial_review: "editorial_review";
200
+ release_hitl: "release_hitl";
201
+ authorization: "authorization";
202
+ policy: "policy";
203
+ }>;
204
+ message: z.ZodString;
205
+ policyId: z.ZodOptional<z.ZodString>;
206
+ }, z.core.$strip>>;
207
+ }, z.core.$strip>;
131
208
  declare const contentPreviewUrlBody: z.ZodObject<{
132
209
  expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
133
210
  pathPattern: z.ZodOptional<z.ZodString>;
@@ -294,6 +371,110 @@ declare const contentResponseSchema: z.ZodObject<{
294
371
  }, z.core.$strip>;
295
372
  _rev: z.ZodOptional<z.ZodString>;
296
373
  }, z.core.$strip>;
374
+ declare const contentPublishResponseSchema: z.ZodObject<{
375
+ item: z.ZodObject<{
376
+ id: z.ZodString;
377
+ type: z.ZodString;
378
+ slug: z.ZodNullable<z.ZodString>;
379
+ status: z.ZodString;
380
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
381
+ authorId: z.ZodNullable<z.ZodString>;
382
+ primaryBylineId: z.ZodNullable<z.ZodString>;
383
+ byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
384
+ id: z.ZodString;
385
+ slug: z.ZodString;
386
+ displayName: z.ZodString;
387
+ bio: z.ZodNullable<z.ZodString>;
388
+ avatarMediaId: z.ZodNullable<z.ZodString>;
389
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
390
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
391
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
392
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
393
+ websiteUrl: z.ZodNullable<z.ZodString>;
394
+ userId: z.ZodNullable<z.ZodString>;
395
+ isGuest: z.ZodBoolean;
396
+ createdAt: z.ZodString;
397
+ updatedAt: z.ZodString;
398
+ locale: z.ZodString;
399
+ translationGroup: z.ZodNullable<z.ZodString>;
400
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
401
+ }, z.core.$strip>>>;
402
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
403
+ byline: z.ZodObject<{
404
+ id: z.ZodString;
405
+ slug: z.ZodString;
406
+ displayName: z.ZodString;
407
+ bio: z.ZodNullable<z.ZodString>;
408
+ avatarMediaId: z.ZodNullable<z.ZodString>;
409
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
410
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
411
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
412
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
413
+ websiteUrl: z.ZodNullable<z.ZodString>;
414
+ userId: z.ZodNullable<z.ZodString>;
415
+ isGuest: z.ZodBoolean;
416
+ createdAt: z.ZodString;
417
+ updatedAt: z.ZodString;
418
+ locale: z.ZodString;
419
+ translationGroup: z.ZodNullable<z.ZodString>;
420
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
421
+ }, z.core.$strip>;
422
+ sortOrder: z.ZodNumber;
423
+ roleLabel: z.ZodNullable<z.ZodString>;
424
+ source: z.ZodOptional<z.ZodEnum<{
425
+ explicit: "explicit";
426
+ inferred: "inferred";
427
+ }>>;
428
+ }, z.core.$strip>>>;
429
+ createdAt: z.ZodString;
430
+ updatedAt: z.ZodString;
431
+ publishedAt: z.ZodNullable<z.ZodString>;
432
+ scheduledAt: z.ZodNullable<z.ZodString>;
433
+ liveRevisionId: z.ZodNullable<z.ZodString>;
434
+ draftRevisionId: z.ZodNullable<z.ZodString>;
435
+ version: z.ZodNumber;
436
+ locale: z.ZodNullable<z.ZodString>;
437
+ translationGroup: z.ZodNullable<z.ZodString>;
438
+ seo: z.ZodOptional<z.ZodObject<{
439
+ title: z.ZodNullable<z.ZodString>;
440
+ description: z.ZodNullable<z.ZodString>;
441
+ image: z.ZodNullable<z.ZodString>;
442
+ canonical: z.ZodNullable<z.ZodString>;
443
+ noIndex: z.ZodBoolean;
444
+ }, z.core.$strip>>;
445
+ }, z.core.$strip>;
446
+ _rev: z.ZodOptional<z.ZodString>;
447
+ publicationReceipt: z.ZodObject<{
448
+ id: z.ZodString;
449
+ status: z.ZodEnum<{
450
+ published: "published";
451
+ scheduled: "scheduled";
452
+ }>;
453
+ collection: z.ZodString;
454
+ contentId: z.ZodString;
455
+ liveRevisionId: z.ZodNullable<z.ZodString>;
456
+ draftRevisionId: z.ZodNullable<z.ZodString>;
457
+ editorialReviewRequestId: z.ZodString;
458
+ releaseHitlRequestId: z.ZodNullable<z.ZodString>;
459
+ actionHash: z.ZodString;
460
+ policyContributions: z.ZodArray<z.ZodObject<{
461
+ providerId: z.ZodString;
462
+ policyVersion: z.ZodString;
463
+ fingerprint: z.ZodString;
464
+ reservationId: z.ZodNullable<z.ZodString>;
465
+ }, z.core.$strip>>;
466
+ authorizedByActorType: z.ZodEnum<{
467
+ user: "user";
468
+ api_token: "api_token";
469
+ system: "system";
470
+ }>;
471
+ authorizedByActorId: z.ZodString;
472
+ createdAt: z.ZodString;
473
+ consumedAt: z.ZodNullable<z.ZodString>;
474
+ publishedAt: z.ZodNullable<z.ZodString>;
475
+ scheduledAt: z.ZodNullable<z.ZodString>;
476
+ }, z.core.$strip>;
477
+ }, z.core.$strip>;
297
478
  /** Response for content list endpoints */
298
479
  declare const contentListResponseSchema: z.ZodObject<{
299
480
  items: z.ZodArray<z.ZodObject<{
@@ -628,17 +809,17 @@ declare const createFieldBody: z.ZodObject<{
628
809
  string: "string";
629
810
  number: "number";
630
811
  boolean: "boolean";
631
- file: "file";
632
812
  json: "json";
633
813
  url: "url";
814
+ file: "file";
634
815
  slug: "slug";
635
- image: "image";
636
- datetime: "datetime";
637
816
  text: "text";
638
817
  integer: "integer";
818
+ datetime: "datetime";
639
819
  select: "select";
640
820
  multiSelect: "multiSelect";
641
821
  portableText: "portableText";
822
+ image: "image";
642
823
  reference: "reference";
643
824
  repeater: "repeater";
644
825
  }>;
@@ -660,11 +841,11 @@ declare const createFieldBody: z.ZodObject<{
660
841
  number: "number";
661
842
  boolean: "boolean";
662
843
  url: "url";
663
- image: "image";
664
- datetime: "datetime";
665
844
  text: "text";
666
845
  integer: "integer";
846
+ datetime: "datetime";
667
847
  select: "select";
848
+ image: "image";
668
849
  }>;
669
850
  label: z.ZodString;
670
851
  required: z.ZodOptional<z.ZodBoolean>;
@@ -686,17 +867,17 @@ declare const updateFieldBody: z.ZodObject<{
686
867
  string: "string";
687
868
  number: "number";
688
869
  boolean: "boolean";
689
- file: "file";
690
870
  json: "json";
691
871
  url: "url";
872
+ file: "file";
692
873
  slug: "slug";
693
- image: "image";
694
- datetime: "datetime";
695
874
  text: "text";
696
875
  integer: "integer";
876
+ datetime: "datetime";
697
877
  select: "select";
698
878
  multiSelect: "multiSelect";
699
879
  portableText: "portableText";
880
+ image: "image";
700
881
  reference: "reference";
701
882
  repeater: "repeater";
702
883
  }>>;
@@ -718,11 +899,11 @@ declare const updateFieldBody: z.ZodObject<{
718
899
  number: "number";
719
900
  boolean: "boolean";
720
901
  url: "url";
721
- image: "image";
722
- datetime: "datetime";
723
902
  text: "text";
724
903
  integer: "integer";
904
+ datetime: "datetime";
725
905
  select: "select";
906
+ image: "image";
726
907
  }>;
727
908
  label: z.ZodString;
728
909
  required: z.ZodOptional<z.ZodBoolean>;
@@ -775,17 +956,17 @@ declare const fieldSchema: z.ZodObject<{
775
956
  string: "string";
776
957
  number: "number";
777
958
  boolean: "boolean";
778
- file: "file";
779
959
  json: "json";
780
960
  url: "url";
961
+ file: "file";
781
962
  slug: "slug";
782
- image: "image";
783
- datetime: "datetime";
784
963
  text: "text";
785
964
  integer: "integer";
965
+ datetime: "datetime";
786
966
  select: "select";
787
967
  multiSelect: "multiSelect";
788
968
  portableText: "portableText";
969
+ image: "image";
789
970
  reference: "reference";
790
971
  repeater: "repeater";
791
972
  }>;
@@ -840,17 +1021,17 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
840
1021
  string: "string";
841
1022
  number: "number";
842
1023
  boolean: "boolean";
843
- file: "file";
844
1024
  json: "json";
845
1025
  url: "url";
1026
+ file: "file";
846
1027
  slug: "slug";
847
- image: "image";
848
- datetime: "datetime";
849
1028
  text: "text";
850
1029
  integer: "integer";
1030
+ datetime: "datetime";
851
1031
  select: "select";
852
1032
  multiSelect: "multiSelect";
853
1033
  portableText: "portableText";
1034
+ image: "image";
854
1035
  reference: "reference";
855
1036
  repeater: "repeater";
856
1037
  }>;
@@ -894,17 +1075,17 @@ declare const fieldResponseSchema: z.ZodObject<{
894
1075
  string: "string";
895
1076
  number: "number";
896
1077
  boolean: "boolean";
897
- file: "file";
898
1078
  json: "json";
899
1079
  url: "url";
1080
+ file: "file";
900
1081
  slug: "slug";
901
- image: "image";
902
- datetime: "datetime";
903
1082
  text: "text";
904
1083
  integer: "integer";
1084
+ datetime: "datetime";
905
1085
  select: "select";
906
1086
  multiSelect: "multiSelect";
907
1087
  portableText: "portableText";
1088
+ image: "image";
908
1089
  reference: "reference";
909
1090
  repeater: "repeater";
910
1091
  }>;
@@ -931,17 +1112,17 @@ declare const fieldListResponseSchema: z.ZodObject<{
931
1112
  string: "string";
932
1113
  number: "number";
933
1114
  boolean: "boolean";
934
- file: "file";
935
1115
  json: "json";
936
1116
  url: "url";
1117
+ file: "file";
937
1118
  slug: "slug";
938
- image: "image";
939
- datetime: "datetime";
940
1119
  text: "text";
941
1120
  integer: "integer";
1121
+ datetime: "datetime";
942
1122
  select: "select";
943
1123
  multiSelect: "multiSelect";
944
1124
  portableText: "portableText";
1125
+ image: "image";
945
1126
  reference: "reference";
946
1127
  repeater: "repeater";
947
1128
  }>;
@@ -1120,13 +1301,13 @@ declare const contextEntryListQuery: z.ZodObject<{
1120
1301
  declare const contextEntryStaleQuery: z.ZodObject<{
1121
1302
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1122
1303
  cursor: z.ZodOptional<z.ZodString>;
1304
+ scope: z.ZodOptional<z.ZodString>;
1305
+ contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1123
1306
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1124
1307
  true: "true";
1125
1308
  false: "false";
1126
1309
  }>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
1127
- contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1128
1310
  tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1129
- scope: z.ZodOptional<z.ZodString>;
1130
1311
  createdByActorType: z.ZodOptional<z.ZodEnum<{
1131
1312
  user: "user";
1132
1313
  api_token: "api_token";
@@ -1147,6 +1328,7 @@ declare const contextEntryDiffQuery: z.ZodObject<{
1147
1328
  declare const contextEntryCreateBody: z.ZodObject<{
1148
1329
  scope: z.ZodString;
1149
1330
  contextType: z.ZodEnum<{
1331
+ decision: "decision";
1150
1332
  brand_voice: "brand_voice";
1151
1333
  seo_strategy: "seo_strategy";
1152
1334
  audience: "audience";
@@ -1156,7 +1338,6 @@ declare const contextEntryCreateBody: z.ZodObject<{
1156
1338
  migration_note: "migration_note";
1157
1339
  plugin_note: "plugin_note";
1158
1340
  agent_reasoning: "agent_reasoning";
1159
- decision: "decision";
1160
1341
  risk: "risk";
1161
1342
  content_gap: "content_gap";
1162
1343
  style_exception: "style_exception";
@@ -1171,6 +1352,7 @@ declare const contextEntryCreateBody: z.ZodObject<{
1171
1352
  declare const contextEntrySupersedeBody: z.ZodObject<{
1172
1353
  scope: z.ZodOptional<z.ZodString>;
1173
1354
  contextType: z.ZodOptional<z.ZodEnum<{
1355
+ decision: "decision";
1174
1356
  brand_voice: "brand_voice";
1175
1357
  seo_strategy: "seo_strategy";
1176
1358
  audience: "audience";
@@ -1180,7 +1362,6 @@ declare const contextEntrySupersedeBody: z.ZodObject<{
1180
1362
  migration_note: "migration_note";
1181
1363
  plugin_note: "plugin_note";
1182
1364
  agent_reasoning: "agent_reasoning";
1183
- decision: "decision";
1184
1365
  risk: "risk";
1185
1366
  content_gap: "content_gap";
1186
1367
  style_exception: "style_exception";
@@ -1388,9 +1569,9 @@ declare const authMeActionBody: z.ZodObject<{
1388
1569
  * from `referenceCollection` + `referenceId` (a translation_group id).
1389
1570
  */
1390
1571
  declare const menuItemTypeEnum: z.ZodEnum<{
1391
- custom: "custom";
1392
1572
  collection: "collection";
1393
1573
  taxonomy: "taxonomy";
1574
+ custom: "custom";
1394
1575
  page: "page";
1395
1576
  post: "post";
1396
1577
  }>;
@@ -1405,9 +1586,9 @@ declare const updateMenuBody: z.ZodObject<{
1405
1586
  }, z.core.$strict>;
1406
1587
  declare const createMenuItemBody: z.ZodObject<{
1407
1588
  type: z.ZodEnum<{
1408
- custom: "custom";
1409
1589
  collection: "collection";
1410
1590
  taxonomy: "taxonomy";
1591
+ custom: "custom";
1411
1592
  page: "page";
1412
1593
  post: "post";
1413
1594
  }>;
@@ -2299,4 +2480,4 @@ declare const bylineFieldUsageResponseSchema: z.ZodObject<{
2299
2480
  totalAffectedRows: z.ZodNumber;
2300
2481
  }, z.core.$strip>;
2301
2482
  //#endregion
2302
- export { settingsUpdateBody as $, contentTermsBody as $n, adminCommentListResponseSchema as $t, widgetAreaSchema as A, mediaConfirmResponseSchema as An, inviteCompleteBody as At, usersListQuery as B, contentAuthorSchema as Bn, signupRequestBody as Bt, redirectSchema as C, orphanedTableSchema as Cn, menuSchema as Ct, createWidgetBody as D, DEFAULT_MAX_UPLOAD_SIZE as Dn, updateMenuBody as Dt, createWidgetAreaBody as E, updateFieldBody as En, reorderMenuItemsBody as Et, allowedDomainUpdateBody as F, mediaProviderListQuery as Fn, passkeyRegisterOptionsBody as Ft, wpPrepareBody as G, contentListQuery as Gn, hitlRequestResolveBody as Gt, wpMediaImportBody as H, contentCompareResponseSchema as Hn, reviewRequestListQuery as Ht, userDetailSchema as I, mediaResponseSchema as In, passkeyRegisterVerifyBody as It, searchQuery as J, contentPublishBody as Jn, contextEntryDiffQuery as Jt, wpRewriteUrlsBody as K, contentListResponseSchema as Kn, siteBriefingQuery as Kt, userListResponseSchema as L, mediaUpdateBody as Ln, passkeyRenameBody as Lt, widgetAreaWithWidgetsSchema as M, mediaItemSchema as Mn, inviteRegisterOptionsBody as Mt, widgetSchema as N, mediaListQuery as Nn, magicLinkSendBody as Nt, reorderWidgetsBody as O, formatFileSize as On, updateMenuItemBody as Ot, allowedDomainCreateBody as P, mediaListResponseSchema as Pn, passkeyOptionsBody as Pt, searchSuggestQuery as Q, contentSeoSchema as Qn, contextEntrySupersedeBody as Qt, userSchema as R, mediaUploadUrlBody as Rn, passkeyVerifyBody as Rt, redirectListResponseSchema as S, orphanedTableListResponseSchema as Sn, menuListItemSchema as St, updateRedirectBody as T, updateCollectionBody as Tn, menuWithItemsSchema as Tt, wpPluginAnalyzeBody as U, contentCreateBody as Un, reviewRequestResolveBody as Ut, importProbeBody as V, contentAuthorsResponseSchema as Vn, reviewRequestCreateBody as Vt, wpPluginExecuteBody as W, contentItemSchema as Wn, hitlRequestListQuery as Wt, searchResponseSchema as X, contentScheduleBody as Xn, contextEntryReviewBody as Xt, searchRebuildBody as Y, contentResponseSchema as Yn, contextEntryListQuery as Yt, searchResultSchema as Z, contentSeoInput as Zn, contextEntryStaleQuery as Zt, notFoundListResponseSchema as _, fieldListResponseSchema as _n, successEnvelope as _r, updateTermBody as _t, bylineFieldUpdateBody as a, commentStatusBody as an, trashedContentListResponseSchema as ar, updateSectionBody as at, notFoundSummaryResponseSchema as b, fieldSchema as bn, menuItemSchema as bt, bylineCreditSchema as c, publicCommentListResponseSchema as cn, countResponseSchema as cr, taxonomyDefSchema as ct, bylineUpdateBody as d, collectionListResponseSchema as dn, httpUrl as dr, termGetResponseSchema as dt, commentBulkBody as en, contentTranslationSchema as er, siteSettingsSchema as et, bylinesListQuery as f, collectionResponseSchema as fn, localeCode as fr, termListResponseSchema as ft, notFoundListQuery as g, createFieldBody as gn, slugPattern as gr, termWithCountSchema as gt, notFoundEntrySchema as h, createCollectionBody as hn, roleLevel as hr, termTranslationsSchema as ht, bylineFieldReorderBody as i, commentSchema as in, trashedContentItemSchema as ir, sectionsListQuery as it, widgetAreaWithWidgetsAndCountSchema as j, mediaExistingResponseSchema as jn, inviteCreateBody as jt, updateWidgetBody as k, mediaConfirmBody as kn, authMeActionBody as kt, bylineListResponseSchema as l, publicCommentSchema as ln, cursorPaginationQuery as lr, taxonomyDefTranslationsSchema as lt, createRedirectBody as m, collectionWithFieldsResponseSchema as mn, offsetPaginationQuery as mr, termSchema as mt, bylineFieldDefinitionSchema as n, commentCountsResponseSchema as nn, contentTrashQuery as nr, sectionListResponseSchema as nt, bylineFieldUsageResponseSchema as o, createCommentBody as on, VALID_ROLE_LEVELS as or, createTaxonomyDefBody as ot, contentBylineInputSchema as p, collectionSchema as pn, localeFilterQuery as pr, termResponseSchema as pt, searchEnableBody as q, contentPreviewUrlBody as qn, contextEntryCreateBody as qt, bylineFieldListResponseSchema as r, commentListQuery as rn, contentUpdateBody as rr, sectionSchema as rt, bylineCreateBody as s, createReactionBody as sn, apiErrorSchema as sr, createTermBody as st, bylineFieldCreateBody as t, commentBulkResponseSchema as tn, contentTranslationsResponseSchema as tr, createSectionBody as tt, bylineSummarySchema as u, collectionGetQuery as un, deleteResponseSchema as ur, taxonomyListResponseSchema as ut, notFoundPruneBody as v, fieldReorderBody as vn, createMenuBody as vt, redirectsListQuery as w, schemaExportQuery as wn, menuTranslationsSchema as wt, notFoundSummarySchema as x, orphanRegisterBody as xn, menuItemTypeEnum as xt, notFoundSummaryQuery as y, fieldResponseSchema as yn, createMenuItemBody as yt, userUpdateBody as z, mediaUploadUrlResponseSchema as zn, signupCompleteBody as zt };
2483
+ export { settingsUpdateBody as $, contentResponseSchema as $n, adminCommentListResponseSchema as $t, widgetAreaSchema as A, mediaConfirmResponseSchema as An, inviteCompleteBody as At, usersListQuery as B, contentAuthorSchema as Bn, signupRequestBody as Bt, redirectSchema as C, orphanedTableSchema as Cn, menuSchema as Ct, createWidgetBody as D, DEFAULT_MAX_UPLOAD_SIZE as Dn, updateMenuBody as Dt, createWidgetAreaBody as E, updateFieldBody as En, reorderMenuItemsBody as Et, allowedDomainUpdateBody as F, mediaProviderListQuery as Fn, passkeyRegisterOptionsBody as Ft, wpPrepareBody as G, contentListQuery as Gn, hitlRequestResolveBody as Gt, wpMediaImportBody as H, contentCompareResponseSchema as Hn, reviewRequestListQuery as Ht, userDetailSchema as I, mediaResponseSchema as In, passkeyRegisterVerifyBody as It, searchQuery as J, contentPublicationReceiptSchema as Jn, contextEntryDiffQuery as Jt, wpRewriteUrlsBody as K, contentListResponseSchema as Kn, siteBriefingQuery as Kt, userListResponseSchema as L, mediaUpdateBody as Ln, passkeyRenameBody as Lt, widgetAreaWithWidgetsSchema as M, mediaItemSchema as Mn, inviteRegisterOptionsBody as Mt, widgetSchema as N, mediaListQuery as Nn, magicLinkSendBody as Nt, reorderWidgetsBody as O, formatFileSize as On, updateMenuItemBody as Ot, allowedDomainCreateBody as P, mediaListResponseSchema as Pn, passkeyOptionsBody as Pt, searchSuggestQuery as Q, contentReleaseReadinessResponseSchema as Qn, contextEntrySupersedeBody as Qt, userSchema as R, mediaUploadUrlBody as Rn, passkeyVerifyBody as Rt, redirectListResponseSchema as S, orphanedTableListResponseSchema as Sn, menuListItemSchema as St, updateRedirectBody as T, updateCollectionBody as Tn, menuWithItemsSchema as Tt, wpPluginAnalyzeBody as U, contentCreateBody as Un, reviewRequestResolveBody as Ut, importProbeBody as V, contentAuthorsResponseSchema as Vn, reviewRequestCreateBody as Vt, wpPluginExecuteBody as W, contentItemSchema as Wn, hitlRequestListQuery as Wt, searchResponseSchema as X, contentPublishResponseSchema as Xn, contextEntryReviewBody as Xt, searchRebuildBody as Y, contentPublishBody as Yn, contextEntryListQuery as Yt, searchResultSchema as Z, contentReleaseReadinessQuery as Zn, contextEntryStaleQuery as Zt, notFoundListResponseSchema as _, fieldListResponseSchema as _n, localeFilterQuery as _r, updateTermBody as _t, bylineFieldUpdateBody as a, commentStatusBody as an, contentTranslationsResponseSchema as ar, updateSectionBody as at, notFoundSummaryResponseSchema as b, fieldSchema as bn, slugPattern as br, menuItemSchema as bt, bylineCreditSchema as c, publicCommentListResponseSchema as cn, trashedContentItemSchema as cr, taxonomyDefSchema as ct, bylineUpdateBody as d, collectionListResponseSchema as dn, apiErrorSchema as dr, termGetResponseSchema as dt, commentBulkBody as en, contentScheduleBody as er, siteSettingsSchema as et, bylinesListQuery as f, collectionResponseSchema as fn, countResponseSchema as fr, termListResponseSchema as ft, notFoundListQuery as g, createFieldBody as gn, localeCode as gr, termWithCountSchema as gt, notFoundEntrySchema as h, createCollectionBody as hn, httpUrl as hr, termTranslationsSchema as ht, bylineFieldReorderBody as i, commentSchema as in, contentTranslationSchema as ir, sectionsListQuery as it, widgetAreaWithWidgetsAndCountSchema as j, mediaExistingResponseSchema as jn, inviteCreateBody as jt, updateWidgetBody as k, mediaConfirmBody as kn, authMeActionBody as kt, bylineListResponseSchema as l, publicCommentSchema as ln, trashedContentListResponseSchema as lr, taxonomyDefTranslationsSchema as lt, createRedirectBody as m, collectionWithFieldsResponseSchema as mn, deleteResponseSchema as mr, termSchema as mt, bylineFieldDefinitionSchema as n, commentCountsResponseSchema as nn, contentSeoSchema as nr, sectionListResponseSchema as nt, bylineFieldUsageResponseSchema as o, createCommentBody as on, contentTrashQuery as or, createTaxonomyDefBody as ot, contentBylineInputSchema as p, collectionSchema as pn, cursorPaginationQuery as pr, termResponseSchema as pt, searchEnableBody as q, contentPreviewUrlBody as qn, contextEntryCreateBody as qt, bylineFieldListResponseSchema as r, commentListQuery as rn, contentTermsBody as rr, sectionSchema as rt, bylineCreateBody as s, createReactionBody as sn, contentUpdateBody as sr, createTermBody as st, bylineFieldCreateBody as t, commentBulkResponseSchema as tn, contentSeoInput as tr, createSectionBody as tt, bylineSummarySchema as u, collectionGetQuery as un, VALID_ROLE_LEVELS as ur, taxonomyListResponseSchema as ut, notFoundPruneBody as v, fieldReorderBody as vn, offsetPaginationQuery as vr, createMenuBody as vt, redirectsListQuery as w, schemaExportQuery as wn, menuTranslationsSchema as wt, notFoundSummarySchema as x, orphanRegisterBody as xn, successEnvelope as xr, menuItemTypeEnum as xt, notFoundSummaryQuery as y, fieldResponseSchema as yn, roleLevel as yr, createMenuItemBody as yt, userUpdateBody as z, mediaUploadUrlResponseSchema as zn, signupCompleteBody as zt };
@@ -22,7 +22,7 @@ import "../content-refresh-BmkilU5M.mjs";
22
22
  import "../fts-manager-Zo9uhGel.mjs";
23
23
  import { n as SchemaRegistry } from "../registry-SEJqFliS.mjs";
24
24
  import "../settings-SVDAB7_W.mjs";
25
- import { n as VERSION } from "../version-EHBE9US2.mjs";
25
+ import { n as VERSION } from "../version-D9xoSUza.mjs";
26
26
  import { i as parseEncryptionKeys, n as fingerprintKey, r as generateEncryptionKey, t as DinewaySecretsError } from "../secrets-CpGpyGcO.mjs";
27
27
  import { t as IntegrationCredentialStore } from "../store-CCfMD6nw.mjs";
28
28
  import { a as reconcileManifestAccess, i as pluginManifestSchema } from "../manifest-schema-DKa3ZaJL.mjs";
@@ -635,11 +635,13 @@ const publishCommand$1 = defineCommand({
635
635
  async run({ args }) {
636
636
  configureOutputMode(args);
637
637
  try {
638
- await createClientFromArgs(args).publish(args.collection, args.id, {
639
- reviewRequestId: args["review-request"],
640
- releaseAuthorizationId: args["release-authorization"]
641
- });
642
- output({ success: true }, args);
638
+ output({
639
+ success: true,
640
+ publicationReceipt: await createClientFromArgs(args).publish(args.collection, args.id, {
641
+ reviewRequestId: args["review-request"],
642
+ releaseAuthorizationId: args["release-authorization"]
643
+ })
644
+ }, args);
643
645
  consola$1.success(`Published ${args.collection}/${args.id}`);
644
646
  } catch (error) {
645
647
  consola$1.error(error instanceof Error ? error.message : "Unknown error");
@@ -647,6 +649,51 @@ const publishCommand$1 = defineCommand({
647
649
  }
648
650
  }
649
651
  });
652
+ const readinessCommand = defineCommand({
653
+ meta: {
654
+ name: "readiness",
655
+ description: "Inspect all current release blockers"
656
+ },
657
+ args: {
658
+ collection: {
659
+ type: "positional",
660
+ description: "Collection slug",
661
+ required: true
662
+ },
663
+ id: {
664
+ type: "positional",
665
+ description: "Content item ID or slug",
666
+ required: true
667
+ },
668
+ "review-request": {
669
+ type: "string",
670
+ description: "Editorial Review Request ID to validate"
671
+ },
672
+ "release-authorization": {
673
+ type: "string",
674
+ description: "Release authorization ID to validate"
675
+ },
676
+ "scheduled-at": {
677
+ type: "string",
678
+ description: "ISO 8601 schedule time; selects schedule readiness"
679
+ },
680
+ ...connectionArgs
681
+ },
682
+ async run({ args }) {
683
+ configureOutputMode(args);
684
+ try {
685
+ output(await createClientFromArgs(args).releaseReadiness(args.collection, args.id, {
686
+ operation: args["scheduled-at"] ? "schedule" : "publish",
687
+ reviewRequestId: args["review-request"],
688
+ releaseAuthorizationId: args["release-authorization"],
689
+ scheduledAt: args["scheduled-at"]
690
+ }), args);
691
+ } catch (error) {
692
+ consola$1.error(error instanceof Error ? error.message : "Unknown error");
693
+ process.exit(1);
694
+ }
695
+ }
696
+ });
650
697
  const unpublishCommand = defineCommand({
651
698
  meta: {
652
699
  name: "unpublish",
@@ -796,6 +843,7 @@ const contentCommand = defineCommand({
796
843
  update: updateCommand,
797
844
  delete: deleteCommand$2,
798
845
  publish: publishCommand$1,
846
+ readiness: readinessCommand,
799
847
  unpublish: unpublishCommand,
800
848
  schedule: scheduleCommand,
801
849
  restore: restoreCommand,
@@ -1,3 +1,11 @@
1
+ import "../types-C-3YPdr-.mjs";
2
+ import "../types-BFeoAIHl.mjs";
3
+ import "../runner-Bcy5w0vj.mjs";
4
+ import "../index-DybFmYtZ.mjs";
5
+ import "../types-S9VIopdY.mjs";
6
+ import "../validate-YiX3rly5.mjs";
7
+ import "../byline-fields-bnvqaEuF.mjs";
8
+ import "../types-BsTXSvKG.mjs";
1
9
  import { DinewayClient, PluginRequestOptions } from "../client/index.mjs";
2
10
  import { SubCommandsDef } from "citty";
3
11
 
@@ -1,4 +1,4 @@
1
- import { t as Interceptor } from "../transport-BZ3aqdu7.mjs";
1
+ import { t as Interceptor } from "../transport-CXkC1F2Z.mjs";
2
2
 
3
3
  //#region src/client/external-auth-headers.d.ts
4
4
  /**