@notionhq/custom-blocks 0.5.2 → 0.7.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 (622) hide show
  1. package/README.md +72 -58
  2. package/bin/notion-custom-blocks/tar.js +1 -1
  3. package/dist/bridge/SandboxBridge.d.ts +99 -12
  4. package/dist/bridge/SandboxBridge.d.ts.map +1 -1
  5. package/dist/bridge/SandboxBridge.js +254 -73
  6. package/dist/{context/applyContextMessage.d.ts → bridge/applyHostStateMessage.d.ts} +3 -3
  7. package/dist/bridge/applyHostStateMessage.d.ts.map +1 -0
  8. package/dist/{context/applyContextMessage.js → bridge/applyHostStateMessage.js} +7 -8
  9. package/dist/bridge/createBrowserSandboxBridge.d.ts +3 -0
  10. package/dist/bridge/createBrowserSandboxBridge.d.ts.map +1 -0
  11. package/dist/bridge/createBrowserSandboxBridge.js +54 -0
  12. package/dist/bridge/getBridge.d.ts +1 -1
  13. package/dist/bridge/getBridge.d.ts.map +1 -1
  14. package/dist/bridge/getBridge.js +2 -2
  15. package/dist/bridge/getInitializedHostState.d.ts.map +1 -0
  16. package/dist/bridge/getInitializedHostState.js +8 -0
  17. package/dist/bridge/hostState.d.ts +29 -0
  18. package/dist/bridge/hostState.d.ts.map +1 -0
  19. package/dist/bridge/initialization/SandboxInitialization.d.ts +49 -21
  20. package/dist/bridge/initialization/SandboxInitialization.d.ts.map +1 -1
  21. package/dist/bridge/initialization/SandboxInitialization.js +267 -90
  22. package/dist/bridge/messageInterceptor.d.ts.map +1 -1
  23. package/dist/bridge/requests.d.ts +1 -1
  24. package/dist/bridge/requests.d.ts.map +1 -1
  25. package/dist/bridge/requests.js +4 -3
  26. package/dist/bridge/sandboxEnvironment.d.ts +30 -0
  27. package/dist/bridge/sandboxEnvironment.d.ts.map +1 -0
  28. package/dist/bridge/sandboxEnvironment.js +1 -0
  29. package/dist/bridge/subscribeToHostStateField.d.ts +11 -0
  30. package/dist/bridge/subscribeToHostStateField.d.ts.map +1 -0
  31. package/dist/{context/subscribeToContext.js → bridge/subscribeToHostStateField.js} +8 -8
  32. package/dist/bridge.d.ts.map +1 -1
  33. package/dist/data-sources.d.ts +10 -0
  34. package/dist/data-sources.d.ts.map +1 -0
  35. package/dist/data-sources.js +1 -0
  36. package/dist/dataSources/NotionDataSource.d.ts +35 -0
  37. package/dist/dataSources/NotionDataSource.d.ts.map +1 -0
  38. package/dist/dataSources/NotionDataSource.js +50 -0
  39. package/dist/dataSources/bridge/DataSourceCache.d.ts +18 -0
  40. package/dist/dataSources/bridge/DataSourceCache.d.ts.map +1 -0
  41. package/dist/dataSources/bridge/DataSourceCache.js +75 -0
  42. package/dist/dataSources/bridge/applyDataSourceBindings.d.ts +1 -1
  43. package/dist/dataSources/bridge/applyDataSourceBindings.d.ts.map +1 -1
  44. package/dist/dataSources/bridge/makeDataSourceReadResponseSchema.d.ts +2001 -0
  45. package/dist/dataSources/bridge/makeDataSourceReadResponseSchema.d.ts.map +1 -0
  46. package/dist/dataSources/bridge/makeDataSourceReadResponseSchema.js +19 -0
  47. package/dist/dataSources/bridge/resolveDataSourceQuery.d.ts +2 -2
  48. package/dist/dataSources/bridge/resolveDataSourceQuery.d.ts.map +1 -1
  49. package/dist/dataSources/bridge/resolveDataSources.d.ts +1 -1
  50. package/dist/dataSources/bridge/resolveDataSources.d.ts.map +1 -1
  51. package/dist/dataSources/bridge/resolveDataSources.js +1 -1
  52. package/dist/dataSources/bridge/resolveSorts.d.ts.map +1 -1
  53. package/dist/dataSources/bridge/reuseDataSourcesForUnchangedBindings.d.ts +0 -3
  54. package/dist/dataSources/bridge/reuseDataSourcesForUnchangedBindings.d.ts.map +1 -1
  55. package/dist/dataSources/bridge/reuseDataSourcesForUnchangedBindings.js +2 -5
  56. package/dist/dataSources/dataSourceInaccessibleError.d.ts.map +1 -1
  57. package/dist/dataSources/dataSourceState.d.ts +26 -0
  58. package/dist/dataSources/dataSourceState.d.ts.map +1 -0
  59. package/dist/dataSources/dataSourceState.js +39 -0
  60. package/dist/dataSources/ensureDataSource.d.ts +554 -0
  61. package/dist/dataSources/ensureDataSource.d.ts.map +1 -0
  62. package/dist/dataSources/ensureDataSource.js +24 -0
  63. package/dist/dataSources/filters/resolveFilter.d.ts.map +1 -1
  64. package/dist/dataSources/filters/types.d.ts.map +1 -1
  65. package/dist/dataSources/getDataSourcePage.d.ts.map +1 -1
  66. package/dist/dataSources/getDataSourcePage.js +8 -3
  67. package/dist/dataSources/observeDataSource.d.ts +8 -0
  68. package/dist/dataSources/observeDataSource.d.ts.map +1 -0
  69. package/dist/dataSources/observeDataSource.js +76 -0
  70. package/dist/dataSources/properties/resolvePropertyAddress.d.ts.map +1 -1
  71. package/dist/dataSources/properties/resolvePropertyWriteMapForDataSource.d.ts +1 -1
  72. package/dist/dataSources/properties/resolvePropertyWriteMapForDataSource.d.ts.map +1 -1
  73. package/dist/dataSources/properties/resolvePropertyWriteMapForDataSource.js +3 -3
  74. package/dist/dataSources/resolvePageDataSource.d.ts +1 -1
  75. package/dist/dataSources/resolvePageDataSource.d.ts.map +1 -1
  76. package/dist/dataSources/subscribeToDataSource.d.ts +1 -1
  77. package/dist/dataSources/subscribeToDataSource.d.ts.map +1 -1
  78. package/dist/dataSources/subscribeToDataSource.js +72 -48
  79. package/dist/dataSources/types.d.ts +18 -15
  80. package/dist/dataSources/types.d.ts.map +1 -1
  81. package/dist/files/files.d.ts +1 -1
  82. package/dist/files/files.d.ts.map +1 -1
  83. package/dist/files/icons.d.ts.map +1 -1
  84. package/dist/index.d.ts +18 -33
  85. package/dist/index.d.ts.map +1 -1
  86. package/dist/index.js +10 -9
  87. package/dist/initialization/NotInIframeError.d.ts.map +1 -1
  88. package/dist/initialization/initCustomBlock.d.ts +6 -4
  89. package/dist/initialization/initCustomBlock.d.ts.map +1 -1
  90. package/dist/initialization/initCustomBlock.js +6 -4
  91. package/dist/initialization/notifyReady.d.ts +14 -0
  92. package/dist/initialization/notifyReady.d.ts.map +1 -0
  93. package/dist/initialization/notifyReady.js +9 -0
  94. package/dist/initialization/react/useCustomBlockInit.d.ts +18 -36
  95. package/dist/initialization/react/useCustomBlockInit.d.ts.map +1 -1
  96. package/dist/initialization/react/useCustomBlockInit.js +9 -22
  97. package/dist/initialization/resolveInitialState.d.ts +3 -12
  98. package/dist/initialization/resolveInitialState.d.ts.map +1 -1
  99. package/dist/initialization/resolveInitialState.js +8 -25
  100. package/dist/initialization/types.d.ts +17 -14
  101. package/dist/initialization/types.d.ts.map +1 -1
  102. package/dist/layout/autoResize.d.ts +1 -0
  103. package/dist/layout/autoResize.d.ts.map +1 -1
  104. package/dist/layout/autoResize.js +57 -37
  105. package/dist/layout/getInitialContentHeight.d.ts.map +1 -1
  106. package/dist/location/getContainingPage.d.ts +4 -0
  107. package/dist/location/getContainingPage.d.ts.map +1 -0
  108. package/dist/location/getContainingPage.js +10 -0
  109. package/dist/location/getInstance.d.ts +7 -0
  110. package/dist/location/getInstance.d.ts.map +1 -0
  111. package/dist/location/getInstance.js +8 -0
  112. package/dist/location/getParent.d.ts +4 -0
  113. package/dist/location/getParent.d.ts.map +1 -0
  114. package/dist/location/getParent.js +10 -0
  115. package/dist/location/mapContainingPage.d.ts +4 -0
  116. package/dist/location/mapContainingPage.d.ts.map +1 -0
  117. package/dist/location/mapContainingPage.js +10 -0
  118. package/dist/location/mapParent.d.ts +4 -0
  119. package/dist/location/mapParent.d.ts.map +1 -0
  120. package/dist/location/mapParent.js +20 -0
  121. package/dist/location/subscribeToContainingPage.d.ts +5 -0
  122. package/dist/location/subscribeToContainingPage.d.ts.map +1 -0
  123. package/dist/location/subscribeToContainingPage.js +9 -0
  124. package/dist/location/subscribeToParent.d.ts +5 -0
  125. package/dist/location/subscribeToParent.d.ts.map +1 -0
  126. package/dist/location/subscribeToParent.js +9 -0
  127. package/dist/location/types.d.ts +45 -0
  128. package/dist/location/types.d.ts.map +1 -0
  129. package/dist/location/types.js +1 -0
  130. package/dist/manifest/getManifest.d.ts +1 -1
  131. package/dist/manifest/getManifest.d.ts.map +1 -1
  132. package/dist/manifest/getManifest.js +2 -2
  133. package/dist/manifest/readLocalManifest.d.ts.map +1 -1
  134. package/dist/manifest/types.d.ts.map +1 -1
  135. package/dist/navigation/openExternalUrl.d.ts +1 -1
  136. package/dist/navigation/openExternalUrl.d.ts.map +1 -1
  137. package/dist/navigation/openExternalUrl.js +1 -1
  138. package/dist/navigation/types.d.ts.map +1 -1
  139. package/dist/navigation.d.ts +16 -0
  140. package/dist/navigation.d.ts.map +1 -0
  141. package/dist/navigation.js +21 -0
  142. package/dist/pages/NotionPage.d.ts +34 -0
  143. package/dist/pages/NotionPage.d.ts.map +1 -0
  144. package/dist/pages/NotionPage.js +105 -0
  145. package/dist/pages/bridge/buildCreatePageRequest.d.ts.map +1 -1
  146. package/dist/pages/bridge/getPageForDataSource.d.ts +1 -1
  147. package/dist/pages/bridge/getPageForDataSource.d.ts.map +1 -1
  148. package/dist/pages/bridge/getPageForDataSource.js +2 -2
  149. package/dist/pages/bridge/resolveCreatePageDestination.d.ts +1 -1
  150. package/dist/pages/bridge/resolveCreatePageDestination.d.ts.map +1 -1
  151. package/dist/pages/bridge/sendCreatePageRequest.d.ts.map +1 -1
  152. package/dist/pages/bridge/sendCreatePageRequest.js +3 -2
  153. package/dist/pages/bridge/toNotionPageFromBridgePage.d.ts +3 -9
  154. package/dist/pages/bridge/toNotionPageFromBridgePage.d.ts.map +1 -1
  155. package/dist/pages/bridge/toNotionPageFromBridgePage.js +36 -11
  156. package/dist/pages/bridge/toNotionPagePropertyFromBridgeProperty.d.ts +2 -2
  157. package/dist/pages/bridge/toNotionPagePropertyFromBridgeProperty.d.ts.map +1 -1
  158. package/dist/pages/bridge/updatePage.d.ts +4 -3
  159. package/dist/pages/bridge/updatePage.d.ts.map +1 -1
  160. package/dist/pages/bridge/updatePage.js +3 -3
  161. package/dist/pages/createPage.d.ts.map +1 -1
  162. package/dist/pages/createPage.js +9 -1
  163. package/dist/pages/getPage.d.ts +2 -2
  164. package/dist/pages/getPage.d.ts.map +1 -1
  165. package/dist/pages/getPage.js +1 -1
  166. package/dist/pages/identityBlockKey.d.ts +4 -0
  167. package/dist/pages/identityBlockKey.d.ts.map +1 -0
  168. package/dist/pages/identityBlockKey.js +6 -0
  169. package/dist/pages/identityPageKey.d.ts +7 -0
  170. package/dist/pages/identityPageKey.d.ts.map +1 -0
  171. package/dist/pages/identityPageKey.js +9 -0
  172. package/dist/pages/openPage.d.ts.map +1 -1
  173. package/dist/pages/parent.d.ts +0 -2
  174. package/dist/pages/parent.d.ts.map +1 -1
  175. package/dist/pages/types.d.ts +25 -51
  176. package/dist/pages/types.d.ts.map +1 -1
  177. package/dist/pages.d.ts +56 -0
  178. package/dist/pages.d.ts.map +1 -0
  179. package/dist/pages.js +69 -0
  180. package/dist/preferences/backgroundColors.d.ts.map +1 -0
  181. package/dist/preferences/getContrastMode.d.ts.map +1 -0
  182. package/dist/{context → preferences}/getContrastMode.js +1 -1
  183. package/dist/preferences/getTheme.d.ts.map +1 -0
  184. package/dist/{context → preferences}/getTheme.js +1 -1
  185. package/dist/preferences/react/useContrastMode.d.ts.map +1 -0
  186. package/dist/preferences/react/useTheme.d.ts.map +1 -0
  187. package/dist/{context → preferences}/subscribeToContrastMode.d.ts +1 -1
  188. package/dist/preferences/subscribeToContrastMode.d.ts.map +1 -0
  189. package/dist/{context → preferences}/subscribeToContrastMode.js +2 -2
  190. package/dist/{context → preferences}/subscribeToTheme.d.ts +1 -1
  191. package/dist/preferences/subscribeToTheme.d.ts.map +1 -0
  192. package/dist/{context → preferences}/subscribeToTheme.js +2 -2
  193. package/dist/preferences/syncDocumentAppearance.d.ts +11 -0
  194. package/dist/preferences/syncDocumentAppearance.d.ts.map +1 -0
  195. package/dist/{context → preferences}/syncDocumentAppearance.js +3 -5
  196. package/dist/preferences.d.ts +7 -0
  197. package/dist/preferences.d.ts.map +1 -0
  198. package/dist/preferences.js +4 -0
  199. package/dist/protocol/compatibility/protocol12/hostToSandbox.d.ts +3356 -0
  200. package/dist/protocol/compatibility/protocol12/hostToSandbox.js +38 -0
  201. package/dist/protocol/compatibility/{protocol3To5/bridgePage.d.ts → protocol12/page.d.ts} +84 -70
  202. package/dist/protocol/compatibility/protocol12/page.js +7 -0
  203. package/dist/protocol/context/containingPage.d.ts +6 -2
  204. package/dist/protocol/context/containingPage.js +5 -3
  205. package/dist/protocol/context/instance.d.ts +13 -0
  206. package/dist/protocol/context/instance.js +8 -0
  207. package/dist/protocol/context/messages/pageChanged.d.ts +1 -0
  208. package/dist/protocol/context/messages/pageChanged.js +2 -2
  209. package/dist/protocol/context/messages/pageError.d.ts +11 -0
  210. package/dist/protocol/context/messages/pageError.js +7 -0
  211. package/dist/protocol/context/messages/parentError.d.ts +11 -0
  212. package/dist/protocol/context/messages/parentError.js +7 -0
  213. package/dist/protocol/context/parent.d.ts +6 -6
  214. package/dist/protocol/dataSources/areDataSourceBindingsEqual.d.ts +3 -0
  215. package/dist/protocol/dataSources/areDataSourceBindingsEqual.js +26 -0
  216. package/dist/protocol/dataSources/bridgeDataSourceBinding.d.ts +4 -4
  217. package/dist/protocol/dataSources/bridgeDataSourceBindings.d.ts +4 -4
  218. package/dist/protocol/dataSources/dataSourceSchema.d.ts +4 -4
  219. package/dist/protocol/dataSources/errors.d.ts +27 -3
  220. package/dist/protocol/dataSources/messages/getDataSource.d.ts +1857 -0
  221. package/dist/protocol/dataSources/messages/getDataSource.js +27 -0
  222. package/dist/protocol/dataSources/messages/queryDataSource.d.ts +45 -386
  223. package/dist/protocol/dataSources/messages/queryDataSource.js +2 -17
  224. package/dist/protocol/dataSources/notionDataSource.d.ts +8 -8
  225. package/dist/protocol/dataSources/properties/propertySchema.d.ts +15 -20
  226. package/dist/protocol/dataSources/properties/propertySchema.js +5 -10
  227. package/dist/protocol/files.d.ts +18 -0
  228. package/dist/protocol/files.js +9 -0
  229. package/dist/protocol/handshake/connect.d.ts +11 -23
  230. package/dist/protocol/handshake/connect.js +12 -34
  231. package/dist/protocol/handshake/connectResult.d.ts +19 -0
  232. package/dist/protocol/handshake/connectResult.js +18 -0
  233. package/dist/protocol/handshake/init.d.ts +41 -219
  234. package/dist/protocol/handshake/init.js +11 -30
  235. package/dist/protocol/handshake/initResult.d.ts +9 -14
  236. package/dist/protocol/handshake/initResult.js +7 -10
  237. package/dist/protocol/handshake/isInitHandshakeMessage.d.ts +3 -3
  238. package/dist/protocol/handshake/isInitHandshakeMessage.js +1 -0
  239. package/dist/protocol/handshake/ready.d.ts +11 -0
  240. package/dist/protocol/handshake/ready.js +10 -0
  241. package/dist/protocol/icons.d.ts +1 -1
  242. package/dist/protocol/icons.js +1 -1
  243. package/dist/protocol/manifest/manifest.d.ts +2 -3
  244. package/dist/protocol/manifest/manifest.js +2 -3
  245. package/dist/protocol/messages/hostToSandbox.d.ts +4006 -2948
  246. package/dist/protocol/messages/hostToSandbox.js +24 -23
  247. package/dist/protocol/messages/incomingType.d.ts +2 -6
  248. package/dist/protocol/messages/incomingType.js +2 -6
  249. package/dist/protocol/messages/invalidHostMessage.d.ts +2 -0
  250. package/dist/protocol/messages/invalidHostMessage.js +2 -0
  251. package/dist/protocol/messages/invalidSandboxMessage.d.ts +2 -0
  252. package/dist/protocol/messages/invalidSandboxMessage.js +2 -0
  253. package/dist/protocol/messages/sandboxToHost.d.ts +77 -79
  254. package/dist/protocol/messages/sandboxToHost.js +13 -8
  255. package/dist/protocol/pages/bridgePage.d.ts +32 -23
  256. package/dist/protocol/pages/bridgePage.js +6 -1
  257. package/dist/protocol/pages/messages/createPage.d.ts +153 -697
  258. package/dist/protocol/pages/messages/createPage.js +0 -16
  259. package/dist/protocol/pages/messages/getPage.d.ts +36 -605
  260. package/dist/protocol/pages/messages/getPage.js +2 -15
  261. package/dist/protocol/pages/messages/updatePage.d.ts +68 -639
  262. package/dist/protocol/pages/messages/updatePage.js +1 -16
  263. package/dist/protocol/pages/properties/bridgePagePropertyMaps.d.ts +41 -38
  264. package/dist/protocol/pages/properties/bridgePagePropertyMaps.js +3 -3
  265. package/dist/protocol/pages/properties/bridgePagePropertyValue.d.ts +238 -4
  266. package/dist/protocol/pages/properties/bridgePagePropertyValue.js +20 -7
  267. package/dist/protocol/pages/properties/metadataActor.d.ts +1 -1
  268. package/dist/protocol/pages/properties/metadataActor.js +0 -1
  269. package/dist/protocol/users/bridgeUser.d.ts +2 -1
  270. package/dist/protocol/users/bridgeUser.js +2 -1
  271. package/dist/protocol/users/bridgeUserList.d.ts +1 -1
  272. package/dist/protocol/users/makeBridgeUser.d.ts +1 -1
  273. package/dist/protocol/users/makeBridgeUser.js +2 -1
  274. package/dist/protocol/users/messages/getCurrentUser.d.ts +32 -0
  275. package/dist/protocol/users/messages/getCurrentUser.js +22 -0
  276. package/dist/protocol/users/messages/getUser.d.ts +1 -1
  277. package/dist/protocol/users/messages/getViewer.d.ts +29 -0
  278. package/dist/protocol/users/messages/getViewer.js +23 -0
  279. package/dist/protocol/users/messages/listUsers.d.ts +1 -1
  280. package/dist/protocol/users/viewer.d.ts +9 -0
  281. package/dist/protocol/users/viewer.js +10 -0
  282. package/dist/protocol/utils/errors.d.ts +39 -3
  283. package/dist/protocol/utils/errors.js +8 -0
  284. package/dist/protocol/utils/ids.d.ts +3 -0
  285. package/dist/protocol/utils/ids.js +2 -0
  286. package/dist/protocol/utils/protocolVersion.d.ts +4 -5
  287. package/dist/protocol/utils/protocolVersion.js +5 -10
  288. package/dist/protocol/utils/readSubscriptionId.d.ts +2 -0
  289. package/dist/protocol/utils/readSubscriptionId.js +7 -0
  290. package/dist/react/InitializationErrorDetails.d.ts.map +1 -1
  291. package/dist/react/MissingHostCommand.d.ts.map +1 -1
  292. package/dist/react/MissingHostScreen.d.ts.map +1 -1
  293. package/dist/react/NotionCustomBlock.d.ts +6 -26
  294. package/dist/react/NotionCustomBlock.d.ts.map +1 -1
  295. package/dist/react/NotionCustomBlock.js +15 -41
  296. package/dist/react/index.d.ts +12 -16
  297. package/dist/react/index.d.ts.map +1 -1
  298. package/dist/react/index.js +11 -15
  299. package/dist/react/useAsyncRead.d.ts +16 -0
  300. package/dist/react/useAsyncRead.d.ts.map +1 -0
  301. package/dist/react/useAsyncRead.js +25 -0
  302. package/dist/react/useContainingPage.d.ts +5 -0
  303. package/dist/react/useContainingPage.d.ts.map +1 -0
  304. package/dist/react/useContainingPage.js +16 -0
  305. package/dist/react/useLiveLocationRead.d.ts +14 -0
  306. package/dist/react/useLiveLocationRead.d.ts.map +1 -0
  307. package/dist/react/useLiveLocationRead.js +35 -0
  308. package/dist/react/usePage.d.ts +7 -0
  309. package/dist/react/usePage.d.ts.map +1 -0
  310. package/dist/react/usePage.js +38 -0
  311. package/dist/react/useParent.d.ts +7 -0
  312. package/dist/react/useParent.d.ts.map +1 -0
  313. package/dist/react/useParent.js +18 -0
  314. package/dist/react/useQuerySubscription.d.ts +22 -0
  315. package/dist/react/useQuerySubscription.d.ts.map +1 -0
  316. package/dist/react/useQuerySubscription.js +43 -0
  317. package/dist/react/useUserFields.d.ts +9 -0
  318. package/dist/react/useUserFields.d.ts.map +1 -0
  319. package/dist/react/useUserFields.js +14 -0
  320. package/dist/react/useViewer.d.ts +3 -0
  321. package/dist/react/useViewer.d.ts.map +1 -0
  322. package/dist/react/useViewer.js +6 -0
  323. package/dist/styles/scrollbars.css +18 -0
  324. package/dist/users/NotionUser.d.ts +21 -0
  325. package/dist/users/NotionUser.d.ts.map +1 -0
  326. package/dist/users/NotionUser.js +51 -0
  327. package/dist/users/bridge/toNotionUserDataFromBridgeUser.d.ts +4 -0
  328. package/dist/users/bridge/toNotionUserDataFromBridgeUser.d.ts.map +1 -0
  329. package/dist/users/bridge/{toNotionUserFromBridgeUser.js → toNotionUserDataFromBridgeUser.js} +2 -2
  330. package/dist/users/getUser.d.ts +1 -1
  331. package/dist/users/getUser.d.ts.map +1 -1
  332. package/dist/users/getUser.js +3 -3
  333. package/dist/users/getViewer.d.ts +19 -0
  334. package/dist/users/getViewer.d.ts.map +1 -0
  335. package/dist/users/getViewer.js +21 -0
  336. package/dist/users/listUsers.d.ts.map +1 -1
  337. package/dist/users/listUsers.js +15 -5
  338. package/dist/users/types.d.ts +9 -7
  339. package/dist/users/types.d.ts.map +1 -1
  340. package/dist/users.d.ts +9 -0
  341. package/dist/users.d.ts.map +1 -0
  342. package/dist/users.js +3 -0
  343. package/dist/utils/makeUuid.d.ts +2 -0
  344. package/dist/utils/makeUuid.d.ts.map +1 -0
  345. package/dist/utils/makeUuid.js +3 -0
  346. package/dist/utils/notifyListener.d.ts.map +1 -1
  347. package/dist/utils/typeUtils.d.ts.map +1 -1
  348. package/dist/utils/unreachable.d.ts +1 -5
  349. package/dist/utils/unreachable.d.ts.map +1 -1
  350. package/dist/utils/unreachable.js +1 -5
  351. package/dist/utils/version.d.ts.map +1 -1
  352. package/dist/utils/version.js +1 -1
  353. package/docs/block-location.md +121 -128
  354. package/docs/data-sources.md +243 -380
  355. package/docs/deployment.md +11 -17
  356. package/docs/errors.md +91 -68
  357. package/docs/grants.md +25 -29
  358. package/docs/lifecycle.md +94 -188
  359. package/docs/links.md +14 -16
  360. package/docs/local-development.md +39 -0
  361. package/docs/pages.md +207 -184
  362. package/docs/users.md +81 -126
  363. package/package.json +22 -1
  364. package/src/bridge/SandboxBridge.ts +315 -89
  365. package/src/{context/applyContextMessage.ts → bridge/applyHostStateMessage.ts} +9 -9
  366. package/src/bridge/createBrowserSandboxBridge.ts +64 -0
  367. package/src/bridge/getBridge.ts +3 -2
  368. package/src/{context → bridge}/getInitializedHostState.ts +2 -2
  369. package/src/bridge/hostState.ts +31 -0
  370. package/src/bridge/initialization/SandboxInitialization.ts +343 -123
  371. package/src/bridge/requests.ts +6 -3
  372. package/src/bridge/sandboxEnvironment.ts +38 -0
  373. package/src/{context/subscribeToContext.ts → bridge/subscribeToHostStateField.ts} +11 -9
  374. package/src/data-sources.ts +24 -0
  375. package/src/dataSources/NotionDataSource.ts +114 -0
  376. package/src/dataSources/bridge/DataSourceCache.ts +94 -0
  377. package/src/dataSources/bridge/applyDataSourceBindings.ts +1 -1
  378. package/src/dataSources/bridge/makeDataSourceReadResponseSchema.ts +29 -0
  379. package/src/dataSources/bridge/resolveDataSourceQuery.ts +2 -2
  380. package/src/dataSources/bridge/resolveDataSources.ts +1 -1
  381. package/src/dataSources/bridge/reuseDataSourcesForUnchangedBindings.ts +5 -5
  382. package/src/dataSources/dataSourceState.ts +65 -0
  383. package/src/dataSources/ensureDataSource.ts +33 -0
  384. package/src/dataSources/getDataSourcePage.ts +8 -3
  385. package/src/dataSources/observeDataSource.ts +94 -0
  386. package/src/dataSources/properties/resolvePropertyWriteMapForDataSource.ts +3 -3
  387. package/src/dataSources/resolvePageDataSource.ts +1 -1
  388. package/src/dataSources/subscribeToDataSource.ts +78 -49
  389. package/src/dataSources/types.ts +16 -16
  390. package/src/files/files.ts +1 -1
  391. package/src/index.ts +25 -66
  392. package/src/initialization/initCustomBlock.ts +9 -5
  393. package/src/initialization/notifyReady.ts +15 -0
  394. package/src/initialization/react/useCustomBlockInit.ts +22 -37
  395. package/src/initialization/resolveInitialState.ts +13 -32
  396. package/src/initialization/types.ts +20 -14
  397. package/src/layout/autoResize.ts +57 -40
  398. package/src/location/getContainingPage.ts +14 -0
  399. package/src/location/getInstance.ts +10 -0
  400. package/src/location/getParent.ts +14 -0
  401. package/src/location/mapContainingPage.ts +13 -0
  402. package/src/location/mapParent.ts +23 -0
  403. package/src/location/subscribeToContainingPage.ts +14 -0
  404. package/src/location/subscribeToParent.ts +14 -0
  405. package/src/location/types.ts +29 -0
  406. package/src/manifest/getManifest.ts +2 -2
  407. package/src/navigation/openExternalUrl.ts +1 -1
  408. package/src/navigation.ts +45 -0
  409. package/src/pages/NotionPage.ts +144 -0
  410. package/src/pages/bridge/getPageForDataSource.ts +3 -3
  411. package/src/pages/bridge/resolveCreatePageDestination.ts +1 -1
  412. package/src/pages/bridge/sendCreatePageRequest.ts +3 -2
  413. package/src/pages/bridge/toNotionPageFromBridgePage.ts +45 -19
  414. package/src/pages/bridge/toNotionPagePropertyFromBridgeProperty.ts +2 -2
  415. package/src/pages/bridge/updatePage.ts +6 -6
  416. package/src/pages/createPage.ts +14 -1
  417. package/src/pages/getPage.ts +2 -2
  418. package/src/pages/identityBlockKey.ts +10 -0
  419. package/src/pages/identityPageKey.ts +13 -0
  420. package/src/pages/parent.ts +0 -10
  421. package/src/pages/types.ts +32 -45
  422. package/src/pages.ts +144 -0
  423. package/src/{context → preferences}/getContrastMode.ts +1 -1
  424. package/src/{context → preferences}/getTheme.ts +1 -1
  425. package/src/{context → preferences}/subscribeToContrastMode.ts +3 -3
  426. package/src/{context → preferences}/subscribeToTheme.ts +3 -3
  427. package/src/{context → preferences}/syncDocumentAppearance.ts +3 -5
  428. package/src/preferences.ts +6 -0
  429. package/src/react/NotionCustomBlock.tsx +21 -52
  430. package/src/react/index.ts +20 -16
  431. package/src/react/useAsyncRead.ts +44 -0
  432. package/src/react/useContainingPage.ts +20 -0
  433. package/src/react/useLiveLocationRead.ts +53 -0
  434. package/src/react/usePage.ts +61 -0
  435. package/src/react/useParent.ts +22 -0
  436. package/src/react/useQuerySubscription.ts +71 -0
  437. package/src/react/useUserFields.ts +24 -0
  438. package/src/react/useViewer.ts +7 -0
  439. package/src/styles/scrollbars.css +18 -0
  440. package/src/users/NotionUser.ts +70 -0
  441. package/src/users/bridge/{toNotionUserFromBridgeUser.ts → toNotionUserDataFromBridgeUser.ts} +6 -3
  442. package/src/users/getUser.ts +3 -3
  443. package/src/users/getViewer.ts +36 -0
  444. package/src/users/listUsers.ts +15 -5
  445. package/src/users/types.ts +9 -7
  446. package/src/users.ts +20 -0
  447. package/src/utils/makeUuid.ts +3 -0
  448. package/src/utils/unreachable.ts +1 -6
  449. package/dist/bridge/parseHostToSandboxMessage.d.ts +0 -3678
  450. package/dist/bridge/parseHostToSandboxMessage.d.ts.map +0 -1
  451. package/dist/bridge/parseHostToSandboxMessage.js +0 -47
  452. package/dist/context/applyContextMessage.d.ts.map +0 -1
  453. package/dist/context/backgroundColors.d.ts.map +0 -1
  454. package/dist/context/getBlockId.d.ts +0 -7
  455. package/dist/context/getBlockId.d.ts.map +0 -1
  456. package/dist/context/getBlockId.js +0 -8
  457. package/dist/context/getContrastMode.d.ts.map +0 -1
  458. package/dist/context/getInitializedHostState.d.ts.map +0 -1
  459. package/dist/context/getInitializedHostState.js +0 -8
  460. package/dist/context/getPage.d.ts +0 -7
  461. package/dist/context/getPage.d.ts.map +0 -1
  462. package/dist/context/getPage.js +0 -8
  463. package/dist/context/getParent.d.ts +0 -7
  464. package/dist/context/getParent.d.ts.map +0 -1
  465. package/dist/context/getParent.js +0 -8
  466. package/dist/context/getTheme.d.ts.map +0 -1
  467. package/dist/context/hostState.d.ts +0 -15
  468. package/dist/context/hostState.d.ts.map +0 -1
  469. package/dist/context/index.d.ts +0 -42
  470. package/dist/context/index.d.ts.map +0 -1
  471. package/dist/context/index.js +0 -41
  472. package/dist/context/react/useBlockId.d.ts +0 -11
  473. package/dist/context/react/useBlockId.d.ts.map +0 -1
  474. package/dist/context/react/useBlockId.js +0 -14
  475. package/dist/context/react/useContrastMode.d.ts.map +0 -1
  476. package/dist/context/react/usePage.d.ts +0 -12
  477. package/dist/context/react/usePage.d.ts.map +0 -1
  478. package/dist/context/react/usePage.js +0 -15
  479. package/dist/context/react/useParent.d.ts +0 -12
  480. package/dist/context/react/useParent.d.ts.map +0 -1
  481. package/dist/context/react/useParent.js +0 -15
  482. package/dist/context/react/useTheme.d.ts.map +0 -1
  483. package/dist/context/subscribeToBlockId.d.ts +0 -8
  484. package/dist/context/subscribeToBlockId.d.ts.map +0 -1
  485. package/dist/context/subscribeToBlockId.js +0 -8
  486. package/dist/context/subscribeToContext.d.ts +0 -12
  487. package/dist/context/subscribeToContext.d.ts.map +0 -1
  488. package/dist/context/subscribeToContrastMode.d.ts.map +0 -1
  489. package/dist/context/subscribeToPage.d.ts +0 -8
  490. package/dist/context/subscribeToPage.d.ts.map +0 -1
  491. package/dist/context/subscribeToPage.js +0 -8
  492. package/dist/context/subscribeToParent.d.ts +0 -8
  493. package/dist/context/subscribeToParent.d.ts.map +0 -1
  494. package/dist/context/subscribeToParent.js +0 -8
  495. package/dist/context/subscribeToTheme.d.ts.map +0 -1
  496. package/dist/context/syncDocumentAppearance.d.ts +0 -14
  497. package/dist/context/syncDocumentAppearance.d.ts.map +0 -1
  498. package/dist/dataSources/createDataSourcePage.d.ts +0 -4
  499. package/dist/dataSources/createDataSourcePage.d.ts.map +0 -1
  500. package/dist/dataSources/createDataSourcePage.js +0 -44
  501. package/dist/dataSources/index.d.ts +0 -9
  502. package/dist/dataSources/index.d.ts.map +0 -1
  503. package/dist/dataSources/index.js +0 -8
  504. package/dist/dataSources/queryDataSource.d.ts +0 -3
  505. package/dist/dataSources/queryDataSource.d.ts.map +0 -1
  506. package/dist/dataSources/queryDataSource.js +0 -56
  507. package/dist/dataSources/react/useDataSource.d.ts +0 -13
  508. package/dist/dataSources/react/useDataSource.d.ts.map +0 -1
  509. package/dist/dataSources/react/useDataSource.js +0 -58
  510. package/dist/initialization/getInitBindingError.d.ts +0 -5
  511. package/dist/initialization/getInitBindingError.d.ts.map +0 -1
  512. package/dist/initialization/getInitBindingError.js +0 -26
  513. package/dist/layout/postResize.d.ts +0 -2
  514. package/dist/layout/postResize.d.ts.map +0 -1
  515. package/dist/layout/postResize.js +0 -12
  516. package/dist/manifest/react/useManifest.d.ts +0 -15
  517. package/dist/manifest/react/useManifest.d.ts.map +0 -1
  518. package/dist/manifest/react/useManifest.js +0 -18
  519. package/dist/manifest/subscribeToManifest.d.ts +0 -8
  520. package/dist/manifest/subscribeToManifest.d.ts.map +0 -1
  521. package/dist/manifest/subscribeToManifest.js +0 -8
  522. package/dist/navigation/index.d.ts +0 -5
  523. package/dist/navigation/index.d.ts.map +0 -1
  524. package/dist/navigation/index.js +0 -4
  525. package/dist/pages/bridge/makeUpdatePageByKey.d.ts +0 -8
  526. package/dist/pages/bridge/makeUpdatePageByKey.d.ts.map +0 -1
  527. package/dist/pages/bridge/makeUpdatePageByKey.js +0 -17
  528. package/dist/pages/bridge/toNotionPageFieldsFromBridgePage.d.ts +0 -89
  529. package/dist/pages/bridge/toNotionPageFieldsFromBridgePage.d.ts.map +0 -1
  530. package/dist/pages/bridge/toNotionPageFieldsFromBridgePage.js +0 -24
  531. package/dist/pages/bridge/updateNotionPageFromBridgePage.d.ts +0 -4
  532. package/dist/pages/bridge/updateNotionPageFromBridgePage.d.ts.map +0 -1
  533. package/dist/pages/bridge/updateNotionPageFromBridgePage.js +0 -4
  534. package/dist/pages/index.d.ts +0 -9
  535. package/dist/pages/index.d.ts.map +0 -1
  536. package/dist/pages/index.js +0 -8
  537. package/dist/pages/makeNotionPage.d.ts +0 -11
  538. package/dist/pages/makeNotionPage.d.ts.map +0 -1
  539. package/dist/pages/makeNotionPage.js +0 -34
  540. package/dist/pages/properties/getPropertyById.d.ts +0 -6
  541. package/dist/pages/properties/getPropertyById.d.ts.map +0 -1
  542. package/dist/pages/properties/getPropertyById.js +0 -3
  543. package/dist/pages/properties/getPropertyByKey.d.ts +0 -9
  544. package/dist/pages/properties/getPropertyByKey.d.ts.map +0 -1
  545. package/dist/pages/properties/getPropertyByKey.js +0 -16
  546. package/dist/protocol/compatibility/protocol3To10/dataSourceBindings.d.ts +0 -530
  547. package/dist/protocol/compatibility/protocol3To10/dataSourceBindings.js +0 -25
  548. package/dist/protocol/compatibility/protocol3To5/bridgePage.js +0 -21
  549. package/dist/protocol/compatibility/protocol3To5/dataSourcePage.d.ts +0 -73
  550. package/dist/protocol/compatibility/protocol3To5/dataSourcePage.js +0 -14
  551. package/dist/protocol/compatibility/protocol3To5/dataSourceValue.d.ts +0 -66
  552. package/dist/protocol/compatibility/protocol3To5/dataSourceValue.js +0 -14
  553. package/dist/protocol/dataSources/messages/dataSourcesChanged.d.ts +0 -150
  554. package/dist/protocol/dataSources/messages/dataSourcesChanged.js +0 -13
  555. package/dist/protocol/index.d.ts +0 -158
  556. package/dist/protocol/index.js +0 -80
  557. package/dist/protocol/users/messages/currentUserChanged.d.ts +0 -18
  558. package/dist/protocol/users/messages/currentUserChanged.js +0 -9
  559. package/dist/react/NotionTokenScope.d.ts +0 -10
  560. package/dist/react/NotionTokenScope.d.ts.map +0 -1
  561. package/dist/react/NotionTokenScope.js +0 -12
  562. package/dist/users/bridge/toNotionUserFromBridgeUser.d.ts +0 -4
  563. package/dist/users/bridge/toNotionUserFromBridgeUser.d.ts.map +0 -1
  564. package/dist/users/getCurrentUser.d.ts +0 -7
  565. package/dist/users/getCurrentUser.d.ts.map +0 -1
  566. package/dist/users/getCurrentUser.js +0 -8
  567. package/dist/users/index.d.ts +0 -7
  568. package/dist/users/index.d.ts.map +0 -1
  569. package/dist/users/index.js +0 -6
  570. package/dist/users/react/useCurrentUser.d.ts +0 -12
  571. package/dist/users/react/useCurrentUser.d.ts.map +0 -1
  572. package/dist/users/react/useCurrentUser.js +0 -15
  573. package/dist/users/subscribeToCurrentUser.d.ts +0 -8
  574. package/dist/users/subscribeToCurrentUser.d.ts.map +0 -1
  575. package/dist/users/subscribeToCurrentUser.js +0 -8
  576. package/src/bridge/parseHostToSandboxMessage.ts +0 -54
  577. package/src/context/getBlockId.ts +0 -10
  578. package/src/context/getPage.ts +0 -10
  579. package/src/context/getParent.ts +0 -10
  580. package/src/context/hostState.ts +0 -17
  581. package/src/context/index.ts +0 -42
  582. package/src/context/react/useBlockId.ts +0 -16
  583. package/src/context/react/usePage.ts +0 -17
  584. package/src/context/react/useParent.ts +0 -17
  585. package/src/context/subscribeToBlockId.ts +0 -13
  586. package/src/context/subscribeToPage.ts +0 -13
  587. package/src/context/subscribeToParent.ts +0 -13
  588. package/src/dataSources/createDataSourcePage.ts +0 -50
  589. package/src/dataSources/index.ts +0 -9
  590. package/src/dataSources/queryDataSource.ts +0 -62
  591. package/src/dataSources/react/useDataSource.ts +0 -71
  592. package/src/initialization/getInitBindingError.ts +0 -39
  593. package/src/layout/postResize.ts +0 -15
  594. package/src/manifest/react/useManifest.ts +0 -20
  595. package/src/manifest/subscribeToManifest.ts +0 -13
  596. package/src/navigation/index.ts +0 -5
  597. package/src/pages/bridge/makeUpdatePageByKey.ts +0 -25
  598. package/src/pages/bridge/toNotionPageFieldsFromBridgePage.ts +0 -27
  599. package/src/pages/bridge/updateNotionPageFromBridgePage.ts +0 -10
  600. package/src/pages/index.ts +0 -9
  601. package/src/pages/makeNotionPage.ts +0 -55
  602. package/src/pages/properties/getPropertyById.ts +0 -12
  603. package/src/pages/properties/getPropertyByKey.ts +0 -30
  604. package/src/react/NotionTokenScope.tsx +0 -26
  605. package/src/styles/nds.css.metadata.json +0 -6
  606. package/src/users/getCurrentUser.ts +0 -10
  607. package/src/users/index.ts +0 -7
  608. package/src/users/react/useCurrentUser.ts +0 -17
  609. package/src/users/subscribeToCurrentUser.ts +0 -13
  610. /package/dist/{context → bridge}/getInitializedHostState.d.ts +0 -0
  611. /package/dist/{context → bridge}/hostState.js +0 -0
  612. /package/dist/{context → preferences}/backgroundColors.d.ts +0 -0
  613. /package/dist/{context → preferences}/backgroundColors.js +0 -0
  614. /package/dist/{context → preferences}/getContrastMode.d.ts +0 -0
  615. /package/dist/{context → preferences}/getTheme.d.ts +0 -0
  616. /package/dist/{context → preferences}/react/useContrastMode.d.ts +0 -0
  617. /package/dist/{context → preferences}/react/useContrastMode.js +0 -0
  618. /package/dist/{context → preferences}/react/useTheme.d.ts +0 -0
  619. /package/dist/{context → preferences}/react/useTheme.js +0 -0
  620. /package/src/{context → preferences}/backgroundColors.ts +0 -0
  621. /package/src/{context → preferences}/react/useContrastMode.ts +0 -0
  622. /package/src/{context → preferences}/react/useTheme.ts +0 -0
@@ -0,0 +1,3356 @@
1
+ import * as v from "valibot";
2
+ export declare const hostToSandboxMessageForProtocol12Schema: v.VariantSchema<"type", [v.VariantSchema<"status", [v.ObjectSchema<{
3
+ readonly type: v.LiteralSchema<"connectResult", undefined>;
4
+ readonly requestId: v.StringSchema<undefined>;
5
+ readonly status: v.LiteralSchema<"success", undefined>;
6
+ readonly protocolVersion: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
7
+ }, undefined>, v.ObjectSchema<{
8
+ readonly type: v.LiteralSchema<"connectResult", undefined>;
9
+ readonly requestId: v.StringSchema<undefined>;
10
+ readonly status: v.LiteralSchema<"error", undefined>;
11
+ readonly error: v.ObjectSchema<{
12
+ readonly code: v.StringSchema<undefined>;
13
+ readonly message: v.StringSchema<undefined>;
14
+ readonly isRetryable: v.BooleanSchema<undefined>;
15
+ }, undefined>;
16
+ }, undefined>], undefined>, v.ObjectSchema<{
17
+ readonly type: v.LiteralSchema<"init", undefined>;
18
+ readonly requestId: v.StringSchema<undefined>;
19
+ readonly instance: v.VariantSchema<"type", [v.StrictObjectSchema<{
20
+ readonly type: v.LiteralSchema<"block", undefined>;
21
+ readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
22
+ }, undefined>, v.StrictObjectSchema<{
23
+ readonly type: v.LiteralSchema<"page", undefined>;
24
+ readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
25
+ }, undefined>, v.StrictObjectSchema<{
26
+ readonly type: v.LiteralSchema<"view", undefined>;
27
+ readonly viewId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionViewId">]>;
28
+ }, undefined>], undefined>;
29
+ readonly manifest: v.ObjectSchema<{
30
+ readonly version: v.LiteralSchema<1, undefined>;
31
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
32
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
33
+ readonly slashCommand: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
34
+ readonly icon: v.OptionalSchema<v.ObjectSchema<{
35
+ readonly type: v.LiteralSchema<"emoji", undefined>;
36
+ readonly emoji: v.StringSchema<undefined>;
37
+ }, undefined>, undefined>;
38
+ readonly dataSources: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
39
+ readonly name: v.StringSchema<undefined>;
40
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
41
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
42
+ readonly type: v.LiteralSchema<"emoji", undefined>;
43
+ readonly emoji: v.StringSchema<undefined>;
44
+ }, undefined>, v.ObjectSchema<{
45
+ readonly type: v.LiteralSchema<"external", undefined>;
46
+ readonly url: v.StringSchema<undefined>;
47
+ }, undefined>], undefined>, undefined>;
48
+ readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
49
+ readonly name: v.StringSchema<undefined>;
50
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
51
+ readonly type: v.PicklistSchema<readonly ["title", "rich_text", "number", "checkbox", "url", "email", "phone_number", "select", "multi_select", "status", "date", "people", "files", "unique_id", "relation", "place", "formula", "rollup", "button", "verification", "created_time", "last_edited_time", "created_by", "last_edited_by"], undefined>;
52
+ }, undefined>, undefined>, {}>;
53
+ }, undefined>, undefined>, {}>;
54
+ readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
55
+ readonly name: v.StringSchema<undefined>;
56
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
57
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
58
+ readonly type: v.LiteralSchema<"emoji", undefined>;
59
+ readonly emoji: v.StringSchema<undefined>;
60
+ }, undefined>, v.ObjectSchema<{
61
+ readonly type: v.LiteralSchema<"external", undefined>;
62
+ readonly url: v.StringSchema<undefined>;
63
+ }, undefined>], undefined>, undefined>;
64
+ }, undefined>, undefined>, undefined>;
65
+ readonly grants: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
66
+ readonly action: v.StringSchema<undefined>;
67
+ readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
68
+ }, undefined>, undefined>, undefined>;
69
+ }, undefined>;
70
+ readonly preferences: v.ObjectSchema<{
71
+ readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
72
+ readonly contrastMode: v.PicklistSchema<["standard", "high"], undefined>;
73
+ }, undefined>;
74
+ }, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
75
+ readonly type: v.LiteralSchema<"getDataSourceResult", undefined>;
76
+ readonly requestId: v.StringSchema<undefined>;
77
+ readonly status: v.LiteralSchema<"success", undefined>;
78
+ readonly binding: Omit<Omit<v.ObjectSchema<{
79
+ readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
80
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
81
+ readonly table: v.StringSchema<undefined>;
82
+ readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
83
+ }, undefined>, undefined>;
84
+ readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
85
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
86
+ readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
87
+ readonly name: v.StringSchema<undefined>;
88
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
89
+ readonly type: v.LiteralSchema<"title", undefined>;
90
+ }, undefined>, v.ObjectSchema<{
91
+ readonly name: v.StringSchema<undefined>;
92
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
93
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
94
+ }, undefined>, v.ObjectSchema<{
95
+ readonly name: v.StringSchema<undefined>;
96
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
97
+ readonly type: v.LiteralSchema<"number", undefined>;
98
+ }, undefined>, v.ObjectSchema<{
99
+ readonly name: v.StringSchema<undefined>;
100
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
101
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
102
+ }, undefined>, v.ObjectSchema<{
103
+ readonly name: v.StringSchema<undefined>;
104
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
105
+ readonly type: v.LiteralSchema<"url", undefined>;
106
+ }, undefined>, v.ObjectSchema<{
107
+ readonly name: v.StringSchema<undefined>;
108
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
109
+ readonly type: v.LiteralSchema<"email", undefined>;
110
+ }, undefined>, v.ObjectSchema<{
111
+ readonly name: v.StringSchema<undefined>;
112
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
113
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
114
+ }, undefined>, v.ObjectSchema<{
115
+ readonly name: v.StringSchema<undefined>;
116
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
117
+ readonly type: v.LiteralSchema<"select", undefined>;
118
+ readonly options: v.ArraySchema<v.ObjectSchema<{
119
+ readonly id: v.StringSchema<undefined>;
120
+ readonly name: v.StringSchema<undefined>;
121
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
122
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
123
+ }, undefined>, undefined>;
124
+ }, undefined>, v.ObjectSchema<{
125
+ readonly name: v.StringSchema<undefined>;
126
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
127
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
128
+ readonly options: v.ArraySchema<v.ObjectSchema<{
129
+ readonly id: v.StringSchema<undefined>;
130
+ readonly name: v.StringSchema<undefined>;
131
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
132
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
133
+ }, undefined>, undefined>;
134
+ }, undefined>, v.ObjectSchema<{
135
+ readonly name: v.StringSchema<undefined>;
136
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
137
+ readonly type: v.LiteralSchema<"status", undefined>;
138
+ readonly options: v.ArraySchema<v.ObjectSchema<{
139
+ readonly id: v.StringSchema<undefined>;
140
+ readonly name: v.StringSchema<undefined>;
141
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
142
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
143
+ }, undefined>, undefined>;
144
+ readonly groups: v.ArraySchema<v.ObjectSchema<{
145
+ readonly id: v.StringSchema<undefined>;
146
+ readonly name: v.StringSchema<undefined>;
147
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
148
+ readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
149
+ }, undefined>, undefined>;
150
+ }, undefined>, v.ObjectSchema<{
151
+ readonly name: v.StringSchema<undefined>;
152
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
153
+ readonly type: v.LiteralSchema<"date", undefined>;
154
+ }, undefined>, v.ObjectSchema<{
155
+ readonly name: v.StringSchema<undefined>;
156
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
157
+ readonly type: v.LiteralSchema<"people", undefined>;
158
+ }, undefined>, v.ObjectSchema<{
159
+ readonly name: v.StringSchema<undefined>;
160
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
161
+ readonly type: v.LiteralSchema<"files", undefined>;
162
+ }, undefined>, v.ObjectSchema<{
163
+ readonly name: v.StringSchema<undefined>;
164
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
165
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
166
+ }, undefined>, v.ObjectSchema<{
167
+ readonly name: v.StringSchema<undefined>;
168
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
169
+ readonly type: v.LiteralSchema<"relation", undefined>;
170
+ readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
171
+ readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
172
+ readonly synced_property_id: v.StringSchema<undefined>;
173
+ readonly synced_property_name: v.StringSchema<undefined>;
174
+ }, undefined>, undefined>;
175
+ }, undefined>, v.ObjectSchema<{
176
+ readonly name: v.StringSchema<undefined>;
177
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
178
+ readonly type: v.LiteralSchema<"place", undefined>;
179
+ }, undefined>, v.ObjectSchema<{
180
+ readonly name: v.StringSchema<undefined>;
181
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
182
+ readonly type: v.LiteralSchema<"formula", undefined>;
183
+ }, undefined>, v.ObjectSchema<{
184
+ readonly name: v.StringSchema<undefined>;
185
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
186
+ readonly type: v.LiteralSchema<"rollup", undefined>;
187
+ }, undefined>, v.ObjectSchema<{
188
+ readonly name: v.StringSchema<undefined>;
189
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
190
+ readonly type: v.LiteralSchema<"button", undefined>;
191
+ }, undefined>, v.ObjectSchema<{
192
+ readonly name: v.StringSchema<undefined>;
193
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
194
+ readonly type: v.LiteralSchema<"verification", undefined>;
195
+ }, undefined>, v.ObjectSchema<{
196
+ readonly name: v.StringSchema<undefined>;
197
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
198
+ readonly type: v.LiteralSchema<"created_time", undefined>;
199
+ }, undefined>, v.ObjectSchema<{
200
+ readonly name: v.StringSchema<undefined>;
201
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
202
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
203
+ }, undefined>, v.ObjectSchema<{
204
+ readonly name: v.StringSchema<undefined>;
205
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
206
+ readonly type: v.LiteralSchema<"created_by", undefined>;
207
+ }, undefined>, v.ObjectSchema<{
208
+ readonly name: v.StringSchema<undefined>;
209
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
210
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
211
+ }, undefined>], undefined>, undefined>;
212
+ }, undefined>, undefined>;
213
+ readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
214
+ readonly inaccessible: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
215
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
216
+ readonly entries: Omit<{
217
+ readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
218
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
219
+ readonly table: v.StringSchema<undefined>;
220
+ readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
221
+ }, undefined>, undefined>;
222
+ readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
223
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
224
+ readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
225
+ readonly name: v.StringSchema<undefined>;
226
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
227
+ readonly type: v.LiteralSchema<"title", undefined>;
228
+ }, undefined>, v.ObjectSchema<{
229
+ readonly name: v.StringSchema<undefined>;
230
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
231
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
232
+ }, undefined>, v.ObjectSchema<{
233
+ readonly name: v.StringSchema<undefined>;
234
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
235
+ readonly type: v.LiteralSchema<"number", undefined>;
236
+ }, undefined>, v.ObjectSchema<{
237
+ readonly name: v.StringSchema<undefined>;
238
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
239
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
240
+ }, undefined>, v.ObjectSchema<{
241
+ readonly name: v.StringSchema<undefined>;
242
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
243
+ readonly type: v.LiteralSchema<"url", undefined>;
244
+ }, undefined>, v.ObjectSchema<{
245
+ readonly name: v.StringSchema<undefined>;
246
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
247
+ readonly type: v.LiteralSchema<"email", undefined>;
248
+ }, undefined>, v.ObjectSchema<{
249
+ readonly name: v.StringSchema<undefined>;
250
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
251
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
252
+ }, undefined>, v.ObjectSchema<{
253
+ readonly name: v.StringSchema<undefined>;
254
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
255
+ readonly type: v.LiteralSchema<"select", undefined>;
256
+ readonly options: v.ArraySchema<v.ObjectSchema<{
257
+ readonly id: v.StringSchema<undefined>;
258
+ readonly name: v.StringSchema<undefined>;
259
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
260
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
261
+ }, undefined>, undefined>;
262
+ }, undefined>, v.ObjectSchema<{
263
+ readonly name: v.StringSchema<undefined>;
264
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
265
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
266
+ readonly options: v.ArraySchema<v.ObjectSchema<{
267
+ readonly id: v.StringSchema<undefined>;
268
+ readonly name: v.StringSchema<undefined>;
269
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
270
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
271
+ }, undefined>, undefined>;
272
+ }, undefined>, v.ObjectSchema<{
273
+ readonly name: v.StringSchema<undefined>;
274
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
275
+ readonly type: v.LiteralSchema<"status", undefined>;
276
+ readonly options: v.ArraySchema<v.ObjectSchema<{
277
+ readonly id: v.StringSchema<undefined>;
278
+ readonly name: v.StringSchema<undefined>;
279
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
280
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
281
+ }, undefined>, undefined>;
282
+ readonly groups: v.ArraySchema<v.ObjectSchema<{
283
+ readonly id: v.StringSchema<undefined>;
284
+ readonly name: v.StringSchema<undefined>;
285
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
286
+ readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
287
+ }, undefined>, undefined>;
288
+ }, undefined>, v.ObjectSchema<{
289
+ readonly name: v.StringSchema<undefined>;
290
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
291
+ readonly type: v.LiteralSchema<"date", undefined>;
292
+ }, undefined>, v.ObjectSchema<{
293
+ readonly name: v.StringSchema<undefined>;
294
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
295
+ readonly type: v.LiteralSchema<"people", undefined>;
296
+ }, undefined>, v.ObjectSchema<{
297
+ readonly name: v.StringSchema<undefined>;
298
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
299
+ readonly type: v.LiteralSchema<"files", undefined>;
300
+ }, undefined>, v.ObjectSchema<{
301
+ readonly name: v.StringSchema<undefined>;
302
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
303
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
304
+ }, undefined>, v.ObjectSchema<{
305
+ readonly name: v.StringSchema<undefined>;
306
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
307
+ readonly type: v.LiteralSchema<"relation", undefined>;
308
+ readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
309
+ readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
310
+ readonly synced_property_id: v.StringSchema<undefined>;
311
+ readonly synced_property_name: v.StringSchema<undefined>;
312
+ }, undefined>, undefined>;
313
+ }, undefined>, v.ObjectSchema<{
314
+ readonly name: v.StringSchema<undefined>;
315
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
316
+ readonly type: v.LiteralSchema<"place", undefined>;
317
+ }, undefined>, v.ObjectSchema<{
318
+ readonly name: v.StringSchema<undefined>;
319
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
320
+ readonly type: v.LiteralSchema<"formula", undefined>;
321
+ }, undefined>, v.ObjectSchema<{
322
+ readonly name: v.StringSchema<undefined>;
323
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
324
+ readonly type: v.LiteralSchema<"rollup", undefined>;
325
+ }, undefined>, v.ObjectSchema<{
326
+ readonly name: v.StringSchema<undefined>;
327
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
328
+ readonly type: v.LiteralSchema<"button", undefined>;
329
+ }, undefined>, v.ObjectSchema<{
330
+ readonly name: v.StringSchema<undefined>;
331
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
332
+ readonly type: v.LiteralSchema<"verification", undefined>;
333
+ }, undefined>, v.ObjectSchema<{
334
+ readonly name: v.StringSchema<undefined>;
335
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
336
+ readonly type: v.LiteralSchema<"created_time", undefined>;
337
+ }, undefined>, v.ObjectSchema<{
338
+ readonly name: v.StringSchema<undefined>;
339
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
340
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
341
+ }, undefined>, v.ObjectSchema<{
342
+ readonly name: v.StringSchema<undefined>;
343
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
344
+ readonly type: v.LiteralSchema<"created_by", undefined>;
345
+ }, undefined>, v.ObjectSchema<{
346
+ readonly name: v.StringSchema<undefined>;
347
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
348
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
349
+ }, undefined>], undefined>, undefined>;
350
+ }, undefined>, undefined>;
351
+ readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
352
+ readonly inaccessible: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
353
+ }, "inaccessible">;
354
+ readonly "~standard": v.StandardProps<{
355
+ dataSourcePointer?: {
356
+ id: string;
357
+ table: string;
358
+ spaceId?: string | undefined;
359
+ } | undefined;
360
+ dataSourceSchema?: {
361
+ id?: string | undefined;
362
+ propertiesById: {
363
+ [x: string]: {
364
+ name: string;
365
+ description?: string | undefined;
366
+ type: "title";
367
+ } | {
368
+ name: string;
369
+ description?: string | undefined;
370
+ type: "rich_text";
371
+ } | {
372
+ name: string;
373
+ description?: string | undefined;
374
+ type: "number";
375
+ } | {
376
+ name: string;
377
+ description?: string | undefined;
378
+ type: "checkbox";
379
+ } | {
380
+ name: string;
381
+ description?: string | undefined;
382
+ type: "url";
383
+ } | {
384
+ name: string;
385
+ description?: string | undefined;
386
+ type: "email";
387
+ } | {
388
+ name: string;
389
+ description?: string | undefined;
390
+ type: "phone_number";
391
+ } | {
392
+ name: string;
393
+ description?: string | undefined;
394
+ type: "select";
395
+ options: {
396
+ id: string;
397
+ name: string;
398
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
399
+ description?: string | undefined;
400
+ }[];
401
+ } | {
402
+ name: string;
403
+ description?: string | undefined;
404
+ type: "multi_select";
405
+ options: {
406
+ id: string;
407
+ name: string;
408
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
409
+ description?: string | undefined;
410
+ }[];
411
+ } | {
412
+ name: string;
413
+ description?: string | undefined;
414
+ type: "status";
415
+ options: {
416
+ id: string;
417
+ name: string;
418
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
419
+ description?: string | undefined;
420
+ }[];
421
+ groups: {
422
+ id: string;
423
+ name: string;
424
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
425
+ option_ids: string[];
426
+ }[];
427
+ } | {
428
+ name: string;
429
+ description?: string | undefined;
430
+ type: "date";
431
+ } | {
432
+ name: string;
433
+ description?: string | undefined;
434
+ type: "people";
435
+ } | {
436
+ name: string;
437
+ description?: string | undefined;
438
+ type: "files";
439
+ } | {
440
+ name: string;
441
+ description?: string | undefined;
442
+ type: "unique_id";
443
+ } | {
444
+ name: string;
445
+ description?: string | undefined;
446
+ type: "relation";
447
+ data_source_id?: string | undefined;
448
+ dual_property?: {
449
+ synced_property_id: string;
450
+ synced_property_name: string;
451
+ } | undefined;
452
+ } | {
453
+ name: string;
454
+ description?: string | undefined;
455
+ type: "place";
456
+ } | {
457
+ name: string;
458
+ description?: string | undefined;
459
+ type: "formula";
460
+ } | {
461
+ name: string;
462
+ description?: string | undefined;
463
+ type: "rollup";
464
+ } | {
465
+ name: string;
466
+ description?: string | undefined;
467
+ type: "button";
468
+ } | {
469
+ name: string;
470
+ description?: string | undefined;
471
+ type: "verification";
472
+ } | {
473
+ name: string;
474
+ description?: string | undefined;
475
+ type: "created_time";
476
+ } | {
477
+ name: string;
478
+ description?: string | undefined;
479
+ type: "last_edited_time";
480
+ } | {
481
+ name: string;
482
+ description?: string | undefined;
483
+ type: "created_by";
484
+ } | {
485
+ name: string;
486
+ description?: string | undefined;
487
+ type: "last_edited_by";
488
+ };
489
+ };
490
+ } | undefined;
491
+ propertyIdsByKey?: {
492
+ [x: string]: string | undefined;
493
+ } | undefined;
494
+ }, {
495
+ dataSourcePointer?: {
496
+ id: string & v.Brand<"NotionDataSourceId">;
497
+ table: string;
498
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
499
+ } | undefined;
500
+ dataSourceSchema?: {
501
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
502
+ propertiesById: {
503
+ [x: string]: {
504
+ name: string;
505
+ description?: string | undefined;
506
+ type: "title";
507
+ } | {
508
+ name: string;
509
+ description?: string | undefined;
510
+ type: "rich_text";
511
+ } | {
512
+ name: string;
513
+ description?: string | undefined;
514
+ type: "number";
515
+ } | {
516
+ name: string;
517
+ description?: string | undefined;
518
+ type: "checkbox";
519
+ } | {
520
+ name: string;
521
+ description?: string | undefined;
522
+ type: "url";
523
+ } | {
524
+ name: string;
525
+ description?: string | undefined;
526
+ type: "email";
527
+ } | {
528
+ name: string;
529
+ description?: string | undefined;
530
+ type: "phone_number";
531
+ } | {
532
+ name: string;
533
+ description?: string | undefined;
534
+ type: "select";
535
+ options: {
536
+ id: string;
537
+ name: string;
538
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
539
+ description?: string | undefined;
540
+ }[];
541
+ } | {
542
+ name: string;
543
+ description?: string | undefined;
544
+ type: "multi_select";
545
+ options: {
546
+ id: string;
547
+ name: string;
548
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
549
+ description?: string | undefined;
550
+ }[];
551
+ } | {
552
+ name: string;
553
+ description?: string | undefined;
554
+ type: "status";
555
+ options: {
556
+ id: string;
557
+ name: string;
558
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
559
+ description?: string | undefined;
560
+ }[];
561
+ groups: {
562
+ id: string;
563
+ name: string;
564
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
565
+ option_ids: string[];
566
+ }[];
567
+ } | {
568
+ name: string;
569
+ description?: string | undefined;
570
+ type: "date";
571
+ } | {
572
+ name: string;
573
+ description?: string | undefined;
574
+ type: "people";
575
+ } | {
576
+ name: string;
577
+ description?: string | undefined;
578
+ type: "files";
579
+ } | {
580
+ name: string;
581
+ description?: string | undefined;
582
+ type: "unique_id";
583
+ } | {
584
+ name: string;
585
+ description?: string | undefined;
586
+ type: "relation";
587
+ data_source_id?: string | undefined;
588
+ dual_property?: {
589
+ synced_property_id: string;
590
+ synced_property_name: string;
591
+ } | undefined;
592
+ } | {
593
+ name: string;
594
+ description?: string | undefined;
595
+ type: "place";
596
+ } | {
597
+ name: string;
598
+ description?: string | undefined;
599
+ type: "formula";
600
+ } | {
601
+ name: string;
602
+ description?: string | undefined;
603
+ type: "rollup";
604
+ } | {
605
+ name: string;
606
+ description?: string | undefined;
607
+ type: "button";
608
+ } | {
609
+ name: string;
610
+ description?: string | undefined;
611
+ type: "verification";
612
+ } | {
613
+ name: string;
614
+ description?: string | undefined;
615
+ type: "created_time";
616
+ } | {
617
+ name: string;
618
+ description?: string | undefined;
619
+ type: "last_edited_time";
620
+ } | {
621
+ name: string;
622
+ description?: string | undefined;
623
+ type: "created_by";
624
+ } | {
625
+ name: string;
626
+ description?: string | undefined;
627
+ type: "last_edited_by";
628
+ };
629
+ };
630
+ } | undefined;
631
+ propertyIdsByKey?: {
632
+ [x: string]: string | undefined;
633
+ } | undefined;
634
+ }>;
635
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
636
+ dataSourcePointer?: {
637
+ id: string & v.Brand<"NotionDataSourceId">;
638
+ table: string;
639
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
640
+ } | undefined;
641
+ dataSourceSchema?: {
642
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
643
+ propertiesById: {
644
+ [x: string]: {
645
+ name: string;
646
+ description?: string | undefined;
647
+ type: "title";
648
+ } | {
649
+ name: string;
650
+ description?: string | undefined;
651
+ type: "rich_text";
652
+ } | {
653
+ name: string;
654
+ description?: string | undefined;
655
+ type: "number";
656
+ } | {
657
+ name: string;
658
+ description?: string | undefined;
659
+ type: "checkbox";
660
+ } | {
661
+ name: string;
662
+ description?: string | undefined;
663
+ type: "url";
664
+ } | {
665
+ name: string;
666
+ description?: string | undefined;
667
+ type: "email";
668
+ } | {
669
+ name: string;
670
+ description?: string | undefined;
671
+ type: "phone_number";
672
+ } | {
673
+ name: string;
674
+ description?: string | undefined;
675
+ type: "select";
676
+ options: {
677
+ id: string;
678
+ name: string;
679
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
680
+ description?: string | undefined;
681
+ }[];
682
+ } | {
683
+ name: string;
684
+ description?: string | undefined;
685
+ type: "multi_select";
686
+ options: {
687
+ id: string;
688
+ name: string;
689
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
690
+ description?: string | undefined;
691
+ }[];
692
+ } | {
693
+ name: string;
694
+ description?: string | undefined;
695
+ type: "status";
696
+ options: {
697
+ id: string;
698
+ name: string;
699
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
700
+ description?: string | undefined;
701
+ }[];
702
+ groups: {
703
+ id: string;
704
+ name: string;
705
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
706
+ option_ids: string[];
707
+ }[];
708
+ } | {
709
+ name: string;
710
+ description?: string | undefined;
711
+ type: "date";
712
+ } | {
713
+ name: string;
714
+ description?: string | undefined;
715
+ type: "people";
716
+ } | {
717
+ name: string;
718
+ description?: string | undefined;
719
+ type: "files";
720
+ } | {
721
+ name: string;
722
+ description?: string | undefined;
723
+ type: "unique_id";
724
+ } | {
725
+ name: string;
726
+ description?: string | undefined;
727
+ type: "relation";
728
+ data_source_id?: string | undefined;
729
+ dual_property?: {
730
+ synced_property_id: string;
731
+ synced_property_name: string;
732
+ } | undefined;
733
+ } | {
734
+ name: string;
735
+ description?: string | undefined;
736
+ type: "place";
737
+ } | {
738
+ name: string;
739
+ description?: string | undefined;
740
+ type: "formula";
741
+ } | {
742
+ name: string;
743
+ description?: string | undefined;
744
+ type: "rollup";
745
+ } | {
746
+ name: string;
747
+ description?: string | undefined;
748
+ type: "button";
749
+ } | {
750
+ name: string;
751
+ description?: string | undefined;
752
+ type: "verification";
753
+ } | {
754
+ name: string;
755
+ description?: string | undefined;
756
+ type: "created_time";
757
+ } | {
758
+ name: string;
759
+ description?: string | undefined;
760
+ type: "last_edited_time";
761
+ } | {
762
+ name: string;
763
+ description?: string | undefined;
764
+ type: "created_by";
765
+ } | {
766
+ name: string;
767
+ description?: string | undefined;
768
+ type: "last_edited_by";
769
+ };
770
+ };
771
+ } | undefined;
772
+ propertyIdsByKey?: {
773
+ [x: string]: string | undefined;
774
+ } | undefined;
775
+ }, v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue>;
776
+ readonly "~types"?: {
777
+ readonly input: {
778
+ dataSourcePointer?: {
779
+ id: string;
780
+ table: string;
781
+ spaceId?: string | undefined;
782
+ } | undefined;
783
+ dataSourceSchema?: {
784
+ id?: string | undefined;
785
+ propertiesById: {
786
+ [x: string]: {
787
+ name: string;
788
+ description?: string | undefined;
789
+ type: "title";
790
+ } | {
791
+ name: string;
792
+ description?: string | undefined;
793
+ type: "rich_text";
794
+ } | {
795
+ name: string;
796
+ description?: string | undefined;
797
+ type: "number";
798
+ } | {
799
+ name: string;
800
+ description?: string | undefined;
801
+ type: "checkbox";
802
+ } | {
803
+ name: string;
804
+ description?: string | undefined;
805
+ type: "url";
806
+ } | {
807
+ name: string;
808
+ description?: string | undefined;
809
+ type: "email";
810
+ } | {
811
+ name: string;
812
+ description?: string | undefined;
813
+ type: "phone_number";
814
+ } | {
815
+ name: string;
816
+ description?: string | undefined;
817
+ type: "select";
818
+ options: {
819
+ id: string;
820
+ name: string;
821
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
822
+ description?: string | undefined;
823
+ }[];
824
+ } | {
825
+ name: string;
826
+ description?: string | undefined;
827
+ type: "multi_select";
828
+ options: {
829
+ id: string;
830
+ name: string;
831
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
832
+ description?: string | undefined;
833
+ }[];
834
+ } | {
835
+ name: string;
836
+ description?: string | undefined;
837
+ type: "status";
838
+ options: {
839
+ id: string;
840
+ name: string;
841
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
842
+ description?: string | undefined;
843
+ }[];
844
+ groups: {
845
+ id: string;
846
+ name: string;
847
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
848
+ option_ids: string[];
849
+ }[];
850
+ } | {
851
+ name: string;
852
+ description?: string | undefined;
853
+ type: "date";
854
+ } | {
855
+ name: string;
856
+ description?: string | undefined;
857
+ type: "people";
858
+ } | {
859
+ name: string;
860
+ description?: string | undefined;
861
+ type: "files";
862
+ } | {
863
+ name: string;
864
+ description?: string | undefined;
865
+ type: "unique_id";
866
+ } | {
867
+ name: string;
868
+ description?: string | undefined;
869
+ type: "relation";
870
+ data_source_id?: string | undefined;
871
+ dual_property?: {
872
+ synced_property_id: string;
873
+ synced_property_name: string;
874
+ } | undefined;
875
+ } | {
876
+ name: string;
877
+ description?: string | undefined;
878
+ type: "place";
879
+ } | {
880
+ name: string;
881
+ description?: string | undefined;
882
+ type: "formula";
883
+ } | {
884
+ name: string;
885
+ description?: string | undefined;
886
+ type: "rollup";
887
+ } | {
888
+ name: string;
889
+ description?: string | undefined;
890
+ type: "button";
891
+ } | {
892
+ name: string;
893
+ description?: string | undefined;
894
+ type: "verification";
895
+ } | {
896
+ name: string;
897
+ description?: string | undefined;
898
+ type: "created_time";
899
+ } | {
900
+ name: string;
901
+ description?: string | undefined;
902
+ type: "last_edited_time";
903
+ } | {
904
+ name: string;
905
+ description?: string | undefined;
906
+ type: "created_by";
907
+ } | {
908
+ name: string;
909
+ description?: string | undefined;
910
+ type: "last_edited_by";
911
+ };
912
+ };
913
+ } | undefined;
914
+ propertyIdsByKey?: {
915
+ [x: string]: string | undefined;
916
+ } | undefined;
917
+ };
918
+ readonly output: {
919
+ dataSourcePointer?: {
920
+ id: string & v.Brand<"NotionDataSourceId">;
921
+ table: string;
922
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
923
+ } | undefined;
924
+ dataSourceSchema?: {
925
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
926
+ propertiesById: {
927
+ [x: string]: {
928
+ name: string;
929
+ description?: string | undefined;
930
+ type: "title";
931
+ } | {
932
+ name: string;
933
+ description?: string | undefined;
934
+ type: "rich_text";
935
+ } | {
936
+ name: string;
937
+ description?: string | undefined;
938
+ type: "number";
939
+ } | {
940
+ name: string;
941
+ description?: string | undefined;
942
+ type: "checkbox";
943
+ } | {
944
+ name: string;
945
+ description?: string | undefined;
946
+ type: "url";
947
+ } | {
948
+ name: string;
949
+ description?: string | undefined;
950
+ type: "email";
951
+ } | {
952
+ name: string;
953
+ description?: string | undefined;
954
+ type: "phone_number";
955
+ } | {
956
+ name: string;
957
+ description?: string | undefined;
958
+ type: "select";
959
+ options: {
960
+ id: string;
961
+ name: string;
962
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
963
+ description?: string | undefined;
964
+ }[];
965
+ } | {
966
+ name: string;
967
+ description?: string | undefined;
968
+ type: "multi_select";
969
+ options: {
970
+ id: string;
971
+ name: string;
972
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
973
+ description?: string | undefined;
974
+ }[];
975
+ } | {
976
+ name: string;
977
+ description?: string | undefined;
978
+ type: "status";
979
+ options: {
980
+ id: string;
981
+ name: string;
982
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
983
+ description?: string | undefined;
984
+ }[];
985
+ groups: {
986
+ id: string;
987
+ name: string;
988
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
989
+ option_ids: string[];
990
+ }[];
991
+ } | {
992
+ name: string;
993
+ description?: string | undefined;
994
+ type: "date";
995
+ } | {
996
+ name: string;
997
+ description?: string | undefined;
998
+ type: "people";
999
+ } | {
1000
+ name: string;
1001
+ description?: string | undefined;
1002
+ type: "files";
1003
+ } | {
1004
+ name: string;
1005
+ description?: string | undefined;
1006
+ type: "unique_id";
1007
+ } | {
1008
+ name: string;
1009
+ description?: string | undefined;
1010
+ type: "relation";
1011
+ data_source_id?: string | undefined;
1012
+ dual_property?: {
1013
+ synced_property_id: string;
1014
+ synced_property_name: string;
1015
+ } | undefined;
1016
+ } | {
1017
+ name: string;
1018
+ description?: string | undefined;
1019
+ type: "place";
1020
+ } | {
1021
+ name: string;
1022
+ description?: string | undefined;
1023
+ type: "formula";
1024
+ } | {
1025
+ name: string;
1026
+ description?: string | undefined;
1027
+ type: "rollup";
1028
+ } | {
1029
+ name: string;
1030
+ description?: string | undefined;
1031
+ type: "button";
1032
+ } | {
1033
+ name: string;
1034
+ description?: string | undefined;
1035
+ type: "verification";
1036
+ } | {
1037
+ name: string;
1038
+ description?: string | undefined;
1039
+ type: "created_time";
1040
+ } | {
1041
+ name: string;
1042
+ description?: string | undefined;
1043
+ type: "last_edited_time";
1044
+ } | {
1045
+ name: string;
1046
+ description?: string | undefined;
1047
+ type: "created_by";
1048
+ } | {
1049
+ name: string;
1050
+ description?: string | undefined;
1051
+ type: "last_edited_by";
1052
+ };
1053
+ };
1054
+ } | undefined;
1055
+ propertyIdsByKey?: {
1056
+ [x: string]: string | undefined;
1057
+ } | undefined;
1058
+ };
1059
+ readonly issue: v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue;
1060
+ } | undefined;
1061
+ }, "entries" | "~run" | "~standard" | "~types"> & {
1062
+ readonly entries: {
1063
+ readonly dataSourcePointer: v.NonOptionalSchema<v.OptionalSchema<v.ObjectSchema<{
1064
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
1065
+ readonly table: v.StringSchema<undefined>;
1066
+ readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
1067
+ }, undefined>, undefined>, undefined>;
1068
+ readonly dataSourceSchema: v.NonOptionalSchema<v.OptionalSchema<v.ObjectSchema<{
1069
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
1070
+ readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
1071
+ readonly name: v.StringSchema<undefined>;
1072
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1073
+ readonly type: v.LiteralSchema<"title", undefined>;
1074
+ }, undefined>, v.ObjectSchema<{
1075
+ readonly name: v.StringSchema<undefined>;
1076
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1077
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
1078
+ }, undefined>, v.ObjectSchema<{
1079
+ readonly name: v.StringSchema<undefined>;
1080
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1081
+ readonly type: v.LiteralSchema<"number", undefined>;
1082
+ }, undefined>, v.ObjectSchema<{
1083
+ readonly name: v.StringSchema<undefined>;
1084
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1085
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
1086
+ }, undefined>, v.ObjectSchema<{
1087
+ readonly name: v.StringSchema<undefined>;
1088
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1089
+ readonly type: v.LiteralSchema<"url", undefined>;
1090
+ }, undefined>, v.ObjectSchema<{
1091
+ readonly name: v.StringSchema<undefined>;
1092
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1093
+ readonly type: v.LiteralSchema<"email", undefined>;
1094
+ }, undefined>, v.ObjectSchema<{
1095
+ readonly name: v.StringSchema<undefined>;
1096
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1097
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
1098
+ }, undefined>, v.ObjectSchema<{
1099
+ readonly name: v.StringSchema<undefined>;
1100
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1101
+ readonly type: v.LiteralSchema<"select", undefined>;
1102
+ readonly options: v.ArraySchema<v.ObjectSchema<{
1103
+ readonly id: v.StringSchema<undefined>;
1104
+ readonly name: v.StringSchema<undefined>;
1105
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1106
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1107
+ }, undefined>, undefined>;
1108
+ }, undefined>, v.ObjectSchema<{
1109
+ readonly name: v.StringSchema<undefined>;
1110
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1111
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
1112
+ readonly options: v.ArraySchema<v.ObjectSchema<{
1113
+ readonly id: v.StringSchema<undefined>;
1114
+ readonly name: v.StringSchema<undefined>;
1115
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1116
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1117
+ }, undefined>, undefined>;
1118
+ }, undefined>, v.ObjectSchema<{
1119
+ readonly name: v.StringSchema<undefined>;
1120
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1121
+ readonly type: v.LiteralSchema<"status", undefined>;
1122
+ readonly options: v.ArraySchema<v.ObjectSchema<{
1123
+ readonly id: v.StringSchema<undefined>;
1124
+ readonly name: v.StringSchema<undefined>;
1125
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1126
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1127
+ }, undefined>, undefined>;
1128
+ readonly groups: v.ArraySchema<v.ObjectSchema<{
1129
+ readonly id: v.StringSchema<undefined>;
1130
+ readonly name: v.StringSchema<undefined>;
1131
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1132
+ readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1133
+ }, undefined>, undefined>;
1134
+ }, undefined>, v.ObjectSchema<{
1135
+ readonly name: v.StringSchema<undefined>;
1136
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1137
+ readonly type: v.LiteralSchema<"date", undefined>;
1138
+ }, undefined>, v.ObjectSchema<{
1139
+ readonly name: v.StringSchema<undefined>;
1140
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1141
+ readonly type: v.LiteralSchema<"people", undefined>;
1142
+ }, undefined>, v.ObjectSchema<{
1143
+ readonly name: v.StringSchema<undefined>;
1144
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1145
+ readonly type: v.LiteralSchema<"files", undefined>;
1146
+ }, undefined>, v.ObjectSchema<{
1147
+ readonly name: v.StringSchema<undefined>;
1148
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1149
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
1150
+ }, undefined>, v.ObjectSchema<{
1151
+ readonly name: v.StringSchema<undefined>;
1152
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1153
+ readonly type: v.LiteralSchema<"relation", undefined>;
1154
+ readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1155
+ readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
1156
+ readonly synced_property_id: v.StringSchema<undefined>;
1157
+ readonly synced_property_name: v.StringSchema<undefined>;
1158
+ }, undefined>, undefined>;
1159
+ }, undefined>, v.ObjectSchema<{
1160
+ readonly name: v.StringSchema<undefined>;
1161
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1162
+ readonly type: v.LiteralSchema<"place", undefined>;
1163
+ }, undefined>, v.ObjectSchema<{
1164
+ readonly name: v.StringSchema<undefined>;
1165
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1166
+ readonly type: v.LiteralSchema<"formula", undefined>;
1167
+ }, undefined>, v.ObjectSchema<{
1168
+ readonly name: v.StringSchema<undefined>;
1169
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1170
+ readonly type: v.LiteralSchema<"rollup", undefined>;
1171
+ }, undefined>, v.ObjectSchema<{
1172
+ readonly name: v.StringSchema<undefined>;
1173
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1174
+ readonly type: v.LiteralSchema<"button", undefined>;
1175
+ }, undefined>, v.ObjectSchema<{
1176
+ readonly name: v.StringSchema<undefined>;
1177
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1178
+ readonly type: v.LiteralSchema<"verification", undefined>;
1179
+ }, undefined>, v.ObjectSchema<{
1180
+ readonly name: v.StringSchema<undefined>;
1181
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1182
+ readonly type: v.LiteralSchema<"created_time", undefined>;
1183
+ }, undefined>, v.ObjectSchema<{
1184
+ readonly name: v.StringSchema<undefined>;
1185
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1186
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
1187
+ }, undefined>, v.ObjectSchema<{
1188
+ readonly name: v.StringSchema<undefined>;
1189
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1190
+ readonly type: v.LiteralSchema<"created_by", undefined>;
1191
+ }, undefined>, v.ObjectSchema<{
1192
+ readonly name: v.StringSchema<undefined>;
1193
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1194
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
1195
+ }, undefined>], undefined>, undefined>;
1196
+ }, undefined>, undefined>, undefined>;
1197
+ readonly propertyIdsByKey: v.NonOptionalSchema<v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
1198
+ };
1199
+ readonly "~standard": v.StandardProps<{
1200
+ dataSourcePointer: {
1201
+ id: string;
1202
+ table: string;
1203
+ spaceId?: string | undefined;
1204
+ };
1205
+ dataSourceSchema: {
1206
+ id?: string | undefined;
1207
+ propertiesById: {
1208
+ [x: string]: {
1209
+ name: string;
1210
+ description?: string | undefined;
1211
+ type: "title";
1212
+ } | {
1213
+ name: string;
1214
+ description?: string | undefined;
1215
+ type: "rich_text";
1216
+ } | {
1217
+ name: string;
1218
+ description?: string | undefined;
1219
+ type: "number";
1220
+ } | {
1221
+ name: string;
1222
+ description?: string | undefined;
1223
+ type: "checkbox";
1224
+ } | {
1225
+ name: string;
1226
+ description?: string | undefined;
1227
+ type: "url";
1228
+ } | {
1229
+ name: string;
1230
+ description?: string | undefined;
1231
+ type: "email";
1232
+ } | {
1233
+ name: string;
1234
+ description?: string | undefined;
1235
+ type: "phone_number";
1236
+ } | {
1237
+ name: string;
1238
+ description?: string | undefined;
1239
+ type: "select";
1240
+ options: {
1241
+ id: string;
1242
+ name: string;
1243
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1244
+ description?: string | undefined;
1245
+ }[];
1246
+ } | {
1247
+ name: string;
1248
+ description?: string | undefined;
1249
+ type: "multi_select";
1250
+ options: {
1251
+ id: string;
1252
+ name: string;
1253
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1254
+ description?: string | undefined;
1255
+ }[];
1256
+ } | {
1257
+ name: string;
1258
+ description?: string | undefined;
1259
+ type: "status";
1260
+ options: {
1261
+ id: string;
1262
+ name: string;
1263
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1264
+ description?: string | undefined;
1265
+ }[];
1266
+ groups: {
1267
+ id: string;
1268
+ name: string;
1269
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1270
+ option_ids: string[];
1271
+ }[];
1272
+ } | {
1273
+ name: string;
1274
+ description?: string | undefined;
1275
+ type: "date";
1276
+ } | {
1277
+ name: string;
1278
+ description?: string | undefined;
1279
+ type: "people";
1280
+ } | {
1281
+ name: string;
1282
+ description?: string | undefined;
1283
+ type: "files";
1284
+ } | {
1285
+ name: string;
1286
+ description?: string | undefined;
1287
+ type: "unique_id";
1288
+ } | {
1289
+ name: string;
1290
+ description?: string | undefined;
1291
+ type: "relation";
1292
+ data_source_id?: string | undefined;
1293
+ dual_property?: {
1294
+ synced_property_id: string;
1295
+ synced_property_name: string;
1296
+ } | undefined;
1297
+ } | {
1298
+ name: string;
1299
+ description?: string | undefined;
1300
+ type: "place";
1301
+ } | {
1302
+ name: string;
1303
+ description?: string | undefined;
1304
+ type: "formula";
1305
+ } | {
1306
+ name: string;
1307
+ description?: string | undefined;
1308
+ type: "rollup";
1309
+ } | {
1310
+ name: string;
1311
+ description?: string | undefined;
1312
+ type: "button";
1313
+ } | {
1314
+ name: string;
1315
+ description?: string | undefined;
1316
+ type: "verification";
1317
+ } | {
1318
+ name: string;
1319
+ description?: string | undefined;
1320
+ type: "created_time";
1321
+ } | {
1322
+ name: string;
1323
+ description?: string | undefined;
1324
+ type: "last_edited_time";
1325
+ } | {
1326
+ name: string;
1327
+ description?: string | undefined;
1328
+ type: "created_by";
1329
+ } | {
1330
+ name: string;
1331
+ description?: string | undefined;
1332
+ type: "last_edited_by";
1333
+ };
1334
+ };
1335
+ };
1336
+ propertyIdsByKey: {
1337
+ [x: string]: string | undefined;
1338
+ };
1339
+ }, {
1340
+ dataSourcePointer: {
1341
+ id: string & v.Brand<"NotionDataSourceId">;
1342
+ table: string;
1343
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
1344
+ };
1345
+ dataSourceSchema: {
1346
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
1347
+ propertiesById: {
1348
+ [x: string]: {
1349
+ name: string;
1350
+ description?: string | undefined;
1351
+ type: "title";
1352
+ } | {
1353
+ name: string;
1354
+ description?: string | undefined;
1355
+ type: "rich_text";
1356
+ } | {
1357
+ name: string;
1358
+ description?: string | undefined;
1359
+ type: "number";
1360
+ } | {
1361
+ name: string;
1362
+ description?: string | undefined;
1363
+ type: "checkbox";
1364
+ } | {
1365
+ name: string;
1366
+ description?: string | undefined;
1367
+ type: "url";
1368
+ } | {
1369
+ name: string;
1370
+ description?: string | undefined;
1371
+ type: "email";
1372
+ } | {
1373
+ name: string;
1374
+ description?: string | undefined;
1375
+ type: "phone_number";
1376
+ } | {
1377
+ name: string;
1378
+ description?: string | undefined;
1379
+ type: "select";
1380
+ options: {
1381
+ id: string;
1382
+ name: string;
1383
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1384
+ description?: string | undefined;
1385
+ }[];
1386
+ } | {
1387
+ name: string;
1388
+ description?: string | undefined;
1389
+ type: "multi_select";
1390
+ options: {
1391
+ id: string;
1392
+ name: string;
1393
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1394
+ description?: string | undefined;
1395
+ }[];
1396
+ } | {
1397
+ name: string;
1398
+ description?: string | undefined;
1399
+ type: "status";
1400
+ options: {
1401
+ id: string;
1402
+ name: string;
1403
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1404
+ description?: string | undefined;
1405
+ }[];
1406
+ groups: {
1407
+ id: string;
1408
+ name: string;
1409
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1410
+ option_ids: string[];
1411
+ }[];
1412
+ } | {
1413
+ name: string;
1414
+ description?: string | undefined;
1415
+ type: "date";
1416
+ } | {
1417
+ name: string;
1418
+ description?: string | undefined;
1419
+ type: "people";
1420
+ } | {
1421
+ name: string;
1422
+ description?: string | undefined;
1423
+ type: "files";
1424
+ } | {
1425
+ name: string;
1426
+ description?: string | undefined;
1427
+ type: "unique_id";
1428
+ } | {
1429
+ name: string;
1430
+ description?: string | undefined;
1431
+ type: "relation";
1432
+ data_source_id?: string | undefined;
1433
+ dual_property?: {
1434
+ synced_property_id: string;
1435
+ synced_property_name: string;
1436
+ } | undefined;
1437
+ } | {
1438
+ name: string;
1439
+ description?: string | undefined;
1440
+ type: "place";
1441
+ } | {
1442
+ name: string;
1443
+ description?: string | undefined;
1444
+ type: "formula";
1445
+ } | {
1446
+ name: string;
1447
+ description?: string | undefined;
1448
+ type: "rollup";
1449
+ } | {
1450
+ name: string;
1451
+ description?: string | undefined;
1452
+ type: "button";
1453
+ } | {
1454
+ name: string;
1455
+ description?: string | undefined;
1456
+ type: "verification";
1457
+ } | {
1458
+ name: string;
1459
+ description?: string | undefined;
1460
+ type: "created_time";
1461
+ } | {
1462
+ name: string;
1463
+ description?: string | undefined;
1464
+ type: "last_edited_time";
1465
+ } | {
1466
+ name: string;
1467
+ description?: string | undefined;
1468
+ type: "created_by";
1469
+ } | {
1470
+ name: string;
1471
+ description?: string | undefined;
1472
+ type: "last_edited_by";
1473
+ };
1474
+ };
1475
+ };
1476
+ propertyIdsByKey: {
1477
+ [x: string]: string | undefined;
1478
+ };
1479
+ }>;
1480
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1481
+ dataSourcePointer: {
1482
+ id: string & v.Brand<"NotionDataSourceId">;
1483
+ table: string;
1484
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
1485
+ };
1486
+ dataSourceSchema: {
1487
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
1488
+ propertiesById: {
1489
+ [x: string]: {
1490
+ name: string;
1491
+ description?: string | undefined;
1492
+ type: "title";
1493
+ } | {
1494
+ name: string;
1495
+ description?: string | undefined;
1496
+ type: "rich_text";
1497
+ } | {
1498
+ name: string;
1499
+ description?: string | undefined;
1500
+ type: "number";
1501
+ } | {
1502
+ name: string;
1503
+ description?: string | undefined;
1504
+ type: "checkbox";
1505
+ } | {
1506
+ name: string;
1507
+ description?: string | undefined;
1508
+ type: "url";
1509
+ } | {
1510
+ name: string;
1511
+ description?: string | undefined;
1512
+ type: "email";
1513
+ } | {
1514
+ name: string;
1515
+ description?: string | undefined;
1516
+ type: "phone_number";
1517
+ } | {
1518
+ name: string;
1519
+ description?: string | undefined;
1520
+ type: "select";
1521
+ options: {
1522
+ id: string;
1523
+ name: string;
1524
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1525
+ description?: string | undefined;
1526
+ }[];
1527
+ } | {
1528
+ name: string;
1529
+ description?: string | undefined;
1530
+ type: "multi_select";
1531
+ options: {
1532
+ id: string;
1533
+ name: string;
1534
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1535
+ description?: string | undefined;
1536
+ }[];
1537
+ } | {
1538
+ name: string;
1539
+ description?: string | undefined;
1540
+ type: "status";
1541
+ options: {
1542
+ id: string;
1543
+ name: string;
1544
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1545
+ description?: string | undefined;
1546
+ }[];
1547
+ groups: {
1548
+ id: string;
1549
+ name: string;
1550
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1551
+ option_ids: string[];
1552
+ }[];
1553
+ } | {
1554
+ name: string;
1555
+ description?: string | undefined;
1556
+ type: "date";
1557
+ } | {
1558
+ name: string;
1559
+ description?: string | undefined;
1560
+ type: "people";
1561
+ } | {
1562
+ name: string;
1563
+ description?: string | undefined;
1564
+ type: "files";
1565
+ } | {
1566
+ name: string;
1567
+ description?: string | undefined;
1568
+ type: "unique_id";
1569
+ } | {
1570
+ name: string;
1571
+ description?: string | undefined;
1572
+ type: "relation";
1573
+ data_source_id?: string | undefined;
1574
+ dual_property?: {
1575
+ synced_property_id: string;
1576
+ synced_property_name: string;
1577
+ } | undefined;
1578
+ } | {
1579
+ name: string;
1580
+ description?: string | undefined;
1581
+ type: "place";
1582
+ } | {
1583
+ name: string;
1584
+ description?: string | undefined;
1585
+ type: "formula";
1586
+ } | {
1587
+ name: string;
1588
+ description?: string | undefined;
1589
+ type: "rollup";
1590
+ } | {
1591
+ name: string;
1592
+ description?: string | undefined;
1593
+ type: "button";
1594
+ } | {
1595
+ name: string;
1596
+ description?: string | undefined;
1597
+ type: "verification";
1598
+ } | {
1599
+ name: string;
1600
+ description?: string | undefined;
1601
+ type: "created_time";
1602
+ } | {
1603
+ name: string;
1604
+ description?: string | undefined;
1605
+ type: "last_edited_time";
1606
+ } | {
1607
+ name: string;
1608
+ description?: string | undefined;
1609
+ type: "created_by";
1610
+ } | {
1611
+ name: string;
1612
+ description?: string | undefined;
1613
+ type: "last_edited_by";
1614
+ };
1615
+ };
1616
+ };
1617
+ propertyIdsByKey: {
1618
+ [x: string]: string | undefined;
1619
+ };
1620
+ }, v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.NonOptionalIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue>;
1621
+ readonly "~types"?: {
1622
+ readonly input: {
1623
+ dataSourcePointer: {
1624
+ id: string;
1625
+ table: string;
1626
+ spaceId?: string | undefined;
1627
+ };
1628
+ dataSourceSchema: {
1629
+ id?: string | undefined;
1630
+ propertiesById: {
1631
+ [x: string]: {
1632
+ name: string;
1633
+ description?: string | undefined;
1634
+ type: "title";
1635
+ } | {
1636
+ name: string;
1637
+ description?: string | undefined;
1638
+ type: "rich_text";
1639
+ } | {
1640
+ name: string;
1641
+ description?: string | undefined;
1642
+ type: "number";
1643
+ } | {
1644
+ name: string;
1645
+ description?: string | undefined;
1646
+ type: "checkbox";
1647
+ } | {
1648
+ name: string;
1649
+ description?: string | undefined;
1650
+ type: "url";
1651
+ } | {
1652
+ name: string;
1653
+ description?: string | undefined;
1654
+ type: "email";
1655
+ } | {
1656
+ name: string;
1657
+ description?: string | undefined;
1658
+ type: "phone_number";
1659
+ } | {
1660
+ name: string;
1661
+ description?: string | undefined;
1662
+ type: "select";
1663
+ options: {
1664
+ id: string;
1665
+ name: string;
1666
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1667
+ description?: string | undefined;
1668
+ }[];
1669
+ } | {
1670
+ name: string;
1671
+ description?: string | undefined;
1672
+ type: "multi_select";
1673
+ options: {
1674
+ id: string;
1675
+ name: string;
1676
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1677
+ description?: string | undefined;
1678
+ }[];
1679
+ } | {
1680
+ name: string;
1681
+ description?: string | undefined;
1682
+ type: "status";
1683
+ options: {
1684
+ id: string;
1685
+ name: string;
1686
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1687
+ description?: string | undefined;
1688
+ }[];
1689
+ groups: {
1690
+ id: string;
1691
+ name: string;
1692
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1693
+ option_ids: string[];
1694
+ }[];
1695
+ } | {
1696
+ name: string;
1697
+ description?: string | undefined;
1698
+ type: "date";
1699
+ } | {
1700
+ name: string;
1701
+ description?: string | undefined;
1702
+ type: "people";
1703
+ } | {
1704
+ name: string;
1705
+ description?: string | undefined;
1706
+ type: "files";
1707
+ } | {
1708
+ name: string;
1709
+ description?: string | undefined;
1710
+ type: "unique_id";
1711
+ } | {
1712
+ name: string;
1713
+ description?: string | undefined;
1714
+ type: "relation";
1715
+ data_source_id?: string | undefined;
1716
+ dual_property?: {
1717
+ synced_property_id: string;
1718
+ synced_property_name: string;
1719
+ } | undefined;
1720
+ } | {
1721
+ name: string;
1722
+ description?: string | undefined;
1723
+ type: "place";
1724
+ } | {
1725
+ name: string;
1726
+ description?: string | undefined;
1727
+ type: "formula";
1728
+ } | {
1729
+ name: string;
1730
+ description?: string | undefined;
1731
+ type: "rollup";
1732
+ } | {
1733
+ name: string;
1734
+ description?: string | undefined;
1735
+ type: "button";
1736
+ } | {
1737
+ name: string;
1738
+ description?: string | undefined;
1739
+ type: "verification";
1740
+ } | {
1741
+ name: string;
1742
+ description?: string | undefined;
1743
+ type: "created_time";
1744
+ } | {
1745
+ name: string;
1746
+ description?: string | undefined;
1747
+ type: "last_edited_time";
1748
+ } | {
1749
+ name: string;
1750
+ description?: string | undefined;
1751
+ type: "created_by";
1752
+ } | {
1753
+ name: string;
1754
+ description?: string | undefined;
1755
+ type: "last_edited_by";
1756
+ };
1757
+ };
1758
+ };
1759
+ propertyIdsByKey: {
1760
+ [x: string]: string | undefined;
1761
+ };
1762
+ };
1763
+ readonly output: {
1764
+ dataSourcePointer: {
1765
+ id: string & v.Brand<"NotionDataSourceId">;
1766
+ table: string;
1767
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
1768
+ };
1769
+ dataSourceSchema: {
1770
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
1771
+ propertiesById: {
1772
+ [x: string]: {
1773
+ name: string;
1774
+ description?: string | undefined;
1775
+ type: "title";
1776
+ } | {
1777
+ name: string;
1778
+ description?: string | undefined;
1779
+ type: "rich_text";
1780
+ } | {
1781
+ name: string;
1782
+ description?: string | undefined;
1783
+ type: "number";
1784
+ } | {
1785
+ name: string;
1786
+ description?: string | undefined;
1787
+ type: "checkbox";
1788
+ } | {
1789
+ name: string;
1790
+ description?: string | undefined;
1791
+ type: "url";
1792
+ } | {
1793
+ name: string;
1794
+ description?: string | undefined;
1795
+ type: "email";
1796
+ } | {
1797
+ name: string;
1798
+ description?: string | undefined;
1799
+ type: "phone_number";
1800
+ } | {
1801
+ name: string;
1802
+ description?: string | undefined;
1803
+ type: "select";
1804
+ options: {
1805
+ id: string;
1806
+ name: string;
1807
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1808
+ description?: string | undefined;
1809
+ }[];
1810
+ } | {
1811
+ name: string;
1812
+ description?: string | undefined;
1813
+ type: "multi_select";
1814
+ options: {
1815
+ id: string;
1816
+ name: string;
1817
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1818
+ description?: string | undefined;
1819
+ }[];
1820
+ } | {
1821
+ name: string;
1822
+ description?: string | undefined;
1823
+ type: "status";
1824
+ options: {
1825
+ id: string;
1826
+ name: string;
1827
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1828
+ description?: string | undefined;
1829
+ }[];
1830
+ groups: {
1831
+ id: string;
1832
+ name: string;
1833
+ color?: import("../../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1834
+ option_ids: string[];
1835
+ }[];
1836
+ } | {
1837
+ name: string;
1838
+ description?: string | undefined;
1839
+ type: "date";
1840
+ } | {
1841
+ name: string;
1842
+ description?: string | undefined;
1843
+ type: "people";
1844
+ } | {
1845
+ name: string;
1846
+ description?: string | undefined;
1847
+ type: "files";
1848
+ } | {
1849
+ name: string;
1850
+ description?: string | undefined;
1851
+ type: "unique_id";
1852
+ } | {
1853
+ name: string;
1854
+ description?: string | undefined;
1855
+ type: "relation";
1856
+ data_source_id?: string | undefined;
1857
+ dual_property?: {
1858
+ synced_property_id: string;
1859
+ synced_property_name: string;
1860
+ } | undefined;
1861
+ } | {
1862
+ name: string;
1863
+ description?: string | undefined;
1864
+ type: "place";
1865
+ } | {
1866
+ name: string;
1867
+ description?: string | undefined;
1868
+ type: "formula";
1869
+ } | {
1870
+ name: string;
1871
+ description?: string | undefined;
1872
+ type: "rollup";
1873
+ } | {
1874
+ name: string;
1875
+ description?: string | undefined;
1876
+ type: "button";
1877
+ } | {
1878
+ name: string;
1879
+ description?: string | undefined;
1880
+ type: "verification";
1881
+ } | {
1882
+ name: string;
1883
+ description?: string | undefined;
1884
+ type: "created_time";
1885
+ } | {
1886
+ name: string;
1887
+ description?: string | undefined;
1888
+ type: "last_edited_time";
1889
+ } | {
1890
+ name: string;
1891
+ description?: string | undefined;
1892
+ type: "created_by";
1893
+ } | {
1894
+ name: string;
1895
+ description?: string | undefined;
1896
+ type: "last_edited_by";
1897
+ };
1898
+ };
1899
+ };
1900
+ propertyIdsByKey: {
1901
+ [x: string]: string | undefined;
1902
+ };
1903
+ };
1904
+ readonly issue: v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.NonOptionalIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue;
1905
+ } | undefined;
1906
+ };
1907
+ }, undefined>, v.ObjectSchema<{
1908
+ readonly type: v.LiteralSchema<"getDataSourceResult", undefined>;
1909
+ readonly requestId: v.StringSchema<undefined>;
1910
+ readonly status: v.LiteralSchema<"error", undefined>;
1911
+ readonly error: v.ObjectSchema<{
1912
+ readonly code: v.StringSchema<undefined>;
1913
+ readonly message: v.StringSchema<undefined>;
1914
+ readonly isRetryable: v.BooleanSchema<undefined>;
1915
+ }, undefined>;
1916
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
1917
+ readonly type: v.LiteralSchema<"getCurrentUserResult", undefined>;
1918
+ readonly requestId: v.StringSchema<undefined>;
1919
+ readonly status: v.LiteralSchema<"success", undefined>;
1920
+ readonly user: v.ObjectSchema<{
1921
+ readonly object: v.LiteralSchema<"user", undefined>;
1922
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
1923
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1924
+ readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1925
+ readonly type: v.LiteralSchema<"person", undefined>;
1926
+ readonly person: v.ObjectSchema<{
1927
+ readonly email: v.StringSchema<undefined>;
1928
+ }, undefined>;
1929
+ }, undefined>;
1930
+ }, undefined>, v.ObjectSchema<{
1931
+ readonly type: v.LiteralSchema<"getCurrentUserResult", undefined>;
1932
+ readonly requestId: v.StringSchema<undefined>;
1933
+ readonly status: v.LiteralSchema<"error", undefined>;
1934
+ readonly error: v.ObjectSchema<{
1935
+ readonly code: v.StringSchema<undefined>;
1936
+ readonly message: v.StringSchema<undefined>;
1937
+ readonly isRetryable: v.BooleanSchema<undefined>;
1938
+ }, undefined>;
1939
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
1940
+ readonly type: v.LiteralSchema<"getViewerResult", undefined>;
1941
+ readonly requestId: v.StringSchema<undefined>;
1942
+ readonly status: v.LiteralSchema<"success", undefined>;
1943
+ readonly viewer: v.VariantSchema<"type", [v.ObjectSchema<{
1944
+ readonly type: v.LiteralSchema<"user", undefined>;
1945
+ readonly userId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>, v.NonEmptyAction<string & v.Brand<"NotionUserId">, undefined>]>;
1946
+ }, undefined>, v.ObjectSchema<{
1947
+ readonly type: v.LiteralSchema<"anonymous", undefined>;
1948
+ }, undefined>], undefined>;
1949
+ }, undefined>, v.ObjectSchema<{
1950
+ readonly type: v.LiteralSchema<"getViewerResult", undefined>;
1951
+ readonly requestId: v.StringSchema<undefined>;
1952
+ readonly status: v.LiteralSchema<"error", undefined>;
1953
+ readonly error: v.ObjectSchema<{
1954
+ readonly code: v.StringSchema<undefined>;
1955
+ readonly message: v.StringSchema<undefined>;
1956
+ readonly isRetryable: v.BooleanSchema<undefined>;
1957
+ }, undefined>;
1958
+ }, undefined>], undefined>, v.ObjectSchema<{
1959
+ readonly type: v.LiteralSchema<"dataSourcesInvalidated", undefined>;
1960
+ }, undefined>, v.ObjectSchema<{
1961
+ readonly type: v.LiteralSchema<"themeChanged", undefined>;
1962
+ readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
1963
+ }, undefined>, v.ObjectSchema<{
1964
+ readonly type: v.LiteralSchema<"contrastModeChanged", undefined>;
1965
+ readonly contrastMode: v.PicklistSchema<["standard", "high"], undefined>;
1966
+ }, undefined>, v.ObjectSchema<{
1967
+ readonly type: v.LiteralSchema<"parentChanged", undefined>;
1968
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
1969
+ readonly type: v.LiteralSchema<"page_id", undefined>;
1970
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
1971
+ }, undefined>, v.ObjectSchema<{
1972
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
1973
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
1974
+ }, undefined>, v.ObjectSchema<{
1975
+ readonly type: v.LiteralSchema<"workspace", undefined>;
1976
+ readonly workspace: v.LiteralSchema<true, undefined>;
1977
+ }, undefined>, v.ObjectSchema<{
1978
+ readonly type: v.LiteralSchema<"block_id", undefined>;
1979
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
1980
+ }, undefined>, v.ObjectSchema<{
1981
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
1982
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
1983
+ }, undefined>, v.ObjectSchema<{
1984
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
1985
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
1986
+ }, undefined>, v.ObjectSchema<{
1987
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
1988
+ }, undefined>], undefined>;
1989
+ }, undefined>, v.ObjectSchema<{
1990
+ readonly type: v.LiteralSchema<"pageChanged", undefined>;
1991
+ readonly page: v.VariantSchema<"type", [v.ObjectSchema<{
1992
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
1993
+ }, undefined>, v.ObjectSchema<{
1994
+ readonly type: v.LiteralSchema<"page", undefined>;
1995
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
1996
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
1997
+ readonly type: v.LiteralSchema<"page_id", undefined>;
1998
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
1999
+ }, undefined>, v.ObjectSchema<{
2000
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
2001
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
2002
+ }, undefined>, v.ObjectSchema<{
2003
+ readonly type: v.LiteralSchema<"workspace", undefined>;
2004
+ readonly workspace: v.LiteralSchema<true, undefined>;
2005
+ }, undefined>, v.ObjectSchema<{
2006
+ readonly type: v.LiteralSchema<"block_id", undefined>;
2007
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
2008
+ }, undefined>, v.ObjectSchema<{
2009
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
2010
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
2011
+ }, undefined>, v.ObjectSchema<{
2012
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
2013
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
2014
+ }, undefined>, v.ObjectSchema<{
2015
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
2016
+ }, undefined>], undefined>;
2017
+ readonly displayMode: v.OptionalSchema<v.PicklistSchema<["full_page", "side_peek", "center_peek"], undefined>, "full_page">;
2018
+ }, undefined>], undefined>;
2019
+ }, undefined>, v.ObjectSchema<{
2020
+ readonly type: v.LiteralSchema<"pageError", undefined>;
2021
+ readonly error: v.ObjectSchema<{
2022
+ readonly code: v.StringSchema<undefined>;
2023
+ readonly message: v.StringSchema<undefined>;
2024
+ readonly isRetryable: v.BooleanSchema<undefined>;
2025
+ }, undefined>;
2026
+ }, undefined>, v.ObjectSchema<{
2027
+ readonly type: v.LiteralSchema<"parentError", undefined>;
2028
+ readonly error: v.ObjectSchema<{
2029
+ readonly code: v.StringSchema<undefined>;
2030
+ readonly message: v.StringSchema<undefined>;
2031
+ readonly isRetryable: v.BooleanSchema<undefined>;
2032
+ }, undefined>;
2033
+ }, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2034
+ readonly type: v.LiteralSchema<"getUserResult", undefined>;
2035
+ readonly requestId: v.StringSchema<undefined>;
2036
+ readonly status: v.LiteralSchema<"success", undefined>;
2037
+ readonly user: v.ObjectSchema<{
2038
+ readonly object: v.LiteralSchema<"user", undefined>;
2039
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
2040
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2041
+ readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2042
+ readonly type: v.LiteralSchema<"person", undefined>;
2043
+ readonly person: v.ObjectSchema<{
2044
+ readonly email: v.StringSchema<undefined>;
2045
+ }, undefined>;
2046
+ }, undefined>;
2047
+ }, undefined>, v.ObjectSchema<{
2048
+ readonly type: v.LiteralSchema<"getUserResult", undefined>;
2049
+ readonly requestId: v.StringSchema<undefined>;
2050
+ readonly status: v.LiteralSchema<"error", undefined>;
2051
+ readonly error: v.ObjectSchema<{
2052
+ readonly code: v.StringSchema<undefined>;
2053
+ readonly message: v.StringSchema<undefined>;
2054
+ readonly isRetryable: v.BooleanSchema<undefined>;
2055
+ }, undefined>;
2056
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2057
+ readonly type: v.LiteralSchema<"listUsersResult", undefined>;
2058
+ readonly requestId: v.StringSchema<undefined>;
2059
+ readonly status: v.LiteralSchema<"success", undefined>;
2060
+ readonly list: v.ObjectSchema<{
2061
+ readonly object: v.LiteralSchema<"list", undefined>;
2062
+ readonly results: v.ArraySchema<v.ObjectSchema<{
2063
+ readonly object: v.LiteralSchema<"user", undefined>;
2064
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
2065
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2066
+ readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2067
+ readonly type: v.LiteralSchema<"person", undefined>;
2068
+ readonly person: v.ObjectSchema<{
2069
+ readonly email: v.StringSchema<undefined>;
2070
+ }, undefined>;
2071
+ }, undefined>, undefined>;
2072
+ readonly next_cursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2073
+ readonly has_more: v.BooleanSchema<undefined>;
2074
+ readonly type: v.LiteralSchema<"user", undefined>;
2075
+ readonly user: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
2076
+ }, undefined>;
2077
+ }, undefined>, v.ObjectSchema<{
2078
+ readonly type: v.LiteralSchema<"listUsersResult", undefined>;
2079
+ readonly requestId: v.StringSchema<undefined>;
2080
+ readonly status: v.LiteralSchema<"error", undefined>;
2081
+ readonly error: v.ObjectSchema<{
2082
+ readonly code: v.StringSchema<undefined>;
2083
+ readonly message: v.StringSchema<undefined>;
2084
+ readonly isRetryable: v.BooleanSchema<undefined>;
2085
+ }, undefined>;
2086
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2087
+ readonly type: v.LiteralSchema<"openPageResult", undefined>;
2088
+ readonly requestId: v.StringSchema<undefined>;
2089
+ readonly status: v.LiteralSchema<"success", undefined>;
2090
+ readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2091
+ }, undefined>, v.ObjectSchema<{
2092
+ readonly type: v.LiteralSchema<"openPageResult", undefined>;
2093
+ readonly requestId: v.StringSchema<undefined>;
2094
+ readonly status: v.LiteralSchema<"error", undefined>;
2095
+ readonly error: v.ObjectSchema<{
2096
+ readonly code: v.StringSchema<undefined>;
2097
+ readonly message: v.StringSchema<undefined>;
2098
+ readonly isRetryable: v.BooleanSchema<undefined>;
2099
+ }, undefined>;
2100
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2101
+ readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
2102
+ readonly requestId: v.StringSchema<undefined>;
2103
+ readonly status: v.LiteralSchema<"success", undefined>;
2104
+ }, undefined>, v.ObjectSchema<{
2105
+ readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
2106
+ readonly requestId: v.StringSchema<undefined>;
2107
+ readonly status: v.LiteralSchema<"error", undefined>;
2108
+ readonly error: v.ObjectSchema<{
2109
+ readonly code: v.StringSchema<undefined>;
2110
+ readonly message: v.StringSchema<undefined>;
2111
+ readonly isRetryable: v.BooleanSchema<undefined>;
2112
+ }, undefined>;
2113
+ }, undefined>], undefined>, v.ObjectSchema<{
2114
+ readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
2115
+ readonly requestId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2116
+ readonly subscriptionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2117
+ readonly reason: v.StringSchema<undefined>;
2118
+ }, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2119
+ readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
2120
+ readonly subscriptionId: v.StringSchema<undefined>;
2121
+ readonly status: v.LiteralSchema<"success", undefined>;
2122
+ readonly hasMore: v.BooleanSchema<undefined>;
2123
+ readonly limitClamp: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ObjectSchema<{
2124
+ readonly requested: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
2125
+ readonly applied: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.SafeIntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
2126
+ }, undefined>, v.CheckAction<{
2127
+ requested: number;
2128
+ applied: number;
2129
+ }, undefined>]>, undefined>;
2130
+ readonly items: v.ArraySchema<v.ObjectSchema<{
2131
+ readonly object: v.LiteralSchema<"page", undefined>;
2132
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2133
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
2134
+ readonly type: v.LiteralSchema<"page_id", undefined>;
2135
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2136
+ }, undefined>, v.ObjectSchema<{
2137
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
2138
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
2139
+ }, undefined>, v.ObjectSchema<{
2140
+ readonly type: v.LiteralSchema<"workspace", undefined>;
2141
+ readonly workspace: v.LiteralSchema<true, undefined>;
2142
+ }, undefined>, v.ObjectSchema<{
2143
+ readonly type: v.LiteralSchema<"block_id", undefined>;
2144
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
2145
+ }, undefined>, v.ObjectSchema<{
2146
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
2147
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
2148
+ }, undefined>, v.ObjectSchema<{
2149
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
2150
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
2151
+ }, undefined>, v.ObjectSchema<{
2152
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
2153
+ }, undefined>], undefined>;
2154
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2155
+ readonly id: v.StringSchema<undefined>;
2156
+ readonly table: v.StringSchema<undefined>;
2157
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2158
+ }, undefined>, undefined>, null>;
2159
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2160
+ readonly id: v.StringSchema<undefined>;
2161
+ readonly table: v.StringSchema<undefined>;
2162
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2163
+ }, undefined>, undefined>, null>;
2164
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2165
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2166
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.UnionSchema<[v.VariantSchema<"type", [v.LooseObjectSchema<{
2167
+ readonly type: v.LiteralSchema<"icon", undefined>;
2168
+ readonly icon: v.LooseObjectSchema<{
2169
+ readonly name: v.StringSchema<undefined>;
2170
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../icons.js").BridgeIconColor>, undefined>;
2171
+ }, undefined>;
2172
+ }, undefined>, v.ObjectSchema<{
2173
+ readonly type: v.LiteralSchema<"emoji", undefined>;
2174
+ readonly emoji: v.StringSchema<undefined>;
2175
+ }, undefined>, v.ObjectSchema<{
2176
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
2177
+ readonly custom_emoji: v.ObjectSchema<{
2178
+ readonly id: v.StringSchema<undefined>;
2179
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2180
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2181
+ }, undefined>;
2182
+ }, undefined>, v.ObjectSchema<{
2183
+ readonly type: v.LiteralSchema<"external", undefined>;
2184
+ readonly external: v.ObjectSchema<{
2185
+ readonly url: v.StringSchema<undefined>;
2186
+ }, undefined>;
2187
+ }, undefined>, v.ObjectSchema<{
2188
+ readonly type: v.LiteralSchema<"file", undefined>;
2189
+ readonly file: v.ObjectSchema<{
2190
+ readonly url: v.StringSchema<undefined>;
2191
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2192
+ }, undefined>;
2193
+ }, undefined>], undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2194
+ readonly type: v.StringSchema<undefined>;
2195
+ }, undefined>, v.CheckAction<{
2196
+ type: string;
2197
+ }, undefined>, v.TransformAction<{
2198
+ type: string;
2199
+ }, null>]>], undefined>, undefined>, null>;
2200
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
2201
+ readonly type: v.LiteralSchema<"external", undefined>;
2202
+ readonly external: v.ObjectSchema<{
2203
+ readonly url: v.StringSchema<undefined>;
2204
+ }, undefined>;
2205
+ }, undefined>, v.ObjectSchema<{
2206
+ readonly type: v.LiteralSchema<"file", undefined>;
2207
+ readonly file: v.ObjectSchema<{
2208
+ readonly url: v.StringSchema<undefined>;
2209
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2210
+ }, undefined>;
2211
+ }, undefined>], undefined>, undefined>, null>;
2212
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2213
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2214
+ readonly is_archived: v.BooleanSchema<undefined>;
2215
+ readonly in_trash: v.BooleanSchema<undefined>;
2216
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
2217
+ readonly id: v.StringSchema<undefined>;
2218
+ readonly type: v.LiteralSchema<"title", undefined>;
2219
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2220
+ }, undefined>, v.ObjectSchema<{
2221
+ readonly id: v.StringSchema<undefined>;
2222
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
2223
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2224
+ }, undefined>, v.ObjectSchema<{
2225
+ readonly id: v.StringSchema<undefined>;
2226
+ readonly type: v.LiteralSchema<"number", undefined>;
2227
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2228
+ }, undefined>, v.ObjectSchema<{
2229
+ readonly id: v.StringSchema<undefined>;
2230
+ readonly type: v.LiteralSchema<"url", undefined>;
2231
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2232
+ }, undefined>, v.ObjectSchema<{
2233
+ readonly id: v.StringSchema<undefined>;
2234
+ readonly type: v.LiteralSchema<"email", undefined>;
2235
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2236
+ }, undefined>, v.ObjectSchema<{
2237
+ readonly id: v.StringSchema<undefined>;
2238
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
2239
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2240
+ }, undefined>, v.ObjectSchema<{
2241
+ readonly id: v.StringSchema<undefined>;
2242
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
2243
+ readonly checkbox: v.BooleanSchema<undefined>;
2244
+ }, undefined>, v.ObjectSchema<{
2245
+ readonly id: v.StringSchema<undefined>;
2246
+ readonly type: v.LiteralSchema<"select", undefined>;
2247
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2248
+ readonly id: v.StringSchema<undefined>;
2249
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2250
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2251
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2252
+ }, undefined>, v.ObjectSchema<{
2253
+ readonly name: v.StringSchema<undefined>;
2254
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2255
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2256
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2257
+ }, undefined>], undefined>, undefined>;
2258
+ }, undefined>, v.ObjectSchema<{
2259
+ readonly id: v.StringSchema<undefined>;
2260
+ readonly type: v.LiteralSchema<"status", undefined>;
2261
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2262
+ readonly id: v.StringSchema<undefined>;
2263
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2264
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2265
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2266
+ }, undefined>, v.ObjectSchema<{
2267
+ readonly name: v.StringSchema<undefined>;
2268
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2269
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2270
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2271
+ }, undefined>], undefined>, undefined>;
2272
+ }, undefined>, v.ObjectSchema<{
2273
+ readonly id: v.StringSchema<undefined>;
2274
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
2275
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2276
+ readonly id: v.StringSchema<undefined>;
2277
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2278
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2279
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2280
+ }, undefined>, v.ObjectSchema<{
2281
+ readonly name: v.StringSchema<undefined>;
2282
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2283
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2284
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2285
+ }, undefined>], undefined>, undefined>;
2286
+ }, undefined>, v.ObjectSchema<{
2287
+ readonly id: v.StringSchema<undefined>;
2288
+ readonly type: v.LiteralSchema<"date", undefined>;
2289
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2290
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2291
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2292
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
2293
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2294
+ readonly value: v.NumberSchema<undefined>;
2295
+ readonly time: v.StringSchema<undefined>;
2296
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2297
+ }, undefined>, v.ObjectSchema<{
2298
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
2299
+ readonly value: v.NumberSchema<undefined>;
2300
+ }, undefined>], undefined>, v.ObjectSchema<{
2301
+ readonly unit: v.LiteralSchema<"none", undefined>;
2302
+ }, undefined>], undefined>, undefined>;
2303
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
2304
+ }, undefined>, v.ObjectSchema<{
2305
+ readonly start: v.StringSchema<undefined>;
2306
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2307
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
2308
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2309
+ readonly value: v.NumberSchema<undefined>;
2310
+ readonly time: v.StringSchema<undefined>;
2311
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2312
+ }, undefined>, v.ObjectSchema<{
2313
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
2314
+ readonly value: v.NumberSchema<undefined>;
2315
+ }, undefined>], undefined>, v.ObjectSchema<{
2316
+ readonly unit: v.LiteralSchema<"none", undefined>;
2317
+ }, undefined>], undefined>, undefined>;
2318
+ readonly time_zone: v.StringSchema<undefined>;
2319
+ }, undefined>, v.ObjectSchema<{
2320
+ readonly start: v.StringSchema<undefined>;
2321
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2322
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2323
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
2324
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2325
+ readonly value: v.NumberSchema<undefined>;
2326
+ readonly time: v.StringSchema<undefined>;
2327
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2328
+ }, undefined>, v.ObjectSchema<{
2329
+ readonly unit: v.LiteralSchema<"none", undefined>;
2330
+ }, undefined>], undefined>, undefined>;
2331
+ }, undefined>], undefined>, undefined>;
2332
+ }, undefined>, v.ObjectSchema<{
2333
+ readonly id: v.StringSchema<undefined>;
2334
+ readonly type: v.LiteralSchema<"people", undefined>;
2335
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2336
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
2337
+ readonly id: v.StringSchema<undefined>;
2338
+ }, undefined>, v.ObjectSchema<{
2339
+ readonly object: v.LiteralSchema<"group", undefined>;
2340
+ readonly id: v.StringSchema<undefined>;
2341
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2342
+ }, undefined>], undefined>, undefined>;
2343
+ }, undefined>, v.ObjectSchema<{
2344
+ readonly id: v.StringSchema<undefined>;
2345
+ readonly type: v.LiteralSchema<"relation", undefined>;
2346
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2347
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
2348
+ readonly id: v.StringSchema<undefined>;
2349
+ }, undefined>, undefined>;
2350
+ }, undefined>, v.ObjectSchema<{
2351
+ readonly id: v.StringSchema<undefined>;
2352
+ readonly type: v.LiteralSchema<"place", undefined>;
2353
+ readonly place: v.NullableSchema<v.ObjectSchema<{
2354
+ readonly lat: v.NumberSchema<undefined>;
2355
+ readonly lon: v.NumberSchema<undefined>;
2356
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2357
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2358
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2359
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2360
+ }, undefined>, undefined>;
2361
+ }, undefined>, v.ObjectSchema<{
2362
+ readonly id: v.StringSchema<undefined>;
2363
+ readonly type: v.LiteralSchema<"created_time", undefined>;
2364
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2365
+ }, undefined>, v.ObjectSchema<{
2366
+ readonly id: v.StringSchema<undefined>;
2367
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
2368
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2369
+ }, undefined>, v.ObjectSchema<{
2370
+ readonly id: v.StringSchema<undefined>;
2371
+ readonly type: v.LiteralSchema<"created_by", undefined>;
2372
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
2373
+ readonly id: v.StringSchema<undefined>;
2374
+ readonly table: v.StringSchema<undefined>;
2375
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2376
+ }, undefined>, undefined>;
2377
+ }, undefined>, v.ObjectSchema<{
2378
+ readonly id: v.StringSchema<undefined>;
2379
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
2380
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
2381
+ readonly id: v.StringSchema<undefined>;
2382
+ readonly table: v.StringSchema<undefined>;
2383
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2384
+ }, undefined>, undefined>;
2385
+ }, undefined>, v.ObjectSchema<{
2386
+ readonly id: v.StringSchema<undefined>;
2387
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
2388
+ readonly unique_id: v.StringSchema<undefined>;
2389
+ }, undefined>, v.ObjectSchema<{
2390
+ readonly id: v.StringSchema<undefined>;
2391
+ readonly type: v.LiteralSchema<"button", undefined>;
2392
+ readonly button: v.StringSchema<undefined>;
2393
+ }, undefined>, v.ObjectSchema<{
2394
+ readonly id: v.StringSchema<undefined>;
2395
+ readonly type: v.LiteralSchema<"formula", undefined>;
2396
+ readonly formula: v.StringSchema<undefined>;
2397
+ }, undefined>, v.ObjectSchema<{
2398
+ readonly id: v.StringSchema<undefined>;
2399
+ readonly type: v.LiteralSchema<"rollup", undefined>;
2400
+ readonly rollup: v.StringSchema<undefined>;
2401
+ }, undefined>, v.ObjectSchema<{
2402
+ readonly id: v.StringSchema<undefined>;
2403
+ readonly type: v.LiteralSchema<"verification", undefined>;
2404
+ readonly verification: v.StringSchema<undefined>;
2405
+ }, undefined>, v.ObjectSchema<{
2406
+ readonly id: v.StringSchema<undefined>;
2407
+ readonly type: v.LiteralSchema<"files", undefined>;
2408
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2409
+ readonly type: v.LiteralSchema<"external", undefined>;
2410
+ readonly external: v.ObjectSchema<{
2411
+ readonly url: v.StringSchema<undefined>;
2412
+ }, undefined>;
2413
+ readonly name: v.StringSchema<undefined>;
2414
+ }, undefined>, v.ObjectSchema<{
2415
+ readonly type: v.LiteralSchema<"file", undefined>;
2416
+ readonly file: v.ObjectSchema<{
2417
+ readonly url: v.StringSchema<undefined>;
2418
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2419
+ }, undefined>;
2420
+ readonly name: v.StringSchema<undefined>;
2421
+ }, undefined>], undefined>, undefined>;
2422
+ }, undefined>], undefined>, undefined>, undefined>;
2423
+ }, undefined>, undefined>;
2424
+ }, undefined>, v.ObjectSchema<{
2425
+ readonly type: v.LiteralSchema<"queryDataSourceResult", undefined>;
2426
+ readonly subscriptionId: v.StringSchema<undefined>;
2427
+ readonly status: v.LiteralSchema<"error", undefined>;
2428
+ readonly error: v.ObjectSchema<{
2429
+ readonly code: v.StringSchema<undefined>;
2430
+ readonly message: v.StringSchema<undefined>;
2431
+ readonly isRetryable: v.BooleanSchema<undefined>;
2432
+ readonly details: v.SchemaWithFallback<v.OptionalSchema<v.CustomSchema<Record<string, unknown>, undefined>, undefined>, undefined>;
2433
+ }, undefined>;
2434
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2435
+ readonly type: v.LiteralSchema<"getPageResult", undefined>;
2436
+ readonly requestId: v.StringSchema<undefined>;
2437
+ readonly status: v.LiteralSchema<"success", undefined>;
2438
+ readonly page: v.ObjectSchema<{
2439
+ readonly object: v.LiteralSchema<"page", undefined>;
2440
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2441
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
2442
+ readonly type: v.LiteralSchema<"page_id", undefined>;
2443
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2444
+ }, undefined>, v.ObjectSchema<{
2445
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
2446
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
2447
+ }, undefined>, v.ObjectSchema<{
2448
+ readonly type: v.LiteralSchema<"workspace", undefined>;
2449
+ readonly workspace: v.LiteralSchema<true, undefined>;
2450
+ }, undefined>, v.ObjectSchema<{
2451
+ readonly type: v.LiteralSchema<"block_id", undefined>;
2452
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
2453
+ }, undefined>, v.ObjectSchema<{
2454
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
2455
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
2456
+ }, undefined>, v.ObjectSchema<{
2457
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
2458
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
2459
+ }, undefined>, v.ObjectSchema<{
2460
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
2461
+ }, undefined>], undefined>;
2462
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2463
+ readonly id: v.StringSchema<undefined>;
2464
+ readonly table: v.StringSchema<undefined>;
2465
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2466
+ }, undefined>, undefined>, null>;
2467
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2468
+ readonly id: v.StringSchema<undefined>;
2469
+ readonly table: v.StringSchema<undefined>;
2470
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2471
+ }, undefined>, undefined>, null>;
2472
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2473
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2474
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.UnionSchema<[v.VariantSchema<"type", [v.LooseObjectSchema<{
2475
+ readonly type: v.LiteralSchema<"icon", undefined>;
2476
+ readonly icon: v.LooseObjectSchema<{
2477
+ readonly name: v.StringSchema<undefined>;
2478
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../icons.js").BridgeIconColor>, undefined>;
2479
+ }, undefined>;
2480
+ }, undefined>, v.ObjectSchema<{
2481
+ readonly type: v.LiteralSchema<"emoji", undefined>;
2482
+ readonly emoji: v.StringSchema<undefined>;
2483
+ }, undefined>, v.ObjectSchema<{
2484
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
2485
+ readonly custom_emoji: v.ObjectSchema<{
2486
+ readonly id: v.StringSchema<undefined>;
2487
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2488
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2489
+ }, undefined>;
2490
+ }, undefined>, v.ObjectSchema<{
2491
+ readonly type: v.LiteralSchema<"external", undefined>;
2492
+ readonly external: v.ObjectSchema<{
2493
+ readonly url: v.StringSchema<undefined>;
2494
+ }, undefined>;
2495
+ }, undefined>, v.ObjectSchema<{
2496
+ readonly type: v.LiteralSchema<"file", undefined>;
2497
+ readonly file: v.ObjectSchema<{
2498
+ readonly url: v.StringSchema<undefined>;
2499
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2500
+ }, undefined>;
2501
+ }, undefined>], undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2502
+ readonly type: v.StringSchema<undefined>;
2503
+ }, undefined>, v.CheckAction<{
2504
+ type: string;
2505
+ }, undefined>, v.TransformAction<{
2506
+ type: string;
2507
+ }, null>]>], undefined>, undefined>, null>;
2508
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
2509
+ readonly type: v.LiteralSchema<"external", undefined>;
2510
+ readonly external: v.ObjectSchema<{
2511
+ readonly url: v.StringSchema<undefined>;
2512
+ }, undefined>;
2513
+ }, undefined>, v.ObjectSchema<{
2514
+ readonly type: v.LiteralSchema<"file", undefined>;
2515
+ readonly file: v.ObjectSchema<{
2516
+ readonly url: v.StringSchema<undefined>;
2517
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2518
+ }, undefined>;
2519
+ }, undefined>], undefined>, undefined>, null>;
2520
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2521
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2522
+ readonly is_archived: v.BooleanSchema<undefined>;
2523
+ readonly in_trash: v.BooleanSchema<undefined>;
2524
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
2525
+ readonly id: v.StringSchema<undefined>;
2526
+ readonly type: v.LiteralSchema<"title", undefined>;
2527
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2528
+ }, undefined>, v.ObjectSchema<{
2529
+ readonly id: v.StringSchema<undefined>;
2530
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
2531
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2532
+ }, undefined>, v.ObjectSchema<{
2533
+ readonly id: v.StringSchema<undefined>;
2534
+ readonly type: v.LiteralSchema<"number", undefined>;
2535
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2536
+ }, undefined>, v.ObjectSchema<{
2537
+ readonly id: v.StringSchema<undefined>;
2538
+ readonly type: v.LiteralSchema<"url", undefined>;
2539
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2540
+ }, undefined>, v.ObjectSchema<{
2541
+ readonly id: v.StringSchema<undefined>;
2542
+ readonly type: v.LiteralSchema<"email", undefined>;
2543
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2544
+ }, undefined>, v.ObjectSchema<{
2545
+ readonly id: v.StringSchema<undefined>;
2546
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
2547
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2548
+ }, undefined>, v.ObjectSchema<{
2549
+ readonly id: v.StringSchema<undefined>;
2550
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
2551
+ readonly checkbox: v.BooleanSchema<undefined>;
2552
+ }, undefined>, v.ObjectSchema<{
2553
+ readonly id: v.StringSchema<undefined>;
2554
+ readonly type: v.LiteralSchema<"select", undefined>;
2555
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2556
+ readonly id: v.StringSchema<undefined>;
2557
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2558
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2559
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2560
+ }, undefined>, v.ObjectSchema<{
2561
+ readonly name: v.StringSchema<undefined>;
2562
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2563
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2564
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2565
+ }, undefined>], undefined>, undefined>;
2566
+ }, undefined>, v.ObjectSchema<{
2567
+ readonly id: v.StringSchema<undefined>;
2568
+ readonly type: v.LiteralSchema<"status", undefined>;
2569
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2570
+ readonly id: v.StringSchema<undefined>;
2571
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2572
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2573
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2574
+ }, undefined>, v.ObjectSchema<{
2575
+ readonly name: v.StringSchema<undefined>;
2576
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2577
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2578
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2579
+ }, undefined>], undefined>, undefined>;
2580
+ }, undefined>, v.ObjectSchema<{
2581
+ readonly id: v.StringSchema<undefined>;
2582
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
2583
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2584
+ readonly id: v.StringSchema<undefined>;
2585
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2586
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2587
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2588
+ }, undefined>, v.ObjectSchema<{
2589
+ readonly name: v.StringSchema<undefined>;
2590
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2591
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2592
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2593
+ }, undefined>], undefined>, undefined>;
2594
+ }, undefined>, v.ObjectSchema<{
2595
+ readonly id: v.StringSchema<undefined>;
2596
+ readonly type: v.LiteralSchema<"date", undefined>;
2597
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2598
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2599
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2600
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
2601
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2602
+ readonly value: v.NumberSchema<undefined>;
2603
+ readonly time: v.StringSchema<undefined>;
2604
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2605
+ }, undefined>, v.ObjectSchema<{
2606
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
2607
+ readonly value: v.NumberSchema<undefined>;
2608
+ }, undefined>], undefined>, v.ObjectSchema<{
2609
+ readonly unit: v.LiteralSchema<"none", undefined>;
2610
+ }, undefined>], undefined>, undefined>;
2611
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
2612
+ }, undefined>, v.ObjectSchema<{
2613
+ readonly start: v.StringSchema<undefined>;
2614
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2615
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
2616
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2617
+ readonly value: v.NumberSchema<undefined>;
2618
+ readonly time: v.StringSchema<undefined>;
2619
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2620
+ }, undefined>, v.ObjectSchema<{
2621
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
2622
+ readonly value: v.NumberSchema<undefined>;
2623
+ }, undefined>], undefined>, v.ObjectSchema<{
2624
+ readonly unit: v.LiteralSchema<"none", undefined>;
2625
+ }, undefined>], undefined>, undefined>;
2626
+ readonly time_zone: v.StringSchema<undefined>;
2627
+ }, undefined>, v.ObjectSchema<{
2628
+ readonly start: v.StringSchema<undefined>;
2629
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2630
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2631
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
2632
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2633
+ readonly value: v.NumberSchema<undefined>;
2634
+ readonly time: v.StringSchema<undefined>;
2635
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2636
+ }, undefined>, v.ObjectSchema<{
2637
+ readonly unit: v.LiteralSchema<"none", undefined>;
2638
+ }, undefined>], undefined>, undefined>;
2639
+ }, undefined>], undefined>, undefined>;
2640
+ }, undefined>, v.ObjectSchema<{
2641
+ readonly id: v.StringSchema<undefined>;
2642
+ readonly type: v.LiteralSchema<"people", undefined>;
2643
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2644
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
2645
+ readonly id: v.StringSchema<undefined>;
2646
+ }, undefined>, v.ObjectSchema<{
2647
+ readonly object: v.LiteralSchema<"group", undefined>;
2648
+ readonly id: v.StringSchema<undefined>;
2649
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2650
+ }, undefined>], undefined>, undefined>;
2651
+ }, undefined>, v.ObjectSchema<{
2652
+ readonly id: v.StringSchema<undefined>;
2653
+ readonly type: v.LiteralSchema<"relation", undefined>;
2654
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2655
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
2656
+ readonly id: v.StringSchema<undefined>;
2657
+ }, undefined>, undefined>;
2658
+ }, undefined>, v.ObjectSchema<{
2659
+ readonly id: v.StringSchema<undefined>;
2660
+ readonly type: v.LiteralSchema<"place", undefined>;
2661
+ readonly place: v.NullableSchema<v.ObjectSchema<{
2662
+ readonly lat: v.NumberSchema<undefined>;
2663
+ readonly lon: v.NumberSchema<undefined>;
2664
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2665
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2666
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2667
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2668
+ }, undefined>, undefined>;
2669
+ }, undefined>, v.ObjectSchema<{
2670
+ readonly id: v.StringSchema<undefined>;
2671
+ readonly type: v.LiteralSchema<"created_time", undefined>;
2672
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2673
+ }, undefined>, v.ObjectSchema<{
2674
+ readonly id: v.StringSchema<undefined>;
2675
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
2676
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2677
+ }, undefined>, v.ObjectSchema<{
2678
+ readonly id: v.StringSchema<undefined>;
2679
+ readonly type: v.LiteralSchema<"created_by", undefined>;
2680
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
2681
+ readonly id: v.StringSchema<undefined>;
2682
+ readonly table: v.StringSchema<undefined>;
2683
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2684
+ }, undefined>, undefined>;
2685
+ }, undefined>, v.ObjectSchema<{
2686
+ readonly id: v.StringSchema<undefined>;
2687
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
2688
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
2689
+ readonly id: v.StringSchema<undefined>;
2690
+ readonly table: v.StringSchema<undefined>;
2691
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2692
+ }, undefined>, undefined>;
2693
+ }, undefined>, v.ObjectSchema<{
2694
+ readonly id: v.StringSchema<undefined>;
2695
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
2696
+ readonly unique_id: v.StringSchema<undefined>;
2697
+ }, undefined>, v.ObjectSchema<{
2698
+ readonly id: v.StringSchema<undefined>;
2699
+ readonly type: v.LiteralSchema<"button", undefined>;
2700
+ readonly button: v.StringSchema<undefined>;
2701
+ }, undefined>, v.ObjectSchema<{
2702
+ readonly id: v.StringSchema<undefined>;
2703
+ readonly type: v.LiteralSchema<"formula", undefined>;
2704
+ readonly formula: v.StringSchema<undefined>;
2705
+ }, undefined>, v.ObjectSchema<{
2706
+ readonly id: v.StringSchema<undefined>;
2707
+ readonly type: v.LiteralSchema<"rollup", undefined>;
2708
+ readonly rollup: v.StringSchema<undefined>;
2709
+ }, undefined>, v.ObjectSchema<{
2710
+ readonly id: v.StringSchema<undefined>;
2711
+ readonly type: v.LiteralSchema<"verification", undefined>;
2712
+ readonly verification: v.StringSchema<undefined>;
2713
+ }, undefined>, v.ObjectSchema<{
2714
+ readonly id: v.StringSchema<undefined>;
2715
+ readonly type: v.LiteralSchema<"files", undefined>;
2716
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2717
+ readonly type: v.LiteralSchema<"external", undefined>;
2718
+ readonly external: v.ObjectSchema<{
2719
+ readonly url: v.StringSchema<undefined>;
2720
+ }, undefined>;
2721
+ readonly name: v.StringSchema<undefined>;
2722
+ }, undefined>, v.ObjectSchema<{
2723
+ readonly type: v.LiteralSchema<"file", undefined>;
2724
+ readonly file: v.ObjectSchema<{
2725
+ readonly url: v.StringSchema<undefined>;
2726
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2727
+ }, undefined>;
2728
+ readonly name: v.StringSchema<undefined>;
2729
+ }, undefined>], undefined>, undefined>;
2730
+ }, undefined>], undefined>, undefined>, undefined>;
2731
+ }, undefined>;
2732
+ }, undefined>, v.ObjectSchema<{
2733
+ readonly type: v.LiteralSchema<"getPageResult", undefined>;
2734
+ readonly requestId: v.StringSchema<undefined>;
2735
+ readonly status: v.LiteralSchema<"error", undefined>;
2736
+ readonly error: v.ObjectSchema<{
2737
+ readonly code: v.StringSchema<undefined>;
2738
+ readonly message: v.StringSchema<undefined>;
2739
+ readonly isRetryable: v.BooleanSchema<undefined>;
2740
+ readonly details: v.SchemaWithFallback<v.OptionalSchema<v.CustomSchema<Record<string, unknown>, undefined>, undefined>, undefined>;
2741
+ }, undefined>;
2742
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2743
+ readonly type: v.LiteralSchema<"createPageResult", undefined>;
2744
+ readonly requestId: v.StringSchema<undefined>;
2745
+ readonly status: v.LiteralSchema<"success", undefined>;
2746
+ readonly page: v.ObjectSchema<{
2747
+ readonly object: v.LiteralSchema<"page", undefined>;
2748
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2749
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
2750
+ readonly type: v.LiteralSchema<"page_id", undefined>;
2751
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2752
+ }, undefined>, v.ObjectSchema<{
2753
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
2754
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
2755
+ }, undefined>, v.ObjectSchema<{
2756
+ readonly type: v.LiteralSchema<"workspace", undefined>;
2757
+ readonly workspace: v.LiteralSchema<true, undefined>;
2758
+ }, undefined>, v.ObjectSchema<{
2759
+ readonly type: v.LiteralSchema<"block_id", undefined>;
2760
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
2761
+ }, undefined>, v.ObjectSchema<{
2762
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
2763
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
2764
+ }, undefined>, v.ObjectSchema<{
2765
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
2766
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
2767
+ }, undefined>, v.ObjectSchema<{
2768
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
2769
+ }, undefined>], undefined>;
2770
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2771
+ readonly id: v.StringSchema<undefined>;
2772
+ readonly table: v.StringSchema<undefined>;
2773
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2774
+ }, undefined>, undefined>, null>;
2775
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2776
+ readonly id: v.StringSchema<undefined>;
2777
+ readonly table: v.StringSchema<undefined>;
2778
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2779
+ }, undefined>, undefined>, null>;
2780
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2781
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2782
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.UnionSchema<[v.VariantSchema<"type", [v.LooseObjectSchema<{
2783
+ readonly type: v.LiteralSchema<"icon", undefined>;
2784
+ readonly icon: v.LooseObjectSchema<{
2785
+ readonly name: v.StringSchema<undefined>;
2786
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../icons.js").BridgeIconColor>, undefined>;
2787
+ }, undefined>;
2788
+ }, undefined>, v.ObjectSchema<{
2789
+ readonly type: v.LiteralSchema<"emoji", undefined>;
2790
+ readonly emoji: v.StringSchema<undefined>;
2791
+ }, undefined>, v.ObjectSchema<{
2792
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
2793
+ readonly custom_emoji: v.ObjectSchema<{
2794
+ readonly id: v.StringSchema<undefined>;
2795
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2796
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2797
+ }, undefined>;
2798
+ }, undefined>, v.ObjectSchema<{
2799
+ readonly type: v.LiteralSchema<"external", undefined>;
2800
+ readonly external: v.ObjectSchema<{
2801
+ readonly url: v.StringSchema<undefined>;
2802
+ }, undefined>;
2803
+ }, undefined>, v.ObjectSchema<{
2804
+ readonly type: v.LiteralSchema<"file", undefined>;
2805
+ readonly file: v.ObjectSchema<{
2806
+ readonly url: v.StringSchema<undefined>;
2807
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2808
+ }, undefined>;
2809
+ }, undefined>], undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
2810
+ readonly type: v.StringSchema<undefined>;
2811
+ }, undefined>, v.CheckAction<{
2812
+ type: string;
2813
+ }, undefined>, v.TransformAction<{
2814
+ type: string;
2815
+ }, null>]>], undefined>, undefined>, null>;
2816
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
2817
+ readonly type: v.LiteralSchema<"external", undefined>;
2818
+ readonly external: v.ObjectSchema<{
2819
+ readonly url: v.StringSchema<undefined>;
2820
+ }, undefined>;
2821
+ }, undefined>, v.ObjectSchema<{
2822
+ readonly type: v.LiteralSchema<"file", undefined>;
2823
+ readonly file: v.ObjectSchema<{
2824
+ readonly url: v.StringSchema<undefined>;
2825
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2826
+ }, undefined>;
2827
+ }, undefined>], undefined>, undefined>, null>;
2828
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2829
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
2830
+ readonly is_archived: v.BooleanSchema<undefined>;
2831
+ readonly in_trash: v.BooleanSchema<undefined>;
2832
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
2833
+ readonly id: v.StringSchema<undefined>;
2834
+ readonly type: v.LiteralSchema<"title", undefined>;
2835
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2836
+ }, undefined>, v.ObjectSchema<{
2837
+ readonly id: v.StringSchema<undefined>;
2838
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
2839
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
2840
+ }, undefined>, v.ObjectSchema<{
2841
+ readonly id: v.StringSchema<undefined>;
2842
+ readonly type: v.LiteralSchema<"number", undefined>;
2843
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
2844
+ }, undefined>, v.ObjectSchema<{
2845
+ readonly id: v.StringSchema<undefined>;
2846
+ readonly type: v.LiteralSchema<"url", undefined>;
2847
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2848
+ }, undefined>, v.ObjectSchema<{
2849
+ readonly id: v.StringSchema<undefined>;
2850
+ readonly type: v.LiteralSchema<"email", undefined>;
2851
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2852
+ }, undefined>, v.ObjectSchema<{
2853
+ readonly id: v.StringSchema<undefined>;
2854
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
2855
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2856
+ }, undefined>, v.ObjectSchema<{
2857
+ readonly id: v.StringSchema<undefined>;
2858
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
2859
+ readonly checkbox: v.BooleanSchema<undefined>;
2860
+ }, undefined>, v.ObjectSchema<{
2861
+ readonly id: v.StringSchema<undefined>;
2862
+ readonly type: v.LiteralSchema<"select", undefined>;
2863
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2864
+ readonly id: v.StringSchema<undefined>;
2865
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2866
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2867
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2868
+ }, undefined>, v.ObjectSchema<{
2869
+ readonly name: v.StringSchema<undefined>;
2870
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2871
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2872
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2873
+ }, undefined>], undefined>, undefined>;
2874
+ }, undefined>, v.ObjectSchema<{
2875
+ readonly id: v.StringSchema<undefined>;
2876
+ readonly type: v.LiteralSchema<"status", undefined>;
2877
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2878
+ readonly id: v.StringSchema<undefined>;
2879
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2880
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2881
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2882
+ }, undefined>, v.ObjectSchema<{
2883
+ readonly name: v.StringSchema<undefined>;
2884
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2885
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2886
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2887
+ }, undefined>], undefined>, undefined>;
2888
+ }, undefined>, v.ObjectSchema<{
2889
+ readonly id: v.StringSchema<undefined>;
2890
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
2891
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2892
+ readonly id: v.StringSchema<undefined>;
2893
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2894
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2895
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2896
+ }, undefined>, v.ObjectSchema<{
2897
+ readonly name: v.StringSchema<undefined>;
2898
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2899
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2900
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2901
+ }, undefined>], undefined>, undefined>;
2902
+ }, undefined>, v.ObjectSchema<{
2903
+ readonly id: v.StringSchema<undefined>;
2904
+ readonly type: v.LiteralSchema<"date", undefined>;
2905
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
2906
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2907
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2908
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
2909
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2910
+ readonly value: v.NumberSchema<undefined>;
2911
+ readonly time: v.StringSchema<undefined>;
2912
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2913
+ }, undefined>, v.ObjectSchema<{
2914
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
2915
+ readonly value: v.NumberSchema<undefined>;
2916
+ }, undefined>], undefined>, v.ObjectSchema<{
2917
+ readonly unit: v.LiteralSchema<"none", undefined>;
2918
+ }, undefined>], undefined>, undefined>;
2919
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
2920
+ }, undefined>, v.ObjectSchema<{
2921
+ readonly start: v.StringSchema<undefined>;
2922
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2923
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
2924
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2925
+ readonly value: v.NumberSchema<undefined>;
2926
+ readonly time: v.StringSchema<undefined>;
2927
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2928
+ }, undefined>, v.ObjectSchema<{
2929
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
2930
+ readonly value: v.NumberSchema<undefined>;
2931
+ }, undefined>], undefined>, v.ObjectSchema<{
2932
+ readonly unit: v.LiteralSchema<"none", undefined>;
2933
+ }, undefined>], undefined>, undefined>;
2934
+ readonly time_zone: v.StringSchema<undefined>;
2935
+ }, undefined>, v.ObjectSchema<{
2936
+ readonly start: v.StringSchema<undefined>;
2937
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2938
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2939
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
2940
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
2941
+ readonly value: v.NumberSchema<undefined>;
2942
+ readonly time: v.StringSchema<undefined>;
2943
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2944
+ }, undefined>, v.ObjectSchema<{
2945
+ readonly unit: v.LiteralSchema<"none", undefined>;
2946
+ }, undefined>], undefined>, undefined>;
2947
+ }, undefined>], undefined>, undefined>;
2948
+ }, undefined>, v.ObjectSchema<{
2949
+ readonly id: v.StringSchema<undefined>;
2950
+ readonly type: v.LiteralSchema<"people", undefined>;
2951
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2952
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
2953
+ readonly id: v.StringSchema<undefined>;
2954
+ }, undefined>, v.ObjectSchema<{
2955
+ readonly object: v.LiteralSchema<"group", undefined>;
2956
+ readonly id: v.StringSchema<undefined>;
2957
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2958
+ }, undefined>], undefined>, undefined>;
2959
+ }, undefined>, v.ObjectSchema<{
2960
+ readonly id: v.StringSchema<undefined>;
2961
+ readonly type: v.LiteralSchema<"relation", undefined>;
2962
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
2963
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
2964
+ readonly id: v.StringSchema<undefined>;
2965
+ }, undefined>, undefined>;
2966
+ }, undefined>, v.ObjectSchema<{
2967
+ readonly id: v.StringSchema<undefined>;
2968
+ readonly type: v.LiteralSchema<"place", undefined>;
2969
+ readonly place: v.NullableSchema<v.ObjectSchema<{
2970
+ readonly lat: v.NumberSchema<undefined>;
2971
+ readonly lon: v.NumberSchema<undefined>;
2972
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2973
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2974
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2975
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
2976
+ }, undefined>, undefined>;
2977
+ }, undefined>, v.ObjectSchema<{
2978
+ readonly id: v.StringSchema<undefined>;
2979
+ readonly type: v.LiteralSchema<"created_time", undefined>;
2980
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2981
+ }, undefined>, v.ObjectSchema<{
2982
+ readonly id: v.StringSchema<undefined>;
2983
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
2984
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2985
+ }, undefined>, v.ObjectSchema<{
2986
+ readonly id: v.StringSchema<undefined>;
2987
+ readonly type: v.LiteralSchema<"created_by", undefined>;
2988
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
2989
+ readonly id: v.StringSchema<undefined>;
2990
+ readonly table: v.StringSchema<undefined>;
2991
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2992
+ }, undefined>, undefined>;
2993
+ }, undefined>, v.ObjectSchema<{
2994
+ readonly id: v.StringSchema<undefined>;
2995
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
2996
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
2997
+ readonly id: v.StringSchema<undefined>;
2998
+ readonly table: v.StringSchema<undefined>;
2999
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3000
+ }, undefined>, undefined>;
3001
+ }, undefined>, v.ObjectSchema<{
3002
+ readonly id: v.StringSchema<undefined>;
3003
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
3004
+ readonly unique_id: v.StringSchema<undefined>;
3005
+ }, undefined>, v.ObjectSchema<{
3006
+ readonly id: v.StringSchema<undefined>;
3007
+ readonly type: v.LiteralSchema<"button", undefined>;
3008
+ readonly button: v.StringSchema<undefined>;
3009
+ }, undefined>, v.ObjectSchema<{
3010
+ readonly id: v.StringSchema<undefined>;
3011
+ readonly type: v.LiteralSchema<"formula", undefined>;
3012
+ readonly formula: v.StringSchema<undefined>;
3013
+ }, undefined>, v.ObjectSchema<{
3014
+ readonly id: v.StringSchema<undefined>;
3015
+ readonly type: v.LiteralSchema<"rollup", undefined>;
3016
+ readonly rollup: v.StringSchema<undefined>;
3017
+ }, undefined>, v.ObjectSchema<{
3018
+ readonly id: v.StringSchema<undefined>;
3019
+ readonly type: v.LiteralSchema<"verification", undefined>;
3020
+ readonly verification: v.StringSchema<undefined>;
3021
+ }, undefined>, v.ObjectSchema<{
3022
+ readonly id: v.StringSchema<undefined>;
3023
+ readonly type: v.LiteralSchema<"files", undefined>;
3024
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
3025
+ readonly type: v.LiteralSchema<"external", undefined>;
3026
+ readonly external: v.ObjectSchema<{
3027
+ readonly url: v.StringSchema<undefined>;
3028
+ }, undefined>;
3029
+ readonly name: v.StringSchema<undefined>;
3030
+ }, undefined>, v.ObjectSchema<{
3031
+ readonly type: v.LiteralSchema<"file", undefined>;
3032
+ readonly file: v.ObjectSchema<{
3033
+ readonly url: v.StringSchema<undefined>;
3034
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3035
+ }, undefined>;
3036
+ readonly name: v.StringSchema<undefined>;
3037
+ }, undefined>], undefined>, undefined>;
3038
+ }, undefined>], undefined>, undefined>, undefined>;
3039
+ }, undefined>;
3040
+ }, undefined>, v.ObjectSchema<{
3041
+ readonly type: v.LiteralSchema<"createPageResult", undefined>;
3042
+ readonly requestId: v.StringSchema<undefined>;
3043
+ readonly status: v.LiteralSchema<"error", undefined>;
3044
+ readonly error: v.ObjectSchema<{
3045
+ readonly code: v.StringSchema<undefined>;
3046
+ readonly message: v.StringSchema<undefined>;
3047
+ readonly isRetryable: v.BooleanSchema<undefined>;
3048
+ }, undefined>;
3049
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
3050
+ readonly type: v.LiteralSchema<"updatePageResult", undefined>;
3051
+ readonly requestId: v.StringSchema<undefined>;
3052
+ readonly status: v.LiteralSchema<"success", undefined>;
3053
+ readonly page: v.ObjectSchema<{
3054
+ readonly object: v.LiteralSchema<"page", undefined>;
3055
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
3056
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
3057
+ readonly type: v.LiteralSchema<"page_id", undefined>;
3058
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
3059
+ }, undefined>, v.ObjectSchema<{
3060
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
3061
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
3062
+ }, undefined>, v.ObjectSchema<{
3063
+ readonly type: v.LiteralSchema<"workspace", undefined>;
3064
+ readonly workspace: v.LiteralSchema<true, undefined>;
3065
+ }, undefined>, v.ObjectSchema<{
3066
+ readonly type: v.LiteralSchema<"block_id", undefined>;
3067
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
3068
+ }, undefined>, v.ObjectSchema<{
3069
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
3070
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
3071
+ }, undefined>, v.ObjectSchema<{
3072
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
3073
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
3074
+ }, undefined>, v.ObjectSchema<{
3075
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
3076
+ }, undefined>], undefined>;
3077
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3078
+ readonly id: v.StringSchema<undefined>;
3079
+ readonly table: v.StringSchema<undefined>;
3080
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3081
+ }, undefined>, undefined>, null>;
3082
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3083
+ readonly id: v.StringSchema<undefined>;
3084
+ readonly table: v.StringSchema<undefined>;
3085
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3086
+ }, undefined>, undefined>, null>;
3087
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3088
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3089
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.UnionSchema<[v.VariantSchema<"type", [v.LooseObjectSchema<{
3090
+ readonly type: v.LiteralSchema<"icon", undefined>;
3091
+ readonly icon: v.LooseObjectSchema<{
3092
+ readonly name: v.StringSchema<undefined>;
3093
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../../icons.js").BridgeIconColor>, undefined>;
3094
+ }, undefined>;
3095
+ }, undefined>, v.ObjectSchema<{
3096
+ readonly type: v.LiteralSchema<"emoji", undefined>;
3097
+ readonly emoji: v.StringSchema<undefined>;
3098
+ }, undefined>, v.ObjectSchema<{
3099
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
3100
+ readonly custom_emoji: v.ObjectSchema<{
3101
+ readonly id: v.StringSchema<undefined>;
3102
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3103
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3104
+ }, undefined>;
3105
+ }, undefined>, v.ObjectSchema<{
3106
+ readonly type: v.LiteralSchema<"external", undefined>;
3107
+ readonly external: v.ObjectSchema<{
3108
+ readonly url: v.StringSchema<undefined>;
3109
+ }, undefined>;
3110
+ }, undefined>, v.ObjectSchema<{
3111
+ readonly type: v.LiteralSchema<"file", undefined>;
3112
+ readonly file: v.ObjectSchema<{
3113
+ readonly url: v.StringSchema<undefined>;
3114
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3115
+ }, undefined>;
3116
+ }, undefined>], undefined>, v.SchemaWithPipe<readonly [v.ObjectSchema<{
3117
+ readonly type: v.StringSchema<undefined>;
3118
+ }, undefined>, v.CheckAction<{
3119
+ type: string;
3120
+ }, undefined>, v.TransformAction<{
3121
+ type: string;
3122
+ }, null>]>], undefined>, undefined>, null>;
3123
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
3124
+ readonly type: v.LiteralSchema<"external", undefined>;
3125
+ readonly external: v.ObjectSchema<{
3126
+ readonly url: v.StringSchema<undefined>;
3127
+ }, undefined>;
3128
+ }, undefined>, v.ObjectSchema<{
3129
+ readonly type: v.LiteralSchema<"file", undefined>;
3130
+ readonly file: v.ObjectSchema<{
3131
+ readonly url: v.StringSchema<undefined>;
3132
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3133
+ }, undefined>;
3134
+ }, undefined>], undefined>, undefined>, null>;
3135
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3136
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
3137
+ readonly is_archived: v.BooleanSchema<undefined>;
3138
+ readonly in_trash: v.BooleanSchema<undefined>;
3139
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
3140
+ readonly id: v.StringSchema<undefined>;
3141
+ readonly type: v.LiteralSchema<"title", undefined>;
3142
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3143
+ }, undefined>, v.ObjectSchema<{
3144
+ readonly id: v.StringSchema<undefined>;
3145
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
3146
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
3147
+ }, undefined>, v.ObjectSchema<{
3148
+ readonly id: v.StringSchema<undefined>;
3149
+ readonly type: v.LiteralSchema<"number", undefined>;
3150
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
3151
+ }, undefined>, v.ObjectSchema<{
3152
+ readonly id: v.StringSchema<undefined>;
3153
+ readonly type: v.LiteralSchema<"url", undefined>;
3154
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3155
+ }, undefined>, v.ObjectSchema<{
3156
+ readonly id: v.StringSchema<undefined>;
3157
+ readonly type: v.LiteralSchema<"email", undefined>;
3158
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3159
+ }, undefined>, v.ObjectSchema<{
3160
+ readonly id: v.StringSchema<undefined>;
3161
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
3162
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3163
+ }, undefined>, v.ObjectSchema<{
3164
+ readonly id: v.StringSchema<undefined>;
3165
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
3166
+ readonly checkbox: v.BooleanSchema<undefined>;
3167
+ }, undefined>, v.ObjectSchema<{
3168
+ readonly id: v.StringSchema<undefined>;
3169
+ readonly type: v.LiteralSchema<"select", undefined>;
3170
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
3171
+ readonly id: v.StringSchema<undefined>;
3172
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3173
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3174
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3175
+ }, undefined>, v.ObjectSchema<{
3176
+ readonly name: v.StringSchema<undefined>;
3177
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3178
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3179
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3180
+ }, undefined>], undefined>, undefined>;
3181
+ }, undefined>, v.ObjectSchema<{
3182
+ readonly id: v.StringSchema<undefined>;
3183
+ readonly type: v.LiteralSchema<"status", undefined>;
3184
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
3185
+ readonly id: v.StringSchema<undefined>;
3186
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3187
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3188
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3189
+ }, undefined>, v.ObjectSchema<{
3190
+ readonly name: v.StringSchema<undefined>;
3191
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3192
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3193
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3194
+ }, undefined>], undefined>, undefined>;
3195
+ }, undefined>, v.ObjectSchema<{
3196
+ readonly id: v.StringSchema<undefined>;
3197
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
3198
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
3199
+ readonly id: v.StringSchema<undefined>;
3200
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3201
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3202
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3203
+ }, undefined>, v.ObjectSchema<{
3204
+ readonly name: v.StringSchema<undefined>;
3205
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3206
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3207
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3208
+ }, undefined>], undefined>, undefined>;
3209
+ }, undefined>, v.ObjectSchema<{
3210
+ readonly id: v.StringSchema<undefined>;
3211
+ readonly type: v.LiteralSchema<"date", undefined>;
3212
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
3213
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3214
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3215
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
3216
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
3217
+ readonly value: v.NumberSchema<undefined>;
3218
+ readonly time: v.StringSchema<undefined>;
3219
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3220
+ }, undefined>, v.ObjectSchema<{
3221
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
3222
+ readonly value: v.NumberSchema<undefined>;
3223
+ }, undefined>], undefined>, v.ObjectSchema<{
3224
+ readonly unit: v.LiteralSchema<"none", undefined>;
3225
+ }, undefined>], undefined>, undefined>;
3226
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
3227
+ }, undefined>, v.ObjectSchema<{
3228
+ readonly start: v.StringSchema<undefined>;
3229
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3230
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
3231
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
3232
+ readonly value: v.NumberSchema<undefined>;
3233
+ readonly time: v.StringSchema<undefined>;
3234
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3235
+ }, undefined>, v.ObjectSchema<{
3236
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
3237
+ readonly value: v.NumberSchema<undefined>;
3238
+ }, undefined>], undefined>, v.ObjectSchema<{
3239
+ readonly unit: v.LiteralSchema<"none", undefined>;
3240
+ }, undefined>], undefined>, undefined>;
3241
+ readonly time_zone: v.StringSchema<undefined>;
3242
+ }, undefined>, v.ObjectSchema<{
3243
+ readonly start: v.StringSchema<undefined>;
3244
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3245
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3246
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
3247
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
3248
+ readonly value: v.NumberSchema<undefined>;
3249
+ readonly time: v.StringSchema<undefined>;
3250
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3251
+ }, undefined>, v.ObjectSchema<{
3252
+ readonly unit: v.LiteralSchema<"none", undefined>;
3253
+ }, undefined>], undefined>, undefined>;
3254
+ }, undefined>], undefined>, undefined>;
3255
+ }, undefined>, v.ObjectSchema<{
3256
+ readonly id: v.StringSchema<undefined>;
3257
+ readonly type: v.LiteralSchema<"people", undefined>;
3258
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
3259
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
3260
+ readonly id: v.StringSchema<undefined>;
3261
+ }, undefined>, v.ObjectSchema<{
3262
+ readonly object: v.LiteralSchema<"group", undefined>;
3263
+ readonly id: v.StringSchema<undefined>;
3264
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3265
+ }, undefined>], undefined>, undefined>;
3266
+ }, undefined>, v.ObjectSchema<{
3267
+ readonly id: v.StringSchema<undefined>;
3268
+ readonly type: v.LiteralSchema<"relation", undefined>;
3269
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
3270
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
3271
+ readonly id: v.StringSchema<undefined>;
3272
+ }, undefined>, undefined>;
3273
+ }, undefined>, v.ObjectSchema<{
3274
+ readonly id: v.StringSchema<undefined>;
3275
+ readonly type: v.LiteralSchema<"place", undefined>;
3276
+ readonly place: v.NullableSchema<v.ObjectSchema<{
3277
+ readonly lat: v.NumberSchema<undefined>;
3278
+ readonly lon: v.NumberSchema<undefined>;
3279
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3280
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3281
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3282
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
3283
+ }, undefined>, undefined>;
3284
+ }, undefined>, v.ObjectSchema<{
3285
+ readonly id: v.StringSchema<undefined>;
3286
+ readonly type: v.LiteralSchema<"created_time", undefined>;
3287
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3288
+ }, undefined>, v.ObjectSchema<{
3289
+ readonly id: v.StringSchema<undefined>;
3290
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
3291
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
3292
+ }, undefined>, v.ObjectSchema<{
3293
+ readonly id: v.StringSchema<undefined>;
3294
+ readonly type: v.LiteralSchema<"created_by", undefined>;
3295
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
3296
+ readonly id: v.StringSchema<undefined>;
3297
+ readonly table: v.StringSchema<undefined>;
3298
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3299
+ }, undefined>, undefined>;
3300
+ }, undefined>, v.ObjectSchema<{
3301
+ readonly id: v.StringSchema<undefined>;
3302
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
3303
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
3304
+ readonly id: v.StringSchema<undefined>;
3305
+ readonly table: v.StringSchema<undefined>;
3306
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3307
+ }, undefined>, undefined>;
3308
+ }, undefined>, v.ObjectSchema<{
3309
+ readonly id: v.StringSchema<undefined>;
3310
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
3311
+ readonly unique_id: v.StringSchema<undefined>;
3312
+ }, undefined>, v.ObjectSchema<{
3313
+ readonly id: v.StringSchema<undefined>;
3314
+ readonly type: v.LiteralSchema<"button", undefined>;
3315
+ readonly button: v.StringSchema<undefined>;
3316
+ }, undefined>, v.ObjectSchema<{
3317
+ readonly id: v.StringSchema<undefined>;
3318
+ readonly type: v.LiteralSchema<"formula", undefined>;
3319
+ readonly formula: v.StringSchema<undefined>;
3320
+ }, undefined>, v.ObjectSchema<{
3321
+ readonly id: v.StringSchema<undefined>;
3322
+ readonly type: v.LiteralSchema<"rollup", undefined>;
3323
+ readonly rollup: v.StringSchema<undefined>;
3324
+ }, undefined>, v.ObjectSchema<{
3325
+ readonly id: v.StringSchema<undefined>;
3326
+ readonly type: v.LiteralSchema<"verification", undefined>;
3327
+ readonly verification: v.StringSchema<undefined>;
3328
+ }, undefined>, v.ObjectSchema<{
3329
+ readonly id: v.StringSchema<undefined>;
3330
+ readonly type: v.LiteralSchema<"files", undefined>;
3331
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
3332
+ readonly type: v.LiteralSchema<"external", undefined>;
3333
+ readonly external: v.ObjectSchema<{
3334
+ readonly url: v.StringSchema<undefined>;
3335
+ }, undefined>;
3336
+ readonly name: v.StringSchema<undefined>;
3337
+ }, undefined>, v.ObjectSchema<{
3338
+ readonly type: v.LiteralSchema<"file", undefined>;
3339
+ readonly file: v.ObjectSchema<{
3340
+ readonly url: v.StringSchema<undefined>;
3341
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3342
+ }, undefined>;
3343
+ readonly name: v.StringSchema<undefined>;
3344
+ }, undefined>], undefined>, undefined>;
3345
+ }, undefined>], undefined>, undefined>, undefined>;
3346
+ }, undefined>;
3347
+ }, undefined>, v.ObjectSchema<{
3348
+ readonly type: v.LiteralSchema<"updatePageResult", undefined>;
3349
+ readonly requestId: v.StringSchema<undefined>;
3350
+ readonly status: v.LiteralSchema<"error", undefined>;
3351
+ readonly error: v.ObjectSchema<{
3352
+ readonly code: v.StringSchema<undefined>;
3353
+ readonly message: v.StringSchema<undefined>;
3354
+ readonly isRetryable: v.BooleanSchema<undefined>;
3355
+ }, undefined>;
3356
+ }, undefined>], undefined>], undefined>;