better-supabase 0.23.0 → 0.28.0

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 (364) hide show
  1. package/dist/{access-sql-bjWFUWlk.js → access-sql-CTDNuxRv.js} +177 -12
  2. package/dist/{ai-schedules-7uQNMXve.d.ts → ai-schedules-yGZH-vQb.d.ts} +1 -1
  3. package/dist/ai-sdk/agents/index.d.ts +2 -2
  4. package/dist/ai-sdk/batches/index.d.ts +1 -1
  5. package/dist/ai-sdk/index.d.ts +1 -1
  6. package/dist/ai-sdk/mcp/index.d.ts +3 -3
  7. package/dist/{api-CHObZL7m.d.ts → api-B1OkIWdx.d.ts} +3 -3
  8. package/dist/{api-keys-D5k63K6y.d.ts → api-keys-ClhKBDcc.d.ts} +1 -1
  9. package/dist/{app-tables-CJO6pWwy.d.ts → app-tables-62GqZIhd.d.ts} +1 -1
  10. package/dist/{approvals-Dh9dUXrN.d.ts → approvals-C5fmPLsH.d.ts} +1 -1
  11. package/dist/astro/index.d.ts +5 -5
  12. package/dist/{authorization-Dtwpjeuz.d.ts → authorization-BCG1v0iC.d.ts} +73 -15
  13. package/dist/{authorization-hooks-D_pwXlBs.d.ts → authorization-hooks-DtzreCAq.d.ts} +1 -1
  14. package/dist/{automations-FCnWy387.js → automations-8L3NEuoq.js} +4 -1
  15. package/dist/{availability-vguUvEK2.d.ts → availability-BdeKCHpl.d.ts} +10 -0
  16. package/dist/better-result/index.d.ts +2 -2
  17. package/dist/{bind-DaoTunvE.d.ts → bind-C54jD0r3.d.ts} +4 -4
  18. package/dist/{block-env-DUyo2I5O.d.ts → block-env-CM-LFfj4.d.ts} +4 -4
  19. package/dist/blocks/access-requests/index.d.ts +2 -2
  20. package/dist/blocks/activities/index.d.ts +3 -3
  21. package/dist/blocks/agents/index.d.ts +2 -2
  22. package/dist/blocks/ai-cache/index.d.ts +1 -1
  23. package/dist/blocks/ai-chat/index.d.ts +5 -5
  24. package/dist/blocks/ai-files/index.d.ts +1 -1
  25. package/dist/blocks/ai-keys/index.d.ts +3 -3
  26. package/dist/blocks/ai-schedules/index.d.ts +2 -2
  27. package/dist/blocks/announcements/index.d.ts +5 -5
  28. package/dist/blocks/api-keys/index.d.ts +5 -5
  29. package/dist/blocks/approvals/index.d.ts +3 -3
  30. package/dist/blocks/assets/index.d.ts +2 -2
  31. package/dist/blocks/assignment/index.d.ts +3 -3
  32. package/dist/blocks/attachments/index.d.ts +3 -3
  33. package/dist/blocks/audit/index.d.ts +7 -7
  34. package/dist/blocks/automations/index.d.ts +5 -5
  35. package/dist/blocks/billable-time/index.d.ts +2 -2
  36. package/dist/blocks/billing/index.d.ts +5 -5
  37. package/dist/blocks/bookings/index.d.ts +6 -6
  38. package/dist/blocks/bulk/index.d.ts +2 -2
  39. package/dist/blocks/calendar/index.d.ts +46 -13
  40. package/dist/blocks/calendar/index.js +130 -30
  41. package/dist/blocks/catalog/index.d.ts +2 -2
  42. package/dist/blocks/channels/index.d.ts +3 -3
  43. package/dist/blocks/collections/index.d.ts +3 -3
  44. package/dist/blocks/comments/index.d.ts +5 -5
  45. package/dist/blocks/compliance/index.d.ts +2 -2
  46. package/dist/blocks/connectors/index.d.ts +3 -3
  47. package/dist/blocks/contacts/index.d.ts +3 -3
  48. package/dist/blocks/content/index.d.ts +2 -2
  49. package/dist/blocks/contracts/index.d.ts +2 -2
  50. package/dist/blocks/courses/index.d.ts +2 -2
  51. package/dist/blocks/created-by/index.d.ts +1 -1
  52. package/dist/blocks/custom-fields/index.d.ts +2 -2
  53. package/dist/blocks/custom-fields/index.js +1 -1
  54. package/dist/blocks/data-lifecycle/index.d.ts +4 -4
  55. package/dist/blocks/deals/index.d.ts +3 -3
  56. package/dist/blocks/dispatch/index.d.ts +2 -2
  57. package/dist/blocks/documents/index.d.ts +2 -2
  58. package/dist/blocks/domains/index.d.ts +2 -2
  59. package/dist/blocks/donations/index.d.ts +2 -2
  60. package/dist/blocks/drive/index.d.ts +4 -4
  61. package/dist/blocks/employees/index.d.ts +21 -6
  62. package/dist/blocks/employees/index.js +37 -2
  63. package/dist/blocks/enrichment/index.d.ts +3 -3
  64. package/dist/blocks/enrollments/index.d.ts +2 -2
  65. package/dist/blocks/entitlements/index.d.ts +3 -3
  66. package/dist/blocks/expenses/index.d.ts +2 -2
  67. package/dist/blocks/field-history/index.d.ts +1 -1
  68. package/dist/blocks/flags/index.d.ts +2 -2
  69. package/dist/blocks/forecasts/index.d.ts +3 -3
  70. package/dist/blocks/forms/index.d.ts +3 -3
  71. package/dist/blocks/goals/index.d.ts +1 -1
  72. package/dist/blocks/guests/index.d.ts +2 -2
  73. package/dist/blocks/hiring/index.d.ts +13 -6
  74. package/dist/blocks/hiring/index.js +15 -4
  75. package/dist/blocks/identities/index.d.ts +2 -2
  76. package/dist/blocks/imports/index.d.ts +2 -2
  77. package/dist/blocks/inbox/index.d.ts +6 -6
  78. package/dist/blocks/incidents/index.d.ts +2 -2
  79. package/dist/blocks/index.d.ts +4 -4
  80. package/dist/blocks/inventory/index.d.ts +2 -2
  81. package/dist/blocks/invoices/index.d.ts +3 -3
  82. package/dist/blocks/knowledge/index.d.ts +1 -1
  83. package/dist/blocks/lead-scoring/index.d.ts +1 -1
  84. package/dist/blocks/leases/index.d.ts +2 -2
  85. package/dist/blocks/leave/index.d.ts +2 -2
  86. package/dist/blocks/ledger/index.d.ts +2 -2
  87. package/dist/blocks/mail-sync/index.d.ts +3 -3
  88. package/dist/blocks/memberships/index.d.ts +1 -1
  89. package/dist/blocks/memory/index.d.ts +1 -1
  90. package/dist/blocks/messaging/index.d.ts +7 -7
  91. package/dist/blocks/metrics/index.d.ts +2 -2
  92. package/dist/blocks/mfa/index.d.ts +2 -2
  93. package/dist/blocks/moderation/index.d.ts +2 -2
  94. package/dist/blocks/notifications/index.d.ts +7 -7
  95. package/dist/blocks/numbering/index.d.ts +2 -2
  96. package/dist/blocks/oauth-server/index.d.ts +2 -2
  97. package/dist/blocks/onboarding/index.d.ts +2 -2
  98. package/dist/blocks/orders/index.d.ts +3 -3
  99. package/dist/blocks/organizations/index.d.ts +4 -4
  100. package/dist/blocks/outbox/index.d.ts +2 -2
  101. package/dist/blocks/passes/index.d.ts +3 -3
  102. package/dist/blocks/permissions/index.d.ts +3 -3
  103. package/dist/blocks/pipelines/index.d.ts +3 -3
  104. package/dist/blocks/posts/index.d.ts +2 -2
  105. package/dist/blocks/profiles/index.d.ts +1 -1
  106. package/dist/blocks/promotions/index.d.ts +2 -2
  107. package/dist/blocks/push/index.d.ts +3 -3
  108. package/dist/blocks/queue/index.d.ts +1 -1
  109. package/dist/blocks/quotes/index.d.ts +3 -3
  110. package/dist/blocks/rank/index.d.ts +1 -1
  111. package/dist/blocks/reactions/index.d.ts +5 -5
  112. package/dist/blocks/relations/index.d.ts +2 -2
  113. package/dist/blocks/reminders/index.d.ts +4 -4
  114. package/dist/blocks/reviews/index.d.ts +2 -2
  115. package/dist/blocks/saved-views/index.d.ts +4 -4
  116. package/dist/blocks/scores/index.d.ts +2 -2
  117. package/dist/blocks/search/index.d.ts +4 -4
  118. package/dist/blocks/security-events/index.d.ts +3 -3
  119. package/dist/blocks/segments/index.d.ts +3 -3
  120. package/dist/blocks/sequences/index.d.ts +2 -2
  121. package/dist/blocks/service-accounts/index.d.ts +2 -2
  122. package/dist/blocks/sessions/index.d.ts +2 -2
  123. package/dist/blocks/settings/index.d.ts +3 -3
  124. package/dist/blocks/share-links/index.d.ts +2 -2
  125. package/dist/blocks/shipments/index.d.ts +2 -2
  126. package/dist/blocks/signatures/index.d.ts +2 -2
  127. package/dist/blocks/signing-keys/index.d.ts +2 -2
  128. package/dist/blocks/sla/index.d.ts +3 -3
  129. package/dist/blocks/sso/index.d.ts +3 -3
  130. package/dist/blocks/state-machine/index.d.ts +2 -2
  131. package/dist/blocks/subjects/index.d.ts +2 -2
  132. package/dist/blocks/tags/index.d.ts +3 -3
  133. package/dist/blocks/tasks/index.d.ts +6 -6
  134. package/dist/blocks/tasks/index.js +1 -1
  135. package/dist/blocks/teams/index.d.ts +2 -2
  136. package/dist/blocks/templates/index.d.ts +4 -4
  137. package/dist/blocks/time-tracking/index.d.ts +10 -5
  138. package/dist/blocks/time-tracking/index.js +16 -9
  139. package/dist/blocks/timeline/index.d.ts +4 -4
  140. package/dist/blocks/trash/index.d.ts +2 -2
  141. package/dist/blocks/undo/index.d.ts +2 -2
  142. package/dist/blocks/updated-at/index.d.ts +1 -1
  143. package/dist/blocks/usage/index.d.ts +2 -2
  144. package/dist/blocks/vercel-marketplace/index.d.ts +2 -2
  145. package/dist/blocks/versions/index.d.ts +2 -2
  146. package/dist/blocks/waitlist/index.d.ts +2 -2
  147. package/dist/blocks/webhooks/index.d.ts +6 -6
  148. package/dist/blocks/workflow-editor/index.d.ts +7 -7
  149. package/dist/blocks/workflows/index.d.ts +5 -5
  150. package/dist/{bookings-BpCNphYp.d.ts → bookings-CVw5-Q0Z.d.ts} +1 -1
  151. package/dist/chat-sdk/index.d.ts +2 -2
  152. package/dist/cli/{add-DVHniZOO.js → add-BKcE_g9D.js} +2 -2
  153. package/dist/cli/{add-C7lKQNBL.js → add-DUyg9qna.js} +40 -15
  154. package/dist/cli/add-pDOlqWUa.js +1 -0
  155. package/dist/cli/{backfill-Lrn-Qp5X.js → backfill-r9RELEEh.js} +4 -4
  156. package/dist/cli/bin.js +1 -1
  157. package/dist/cli/{blocks-BKNd886C.js → blocks-DTOFdrxL.js} +1 -1
  158. package/dist/cli/{blocks-2Yw9t-_U.js → blocks-k1OG8XDs.js} +2 -2
  159. package/dist/cli/{cache-ByhPVMo-.js → cache-Czfw7Iow.js} +1 -1
  160. package/dist/cli/{codemod-C0eXpzFu.js → codemod-ClmbiLuL.js} +3 -3
  161. package/dist/cli/{command-BWEEXmtz.js → command-CVzTJSLp.js} +31 -0
  162. package/dist/cli/{completion-8EDK21xj.js → completion-CNCqE-Gb.js} +1 -1
  163. package/dist/cli/{completion-BfnKI4QZ.js → completion-Dpk6vh0p.js} +2 -2
  164. package/dist/cli/{completion-Bt7LMypX.js → completion-DxEXxFpz.js} +2 -2
  165. package/dist/cli/{config-CeaQMrvS.js → config-D2YUlzrl.js} +1 -1
  166. package/dist/cli/{config-WKDixoGK.js → config-EjNj3HfT.js} +1 -1
  167. package/dist/cli/{config-BVfeG3A5.js → config-KvV-sLZL.js} +290 -10
  168. package/dist/cli/{content-mapper-qH-_YQ8H.js → content-mapper-ez_mT0d4.js} +2 -2
  169. package/dist/cli/{db-DwjyUbAh.js → db-uYN6O5Eg.js} +38 -14
  170. package/dist/cli/{doctor-BnxkqXGA.js → doctor-BD9oo4MG.js} +31 -28
  171. package/dist/cli/{env-DMgjB_4y.js → env-BK0xKMeU.js} +1 -2
  172. package/dist/cli/{env-C-Bl6Awn.js → env-Bat6ogep.js} +1 -1
  173. package/dist/cli/env-Cy2lWBRC.js +1 -0
  174. package/dist/cli/{env-BCgVZkcb.js → env-DEAtgGoj.js} +2 -2
  175. package/dist/cli/{exec--Q1ZEWUW.js → exec-Ca5s-ygi.js} +1 -1
  176. package/dist/cli/{gen-aERmP3Sw.js → gen-8Ya8n2sA.js} +16 -16
  177. package/dist/cli/in-stack-diff-Cp-tVPj2.js +186 -0
  178. package/dist/cli/index.d.ts +1 -2
  179. package/dist/cli/index.js +8 -8
  180. package/dist/cli/{init-DWUqVSVW.js → init-DgL3sDfQ.js} +118 -11
  181. package/dist/cli/{keys-CbaL0lnw.js → keys-CsanNk-2.js} +1 -1
  182. package/dist/cli/{live-KcdTBUij.js → live-CMMEct_F.js} +2 -2
  183. package/dist/cli/{mcp-Dsjjo-LT.js → mcp-DEHtzAkq.js} +4 -4
  184. package/dist/cli/{metadata-DWQSIZ59.js → metadata-BZh-cOzC.js} +3 -3
  185. package/dist/cli/migrate-sVs1QYTM.js +306 -0
  186. package/dist/cli/{migration-safety-Cy7xlU4G.js → migration-safety-ClnYNMdq.js} +2 -2
  187. package/dist/cli/migrations-DWh38tO9.js +117 -0
  188. package/dist/cli/{module-migration-C6NLY9iZ.js → module-migration-CXfRJIV4.js} +2 -2
  189. package/dist/cli/{moved-DVwgE8lV.js → moved-Cnb4fp49.js} +1 -1
  190. package/dist/cli/{parse-B079x40m.js → parse-BWM6IGhF.js} +1 -1
  191. package/dist/cli/powersync-DURhWDVc.js +1 -0
  192. package/dist/cli/{powersync-CE_hQdgc.js → powersync-Dnyr-Wy5.js} +4 -3
  193. package/dist/cli/{print-Cy_ram9N.js → print-DJrSr56b.js} +2 -2
  194. package/dist/cli/{migrations-CUjNXokR.js → providers-CpaISitn.js} +4 -116
  195. package/dist/cli/{remove-DmwjzqaW.js → remove-ChaieK3t.js} +6 -6
  196. package/dist/cli/{render-CF09FCra.js → render-DUNJ4Pss.js} +8 -5
  197. package/dist/cli/{run-BYpZ8FjF.js → run-ChCQPYOh.js} +41 -39
  198. package/dist/cli/{run-lh-chAJW.js → run-Cl9COGuy.js} +10 -10
  199. package/dist/cli/{run-DmOTMa44.js → run-CxFDjL1Q.js} +4 -4
  200. package/dist/cli/seed-BJ7c-ktX.js +1 -0
  201. package/dist/cli/{seed-BMynpMPy.js → seed-BzVLTdRl.js} +3 -3
  202. package/dist/cli/{shared-D05A6t1e.js → shared-5uqc1GBj.js} +1 -1
  203. package/dist/cli/{skills-FXAVPLzp.js → skills-0gz_qjVb.js} +1 -1
  204. package/dist/cli/{snapshot-BITNbA5V.js → snapshot-DdAP7LWO.js} +3 -3
  205. package/dist/cli/{source-GGJHuzpH.js → source-2irbWSck.js} +1 -1
  206. package/dist/cli/{source-args-CDmmFmFG.js → source-args-DAcQt-Mh.js} +1 -1
  207. package/dist/cli/{spec-BGcRdlhN.js → spec-B7n4Rthp.js} +3 -3
  208. package/dist/cli/{spec-BjxXWaNQ.js → spec-_MS0ym5r.js} +1 -1
  209. package/dist/cli/{sql-layout-BoD5ynN9.js → sql-layout-DYKkQw1k.js} +21 -7
  210. package/dist/cli/{stack-DgASZP0K.js → stack-CteM33gC.js} +3 -3
  211. package/dist/cli/{stack-status-B_Ipd_-z.js → stack-status-BkkYRlXG.js} +1 -1
  212. package/dist/cli/{stacks-BYlQ96WS.js → stacks-CiDBH1dB.js} +1 -1
  213. package/dist/cli/{sync-_QlsTmqu.js → sync-DnSOrQuA.js} +4 -3
  214. package/dist/cli/table-DeH8X0qz.js +89 -0
  215. package/dist/cli/{upgrade-Cwhb1M7O.js → upgrade-CWdrC-K3.js} +5 -4
  216. package/dist/cli/{upgrade-n9ar1kc4.js → upgrade-cMy5fKkg.js} +3 -3
  217. package/dist/cli/{version-RSpJIWDd.js → version-C5RAWmrD.js} +1 -1
  218. package/dist/client/index.d.ts +5 -5
  219. package/dist/client/native/index.d.ts +4 -4
  220. package/dist/{cloud-event-CzZTJkXv.d.ts → cloud-event-DcJwder2.d.ts} +1 -1
  221. package/dist/{composite-ChzHhSB0.d.ts → composite-CWJvZgni.d.ts} +6 -6
  222. package/dist/config/index.d.ts +3 -3
  223. package/dist/config/index.js +4 -4
  224. package/dist/{config-RwpFcPq8.js → config-CTeR7XHK.js} +6 -5
  225. package/dist/{config-vHLJ8SKf.js → config-CvJHIy5q.js} +4 -3
  226. package/dist/{connectors-Fud4amxp.d.ts → connectors-CHGiffYH.d.ts} +1 -1
  227. package/dist/{context-CMf4OKpN.d.ts → context-BFEX0b7H.d.ts} +109 -4
  228. package/dist/{controller-BGto_kYM.d.ts → controller-Cl6HmMBk.d.ts} +1 -1
  229. package/dist/{conversion-DBgMck5U.d.ts → conversion-DlfStnln.d.ts} +1 -1
  230. package/dist/create/index.d.ts +62 -3
  231. package/dist/create/index.js +67 -4
  232. package/dist/create/lite/index.d.ts +140 -3
  233. package/dist/create/lite/index.js +399 -47
  234. package/dist/credentials/index.d.ts +3 -3
  235. package/dist/{define-Lf6rI2QN.d.ts → define-BLP6XtoL.d.ts} +1 -1
  236. package/dist/{define-block-DCAiOrNX.d.ts → define-block-DibVN37N.d.ts} +4 -4
  237. package/dist/edge/index.d.ts +8 -8
  238. package/dist/elysia/index.d.ts +1 -1
  239. package/dist/{ended-gUsMZVNg.d.ts → ended-B8RyuUXF.d.ts} +1 -1
  240. package/dist/{entitlements-CIhVQ-0u.d.ts → entitlements-Y-n4RGAd.d.ts} +2 -2
  241. package/dist/eve/index.d.ts +2 -2
  242. package/dist/{event-calendar-DCufbihU.d.ts → event-calendar-DVLs2wUO.d.ts} +1 -1
  243. package/dist/events/index.d.ts +3 -3
  244. package/dist/{events-vcqenSYU.d.ts → events-Cc9DDQWH.d.ts} +2 -0
  245. package/dist/{executor-DNK401lZ.d.ts → executor-C-Ox9eKq.d.ts} +1 -1
  246. package/dist/{executor-aFV7nEBs.d.ts → executor-DNPm13a9.d.ts} +2 -2
  247. package/dist/expo/index.d.ts +3 -3
  248. package/dist/{field-errors-BDhPaO0a.d.ts → field-errors-Btn3czyz.d.ts} +7 -7
  249. package/dist/{framework-DKA3fTHl.d.ts → framework-GlxXiotm.d.ts} +6 -6
  250. package/dist/h3/index.d.ts +1 -1
  251. package/dist/h3/v1/index.d.ts +1 -1
  252. package/dist/hono/index.d.ts +8 -8
  253. package/dist/{index-CFWlHuVY.d.ts → index-8wOL81rB.d.ts} +1 -1
  254. package/dist/{index-ClvuSZEz.d.ts → index-BfYDY6eh.d.ts} +3 -3
  255. package/dist/{index-ujNqgZ6B.d.ts → index-C0_cweyT.d.ts} +11 -11
  256. package/dist/{index--OhYKouV.d.ts → index-CAY7rIQs.d.ts} +3 -3
  257. package/dist/{index-CG9rA8H8.d.ts → index-C_qlBJ3k.d.ts} +2 -2
  258. package/dist/{index-iRkFvJ7J.d.ts → index-D1ckLbUM.d.ts} +1 -1
  259. package/dist/{index-lV43eM34.d.ts → index-DPMVWm_Z.d.ts} +4 -4
  260. package/dist/{index-4MStWaeF.d.ts → index-k-SyCzcQ.d.ts} +105 -120
  261. package/dist/index.d.ts +2 -2
  262. package/dist/{instances-BPJSESPx.js → instances-C7qUTjhJ.js} +85 -6
  263. package/dist/{kit-CVgQCIBO.d.ts → kit-Dxx3MT8m.d.ts} +3 -3
  264. package/dist/list/index.d.ts +1 -1
  265. package/dist/{list-query-XYfUZb0j.d.ts → list-query-XHoYDlRN.d.ts} +1 -1
  266. package/dist/mapper/bin.js +7 -7
  267. package/dist/mcp/index.d.ts +5 -5
  268. package/dist/mcp/sdk/index.d.ts +5 -5
  269. package/dist/nestjs/index.d.ts +2 -2
  270. package/dist/next/client/index.d.ts +1 -1
  271. package/dist/next/index.d.ts +21 -21
  272. package/dist/node/index.d.ts +2 -2
  273. package/dist/{operations-qSBBV5vl.d.ts → operations-DE7SOBw-.d.ts} +1 -1
  274. package/dist/{options-D4ADKTKo.js → options-B5E2MGIz.js} +6 -1
  275. package/dist/options-C4LuqmdG.js +15 -0
  276. package/dist/{options-D2s7fT1s.js → options-COo7_3MX.js} +2 -1
  277. package/dist/{options-D32-YxnO.js → options-DhoLMknl.js} +3 -1
  278. package/dist/{options-BPp2zzsz.js → options-eTepQ1rZ.js} +2 -1
  279. package/dist/orpc/index.d.ts +7 -7
  280. package/dist/otel/index.d.ts +1 -1
  281. package/dist/otel/index.js +4 -4
  282. package/dist/{outbox-HxjZTfF6.d.ts → outbox-DxZgoKwp.d.ts} +2 -2
  283. package/dist/{pool-CrtT4dg-.d.ts → pool-wjbAMqc1.d.ts} +1 -1
  284. package/dist/{ports-DbHiNSAa.d.ts → ports-DP0bthUk.d.ts} +1 -1
  285. package/dist/postgres/index.d.ts +1 -1
  286. package/dist/powersync/index.d.ts +3 -3
  287. package/dist/preset/index.d.ts +3 -3
  288. package/dist/preset/index.js +3 -3
  289. package/dist/{preset-B1xXOJ0T.js → preset-DwuWNBip.js} +2 -2
  290. package/dist/{project-BM6QMtzV.js → project-Bo1vZqVs.js} +5 -5
  291. package/dist/{provider-CqwEOLCA.d.ts → provider-ClrIplXa.d.ts} +1 -1
  292. package/dist/{push-token-BwF1fyjA.d.ts → push-token-v3xCcVU7.d.ts} +1 -1
  293. package/dist/query/index.d.ts +1 -1
  294. package/dist/react/index.d.ts +7 -7
  295. package/dist/react/native/index.d.ts +1 -1
  296. package/dist/react/server.d.ts +8 -8
  297. package/dist/react/session.d.ts +2 -2
  298. package/dist/react-router/index.d.ts +5 -5
  299. package/dist/realtime/index.d.ts +4 -4
  300. package/dist/realtime/index.js +1 -1
  301. package/dist/{record-form-BbZpwsEi.d.ts → record-form-D2-F4IwS.d.ts} +1 -1
  302. package/dist/records/index.d.ts +7 -7
  303. package/dist/{refresh-DT_ICaK-.d.ts → refresh-CCKB1Wa6.d.ts} +1 -1
  304. package/dist/{refusal-OrlI3g4H.d.ts → refusal-D_tklIEb.d.ts} +2 -2
  305. package/dist/{resolve-CXX6DHv3.d.ts → resolve-Bj1qD7Dy.d.ts} +1 -1
  306. package/dist/{resolved-names-WzRYhUez.js → resolved-names-iLBOUaib.js} +2 -2
  307. package/dist/{resource-execute-CUG6xUuh.d.ts → resource-execute-BSTIfp1D.d.ts} +1 -1
  308. package/dist/{resource-types-DjZ91WKA.d.ts → resource-types-D5WEvYtV.d.ts} +2 -2
  309. package/dist/{resources-6Ncdt9XT.d.ts → resources-CsZ7RhZC.d.ts} +1 -1
  310. package/dist/{respond-oZeJ342J.d.ts → respond-BzRG-0qc.d.ts} +1 -1
  311. package/dist/server/index.d.ts +20 -20
  312. package/dist/{server-types-BH6AjDBN.d.ts → server-types-BlDiY-ya.d.ts} +8 -8
  313. package/dist/{session-Y5SSYO2C.d.ts → session-BGP98Rgj.d.ts} +5 -5
  314. package/dist/{session-status-qQLm7jzh.d.ts → session-status-C4t7kbSn.d.ts} +2 -2
  315. package/dist/{sign-in-BAjR49fq.d.ts → sign-in-CAadgm33.d.ts} +2 -2
  316. package/dist/solid/index.d.ts +9 -9
  317. package/dist/solid-start/index.d.ts +5 -5
  318. package/dist/spec/index.d.ts +1 -1
  319. package/dist/sql/index.d.ts +5 -5
  320. package/dist/sql/index.js +5 -5
  321. package/dist/{sql-CNH8kjLS.js → sql-B7vBP9g0.js} +6248 -2092
  322. package/dist/sqlite/index.d.ts +1 -1
  323. package/dist/ssr/index.d.ts +5 -5
  324. package/dist/storage/index.js +1 -1
  325. package/dist/{subject-readers-8GySC9Z8.d.ts → subject-readers-DJbzlm8a.d.ts} +1 -1
  326. package/dist/{subjects-NomQg6Eg.d.ts → subjects-BYCL-6hA.d.ts} +15 -1
  327. package/dist/{support-B4ZBVxt3.d.ts → support-D7CMbhRT.d.ts} +4 -4
  328. package/dist/{support-view-BYOgwXsJ.d.ts → support-view-CIDXF3_H.d.ts} +1 -1
  329. package/dist/svelte/index.d.ts +8 -8
  330. package/dist/sveltekit/index.d.ts +6 -6
  331. package/dist/{tags-Cjtcp5cN.d.ts → tags-Dg4Ywmqp.d.ts} +1 -1
  332. package/dist/tanstack-db/index.d.ts +1 -1
  333. package/dist/tanstack-start/index.d.ts +5 -5
  334. package/dist/{tenant-D4BA7XQ-.d.ts → tenant-CyLEXgot.d.ts} +2 -2
  335. package/dist/testing/index.d.ts +16 -16
  336. package/dist/testing/index.js +2 -2
  337. package/dist/{timeline-CEzj9v1z.d.ts → timeline-Cjl-1hiA.d.ts} +3 -3
  338. package/dist/{topic-utZqhw96.d.ts → topic-B_DGdAEs.d.ts} +3 -3
  339. package/dist/{topic-F0FKzJyQ.js → topic-DnsNG4Kj.js} +1 -1
  340. package/dist/{types-yj8VF4oY.d.ts → types-BdaBfYIw.d.ts} +2 -2
  341. package/dist/{types-DLnBJ3ST.d.ts → types-DF8JYEf5.d.ts} +2 -2
  342. package/dist/{types-EO2crSX_.d.ts → types-DR1MHh7N.d.ts} +1 -1
  343. package/dist/{vault-O-YlAyHb.d.ts → vault-BghaujrZ.d.ts} +1 -1
  344. package/dist/vercel-connect/index.d.ts +1 -1
  345. package/dist/{verify-B0KLBb3j.d.ts → verify-CI8LgSpv.d.ts} +1 -1
  346. package/dist/{view-DyFdMCqg.d.ts → view-BvNA7EOC.d.ts} +1 -1
  347. package/dist/vue/index.d.ts +9 -9
  348. package/dist/{watch-topic-B1UCoQfz.d.ts → watch-topic-1zIAtiNM.d.ts} +1 -1
  349. package/dist/workflow-sdk/builder/index.d.ts +3 -3
  350. package/dist/workflow-sdk/index.d.ts +1 -1
  351. package/dist/workflow-sdk/world/index.d.ts +1 -1
  352. package/dist/workflow-sdk/world/index.js +1 -1
  353. package/dist/{workflow-sdk-B3Ss55Fy.d.ts → workflow-sdk-BNsZrcVg.d.ts} +1 -1
  354. package/dist/{workflow-sdk-CE8sEK57.js → workflow-sdk-CaEw822d.js} +25 -4
  355. package/dist/yjs/index.d.ts +1 -1
  356. package/dist/yjs/index.js +1 -1
  357. package/package.json +11 -1
  358. package/schemas/config-v1.json +95 -1
  359. package/dist/cli/add-vZRn-uH0.js +0 -1
  360. package/dist/cli/env-xhwXk5Ri.js +0 -1
  361. package/dist/cli/in-stack-diff-DQTW53Vf.js +0 -257
  362. package/dist/cli/powersync-BOhjVQCb.js +0 -1
  363. package/dist/cli/seed-CO3j_bly.js +0 -1
  364. package/dist/options-DztCKw_f.js +0 -8
@@ -1,7 +1,7 @@
1
- import { Dn as GeneratedBlocks } from "./define-block-DCAiOrNX.js";
2
- import { n as TopicPort } from "./watch-topic-B1UCoQfz.js";
3
- import { t as ClientPorts } from "./ports-DbHiNSAa.js";
4
- import { t as AuthPort } from "./controller-BGto_kYM.js";
1
+ import { Dn as GeneratedBlocks } from "./define-block-DibVN37N.js";
2
+ import { n as TopicPort } from "./watch-topic-1zIAtiNM.js";
3
+ import { t as ClientPorts } from "./ports-DP0bthUk.js";
4
+ import { t as AuthPort } from "./controller-Cl6HmMBk.js";
5
5
  import { SupabaseClient } from "@supabase/supabase-js";
6
6
  //#region src/blocks/block-env.d.ts
7
7
  /**
@@ -2,12 +2,12 @@
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events, f as AccessRequestEventData } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events, f as AccessRequestEventData } from "../../events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
8
8
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
10
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
10
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
11
11
  //#region src/blocks/access-requests/access-requests.d.ts
12
12
  interface AccessRequestsOptions<S extends StandardSchemaV1 | undefined = undefined> extends BlockTemporalOptions {
13
13
  readonly transport: BlockTransport;
@@ -2,15 +2,15 @@
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events } from "../../events-vcqenSYU.js";
6
- import { b as EngagementEventData, x as EngagementRecordingEventData } from "../../index-CG9rA8H8.js";
5
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
6
+ import { b as EngagementEventData, x as EngagementRecordingEventData } from "../../index-C_qlBJ3k.js";
7
7
  import { n as Logger } from "../../logger-DWVYUmwi.js";
8
8
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
9
9
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
10
10
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
11
11
  import { f as AiFiles } from "../../types-Dr9wZgNy.js";
12
12
  import { g as JobHandler } from "../../types-Czq9Xtpa.js";
13
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DCAiOrNX.js";
13
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.js";
14
14
  import { a as EngagementRecording, c as NoteTakerInput, d as Transcript, f as TranscriptSegment, i as EngagementNotesInput, l as Transcriber, n as EngagementActionItem, o as EngagementRecordingStatus, p as TranscriptSegmentInput, r as EngagementNotes, s as NoteTaker, t as ENGAGEMENT_TRANSCRIBE_QUEUE, u as TranscriberInput } from "../../recordings-BBSJt_YV.js";
15
15
  //#region src/blocks/activities/activities.d.ts
16
16
  /** A record an engagement is on. */
@@ -1,7 +1,7 @@
1
- import { Ct as Events, p as AgentEventData } from "../../events-vcqenSYU.js";
1
+ import { Ct as Events, p as AgentEventData } from "../../events-Cc9DDQWH.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
3
  import { a as AgentSkill, c as AgentsOptions, i as AgentKnowledgeScope, l as NewAgent, n as AgentFields, o as AgentVisibility, r as AgentFilter, s as Agents, t as Agent, u as createAgents } from "../../agents-CMIB3802.js";
4
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
4
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
5
5
  //#region src/blocks/agents/events.d.ts
6
6
  /** The events of the `agents` block: type to data. */
7
7
  type AgentsEvents = {
@@ -1,6 +1,6 @@
1
1
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
2
2
  import { a as AiCacheSetOptions, i as AiCacheOptions, n as AiCacheEntry, o as cacheKey, r as AiCacheKind, s as createAiCache, t as AiCache } from "../../ai-cache-2LGgaT7F.js";
3
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
3
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
4
4
  //#region src/blocks/ai-cache/manifest.d.ts
5
5
  /** The `ai-cache` block's manifest (ADR 0029). */
6
6
  export declare const aiCacheBlock: BlockOf<"ai-cache", typeof createAiCache>;
@@ -1,12 +1,12 @@
1
1
  import { b as DbError } from "../../result-DZeA5KS6.js";
2
- import { Ct as Events, g as AiToolEventData, m as AiChatEventData } from "../../events-vcqenSYU.js";
2
+ import { Ct as Events, g as AiToolEventData, m as AiChatEventData } from "../../events-Cc9DDQWH.js";
3
3
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
4
4
  import { a as AiMessagePart, c as AiReasoningPart, d as AiTextPart, f as AiToolApprovalPart, g as isAiMessage, h as aiMessageSchema, i as AiMessage, l as AiSourcePart, m as AiToolResultPart, n as AiDataPart, o as AiMessagePartType, p as AiToolCallPart, r as AiFilePart, s as AiMessageRole, t as AI_MESSAGE_SCHEMA_ID, u as AiStepPart } from "../../message-Bg4TKA12.js";
5
5
  import { $ as AiRunStep, A as AiStoredMessageStatus, B as AiSandbox, C as AiProject, D as AiSaveResult, E as AiRunStatus, F as AiUserMessageTrigger, G as AiHarnessSession, H as AiSandboxStopper, I as SharedAiChat, J as AiHarnessStatus, K as AiHarnessSessionPatch, L as aiChatListTopic, M as AiToolApproval, N as AiToolApprovalRequest, O as AiShareLink, P as AiToolPolicy, Q as AiRunState, R as aiChatTopic, S as AiPendingInputRequest, T as AiRunRelease, U as AiSandboxes, V as AiSandboxStatus, W as NewAiSandbox, X as AiRun, Y as AiPendingApproval, Z as AiRunQuery, _ as AiModerationAction, a as AiChatInput, b as AiModerationStage, c as AiChatPatch, d as AiChatShare, et as AiRunStepInput, f as AiChatVisibility, g as AiModelInput, h as AiModel, i as AiChat, j as AiStreamClaim, k as AiStoredMessage, l as AiChatQuery, m as AiMessageSibling, n as AiApprovalDecision, nt as AiRuns, o as AiChatOptions, p as AiFeedback, q as AiHarnessSessions, r as AiAssistantMessageOptions, rt as createHarnessSessions, s as AiChatPage, t as AiAppendResult, tt as AiRunStepStatus, u as AiChatRecord, v as AiModerationEvent, w as AiProjectInput, x as AiPendingInput, y as AiModerationInput, z as createAiChat } from "../../ai-chat-BCaKsvLW.js";
6
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
7
- import { p as SubscriptionStatus } from "../../topic-utZqhw96.js";
8
- import { n as TopicPort } from "../../watch-topic-B1UCoQfz.js";
9
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
6
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
7
+ import { p as SubscriptionStatus } from "../../topic-B_DGdAEs.js";
8
+ import { n as TopicPort } from "../../watch-topic-1zIAtiNM.js";
9
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
10
10
  import { StandardSchemaV1 } from "@standard-schema/spec";
11
11
  //#region src/core/contracts/ai-message.d.ts
12
12
  /**
@@ -2,7 +2,7 @@ import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
2
2
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
3
3
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
4
4
  import { _ as NewAiFile, a as AiDocumentWithContent, c as AiFileSource, d as AiFileUpload, f as AiFiles, g as NewAiDocument, h as AiSuggestion, i as AiDocumentVersion, l as AiFileStatus, m as AiProviderFile, n as AiDocumentEdit, o as AiFile, p as AiFilesOptions, r as AiDocumentKind, s as AiFileBucket, t as AiDocument, u as AiFileStorage, v as StoredAiFile } from "../../types-Dr9wZgNy.js";
5
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
5
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
6
6
  //#region src/blocks/ai-files/ai-files.d.ts
7
7
  /** The URL a message stores for a file: `supabase-storage://{bucket}/{path}`. */
8
8
  export declare function aiFileUrl(file: Pick<AiFile, "bucket" | "path">): string;
@@ -1,7 +1,7 @@
1
- import { Ct as Events, h as AiProviderKeyEventData } from "../../events-vcqenSYU.js";
1
+ import { Ct as Events, h as AiProviderKeyEventData } from "../../events-Cc9DDQWH.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
- import { a as AiBatchItemStatus, c as AiKeys, d as AiProviderKeyInput, f as NewAiBatch, i as AiBatchItemInput, l as AiKeysOptions, n as AiBatchCounts, o as AiBatchPatch, p as ResolvedProviderKey, r as AiBatchItem, s as AiBatchStatus, t as AiBatch, u as AiProviderKey } from "../../types-EO2crSX_.js";
4
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
3
+ import { a as AiBatchItemStatus, c as AiKeys, d as AiProviderKeyInput, f as NewAiBatch, i as AiBatchItemInput, l as AiKeysOptions, n as AiBatchCounts, o as AiBatchPatch, p as ResolvedProviderKey, r as AiBatchItem, s as AiBatchStatus, t as AiBatch, u as AiProviderKey } from "../../types-DR1MHh7N.js";
4
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
5
5
  //#region src/blocks/ai-keys/ai-keys.d.ts
6
6
  /** Per-tenant provider keys and provider batch jobs. */
7
7
  export declare function createAiKeys(options: AiKeysOptions): AiKeys;
@@ -1,6 +1,6 @@
1
1
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
2
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
3
- import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-7uQNMXve.js";
2
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
3
+ import { a as AiTaskOutcome, c as AiTaskRunner, i as AiTaskFields, l as NewAiTask, n as AiSchedulesOptions, o as AiTaskRun, r as AiTask, s as AiTaskRunStatus, t as AiSchedules, u as createAiSchedules } from "../../ai-schedules-yGZH-vQb.js";
4
4
  //#region src/blocks/ai-schedules/manifest.d.ts
5
5
  /** The `ai-schedules` block's manifest (ADR 0029). */
6
6
  export declare const aiSchedulesBlock: BlockOf<"ai-schedules", typeof createAiSchedules, Record<never, never>, {
@@ -2,15 +2,15 @@
2
2
  import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events, _ as AnnouncementEventData } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events, _ as AnnouncementEventData } from "../../events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
8
8
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
10
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
11
- import { p as SubscriptionStatus } from "../../topic-utZqhw96.js";
12
- import { n as TopicPort } from "../../watch-topic-B1UCoQfz.js";
13
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
10
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
11
+ import { p as SubscriptionStatus } from "../../topic-B_DGdAEs.js";
12
+ import { n as TopicPort } from "../../watch-topic-1zIAtiNM.js";
13
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
14
14
  //#region src/blocks/announcements/announcements.d.ts
15
15
  type AnnouncementSeverity = "info" | "success" | "warning" | "critical";
16
16
  /**
@@ -1,11 +1,11 @@
1
1
  import { b as DbError, f as Result } from "../../result-DZeA5KS6.js";
2
- import { Ct as Events, v as ApiKeyEventData } from "../../events-vcqenSYU.js";
3
- import { r as AuthState } from "../../resolve-CXX6DHv3.js";
2
+ import { Ct as Events, v as ApiKeyEventData } from "../../events-Cc9DDQWH.js";
3
+ import { r as AuthState } from "../../resolve-Bj1qD7Dy.js";
4
4
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
5
5
  import { t as BlockProblemOptions } from "../../problem-DNwN8iGz.js";
6
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
7
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
8
- import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-D5k63K6y.js";
6
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
7
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
8
+ import { _ as createApiKeys, a as ApiKeyExtraClaims, c as ApiKeyState, d as CreateApiKeyInput, f as CreatedApiKey, g as apiKeyResolver, h as apiKeyClaims, i as ApiKeyExtraClaim, l as ApiKeys, m as apiKeyChecksum, n as ApiKeyCheck, o as ApiKeyReservedClaim, p as ParsedApiKey, r as ApiKeyClaimsOptions, s as ApiKeyResolverOptions, t as ApiKey, u as ApiKeysOptions, v as parseApiKey } from "../../api-keys-ClhKBDcc.js";
9
9
  import { Entry } from "@supabase/middleware";
10
10
  import { AuthMode, JWTClaims, UserClaims } from "@supabase/server";
11
11
  //#region src/blocks/api-keys/pipeline.d.ts
@@ -1,7 +1,7 @@
1
- import { A as CollaborationEventData, Ct as Events } from "../../events-vcqenSYU.js";
1
+ import { A as CollaborationEventData, Ct as Events } from "../../events-Cc9DDQWH.js";
2
2
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
3
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
4
- import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-Dh9dUXrN.js";
3
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
4
+ import { a as ApprovalRequestDetail, c as ApprovalStep, d as createApprovals, i as ApprovalRequest, l as Approvals, n as ApprovalDecision, o as ApprovalRequestInput, r as ApprovalListOptions, s as ApprovalStatus, t as ApprovalApprovers, u as ApprovalsOptions } from "../../approvals-C5fmPLsH.js";
5
5
  //#region src/blocks/approvals/events.d.ts
6
6
  /** The events of the `approvals` block: type to data. */
7
7
  type ApprovalsEvents = {
@@ -1,13 +1,13 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
4
- import { Ct as Events } from "../../events-vcqenSYU.js";
4
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
5
5
  import { n as Logger } from "../../logger-DWVYUmwi.js";
6
6
  import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
9
  import { t as AssetsSqlOptions } from "../../options-D1hSuf50.js";
10
- import { c as BlockOf, rn as RecordBinding } from "../../define-block-DCAiOrNX.js";
10
+ import { c as BlockOf, rn as RecordBinding } from "../../define-block-DibVN37N.js";
11
11
  //#region src/blocks/assets/assets.d.ts
12
12
  interface AssetsOptions extends BlockTemporalOptions, BlockTenantOptions {
13
13
  readonly transport: BlockTransport;
@@ -1,13 +1,13 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
- import { Ct as Events } from "../../events-vcqenSYU.js";
4
- import { p as AssignmentEventData } from "../../index-CG9rA8H8.js";
3
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
4
+ import { p as AssignmentEventData } from "../../index-C_qlBJ3k.js";
5
5
  import { n as Logger } from "../../logger-DWVYUmwi.js";
6
6
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
9
  import { h as FilterQuery } from "../../filter-query-BXLs72G9.js";
10
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DCAiOrNX.js";
10
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.js";
11
11
  //#region src/blocks/assignment/assignment.d.ts
12
12
  /** How a queue picks the next owner. */
13
13
  type AssignmentStrategy = "round_robin" | "weighted";
@@ -1,9 +1,9 @@
1
1
  import { b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
2
- import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-vcqenSYU.js";
2
+ import { Ct as Events, ot as StorageObjectEventData, y as AttachmentEventData } from "../../events-Cc9DDQWH.js";
3
3
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
4
4
  import { t as Author } from "../../block-authors-DzXLUiIq.js";
5
- import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-DCAiOrNX.js";
6
- import { n as Controller } from "../../controller-BGto_kYM.js";
5
+ import { At as NewAttachment, Ct as AttachmentScannerOptions, Dt as AttachmentVersion, Et as AttachmentUpload, Ft as ScannedObject, It as attachmentVersionOf, Lt as createAttachmentScanner, Mt as ObjectScanner, Nt as ObjectScannerOptions, Ot as Attachments, Pt as ScanVerdict, Rt as createAttachments, Sn as EntitySchema, St as AttachmentScanner, Tt as AttachmentStorage, _t as AttachmentDownload, bt as AttachmentReplacement, c as BlockOf, gt as AttachmentBucket, ht as Attachment, jt as ObjectScanJob, kt as AttachmentsOptions, ln as RecordBindingWrite, mn as RecordRowInput, rn as RecordBinding, vt as AttachmentImageUrlOptions, wt as AttachmentStatus, xt as AttachmentScanJob, yt as AttachmentImages, zt as createObjectScanner } from "../../define-block-DibVN37N.js";
6
+ import { n as Controller } from "../../controller-Cl6HmMBk.js";
7
7
  //#region src/blocks/attachments/record-binding.d.ts
8
8
  /** A pending write to a record's files, for `useOptimistic`. */
9
9
  type AttachmentsOptimisticAction = {
@@ -1,19 +1,19 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { O as AnyFunctions, k as AnyModels, ut as TableKey } from "../../types-DFdg_4yN.js";
4
- import { Ct as Events, b as AuditRevealEventData } from "../../events-vcqenSYU.js";
4
+ import { Ct as Events, b as AuditRevealEventData } from "../../events-Cc9DDQWH.js";
5
5
  import { n as Logger } from "../../logger-DWVYUmwi.js";
6
6
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { n as SqlClient } from "../../executor-hGjrop3A.js";
8
8
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
9
9
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
10
- import { Yt as WhereInput, t as BetterSupabase } from "../../define-Lf6rI2QN.js";
11
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
12
- import { i as EventSink, t as CloudEvent } from "../../cloud-event-CzZTJkXv.js";
13
- import { i as ListDefinition } from "../../list-query-XYfUZb0j.js";
14
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
10
+ import { Yt as WhereInput, t as BetterSupabase } from "../../define-BLP6XtoL.js";
11
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
12
+ import { i as EventSink, t as CloudEvent } from "../../cloud-event-DcJwder2.js";
13
+ import { i as ListDefinition } from "../../list-query-XHoYDlRN.js";
14
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
15
15
  import { a as UndoToken } from "../../undo-B1jwnVyN.js";
16
- import { n as AuditCategory } from "../../context-CMf4OKpN.js";
16
+ import { n as AuditCategory } from "../../context-BFEX0b7H.js";
17
17
  //#region src/blocks/audit/audit.d.ts
18
18
  interface PurgeAuditLogOptions extends BlockTemporalOptions {
19
19
  /**
@@ -1,18 +1,18 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { D as ValidationIssue, T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
4
- import { Ct as Events } from "../../events-vcqenSYU.js";
4
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
5
5
  import { n as Logger } from "../../logger-DWVYUmwi.js";
6
6
  import { r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
9
  import { _ as FilterRule, d as FilterLimits, f as FilterNode, h as FilterQuery, i as FilterCombinator, m as FilterOperatorSpec, r as FilterClock } from "../../filter-query-BXLs72G9.js";
10
- import { $t as createActionRegistry, Bt as Action, Gt as ActionInfo, Ht as ActionContext, Jt as ActionRegistry, Kt as ActionOrigin, L as NotifierInput, Qt as actionKey, Ut as ActionDescriptor, Vt as ActionCall, Wt as ActionHandler, Yt as ActionSpec, Zt as DefaultAutomation, c as BlockOf, en as defineAction, qt as ActionRef } from "../../define-block-DCAiOrNX.js";
11
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
12
- import { o as ApprovalRequestInput } from "../../approvals-Dh9dUXrN.js";
10
+ import { $t as createActionRegistry, Bt as Action, Gt as ActionInfo, Ht as ActionContext, Jt as ActionRegistry, Kt as ActionOrigin, L as NotifierInput, Qt as actionKey, Ut as ActionDescriptor, Vt as ActionCall, Wt as ActionHandler, Yt as ActionSpec, Zt as DefaultAutomation, c as BlockOf, en as defineAction, qt as ActionRef } from "../../define-block-DibVN37N.js";
11
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
12
+ import { o as ApprovalRequestInput } from "../../approvals-C5fmPLsH.js";
13
13
  import { n as FilterRecordField, t as FilterEvaluation } from "../../filter-evaluate-CPxeae5X.js";
14
14
  import { a as checkRuleConditions, c as ruleFilterFields, i as RuleFieldDefinition, n as RuleField, o as defineRuleFields, r as RuleFieldCatalog, s as ruleFilterFieldInfo, t as RULE_LIMITS } from "../../fields-C3q2ypnO.js";
15
- import { a as ConversionRelations, i as ConversionRef, n as ConversionContext, o as ConversionSpec, r as ConversionOutcome, s as defineConversionAction, t as ConversionClients } from "../../conversion-DBgMck5U.js";
15
+ import { a as ConversionRelations, i as ConversionRef, n as ConversionContext, o as ConversionSpec, r as ConversionOutcome, s as defineConversionAction, t as ConversionClients } from "../../conversion-DlfStnln.js";
16
16
  //#region src/blocks/automations/automations.d.ts
17
17
  /** What a rule runs when it matches: an action reference (ADR 0046). */
18
18
  type RuleAction = ActionRef;
@@ -1,12 +1,12 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { $ as RecordRef } from "../../types-DFdg_4yN.js";
4
- import { Ct as Events } from "../../events-vcqenSYU.js";
4
+ import { Ct as Events } from "../../events-Cc9DDQWH.js";
5
5
  import { n as Logger } from "../../logger-DWVYUmwi.js";
6
6
  import { a as BlockTenantOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
7
7
  import { a as dbTransport, i as RpcClient, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { a as BlockTransportMiddleware, d as extendBlock, f as withBlockHooks, n as BlockHooks, p as wrapTransport } from "../../block-hooks-DZN2w69m.js";
9
- import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DCAiOrNX.js";
9
+ import { Sn as EntitySchema, c as BlockOf, ln as RecordBindingWrite, rn as RecordBinding } from "../../define-block-DibVN37N.js";
10
10
  import { n as Money } from "../../money-BNRdJQzA.js";
11
11
  //#region src/blocks/billable-time/billable-time.d.ts
12
12
  /** How `unbilled` and `invoice` turn entries into lines. */
@@ -1,16 +1,16 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, b as DbError, f as Result, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
- import { C as BillingEventData, Ct as Events, O as BlockEventType, o as EventHub } from "../../events-vcqenSYU.js";
3
+ import { C as BillingEventData, Ct as Events, O as BlockEventType, o as EventHub } from "../../events-Cc9DDQWH.js";
4
4
  import { n as Logger } from "../../logger-DWVYUmwi.js";
5
5
  import { i as CursorPageOptions, r as BlockTemporalOptions } from "../../block-helpers-CRpAHrp_.js";
6
6
  import { n as SqlClient } from "../../executor-hGjrop3A.js";
7
7
  import { a as dbTransport, o as rpcTransport, s as sqlTransport, t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
9
9
  import { n as StripeSource, r as StripeTaxId, t as StripeClient } from "../../stripe-X22LjuH-.js";
10
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
11
- import { i as EventSink } from "../../cloud-event-CzZTJkXv.js";
12
- import { n as Controller, t as AuthPort } from "../../controller-BGto_kYM.js";
13
- import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-B0KLBb3j.js";
10
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
11
+ import { i as EventSink } from "../../cloud-event-DcJwder2.js";
12
+ import { n as Controller, t as AuthPort } from "../../controller-Cl6HmMBk.js";
13
+ import { d as stripeInboxVerify, f as verifyStripeWebhook, u as signStripeWebhook } from "../../verify-CI8LgSpv.js";
14
14
  //#region src/blocks/billing/events.d.ts
15
15
  /** The events of the `billing` block: type to data. */
16
16
  type BillingEvents = {
@@ -1,10 +1,10 @@
1
1
  import { b as DbError } from "../../result-DZeA5KS6.js";
2
- import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.js";
3
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
4
- import { n as Controller } from "../../controller-BGto_kYM.js";
5
- import { o as WeeklyHours } from "../../availability-vguUvEK2.js";
6
- import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-BpCNphYp.js";
7
- import { t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
2
+ import { Ct as Events, tt as SchedulingEventData } from "../../events-Cc9DDQWH.js";
3
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
4
+ import { n as Controller } from "../../controller-Cl6HmMBk.js";
5
+ import { o as WeeklyHours } from "../../availability-BdeKCHpl.js";
6
+ import { C as bookingSeriesOf, S as BookingWeekday, T as parseRecurrence, _ as BookedSeries, a as BookingExceptionInput, b as BookingSeriesScope, c as BookingResourceInput, d as BookingStatus, f as Bookings, g as createBookings, h as PublicBookingService, i as BookingDuration, l as BookingServiceInput, m as PlacedBooking, n as Booking, o as BookingExpirePayload, p as BookingsOptions, r as BookingCustomer, s as BookingRange, t as BOOKING_EXPIRE_QUEUE, u as BookingSlot, v as BookingRecurrence, w as formatRecurrence, x as BookingSeriesStatus, y as BookingSeries } from "../../bookings-CVw5-Q0Z.js";
7
+ import { t as EventCalendarEvent } from "../../event-calendar-DVLs2wUO.js";
8
8
  import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
9
9
  //#region src/blocks/bookings/rows.d.ts
10
10
  /** A booking row as `hold_booking`, `list_bookings` and the others return it. */
@@ -1,10 +1,10 @@
1
1
  /// <reference lib="esnext.temporal" />
2
2
  import { T as ErrorMapper, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
- import { $ as SaasEventData, Ct as Events } from "../../events-vcqenSYU.js";
3
+ import { $ as SaasEventData, Ct as Events } from "../../events-Cc9DDQWH.js";
4
4
  import { n as Logger } from "../../logger-DWVYUmwi.js";
5
5
  import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
6
6
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
7
- import { c as BlockOf } from "../../define-block-DCAiOrNX.js";
7
+ import { c as BlockOf } from "../../define-block-DibVN37N.js";
8
8
  //#region src/blocks/bulk/bulk.d.ts
9
9
  /** The actions every install knows, when the block that owns each is installed. */
10
10
  type BuiltInBulkAction = "tags.set" | "stateMachine.transition" | "relations.link" | "trash.trash" | "collections.add" | "appTables.set";
@@ -2,14 +2,14 @@
2
2
  import { T as ErrorMapper, b as DbError, t as AsyncResult } from "../../result-DZeA5KS6.js";
3
3
  import { t as StandardSchemaV1 } from "../../standard-DBV730sF.js";
4
4
  import { r as FieldsOf } from "../../block-fields-BE7pInWZ.js";
5
- import { Ct as Events, tt as SchedulingEventData } from "../../events-vcqenSYU.js";
5
+ import { Ct as Events, tt as SchedulingEventData } from "../../events-Cc9DDQWH.js";
6
6
  import { n as Logger } from "../../logger-DWVYUmwi.js";
7
7
  import { t as BlockTransport } from "../../block-transport-DWZSJrwN.js";
8
8
  import { n as BlockHooks } from "../../block-hooks-DZN2w69m.js";
9
- import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DCAiOrNX.js";
10
- import { n as Controller } from "../../controller-BGto_kYM.js";
11
- import { C as IcsEvent, D as parseIcs, E as ToIcsOptions, O as toIcs, S as CalendarEventStatus, T as ParsedIcs, _ as expandOccurrences, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, d as workingHoursOf, f as CalendarEvent, g as SplitRules, h as OccurrenceRange, i as CommonFreeTimeOptions, l as commonFreeTime, m as OccurrenceOptions, n as CalendarEventKind, o as WeeklyHours, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, t as BusyRange, u as freeBusyOf, v as splitRule, w as IcsSource, x as CalendarAttendee, y as AttendeeResponse } from "../../availability-vguUvEK2.js";
12
- import { a as fromEventCalendarUpdate, c as toEventCalendarResources, i as OccurrenceMove, n as EventCalendarOptions, o as seriesOf, r as EventCalendarResource, s as toEventCalendarEvents, t as EventCalendarEvent } from "../../event-calendar-DCufbihU.js";
9
+ import { Sn as EntitySchema, c as BlockOf } from "../../define-block-DibVN37N.js";
10
+ import { n as Controller } from "../../controller-Cl6HmMBk.js";
11
+ import { C as IcsEvent, D as parseIcs, E as ToIcsOptions, O as toIcs, S as CalendarEventStatus, T as ParsedIcs, _ as expandOccurrences, a as FreeBusy, b as AttendeeRole, c as WorkingHoursInput, d as workingHoursOf, f as CalendarEvent, g as SplitRules, h as OccurrenceRange, i as CommonFreeTimeOptions, l as commonFreeTime, m as OccurrenceOptions, n as CalendarEventKind, o as WeeklyHours, p as CalendarOccurrence, r as CalendarTransparency, s as WorkingHours, t as BusyRange, u as freeBusyOf, v as splitRule, w as IcsSource, x as CalendarAttendee, y as AttendeeResponse } from "../../availability-BdeKCHpl.js";
12
+ import { a as fromEventCalendarUpdate, c as toEventCalendarResources, i as OccurrenceMove, n as EventCalendarOptions, o as seriesOf, r as EventCalendarResource, s as toEventCalendarEvents, t as EventCalendarEvent } from "../../event-calendar-DVLs2wUO.js";
13
13
  import { t as VisibleRange } from "../../range-p5V4rBhZ.js";
14
14
  //#region src/blocks/calendar/calendar.d.ts
15
15
  interface CalendarOptions<S extends StandardSchemaV1 | undefined = undefined> {
@@ -37,6 +37,35 @@ interface CalendarInfo {
37
37
  readonly ownerId?: string;
38
38
  /** With `options.calendarExtraColumns`: the calendar's own columns. */
39
39
  readonly fields?: Readonly<Record<string, unknown>>;
40
+ readonly visibility?: CalendarVisibility;
41
+ readonly description?: string;
42
+ readonly rank?: string;
43
+ readonly isDefault?: boolean;
44
+ }
45
+ type CalendarVisibility = "shared" | "private";
46
+ type CalendarGrantRole = "viewer" | "editor";
47
+ interface CalendarGrant {
48
+ readonly userId: string;
49
+ readonly role: CalendarGrantRole;
50
+ }
51
+ interface CalendarAttributes {
52
+ readonly name?: string;
53
+ readonly tz?: string;
54
+ readonly color?: string | null;
55
+ readonly visibility?: CalendarVisibility;
56
+ readonly description?: string | null;
57
+ readonly rank?: string | null;
58
+ readonly isDefault?: boolean;
59
+ }
60
+ interface CalendarAttendeeInput {
61
+ readonly email?: string;
62
+ readonly name?: string;
63
+ readonly userId?: string;
64
+ readonly role?: AttendeeRole;
65
+ readonly subjectType?: string;
66
+ readonly subjectId?: string;
67
+ readonly organizer?: boolean;
68
+ readonly optional?: boolean;
40
69
  }
41
70
  /** The fields of an event to write. Fields left out keep their value on update. */
42
71
  interface CalendarEventInput {
@@ -51,6 +80,8 @@ interface CalendarEventInput {
51
80
  /** An RFC 5545 `RRULE` value, or `null` to end the recurrence. */
52
81
  readonly rrule?: string | null;
53
82
  readonly exdates?: readonly Temporal.Instant[];
83
+ readonly rdates?: readonly Temporal.Instant[];
84
+ readonly visibility?: "public" | "private";
54
85
  readonly subjectType?: string | null;
55
86
  readonly subjectId?: string | null;
56
87
  readonly color?: string | null;
@@ -85,9 +116,10 @@ interface Calendar<F extends object = Record<never, never>> {
85
116
  readonly ownerId?: string;
86
117
  /** With `options.calendarExtraColumns`: values for those columns. */
87
118
  readonly fields?: Readonly<Record<string, unknown>>;
88
- }): AsyncResult<{
119
+ } & Omit<CalendarAttributes, "name" | "tz">): AsyncResult<{
89
120
  readonly id: string;
90
121
  }>;
122
+ updateCalendar(id: string, attributes: CalendarAttributes): AsyncResult<boolean>;
91
123
  deleteCalendar(id: string): AsyncResult<boolean>;
92
124
  listCalendars(organizationId: string): AsyncResult<CalendarInfo[]>;
93
125
  /**
@@ -113,13 +145,12 @@ interface Calendar<F extends object = Record<never, never>> {
113
145
  }>;
114
146
  /** Removes one occurrence of a series (an `EXDATE`), or a single event. */
115
147
  cancelOccurrence(occurrence: CalendarOccurrence): AsyncResult<boolean>;
116
- setAttendee(eventId: string, attendee: {
117
- readonly email: string;
118
- readonly name?: string;
119
- readonly userId?: string;
120
- readonly role?: AttendeeRole;
121
- }): AsyncResult<boolean>;
148
+ setAttendee(eventId: string, attendee: CalendarAttendeeInput): AsyncResult<boolean>;
122
149
  removeAttendee(eventId: string, email: string): AsyncResult<boolean>;
150
+ removeAttendeeById(attendeeId: string): AsyncResult<boolean>;
151
+ setGrant(calendarId: string, userId: string, role: CalendarGrantRole): AsyncResult<boolean>;
152
+ removeGrant(calendarId: string, userId: string): AsyncResult<boolean>;
153
+ grants(calendarId: string): AsyncResult<CalendarGrant[]>;
123
154
  /** The signed-in user answers an invitation. */
124
155
  respond(eventId: string, response: AttendeeResponse): AsyncResult<boolean>;
125
156
  /** Upserts the events of an iCalendar file by UID. */
@@ -131,6 +162,7 @@ interface Calendar<F extends object = Record<never, never>> {
131
162
  * "calendar"`), or `null` when the token is unknown, revoked or expired.
132
163
  */
133
164
  feed(token: string): AsyncResult<string | null>;
165
+ userFeed(token: string): AsyncResult<string | null>;
134
166
  /** Replaces a member's weekly working hours. Returns how many stretches. */
135
167
  setWorkingHours(organizationId: string, input: WorkingHoursInput): AsyncResult<number>;
136
168
  /** The working hours of the members that set them (all when omitted). */
@@ -184,6 +216,7 @@ export declare function createCalendarController(options: CalendarControllerOpti
184
216
  /** The events of the `calendar` block: type to data. */
185
217
  type CalendarEvents = {
186
218
  readonly "calendar.created": SchedulingEventData;
219
+ readonly "calendar.updated": SchedulingEventData;
187
220
  readonly "calendar_event.created": SchedulingEventData;
188
221
  readonly "calendar_event.updated": SchedulingEventData;
189
222
  readonly "calendar_event.deleted": SchedulingEventData;
@@ -202,4 +235,4 @@ export declare const calendarBlock: BlockOf<"calendar", typeof createCalendar, C
202
235
  */
203
236
  export declare const calendarEventInputSchema: EntitySchema<CalendarEventInput>;
204
237
  //#endregion
205
- export { type AttendeeResponse, type AttendeeRole, type BusyRange, type Calendar, type CalendarActions, type CalendarAttendee, type CalendarController, type CalendarControllerOptions, type CalendarEvent, type CalendarEventInput, type CalendarEventKind, type CalendarEventStatus, type CalendarEvents, type CalendarImport, type CalendarInfo, type CalendarOccurrence, type CalendarOptions, type CalendarSnapshot, type CalendarTransparency, type CommonFreeTimeOptions, type EventCalendarEvent, type EventCalendarOptions, type EventCalendarResource, type FreeBusy, type IcsEvent, type IcsSource, type OccurrenceMove, type OccurrenceOptions, type OccurrenceRange, type ParsedIcs, type SavedCalendarEvent, type SplitRules, type ToIcsOptions, type WeeklyHours, type WorkingHours, type WorkingHoursInput, commonFreeTime, expandOccurrences, freeBusyOf, fromEventCalendarUpdate, parseIcs, seriesOf, splitRule, toEventCalendarEvents, toEventCalendarResources, toIcs, workingHoursOf };
238
+ export { type AttendeeResponse, type AttendeeRole, type BusyRange, type Calendar, type CalendarActions, type CalendarAttendee, type CalendarAttendeeInput, type CalendarAttributes, type CalendarController, type CalendarControllerOptions, type CalendarEvent, type CalendarEventInput, type CalendarEventKind, type CalendarEventStatus, type CalendarEvents, type CalendarGrant, type CalendarGrantRole, type CalendarImport, type CalendarInfo, type CalendarOccurrence, type CalendarOptions, type CalendarSnapshot, type CalendarTransparency, type CalendarVisibility, type CommonFreeTimeOptions, type EventCalendarEvent, type EventCalendarOptions, type EventCalendarResource, type FreeBusy, type IcsEvent, type IcsSource, type OccurrenceMove, type OccurrenceOptions, type OccurrenceRange, type ParsedIcs, type SavedCalendarEvent, type SplitRules, type ToIcsOptions, type WeeklyHours, type WorkingHours, type WorkingHoursInput, commonFreeTime, expandOccurrences, freeBusyOf, fromEventCalendarUpdate, parseIcs, seriesOf, splitRule, toEventCalendarEvents, toEventCalendarResources, toIcs, workingHoursOf };