dineway 0.2.4 → 0.2.6

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-B660nbLj.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 +17 -8
  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 +6 -4
  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-BRUB-Vla.mjs} +1 -1
  135. package/dist/{byline-fields-CXBvHvRM.d.mts → byline-fields-DS-K2aXR.d.mts} +262 -44
  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 +24 -4
  140. package/dist/client/index.mjs +18 -4
  141. package/dist/{context-AJNd0tcG.mjs → context-BQ8O8pqD.mjs} +1 -1
  142. package/dist/{hitl-requests-Bee8Cjj8.mjs → hitl-requests-01Xe2FfD.mjs} +1 -1
  143. package/dist/{hitl-route-helpers-DtHaKGgm.mjs → hitl-route-helpers-vdROIary.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-Bn0uJ5Yz.d.mts} +1 -1
  147. package/dist/{mcp-reviewed-executor-DnlF7mIL.mjs → mcp-reviewed-executor-BCR-Pgtg.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-D_iHIBiH.d.mts} +1 -1
  153. package/dist/{publication-authorization-BVQ5rCAF.mjs → publication-authorization-DP_I_Emr.mjs} +178 -7
  154. package/dist/{redirects-E_B6hvuz.mjs → redirects-CWGZMRsj.mjs} +101 -3
  155. package/dist/runtime.d.mts +3 -3
  156. package/dist/{site-context-CzaEGizi.mjs → site-context-qU_bKUMe.mjs} +1 -1
  157. package/dist/{types-CQnfHvPQ.d.mts → types-y0lpkCXC.d.mts} +191 -108
  158. package/dist/ui/server-runtime.d.mts +5 -5
  159. package/dist/version-u-P3k0nP.mjs +6 -0
  160. package/package.json +1 -1
  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-DP_I_Emr.mjs";
12
+ import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../../site-context-qU_bKUMe.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 { m as createWidgetBody } from "../../../../../redirects-E_B6hvuz.mjs";
26
- import "../../../../../byline-fields-yT4herdN.mjs";
25
+ import { m as createWidgetBody } from "../../../../../redirects-CWGZMRsj.mjs";
26
+ import "../../../../../byline-fields-BRUB-Vla.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-vdROIary.mjs";
36
36
  import { ulid } from "ulidx";
37
37
  import { z } from "zod";
38
38
 
@@ -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-DP_I_Emr.mjs";
12
+ import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../site-context-qU_bKUMe.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-vdROIary.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-DP_I_Emr.mjs";
12
+ import { g as RiskPolicyEvaluator, o as WidgetHitlPayloadBuilder } from "../../../../site-context-qU_bKUMe.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-CWGZMRsj.mjs";
26
+ import "../../../../byline-fields-BRUB-Vla.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-vdROIary.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 { $a as EmailPipeline, D as PageMetadataContribution, M as PluginActor, Os as Element, Ra as MediaListResponse, Rs as ContentListResponse, Za as SandboxedPluginEntry, at as PluginRouteApiTokenPolicy, eo as HookPipeline, fo as DinewayConfig, gs as MediaItem, gt as PublicPageContext, jt as PublicationAuthorizationService, oo as SandboxRunner, ot as PluginRouteAuthorization, uo as PluginMcpRegistry, v as HttpAccess, vt as ResolvedPlugin, w as PageFragmentContribution, za as MediaResponse, zs as ContentResponse } from "../types-y0lpkCXC.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-DS-K2aXR.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-CWGZMRsj.mjs";
4
4
  import { z } from "zod";
5
5
 
6
6
  //#region src/api/schemas/context.ts
@@ -4,7 +4,7 @@ import { z } from "zod";
4
4
  /** Valid role level values */
5
5
  declare const VALID_ROLE_LEVELS: Set<number>;
6
6
  /** Role level — coerces string/number to valid RoleLevel (10|20|30|40|50) */
7
- declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
7
+ declare const roleLevel: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
8
8
  /** Pagination query params — cursor-based */
9
9
  declare const cursorPaginationQuery: z.ZodObject<{
10
10
  cursor: z.ZodOptional<z.ZodString>;
@@ -122,11 +122,120 @@ declare const contentScheduleBody: z.ZodObject<{
122
122
  scheduledAt: z.ZodString;
123
123
  reviewRequestId: z.ZodString;
124
124
  releaseAuthorizationId: z.ZodOptional<z.ZodString>;
125
+ policyOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
126
+ policyId: z.ZodString;
127
+ warningCode: z.ZodString;
128
+ fingerprint: z.ZodString;
129
+ }, z.core.$strip>>>;
125
130
  }, z.core.$strip>;
126
131
  declare const contentPublishBody: z.ZodObject<{
127
132
  publishedAt: z.ZodOptional<z.ZodISODateTime>;
128
133
  reviewRequestId: z.ZodString;
129
134
  releaseAuthorizationId: z.ZodOptional<z.ZodString>;
135
+ policyOverrides: z.ZodOptional<z.ZodArray<z.ZodObject<{
136
+ policyId: z.ZodString;
137
+ warningCode: z.ZodString;
138
+ fingerprint: z.ZodString;
139
+ }, z.core.$strip>>>;
140
+ }, z.core.$strip>;
141
+ declare const contentPublicationReceiptSchema: z.ZodObject<{
142
+ id: z.ZodString;
143
+ status: z.ZodEnum<{
144
+ published: "published";
145
+ scheduled: "scheduled";
146
+ }>;
147
+ collection: z.ZodString;
148
+ contentId: z.ZodString;
149
+ liveRevisionId: z.ZodNullable<z.ZodString>;
150
+ draftRevisionId: z.ZodNullable<z.ZodString>;
151
+ editorialReviewRequestId: z.ZodString;
152
+ releaseHitlRequestId: z.ZodNullable<z.ZodString>;
153
+ actionHash: z.ZodString;
154
+ policyContributions: z.ZodArray<z.ZodObject<{
155
+ providerId: z.ZodString;
156
+ policyVersion: z.ZodString;
157
+ disposition: z.ZodEnum<{
158
+ enforced: "enforced";
159
+ not_applicable: "not_applicable";
160
+ overridden: "overridden";
161
+ }>;
162
+ fingerprint: z.ZodString;
163
+ reservationId: z.ZodNullable<z.ZodString>;
164
+ }, z.core.$strip>>;
165
+ authorizedByActorType: z.ZodEnum<{
166
+ user: "user";
167
+ api_token: "api_token";
168
+ system: "system";
169
+ }>;
170
+ authorizedByActorId: z.ZodString;
171
+ createdAt: z.ZodString;
172
+ consumedAt: z.ZodNullable<z.ZodString>;
173
+ publishedAt: z.ZodNullable<z.ZodString>;
174
+ scheduledAt: z.ZodNullable<z.ZodString>;
175
+ }, z.core.$strip>;
176
+ declare const contentReleaseReadinessQuery: z.ZodObject<{
177
+ operation: z.ZodOptional<z.ZodEnum<{
178
+ publish: "publish";
179
+ schedule: "schedule";
180
+ }>>;
181
+ reviewRequestId: z.ZodOptional<z.ZodString>;
182
+ releaseAuthorizationId: z.ZodOptional<z.ZodString>;
183
+ publishedAt: z.ZodOptional<z.ZodISODateTime>;
184
+ scheduledAt: z.ZodOptional<z.ZodISODateTime>;
185
+ locale: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
186
+ }, z.core.$strip>;
187
+ declare const contentReleaseReadinessResponseSchema: z.ZodObject<{
188
+ ready: z.ZodBoolean;
189
+ canForce: z.ZodBoolean;
190
+ generatedAt: z.ZodString;
191
+ nextAction: z.ZodEnum<{
192
+ publish: "publish";
193
+ schedule: "schedule";
194
+ confirm_policy_warnings: "confirm_policy_warnings";
195
+ fix_release_blockers: "fix_release_blockers";
196
+ }>;
197
+ target: z.ZodNullable<z.ZodObject<{
198
+ collection: z.ZodString;
199
+ entryId: z.ZodString;
200
+ scope: z.ZodString;
201
+ operation: z.ZodEnum<{
202
+ publish: "publish";
203
+ schedule: "schedule";
204
+ }>;
205
+ liveRevisionId: z.ZodNullable<z.ZodString>;
206
+ draftRevisionId: z.ZodNullable<z.ZodString>;
207
+ reviewedRev: z.ZodString;
208
+ publishedAt: z.ZodNullable<z.ZodString>;
209
+ scheduledAt: z.ZodNullable<z.ZodString>;
210
+ siteTimezone: z.ZodString;
211
+ }, z.core.$strip>>;
212
+ blockers: z.ZodArray<z.ZodObject<{
213
+ code: z.ZodString;
214
+ source: z.ZodEnum<{
215
+ content: "content";
216
+ editorial_review: "editorial_review";
217
+ release_hitl: "release_hitl";
218
+ authorization: "authorization";
219
+ policy: "policy";
220
+ }>;
221
+ message: z.ZodString;
222
+ policyId: z.ZodOptional<z.ZodString>;
223
+ }, z.core.$strip>>;
224
+ warnings: z.ZodArray<z.ZodObject<{
225
+ severity: z.ZodLiteral<"warning">;
226
+ code: z.ZodString;
227
+ source: z.ZodEnum<{
228
+ content: "content";
229
+ editorial_review: "editorial_review";
230
+ release_hitl: "release_hitl";
231
+ authorization: "authorization";
232
+ policy: "policy";
233
+ }>;
234
+ message: z.ZodString;
235
+ policyId: z.ZodOptional<z.ZodString>;
236
+ fingerprint: z.ZodString;
237
+ overridable: z.ZodBoolean;
238
+ }, z.core.$strip>>;
130
239
  }, z.core.$strip>;
131
240
  declare const contentPreviewUrlBody: z.ZodObject<{
132
241
  expiresIn: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNumber]>>;
@@ -294,6 +403,115 @@ declare const contentResponseSchema: z.ZodObject<{
294
403
  }, z.core.$strip>;
295
404
  _rev: z.ZodOptional<z.ZodString>;
296
405
  }, z.core.$strip>;
406
+ declare const contentPublishResponseSchema: z.ZodObject<{
407
+ item: z.ZodObject<{
408
+ id: z.ZodString;
409
+ type: z.ZodString;
410
+ slug: z.ZodNullable<z.ZodString>;
411
+ status: z.ZodString;
412
+ data: z.ZodRecord<z.ZodString, z.ZodUnknown>;
413
+ authorId: z.ZodNullable<z.ZodString>;
414
+ primaryBylineId: z.ZodNullable<z.ZodString>;
415
+ byline: z.ZodOptional<z.ZodNullable<z.ZodObject<{
416
+ id: z.ZodString;
417
+ slug: z.ZodString;
418
+ displayName: z.ZodString;
419
+ bio: z.ZodNullable<z.ZodString>;
420
+ avatarMediaId: z.ZodNullable<z.ZodString>;
421
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
422
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
423
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
424
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
425
+ websiteUrl: z.ZodNullable<z.ZodString>;
426
+ userId: z.ZodNullable<z.ZodString>;
427
+ isGuest: z.ZodBoolean;
428
+ createdAt: z.ZodString;
429
+ updatedAt: z.ZodString;
430
+ locale: z.ZodString;
431
+ translationGroup: z.ZodNullable<z.ZodString>;
432
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
433
+ }, z.core.$strip>>>;
434
+ bylines: z.ZodOptional<z.ZodArray<z.ZodObject<{
435
+ byline: z.ZodObject<{
436
+ id: z.ZodString;
437
+ slug: z.ZodString;
438
+ displayName: z.ZodString;
439
+ bio: z.ZodNullable<z.ZodString>;
440
+ avatarMediaId: z.ZodNullable<z.ZodString>;
441
+ avatarStorageKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
+ avatarAlt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
443
+ avatarBlurhash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
444
+ avatarDominantColor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
445
+ websiteUrl: z.ZodNullable<z.ZodString>;
446
+ userId: z.ZodNullable<z.ZodString>;
447
+ isGuest: z.ZodBoolean;
448
+ createdAt: z.ZodString;
449
+ updatedAt: z.ZodString;
450
+ locale: z.ZodString;
451
+ translationGroup: z.ZodNullable<z.ZodString>;
452
+ customFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodBoolean, z.ZodNull]>>>;
453
+ }, z.core.$strip>;
454
+ sortOrder: z.ZodNumber;
455
+ roleLabel: z.ZodNullable<z.ZodString>;
456
+ source: z.ZodOptional<z.ZodEnum<{
457
+ explicit: "explicit";
458
+ inferred: "inferred";
459
+ }>>;
460
+ }, z.core.$strip>>>;
461
+ createdAt: z.ZodString;
462
+ updatedAt: z.ZodString;
463
+ publishedAt: z.ZodNullable<z.ZodString>;
464
+ scheduledAt: z.ZodNullable<z.ZodString>;
465
+ liveRevisionId: z.ZodNullable<z.ZodString>;
466
+ draftRevisionId: z.ZodNullable<z.ZodString>;
467
+ version: z.ZodNumber;
468
+ locale: z.ZodNullable<z.ZodString>;
469
+ translationGroup: z.ZodNullable<z.ZodString>;
470
+ seo: z.ZodOptional<z.ZodObject<{
471
+ title: z.ZodNullable<z.ZodString>;
472
+ description: z.ZodNullable<z.ZodString>;
473
+ image: z.ZodNullable<z.ZodString>;
474
+ canonical: z.ZodNullable<z.ZodString>;
475
+ noIndex: z.ZodBoolean;
476
+ }, z.core.$strip>>;
477
+ }, z.core.$strip>;
478
+ _rev: z.ZodOptional<z.ZodString>;
479
+ publicationReceipt: z.ZodObject<{
480
+ id: z.ZodString;
481
+ status: z.ZodEnum<{
482
+ published: "published";
483
+ scheduled: "scheduled";
484
+ }>;
485
+ collection: z.ZodString;
486
+ contentId: z.ZodString;
487
+ liveRevisionId: z.ZodNullable<z.ZodString>;
488
+ draftRevisionId: z.ZodNullable<z.ZodString>;
489
+ editorialReviewRequestId: z.ZodString;
490
+ releaseHitlRequestId: z.ZodNullable<z.ZodString>;
491
+ actionHash: z.ZodString;
492
+ policyContributions: z.ZodArray<z.ZodObject<{
493
+ providerId: z.ZodString;
494
+ policyVersion: z.ZodString;
495
+ disposition: z.ZodEnum<{
496
+ enforced: "enforced";
497
+ not_applicable: "not_applicable";
498
+ overridden: "overridden";
499
+ }>;
500
+ fingerprint: z.ZodString;
501
+ reservationId: z.ZodNullable<z.ZodString>;
502
+ }, z.core.$strip>>;
503
+ authorizedByActorType: z.ZodEnum<{
504
+ user: "user";
505
+ api_token: "api_token";
506
+ system: "system";
507
+ }>;
508
+ authorizedByActorId: z.ZodString;
509
+ createdAt: z.ZodString;
510
+ consumedAt: z.ZodNullable<z.ZodString>;
511
+ publishedAt: z.ZodNullable<z.ZodString>;
512
+ scheduledAt: z.ZodNullable<z.ZodString>;
513
+ }, z.core.$strip>;
514
+ }, z.core.$strip>;
297
515
  /** Response for content list endpoints */
298
516
  declare const contentListResponseSchema: z.ZodObject<{
299
517
  items: z.ZodArray<z.ZodObject<{
@@ -629,17 +847,17 @@ declare const createFieldBody: z.ZodObject<{
629
847
  number: "number";
630
848
  boolean: "boolean";
631
849
  file: "file";
632
- json: "json";
633
- url: "url";
634
850
  slug: "slug";
851
+ text: "text";
852
+ url: "url";
853
+ select: "select";
635
854
  image: "image";
636
855
  datetime: "datetime";
637
- text: "text";
638
856
  integer: "integer";
639
- select: "select";
640
857
  multiSelect: "multiSelect";
641
858
  portableText: "portableText";
642
859
  reference: "reference";
860
+ json: "json";
643
861
  repeater: "repeater";
644
862
  }>;
645
863
  required: z.ZodOptional<z.ZodBoolean>;
@@ -659,12 +877,12 @@ declare const createFieldBody: z.ZodObject<{
659
877
  string: "string";
660
878
  number: "number";
661
879
  boolean: "boolean";
880
+ text: "text";
662
881
  url: "url";
882
+ select: "select";
663
883
  image: "image";
664
884
  datetime: "datetime";
665
- text: "text";
666
885
  integer: "integer";
667
- select: "select";
668
886
  }>;
669
887
  label: z.ZodString;
670
888
  required: z.ZodOptional<z.ZodBoolean>;
@@ -687,17 +905,17 @@ declare const updateFieldBody: z.ZodObject<{
687
905
  number: "number";
688
906
  boolean: "boolean";
689
907
  file: "file";
690
- json: "json";
691
- url: "url";
692
908
  slug: "slug";
909
+ text: "text";
910
+ url: "url";
911
+ select: "select";
693
912
  image: "image";
694
913
  datetime: "datetime";
695
- text: "text";
696
914
  integer: "integer";
697
- select: "select";
698
915
  multiSelect: "multiSelect";
699
916
  portableText: "portableText";
700
917
  reference: "reference";
918
+ json: "json";
701
919
  repeater: "repeater";
702
920
  }>>;
703
921
  required: z.ZodOptional<z.ZodBoolean>;
@@ -717,12 +935,12 @@ declare const updateFieldBody: z.ZodObject<{
717
935
  string: "string";
718
936
  number: "number";
719
937
  boolean: "boolean";
938
+ text: "text";
720
939
  url: "url";
940
+ select: "select";
721
941
  image: "image";
722
942
  datetime: "datetime";
723
- text: "text";
724
943
  integer: "integer";
725
- select: "select";
726
944
  }>;
727
945
  label: z.ZodString;
728
946
  required: z.ZodOptional<z.ZodBoolean>;
@@ -776,17 +994,17 @@ declare const fieldSchema: z.ZodObject<{
776
994
  number: "number";
777
995
  boolean: "boolean";
778
996
  file: "file";
779
- json: "json";
780
- url: "url";
781
997
  slug: "slug";
998
+ text: "text";
999
+ url: "url";
1000
+ select: "select";
782
1001
  image: "image";
783
1002
  datetime: "datetime";
784
- text: "text";
785
1003
  integer: "integer";
786
- select: "select";
787
1004
  multiSelect: "multiSelect";
788
1005
  portableText: "portableText";
789
1006
  reference: "reference";
1007
+ json: "json";
790
1008
  repeater: "repeater";
791
1009
  }>;
792
1010
  required: z.ZodBoolean;
@@ -841,17 +1059,17 @@ declare const collectionWithFieldsResponseSchema: z.ZodObject<{
841
1059
  number: "number";
842
1060
  boolean: "boolean";
843
1061
  file: "file";
844
- json: "json";
845
- url: "url";
846
1062
  slug: "slug";
1063
+ text: "text";
1064
+ url: "url";
1065
+ select: "select";
847
1066
  image: "image";
848
1067
  datetime: "datetime";
849
- text: "text";
850
1068
  integer: "integer";
851
- select: "select";
852
1069
  multiSelect: "multiSelect";
853
1070
  portableText: "portableText";
854
1071
  reference: "reference";
1072
+ json: "json";
855
1073
  repeater: "repeater";
856
1074
  }>;
857
1075
  required: z.ZodBoolean;
@@ -895,17 +1113,17 @@ declare const fieldResponseSchema: z.ZodObject<{
895
1113
  number: "number";
896
1114
  boolean: "boolean";
897
1115
  file: "file";
898
- json: "json";
899
- url: "url";
900
1116
  slug: "slug";
1117
+ text: "text";
1118
+ url: "url";
1119
+ select: "select";
901
1120
  image: "image";
902
1121
  datetime: "datetime";
903
- text: "text";
904
1122
  integer: "integer";
905
- select: "select";
906
1123
  multiSelect: "multiSelect";
907
1124
  portableText: "portableText";
908
1125
  reference: "reference";
1126
+ json: "json";
909
1127
  repeater: "repeater";
910
1128
  }>;
911
1129
  required: z.ZodBoolean;
@@ -932,17 +1150,17 @@ declare const fieldListResponseSchema: z.ZodObject<{
932
1150
  number: "number";
933
1151
  boolean: "boolean";
934
1152
  file: "file";
935
- json: "json";
936
- url: "url";
937
1153
  slug: "slug";
1154
+ text: "text";
1155
+ url: "url";
1156
+ select: "select";
938
1157
  image: "image";
939
1158
  datetime: "datetime";
940
- text: "text";
941
1159
  integer: "integer";
942
- select: "select";
943
1160
  multiSelect: "multiSelect";
944
1161
  portableText: "portableText";
945
1162
  reference: "reference";
1163
+ json: "json";
946
1164
  repeater: "repeater";
947
1165
  }>;
948
1166
  required: z.ZodBoolean;
@@ -995,10 +1213,10 @@ declare const commentStatusBody: z.ZodObject<{
995
1213
  declare const commentBulkBody: z.ZodObject<{
996
1214
  ids: z.ZodArray<z.ZodString>;
997
1215
  action: z.ZodEnum<{
998
- delete: "delete";
999
1216
  spam: "spam";
1000
1217
  trash: "trash";
1001
1218
  approve: "approve";
1219
+ delete: "delete";
1002
1220
  }>;
1003
1221
  }, z.core.$strip>;
1004
1222
  declare const commentListQuery: z.ZodObject<{
@@ -1120,13 +1338,13 @@ declare const contextEntryListQuery: z.ZodObject<{
1120
1338
  declare const contextEntryStaleQuery: z.ZodObject<{
1121
1339
  limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
1122
1340
  cursor: z.ZodOptional<z.ZodString>;
1341
+ scope: z.ZodOptional<z.ZodString>;
1123
1342
  includeInherited: z.ZodPipe<z.ZodOptional<z.ZodEnum<{
1124
1343
  true: "true";
1125
1344
  false: "false";
1126
1345
  }>>, z.ZodTransform<boolean | undefined, "true" | "false" | undefined>>;
1127
1346
  contextTypes: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1128
1347
  tags: z.ZodPipe<z.ZodOptional<z.ZodString>, z.ZodTransform<string[] | undefined, string | undefined>>;
1129
- scope: z.ZodOptional<z.ZodString>;
1130
1348
  createdByActorType: z.ZodOptional<z.ZodEnum<{
1131
1349
  user: "user";
1132
1350
  api_token: "api_token";
@@ -1296,7 +1514,7 @@ declare const signupCompleteBody: z.ZodObject<{
1296
1514
  }, z.core.$strip>;
1297
1515
  declare const inviteCreateBody: z.ZodObject<{
1298
1516
  email: z.ZodString;
1299
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
1517
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1300
1518
  }, z.core.$strip>;
1301
1519
  declare const inviteCompleteBody: z.ZodObject<{
1302
1520
  token: z.ZodString;
@@ -1389,10 +1607,10 @@ declare const authMeActionBody: z.ZodObject<{
1389
1607
  */
1390
1608
  declare const menuItemTypeEnum: z.ZodEnum<{
1391
1609
  custom: "custom";
1392
- collection: "collection";
1393
- taxonomy: "taxonomy";
1394
1610
  page: "page";
1395
1611
  post: "post";
1612
+ taxonomy: "taxonomy";
1613
+ collection: "collection";
1396
1614
  }>;
1397
1615
  declare const createMenuBody: z.ZodObject<{
1398
1616
  name: z.ZodString;
@@ -1406,10 +1624,10 @@ declare const updateMenuBody: z.ZodObject<{
1406
1624
  declare const createMenuItemBody: z.ZodObject<{
1407
1625
  type: z.ZodEnum<{
1408
1626
  custom: "custom";
1409
- collection: "collection";
1410
- taxonomy: "taxonomy";
1411
1627
  page: "page";
1412
1628
  post: "post";
1629
+ taxonomy: "taxonomy";
1630
+ collection: "collection";
1413
1631
  }>;
1414
1632
  label: z.ZodString;
1415
1633
  referenceCollection: z.ZodOptional<z.ZodString>;
@@ -1622,8 +1840,8 @@ declare const termGetResponseSchema: z.ZodObject<{
1622
1840
  //#region src/api/schemas/sections.d.ts
1623
1841
  declare const sectionsListQuery: z.ZodObject<{
1624
1842
  source: z.ZodOptional<z.ZodEnum<{
1625
- user: "user";
1626
1843
  theme: "theme";
1844
+ user: "user";
1627
1845
  import: "import";
1628
1846
  }>>;
1629
1847
  search: z.ZodOptional<z.ZodString>;
@@ -1848,15 +2066,15 @@ declare const usersListQuery: z.ZodObject<{
1848
2066
  declare const userUpdateBody: z.ZodObject<{
1849
2067
  name: z.ZodOptional<z.ZodString>;
1850
2068
  email: z.ZodOptional<z.ZodString>;
1851
- role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
2069
+ role: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1852
2070
  }, z.core.$strip>;
1853
2071
  declare const allowedDomainCreateBody: z.ZodObject<{
1854
2072
  domain: z.ZodString;
1855
- defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>;
2073
+ defaultRole: z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>;
1856
2074
  }, z.core.$strip>;
1857
2075
  declare const allowedDomainUpdateBody: z.ZodObject<{
1858
2076
  enabled: z.ZodOptional<z.ZodBoolean>;
1859
- defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<10 | 20 | 30 | 40 | 50, unknown, z.core.$ZodTypeInternals<10 | 20 | 30 | 40 | 50, unknown>>>;
2077
+ defaultRole: z.ZodOptional<z.ZodCoercedNumber<unknown> & z.ZodType<50 | 10 | 20 | 30 | 40, unknown, z.core.$ZodTypeInternals<50 | 10 | 20 | 30 | 40, unknown>>>;
1860
2078
  }, z.core.$strip>;
1861
2079
  declare const userSchema: z.ZodObject<{
1862
2080
  id: z.ZodString;
@@ -2228,8 +2446,8 @@ declare const bylineFieldCreateBody: z.ZodObject<{
2228
2446
  type: z.ZodEnum<{
2229
2447
  string: "string";
2230
2448
  boolean: "boolean";
2231
- url: "url";
2232
2449
  text: "text";
2450
+ url: "url";
2233
2451
  select: "select";
2234
2452
  }>;
2235
2453
  required: z.ZodOptional<z.ZodBoolean>;
@@ -2258,8 +2476,8 @@ declare const bylineFieldDefinitionSchema: z.ZodObject<{
2258
2476
  type: z.ZodEnum<{
2259
2477
  string: "string";
2260
2478
  boolean: "boolean";
2261
- url: "url";
2262
2479
  text: "text";
2480
+ url: "url";
2263
2481
  select: "select";
2264
2482
  }>;
2265
2483
  required: z.ZodBoolean;
@@ -2279,8 +2497,8 @@ declare const bylineFieldListResponseSchema: z.ZodObject<{
2279
2497
  type: z.ZodEnum<{
2280
2498
  string: "string";
2281
2499
  boolean: "boolean";
2282
- url: "url";
2283
2500
  text: "text";
2501
+ url: "url";
2284
2502
  select: "select";
2285
2503
  }>;
2286
2504
  required: z.ZodBoolean;
@@ -2299,4 +2517,4 @@ declare const bylineFieldUsageResponseSchema: z.ZodObject<{
2299
2517
  totalAffectedRows: z.ZodNumber;
2300
2518
  }, z.core.$strip>;
2301
2519
  //#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 };
2520
+ 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 };