@notionhq/custom-blocks 0.6.0 → 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 (191) hide show
  1. package/README.md +32 -18
  2. package/dist/bridge/SandboxBridge.d.ts +7 -8
  3. package/dist/bridge/SandboxBridge.d.ts.map +1 -1
  4. package/dist/bridge/SandboxBridge.js +39 -114
  5. package/dist/bridge/applyHostStateMessage.d.ts.map +1 -1
  6. package/dist/bridge/createBrowserSandboxBridge.d.ts +3 -0
  7. package/dist/bridge/createBrowserSandboxBridge.d.ts.map +1 -0
  8. package/dist/bridge/createBrowserSandboxBridge.js +54 -0
  9. package/dist/bridge/getBridge.d.ts +1 -1
  10. package/dist/bridge/getBridge.d.ts.map +1 -1
  11. package/dist/bridge/getBridge.js +2 -2
  12. package/dist/bridge/getInitializedHostState.d.ts.map +1 -1
  13. package/dist/bridge/hostState.d.ts +2 -2
  14. package/dist/bridge/hostState.d.ts.map +1 -1
  15. package/dist/bridge/initialization/SandboxInitialization.d.ts +6 -0
  16. package/dist/bridge/initialization/SandboxInitialization.d.ts.map +1 -1
  17. package/dist/bridge/initialization/SandboxInitialization.js +13 -10
  18. package/dist/bridge/messageInterceptor.d.ts.map +1 -1
  19. package/dist/bridge/requests.d.ts.map +1 -1
  20. package/dist/bridge/sandboxEnvironment.d.ts +30 -0
  21. package/dist/bridge/sandboxEnvironment.d.ts.map +1 -0
  22. package/dist/bridge/sandboxEnvironment.js +1 -0
  23. package/dist/bridge/subscribeToHostStateField.d.ts.map +1 -1
  24. package/dist/bridge.d.ts.map +1 -1
  25. package/dist/data-sources.d.ts.map +1 -1
  26. package/dist/dataSources/NotionDataSource.d.ts.map +1 -1
  27. package/dist/dataSources/bridge/DataSourceCache.d.ts +18 -0
  28. package/dist/dataSources/bridge/DataSourceCache.d.ts.map +1 -0
  29. package/dist/dataSources/bridge/DataSourceCache.js +75 -0
  30. package/dist/dataSources/bridge/applyDataSourceBindings.d.ts.map +1 -1
  31. package/dist/dataSources/bridge/makeDataSourceReadResponseSchema.d.ts.map +1 -1
  32. package/dist/dataSources/bridge/resolveDataSourceQuery.d.ts.map +1 -1
  33. package/dist/dataSources/bridge/resolveDataSources.d.ts.map +1 -1
  34. package/dist/dataSources/bridge/resolveSorts.d.ts.map +1 -1
  35. package/dist/dataSources/bridge/reuseDataSourcesForUnchangedBindings.d.ts +0 -3
  36. package/dist/dataSources/bridge/reuseDataSourcesForUnchangedBindings.d.ts.map +1 -1
  37. package/dist/dataSources/bridge/reuseDataSourcesForUnchangedBindings.js +2 -5
  38. package/dist/dataSources/dataSourceInaccessibleError.d.ts.map +1 -1
  39. package/dist/dataSources/dataSourceState.d.ts.map +1 -1
  40. package/dist/dataSources/ensureDataSource.d.ts.map +1 -1
  41. package/dist/dataSources/filters/resolveFilter.d.ts.map +1 -1
  42. package/dist/dataSources/filters/types.d.ts.map +1 -1
  43. package/dist/dataSources/getDataSourcePage.d.ts.map +1 -1
  44. package/dist/dataSources/observeDataSource.d.ts.map +1 -1
  45. package/dist/dataSources/properties/resolvePropertyAddress.d.ts.map +1 -1
  46. package/dist/dataSources/properties/resolvePropertyWriteMapForDataSource.d.ts.map +1 -1
  47. package/dist/dataSources/properties/resolvePropertyWriteMapForDataSource.js +2 -2
  48. package/dist/dataSources/resolvePageDataSource.d.ts.map +1 -1
  49. package/dist/dataSources/subscribeToDataSource.d.ts.map +1 -1
  50. package/dist/dataSources/types.d.ts.map +1 -1
  51. package/dist/files/files.d.ts +1 -1
  52. package/dist/files/files.d.ts.map +1 -1
  53. package/dist/files/icons.d.ts.map +1 -1
  54. package/dist/index.d.ts.map +1 -1
  55. package/dist/initialization/NotInIframeError.d.ts.map +1 -1
  56. package/dist/initialization/initCustomBlock.d.ts.map +1 -1
  57. package/dist/initialization/notifyReady.d.ts.map +1 -1
  58. package/dist/initialization/react/useCustomBlockInit.d.ts.map +1 -1
  59. package/dist/initialization/resolveInitialState.d.ts.map +1 -1
  60. package/dist/initialization/types.d.ts.map +1 -1
  61. package/dist/layout/autoResize.d.ts.map +1 -1
  62. package/dist/layout/getInitialContentHeight.d.ts.map +1 -1
  63. package/dist/location/getContainingPage.d.ts.map +1 -1
  64. package/dist/location/getInstance.d.ts.map +1 -1
  65. package/dist/location/getParent.d.ts.map +1 -1
  66. package/dist/location/mapContainingPage.d.ts +2 -2
  67. package/dist/location/mapContainingPage.d.ts.map +1 -1
  68. package/dist/location/mapParent.d.ts.map +1 -1
  69. package/dist/location/subscribeToContainingPage.d.ts.map +1 -1
  70. package/dist/location/subscribeToParent.d.ts.map +1 -1
  71. package/dist/location/types.d.ts.map +1 -1
  72. package/dist/manifest/getManifest.d.ts.map +1 -1
  73. package/dist/manifest/readLocalManifest.d.ts.map +1 -1
  74. package/dist/manifest/types.d.ts.map +1 -1
  75. package/dist/navigation/openExternalUrl.d.ts.map +1 -1
  76. package/dist/navigation/types.d.ts.map +1 -1
  77. package/dist/navigation.d.ts.map +1 -1
  78. package/dist/pages/NotionPage.d.ts.map +1 -1
  79. package/dist/pages/bridge/buildCreatePageRequest.d.ts.map +1 -1
  80. package/dist/pages/bridge/getPageForDataSource.d.ts.map +1 -1
  81. package/dist/pages/bridge/resolveCreatePageDestination.d.ts.map +1 -1
  82. package/dist/pages/bridge/sendCreatePageRequest.d.ts.map +1 -1
  83. package/dist/pages/bridge/toNotionPageFromBridgePage.d.ts.map +1 -1
  84. package/dist/pages/bridge/toNotionPagePropertyFromBridgeProperty.d.ts +2 -2
  85. package/dist/pages/bridge/toNotionPagePropertyFromBridgeProperty.d.ts.map +1 -1
  86. package/dist/pages/bridge/updatePage.d.ts.map +1 -1
  87. package/dist/pages/createPage.d.ts.map +1 -1
  88. package/dist/pages/getPage.d.ts.map +1 -1
  89. package/dist/pages/identityBlockKey.d.ts.map +1 -1
  90. package/dist/pages/identityPageKey.d.ts.map +1 -1
  91. package/dist/pages/openPage.d.ts.map +1 -1
  92. package/dist/pages/parent.d.ts.map +1 -1
  93. package/dist/pages/types.d.ts +5 -3
  94. package/dist/pages/types.d.ts.map +1 -1
  95. package/dist/pages.d.ts.map +1 -1
  96. package/dist/preferences/backgroundColors.d.ts.map +1 -1
  97. package/dist/preferences/getContrastMode.d.ts.map +1 -1
  98. package/dist/preferences/getTheme.d.ts.map +1 -1
  99. package/dist/preferences/react/useContrastMode.d.ts.map +1 -1
  100. package/dist/preferences/react/useTheme.d.ts.map +1 -1
  101. package/dist/preferences/subscribeToContrastMode.d.ts.map +1 -1
  102. package/dist/preferences/subscribeToTheme.d.ts.map +1 -1
  103. package/dist/preferences/syncDocumentAppearance.d.ts +1 -1
  104. package/dist/preferences/syncDocumentAppearance.d.ts.map +1 -1
  105. package/dist/preferences/syncDocumentAppearance.js +2 -1
  106. package/dist/preferences.d.ts.map +1 -1
  107. package/dist/protocol/compatibility/protocol12/hostToSandbox.d.ts +3356 -0
  108. package/dist/protocol/compatibility/protocol12/hostToSandbox.js +38 -0
  109. package/dist/protocol/compatibility/protocol12/page.d.ts +296 -0
  110. package/dist/protocol/compatibility/protocol12/page.js +7 -0
  111. package/dist/protocol/context/containingPage.d.ts +4 -2
  112. package/dist/protocol/context/containingPage.js +1 -1
  113. package/dist/protocol/context/messages/pageChanged.js +2 -2
  114. package/dist/protocol/dataSources/areDataSourceBindingsEqual.d.ts +3 -0
  115. package/dist/protocol/dataSources/areDataSourceBindingsEqual.js +26 -0
  116. package/dist/protocol/dataSources/messages/queryDataSource.d.ts +24 -19
  117. package/dist/protocol/dataSources/messages/queryDataSource.js +2 -0
  118. package/dist/protocol/files.d.ts +18 -0
  119. package/dist/protocol/files.js +9 -0
  120. package/dist/protocol/messages/hostToSandbox.d.ts +2200 -68
  121. package/dist/protocol/messages/hostToSandbox.js +6 -2
  122. package/dist/protocol/messages/sandboxToHost.d.ts +51 -51
  123. package/dist/protocol/pages/bridgePage.d.ts +20 -17
  124. package/dist/protocol/pages/messages/createPage.d.ts +88 -85
  125. package/dist/protocol/pages/messages/getPage.d.ts +24 -19
  126. package/dist/protocol/pages/messages/getPage.js +2 -0
  127. package/dist/protocol/pages/messages/updatePage.d.ts +37 -34
  128. package/dist/protocol/pages/properties/bridgePagePropertyMaps.d.ts +37 -34
  129. package/dist/protocol/pages/properties/bridgePagePropertyMaps.js +3 -3
  130. package/dist/protocol/pages/properties/bridgePagePropertyValue.d.ts +236 -2
  131. package/dist/protocol/pages/properties/bridgePagePropertyValue.js +20 -7
  132. package/dist/protocol/utils/errors.d.ts +6 -0
  133. package/dist/protocol/utils/errors.js +8 -0
  134. package/dist/protocol/utils/protocolVersion.d.ts +4 -2
  135. package/dist/protocol/utils/protocolVersion.js +4 -2
  136. package/dist/react/InitializationErrorDetails.d.ts.map +1 -1
  137. package/dist/react/MissingHostCommand.d.ts.map +1 -1
  138. package/dist/react/MissingHostScreen.d.ts.map +1 -1
  139. package/dist/react/NotionCustomBlock.d.ts.map +1 -1
  140. package/dist/react/index.d.ts +0 -2
  141. package/dist/react/index.d.ts.map +1 -1
  142. package/dist/react/index.js +0 -1
  143. package/dist/react/useAsyncRead.d.ts.map +1 -1
  144. package/dist/react/useContainingPage.d.ts.map +1 -1
  145. package/dist/react/useLiveLocationRead.d.ts.map +1 -1
  146. package/dist/react/usePage.d.ts.map +1 -1
  147. package/dist/react/useParent.d.ts.map +1 -1
  148. package/dist/react/useQuerySubscription.d.ts.map +1 -1
  149. package/dist/react/useUserFields.d.ts.map +1 -1
  150. package/dist/react/useViewer.d.ts.map +1 -1
  151. package/dist/styles/scrollbars.css +18 -0
  152. package/dist/users/NotionUser.d.ts.map +1 -1
  153. package/dist/users/bridge/toNotionUserDataFromBridgeUser.d.ts.map +1 -1
  154. package/dist/users/getUser.d.ts.map +1 -1
  155. package/dist/users/getViewer.d.ts.map +1 -1
  156. package/dist/users/listUsers.d.ts.map +1 -1
  157. package/dist/users/types.d.ts.map +1 -1
  158. package/dist/users.d.ts.map +1 -1
  159. package/dist/utils/makeUuid.d.ts.map +1 -1
  160. package/dist/utils/notifyListener.d.ts.map +1 -1
  161. package/dist/utils/typeUtils.d.ts.map +1 -1
  162. package/dist/utils/unreachable.d.ts.map +1 -1
  163. package/dist/utils/version.d.ts.map +1 -1
  164. package/dist/utils/version.js +1 -1
  165. package/docs/block-location.md +22 -9
  166. package/docs/deployment.md +5 -11
  167. package/docs/errors.md +4 -0
  168. package/docs/grants.md +7 -2
  169. package/docs/local-development.md +39 -0
  170. package/docs/pages.md +97 -62
  171. package/package.json +2 -1
  172. package/src/bridge/SandboxBridge.ts +49 -144
  173. package/src/bridge/createBrowserSandboxBridge.ts +64 -0
  174. package/src/bridge/getBridge.ts +3 -2
  175. package/src/bridge/hostState.ts +2 -2
  176. package/src/bridge/initialization/SandboxInitialization.ts +24 -10
  177. package/src/bridge/sandboxEnvironment.ts +38 -0
  178. package/src/dataSources/bridge/DataSourceCache.ts +94 -0
  179. package/src/dataSources/bridge/reuseDataSourcesForUnchangedBindings.ts +5 -5
  180. package/src/dataSources/properties/resolvePropertyWriteMapForDataSource.ts +2 -2
  181. package/src/files/files.ts +1 -1
  182. package/src/location/mapContainingPage.ts +2 -2
  183. package/src/pages/bridge/toNotionPagePropertyFromBridgeProperty.ts +2 -2
  184. package/src/pages/types.ts +9 -3
  185. package/src/preferences/syncDocumentAppearance.ts +2 -1
  186. package/src/react/index.ts +0 -2
  187. package/src/styles/scrollbars.css +18 -0
  188. package/dist/react/NotionTokenScope.d.ts +0 -10
  189. package/dist/react/NotionTokenScope.d.ts.map +0 -1
  190. package/dist/react/NotionTokenScope.js +0 -12
  191. package/src/react/NotionTokenScope.tsx +0 -26
@@ -1,4 +1,2122 @@
1
1
  import * as v from "valibot";
2
+ /** Messages with the same shape under protocols 12 and 13. */
3
+ export declare const commonHostToSandboxSchemas: readonly [v.VariantSchema<"status", [v.ObjectSchema<{
4
+ readonly type: v.LiteralSchema<"connectResult", undefined>;
5
+ readonly requestId: v.StringSchema<undefined>;
6
+ readonly status: v.LiteralSchema<"success", undefined>;
7
+ readonly protocolVersion: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>;
8
+ }, undefined>, v.ObjectSchema<{
9
+ readonly type: v.LiteralSchema<"connectResult", undefined>;
10
+ readonly requestId: v.StringSchema<undefined>;
11
+ readonly status: v.LiteralSchema<"error", undefined>;
12
+ readonly error: v.ObjectSchema<{
13
+ readonly code: v.StringSchema<undefined>;
14
+ readonly message: v.StringSchema<undefined>;
15
+ readonly isRetryable: v.BooleanSchema<undefined>;
16
+ }, undefined>;
17
+ }, undefined>], undefined>, v.ObjectSchema<{
18
+ readonly type: v.LiteralSchema<"init", undefined>;
19
+ readonly requestId: v.StringSchema<undefined>;
20
+ readonly instance: v.VariantSchema<"type", [v.StrictObjectSchema<{
21
+ readonly type: v.LiteralSchema<"block", undefined>;
22
+ readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
23
+ }, undefined>, v.StrictObjectSchema<{
24
+ readonly type: v.LiteralSchema<"page", undefined>;
25
+ readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
26
+ }, undefined>, v.StrictObjectSchema<{
27
+ readonly type: v.LiteralSchema<"view", undefined>;
28
+ readonly viewId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionViewId">]>;
29
+ }, undefined>], undefined>;
30
+ readonly manifest: v.ObjectSchema<{
31
+ readonly version: v.LiteralSchema<1, undefined>;
32
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
33
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
34
+ readonly slashCommand: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
35
+ readonly icon: v.OptionalSchema<v.ObjectSchema<{
36
+ readonly type: v.LiteralSchema<"emoji", undefined>;
37
+ readonly emoji: v.StringSchema<undefined>;
38
+ }, undefined>, undefined>;
39
+ readonly dataSources: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
40
+ readonly name: v.StringSchema<undefined>;
41
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
42
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
43
+ readonly type: v.LiteralSchema<"emoji", undefined>;
44
+ readonly emoji: v.StringSchema<undefined>;
45
+ }, undefined>, v.ObjectSchema<{
46
+ readonly type: v.LiteralSchema<"external", undefined>;
47
+ readonly url: v.StringSchema<undefined>;
48
+ }, undefined>], undefined>, undefined>;
49
+ readonly properties: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
50
+ readonly name: v.StringSchema<undefined>;
51
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
52
+ 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>;
53
+ }, undefined>, undefined>, {}>;
54
+ }, undefined>, undefined>, {}>;
55
+ readonly pages: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.ObjectSchema<{
56
+ readonly name: v.StringSchema<undefined>;
57
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
58
+ readonly icon: v.OptionalSchema<v.VariantSchema<"type", [v.ObjectSchema<{
59
+ readonly type: v.LiteralSchema<"emoji", undefined>;
60
+ readonly emoji: v.StringSchema<undefined>;
61
+ }, undefined>, v.ObjectSchema<{
62
+ readonly type: v.LiteralSchema<"external", undefined>;
63
+ readonly url: v.StringSchema<undefined>;
64
+ }, undefined>], undefined>, undefined>;
65
+ }, undefined>, undefined>, undefined>;
66
+ readonly grants: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
67
+ readonly action: v.StringSchema<undefined>;
68
+ readonly resource: v.UnionSchema<[v.StringSchema<undefined>, v.SchemaWithPipe<readonly [v.ArraySchema<v.StringSchema<undefined>, undefined>, v.MinLengthAction<string[], 1, undefined>]>], undefined>;
69
+ }, undefined>, undefined>, undefined>;
70
+ }, undefined>;
71
+ readonly preferences: v.ObjectSchema<{
72
+ readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
73
+ readonly contrastMode: v.PicklistSchema<["standard", "high"], undefined>;
74
+ }, undefined>;
75
+ }, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
76
+ readonly type: v.LiteralSchema<"getDataSourceResult", undefined>;
77
+ readonly requestId: v.StringSchema<undefined>;
78
+ readonly status: v.LiteralSchema<"success", undefined>;
79
+ readonly binding: Omit<Omit<v.ObjectSchema<{
80
+ readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
81
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
82
+ readonly table: v.StringSchema<undefined>;
83
+ readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
84
+ }, undefined>, undefined>;
85
+ readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
86
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
87
+ readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
88
+ readonly name: v.StringSchema<undefined>;
89
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
90
+ readonly type: v.LiteralSchema<"title", undefined>;
91
+ }, undefined>, v.ObjectSchema<{
92
+ readonly name: v.StringSchema<undefined>;
93
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
94
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
95
+ }, undefined>, v.ObjectSchema<{
96
+ readonly name: v.StringSchema<undefined>;
97
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
98
+ readonly type: v.LiteralSchema<"number", undefined>;
99
+ }, undefined>, v.ObjectSchema<{
100
+ readonly name: v.StringSchema<undefined>;
101
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
102
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
103
+ }, undefined>, v.ObjectSchema<{
104
+ readonly name: v.StringSchema<undefined>;
105
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
106
+ readonly type: v.LiteralSchema<"url", undefined>;
107
+ }, undefined>, v.ObjectSchema<{
108
+ readonly name: v.StringSchema<undefined>;
109
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
110
+ readonly type: v.LiteralSchema<"email", undefined>;
111
+ }, undefined>, v.ObjectSchema<{
112
+ readonly name: v.StringSchema<undefined>;
113
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
114
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
115
+ }, undefined>, v.ObjectSchema<{
116
+ readonly name: v.StringSchema<undefined>;
117
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
118
+ readonly type: v.LiteralSchema<"select", undefined>;
119
+ readonly options: v.ArraySchema<v.ObjectSchema<{
120
+ readonly id: v.StringSchema<undefined>;
121
+ readonly name: v.StringSchema<undefined>;
122
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
123
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
124
+ }, undefined>, undefined>;
125
+ }, undefined>, v.ObjectSchema<{
126
+ readonly name: v.StringSchema<undefined>;
127
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
128
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
129
+ readonly options: v.ArraySchema<v.ObjectSchema<{
130
+ readonly id: v.StringSchema<undefined>;
131
+ readonly name: v.StringSchema<undefined>;
132
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
133
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
134
+ }, undefined>, undefined>;
135
+ }, undefined>, v.ObjectSchema<{
136
+ readonly name: v.StringSchema<undefined>;
137
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
138
+ readonly type: v.LiteralSchema<"status", undefined>;
139
+ readonly options: v.ArraySchema<v.ObjectSchema<{
140
+ readonly id: v.StringSchema<undefined>;
141
+ readonly name: v.StringSchema<undefined>;
142
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
143
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
144
+ }, undefined>, undefined>;
145
+ readonly groups: v.ArraySchema<v.ObjectSchema<{
146
+ readonly id: v.StringSchema<undefined>;
147
+ readonly name: v.StringSchema<undefined>;
148
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
149
+ readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
150
+ }, undefined>, undefined>;
151
+ }, undefined>, v.ObjectSchema<{
152
+ readonly name: v.StringSchema<undefined>;
153
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
154
+ readonly type: v.LiteralSchema<"date", undefined>;
155
+ }, undefined>, v.ObjectSchema<{
156
+ readonly name: v.StringSchema<undefined>;
157
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
158
+ readonly type: v.LiteralSchema<"people", undefined>;
159
+ }, undefined>, v.ObjectSchema<{
160
+ readonly name: v.StringSchema<undefined>;
161
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
162
+ readonly type: v.LiteralSchema<"files", undefined>;
163
+ }, undefined>, v.ObjectSchema<{
164
+ readonly name: v.StringSchema<undefined>;
165
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
166
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
167
+ }, undefined>, v.ObjectSchema<{
168
+ readonly name: v.StringSchema<undefined>;
169
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
170
+ readonly type: v.LiteralSchema<"relation", undefined>;
171
+ readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
172
+ readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
173
+ readonly synced_property_id: v.StringSchema<undefined>;
174
+ readonly synced_property_name: v.StringSchema<undefined>;
175
+ }, undefined>, undefined>;
176
+ }, undefined>, v.ObjectSchema<{
177
+ readonly name: v.StringSchema<undefined>;
178
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
179
+ readonly type: v.LiteralSchema<"place", undefined>;
180
+ }, undefined>, v.ObjectSchema<{
181
+ readonly name: v.StringSchema<undefined>;
182
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
183
+ readonly type: v.LiteralSchema<"formula", undefined>;
184
+ }, undefined>, v.ObjectSchema<{
185
+ readonly name: v.StringSchema<undefined>;
186
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
187
+ readonly type: v.LiteralSchema<"rollup", undefined>;
188
+ }, undefined>, v.ObjectSchema<{
189
+ readonly name: v.StringSchema<undefined>;
190
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
191
+ readonly type: v.LiteralSchema<"button", undefined>;
192
+ }, undefined>, v.ObjectSchema<{
193
+ readonly name: v.StringSchema<undefined>;
194
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
195
+ readonly type: v.LiteralSchema<"verification", undefined>;
196
+ }, undefined>, v.ObjectSchema<{
197
+ readonly name: v.StringSchema<undefined>;
198
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
199
+ readonly type: v.LiteralSchema<"created_time", undefined>;
200
+ }, undefined>, v.ObjectSchema<{
201
+ readonly name: v.StringSchema<undefined>;
202
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
203
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
204
+ }, undefined>, v.ObjectSchema<{
205
+ readonly name: v.StringSchema<undefined>;
206
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
207
+ readonly type: v.LiteralSchema<"created_by", undefined>;
208
+ }, undefined>, v.ObjectSchema<{
209
+ readonly name: v.StringSchema<undefined>;
210
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
211
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
212
+ }, undefined>], undefined>, undefined>;
213
+ }, undefined>, undefined>;
214
+ readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
215
+ readonly inaccessible: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
216
+ }, undefined>, "entries" | "~run" | "~standard" | "~types"> & {
217
+ readonly entries: Omit<{
218
+ readonly dataSourcePointer: v.OptionalSchema<v.ObjectSchema<{
219
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
220
+ readonly table: v.StringSchema<undefined>;
221
+ readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
222
+ }, undefined>, undefined>;
223
+ readonly dataSourceSchema: v.OptionalSchema<v.ObjectSchema<{
224
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
225
+ readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
226
+ readonly name: v.StringSchema<undefined>;
227
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
228
+ readonly type: v.LiteralSchema<"title", undefined>;
229
+ }, undefined>, v.ObjectSchema<{
230
+ readonly name: v.StringSchema<undefined>;
231
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
232
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
233
+ }, undefined>, v.ObjectSchema<{
234
+ readonly name: v.StringSchema<undefined>;
235
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
236
+ readonly type: v.LiteralSchema<"number", undefined>;
237
+ }, undefined>, v.ObjectSchema<{
238
+ readonly name: v.StringSchema<undefined>;
239
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
240
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
241
+ }, undefined>, v.ObjectSchema<{
242
+ readonly name: v.StringSchema<undefined>;
243
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
244
+ readonly type: v.LiteralSchema<"url", undefined>;
245
+ }, undefined>, v.ObjectSchema<{
246
+ readonly name: v.StringSchema<undefined>;
247
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
248
+ readonly type: v.LiteralSchema<"email", undefined>;
249
+ }, undefined>, v.ObjectSchema<{
250
+ readonly name: v.StringSchema<undefined>;
251
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
252
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
253
+ }, undefined>, v.ObjectSchema<{
254
+ readonly name: v.StringSchema<undefined>;
255
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
256
+ readonly type: v.LiteralSchema<"select", undefined>;
257
+ readonly options: v.ArraySchema<v.ObjectSchema<{
258
+ readonly id: v.StringSchema<undefined>;
259
+ readonly name: v.StringSchema<undefined>;
260
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
261
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
262
+ }, undefined>, undefined>;
263
+ }, undefined>, v.ObjectSchema<{
264
+ readonly name: v.StringSchema<undefined>;
265
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
266
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
267
+ readonly options: v.ArraySchema<v.ObjectSchema<{
268
+ readonly id: v.StringSchema<undefined>;
269
+ readonly name: v.StringSchema<undefined>;
270
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
271
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
272
+ }, undefined>, undefined>;
273
+ }, undefined>, v.ObjectSchema<{
274
+ readonly name: v.StringSchema<undefined>;
275
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
276
+ readonly type: v.LiteralSchema<"status", undefined>;
277
+ readonly options: v.ArraySchema<v.ObjectSchema<{
278
+ readonly id: v.StringSchema<undefined>;
279
+ readonly name: v.StringSchema<undefined>;
280
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
281
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
282
+ }, undefined>, undefined>;
283
+ readonly groups: v.ArraySchema<v.ObjectSchema<{
284
+ readonly id: v.StringSchema<undefined>;
285
+ readonly name: v.StringSchema<undefined>;
286
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
287
+ readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
288
+ }, undefined>, undefined>;
289
+ }, undefined>, v.ObjectSchema<{
290
+ readonly name: v.StringSchema<undefined>;
291
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
292
+ readonly type: v.LiteralSchema<"date", undefined>;
293
+ }, undefined>, v.ObjectSchema<{
294
+ readonly name: v.StringSchema<undefined>;
295
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
296
+ readonly type: v.LiteralSchema<"people", undefined>;
297
+ }, undefined>, v.ObjectSchema<{
298
+ readonly name: v.StringSchema<undefined>;
299
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
300
+ readonly type: v.LiteralSchema<"files", undefined>;
301
+ }, undefined>, v.ObjectSchema<{
302
+ readonly name: v.StringSchema<undefined>;
303
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
304
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
305
+ }, undefined>, v.ObjectSchema<{
306
+ readonly name: v.StringSchema<undefined>;
307
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
308
+ readonly type: v.LiteralSchema<"relation", undefined>;
309
+ readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
310
+ readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
311
+ readonly synced_property_id: v.StringSchema<undefined>;
312
+ readonly synced_property_name: v.StringSchema<undefined>;
313
+ }, undefined>, undefined>;
314
+ }, undefined>, v.ObjectSchema<{
315
+ readonly name: v.StringSchema<undefined>;
316
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
317
+ readonly type: v.LiteralSchema<"place", undefined>;
318
+ }, undefined>, v.ObjectSchema<{
319
+ readonly name: v.StringSchema<undefined>;
320
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
321
+ readonly type: v.LiteralSchema<"formula", undefined>;
322
+ }, undefined>, v.ObjectSchema<{
323
+ readonly name: v.StringSchema<undefined>;
324
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
325
+ readonly type: v.LiteralSchema<"rollup", undefined>;
326
+ }, undefined>, v.ObjectSchema<{
327
+ readonly name: v.StringSchema<undefined>;
328
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
329
+ readonly type: v.LiteralSchema<"button", undefined>;
330
+ }, undefined>, v.ObjectSchema<{
331
+ readonly name: v.StringSchema<undefined>;
332
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
333
+ readonly type: v.LiteralSchema<"verification", undefined>;
334
+ }, undefined>, v.ObjectSchema<{
335
+ readonly name: v.StringSchema<undefined>;
336
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
337
+ readonly type: v.LiteralSchema<"created_time", undefined>;
338
+ }, undefined>, v.ObjectSchema<{
339
+ readonly name: v.StringSchema<undefined>;
340
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
341
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
342
+ }, undefined>, v.ObjectSchema<{
343
+ readonly name: v.StringSchema<undefined>;
344
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
345
+ readonly type: v.LiteralSchema<"created_by", undefined>;
346
+ }, undefined>, v.ObjectSchema<{
347
+ readonly name: v.StringSchema<undefined>;
348
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
349
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
350
+ }, undefined>], undefined>, undefined>;
351
+ }, undefined>, undefined>;
352
+ readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
353
+ readonly inaccessible: v.OptionalSchema<v.LiteralSchema<true, undefined>, undefined>;
354
+ }, "inaccessible">;
355
+ readonly "~standard": v.StandardProps<{
356
+ dataSourcePointer?: {
357
+ id: string;
358
+ table: string;
359
+ spaceId?: string | undefined;
360
+ } | undefined;
361
+ dataSourceSchema?: {
362
+ id?: string | undefined;
363
+ propertiesById: {
364
+ [x: string]: {
365
+ name: string;
366
+ description?: string | undefined;
367
+ type: "title";
368
+ } | {
369
+ name: string;
370
+ description?: string | undefined;
371
+ type: "rich_text";
372
+ } | {
373
+ name: string;
374
+ description?: string | undefined;
375
+ type: "number";
376
+ } | {
377
+ name: string;
378
+ description?: string | undefined;
379
+ type: "checkbox";
380
+ } | {
381
+ name: string;
382
+ description?: string | undefined;
383
+ type: "url";
384
+ } | {
385
+ name: string;
386
+ description?: string | undefined;
387
+ type: "email";
388
+ } | {
389
+ name: string;
390
+ description?: string | undefined;
391
+ type: "phone_number";
392
+ } | {
393
+ name: string;
394
+ description?: string | undefined;
395
+ type: "select";
396
+ options: {
397
+ id: string;
398
+ name: string;
399
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
400
+ description?: string | undefined;
401
+ }[];
402
+ } | {
403
+ name: string;
404
+ description?: string | undefined;
405
+ type: "multi_select";
406
+ options: {
407
+ id: string;
408
+ name: string;
409
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
410
+ description?: string | undefined;
411
+ }[];
412
+ } | {
413
+ name: string;
414
+ description?: string | undefined;
415
+ type: "status";
416
+ options: {
417
+ id: string;
418
+ name: string;
419
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
420
+ description?: string | undefined;
421
+ }[];
422
+ groups: {
423
+ id: string;
424
+ name: string;
425
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
426
+ option_ids: string[];
427
+ }[];
428
+ } | {
429
+ name: string;
430
+ description?: string | undefined;
431
+ type: "date";
432
+ } | {
433
+ name: string;
434
+ description?: string | undefined;
435
+ type: "people";
436
+ } | {
437
+ name: string;
438
+ description?: string | undefined;
439
+ type: "files";
440
+ } | {
441
+ name: string;
442
+ description?: string | undefined;
443
+ type: "unique_id";
444
+ } | {
445
+ name: string;
446
+ description?: string | undefined;
447
+ type: "relation";
448
+ data_source_id?: string | undefined;
449
+ dual_property?: {
450
+ synced_property_id: string;
451
+ synced_property_name: string;
452
+ } | undefined;
453
+ } | {
454
+ name: string;
455
+ description?: string | undefined;
456
+ type: "place";
457
+ } | {
458
+ name: string;
459
+ description?: string | undefined;
460
+ type: "formula";
461
+ } | {
462
+ name: string;
463
+ description?: string | undefined;
464
+ type: "rollup";
465
+ } | {
466
+ name: string;
467
+ description?: string | undefined;
468
+ type: "button";
469
+ } | {
470
+ name: string;
471
+ description?: string | undefined;
472
+ type: "verification";
473
+ } | {
474
+ name: string;
475
+ description?: string | undefined;
476
+ type: "created_time";
477
+ } | {
478
+ name: string;
479
+ description?: string | undefined;
480
+ type: "last_edited_time";
481
+ } | {
482
+ name: string;
483
+ description?: string | undefined;
484
+ type: "created_by";
485
+ } | {
486
+ name: string;
487
+ description?: string | undefined;
488
+ type: "last_edited_by";
489
+ };
490
+ };
491
+ } | undefined;
492
+ propertyIdsByKey?: {
493
+ [x: string]: string | undefined;
494
+ } | undefined;
495
+ }, {
496
+ dataSourcePointer?: {
497
+ id: string & v.Brand<"NotionDataSourceId">;
498
+ table: string;
499
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
500
+ } | undefined;
501
+ dataSourceSchema?: {
502
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
503
+ propertiesById: {
504
+ [x: string]: {
505
+ name: string;
506
+ description?: string | undefined;
507
+ type: "title";
508
+ } | {
509
+ name: string;
510
+ description?: string | undefined;
511
+ type: "rich_text";
512
+ } | {
513
+ name: string;
514
+ description?: string | undefined;
515
+ type: "number";
516
+ } | {
517
+ name: string;
518
+ description?: string | undefined;
519
+ type: "checkbox";
520
+ } | {
521
+ name: string;
522
+ description?: string | undefined;
523
+ type: "url";
524
+ } | {
525
+ name: string;
526
+ description?: string | undefined;
527
+ type: "email";
528
+ } | {
529
+ name: string;
530
+ description?: string | undefined;
531
+ type: "phone_number";
532
+ } | {
533
+ name: string;
534
+ description?: string | undefined;
535
+ type: "select";
536
+ options: {
537
+ id: string;
538
+ name: string;
539
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
540
+ description?: string | undefined;
541
+ }[];
542
+ } | {
543
+ name: string;
544
+ description?: string | undefined;
545
+ type: "multi_select";
546
+ options: {
547
+ id: string;
548
+ name: string;
549
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
550
+ description?: string | undefined;
551
+ }[];
552
+ } | {
553
+ name: string;
554
+ description?: string | undefined;
555
+ type: "status";
556
+ options: {
557
+ id: string;
558
+ name: string;
559
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
560
+ description?: string | undefined;
561
+ }[];
562
+ groups: {
563
+ id: string;
564
+ name: string;
565
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
566
+ option_ids: string[];
567
+ }[];
568
+ } | {
569
+ name: string;
570
+ description?: string | undefined;
571
+ type: "date";
572
+ } | {
573
+ name: string;
574
+ description?: string | undefined;
575
+ type: "people";
576
+ } | {
577
+ name: string;
578
+ description?: string | undefined;
579
+ type: "files";
580
+ } | {
581
+ name: string;
582
+ description?: string | undefined;
583
+ type: "unique_id";
584
+ } | {
585
+ name: string;
586
+ description?: string | undefined;
587
+ type: "relation";
588
+ data_source_id?: string | undefined;
589
+ dual_property?: {
590
+ synced_property_id: string;
591
+ synced_property_name: string;
592
+ } | undefined;
593
+ } | {
594
+ name: string;
595
+ description?: string | undefined;
596
+ type: "place";
597
+ } | {
598
+ name: string;
599
+ description?: string | undefined;
600
+ type: "formula";
601
+ } | {
602
+ name: string;
603
+ description?: string | undefined;
604
+ type: "rollup";
605
+ } | {
606
+ name: string;
607
+ description?: string | undefined;
608
+ type: "button";
609
+ } | {
610
+ name: string;
611
+ description?: string | undefined;
612
+ type: "verification";
613
+ } | {
614
+ name: string;
615
+ description?: string | undefined;
616
+ type: "created_time";
617
+ } | {
618
+ name: string;
619
+ description?: string | undefined;
620
+ type: "last_edited_time";
621
+ } | {
622
+ name: string;
623
+ description?: string | undefined;
624
+ type: "created_by";
625
+ } | {
626
+ name: string;
627
+ description?: string | undefined;
628
+ type: "last_edited_by";
629
+ };
630
+ };
631
+ } | undefined;
632
+ propertyIdsByKey?: {
633
+ [x: string]: string | undefined;
634
+ } | undefined;
635
+ }>;
636
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
637
+ dataSourcePointer?: {
638
+ id: string & v.Brand<"NotionDataSourceId">;
639
+ table: string;
640
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
641
+ } | undefined;
642
+ dataSourceSchema?: {
643
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
644
+ propertiesById: {
645
+ [x: string]: {
646
+ name: string;
647
+ description?: string | undefined;
648
+ type: "title";
649
+ } | {
650
+ name: string;
651
+ description?: string | undefined;
652
+ type: "rich_text";
653
+ } | {
654
+ name: string;
655
+ description?: string | undefined;
656
+ type: "number";
657
+ } | {
658
+ name: string;
659
+ description?: string | undefined;
660
+ type: "checkbox";
661
+ } | {
662
+ name: string;
663
+ description?: string | undefined;
664
+ type: "url";
665
+ } | {
666
+ name: string;
667
+ description?: string | undefined;
668
+ type: "email";
669
+ } | {
670
+ name: string;
671
+ description?: string | undefined;
672
+ type: "phone_number";
673
+ } | {
674
+ name: string;
675
+ description?: string | undefined;
676
+ type: "select";
677
+ options: {
678
+ id: string;
679
+ name: string;
680
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
681
+ description?: string | undefined;
682
+ }[];
683
+ } | {
684
+ name: string;
685
+ description?: string | undefined;
686
+ type: "multi_select";
687
+ options: {
688
+ id: string;
689
+ name: string;
690
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
691
+ description?: string | undefined;
692
+ }[];
693
+ } | {
694
+ name: string;
695
+ description?: string | undefined;
696
+ type: "status";
697
+ options: {
698
+ id: string;
699
+ name: string;
700
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
701
+ description?: string | undefined;
702
+ }[];
703
+ groups: {
704
+ id: string;
705
+ name: string;
706
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
707
+ option_ids: string[];
708
+ }[];
709
+ } | {
710
+ name: string;
711
+ description?: string | undefined;
712
+ type: "date";
713
+ } | {
714
+ name: string;
715
+ description?: string | undefined;
716
+ type: "people";
717
+ } | {
718
+ name: string;
719
+ description?: string | undefined;
720
+ type: "files";
721
+ } | {
722
+ name: string;
723
+ description?: string | undefined;
724
+ type: "unique_id";
725
+ } | {
726
+ name: string;
727
+ description?: string | undefined;
728
+ type: "relation";
729
+ data_source_id?: string | undefined;
730
+ dual_property?: {
731
+ synced_property_id: string;
732
+ synced_property_name: string;
733
+ } | undefined;
734
+ } | {
735
+ name: string;
736
+ description?: string | undefined;
737
+ type: "place";
738
+ } | {
739
+ name: string;
740
+ description?: string | undefined;
741
+ type: "formula";
742
+ } | {
743
+ name: string;
744
+ description?: string | undefined;
745
+ type: "rollup";
746
+ } | {
747
+ name: string;
748
+ description?: string | undefined;
749
+ type: "button";
750
+ } | {
751
+ name: string;
752
+ description?: string | undefined;
753
+ type: "verification";
754
+ } | {
755
+ name: string;
756
+ description?: string | undefined;
757
+ type: "created_time";
758
+ } | {
759
+ name: string;
760
+ description?: string | undefined;
761
+ type: "last_edited_time";
762
+ } | {
763
+ name: string;
764
+ description?: string | undefined;
765
+ type: "created_by";
766
+ } | {
767
+ name: string;
768
+ description?: string | undefined;
769
+ type: "last_edited_by";
770
+ };
771
+ };
772
+ } | undefined;
773
+ propertyIdsByKey?: {
774
+ [x: string]: string | undefined;
775
+ } | undefined;
776
+ }, v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue>;
777
+ readonly "~types"?: {
778
+ readonly input: {
779
+ dataSourcePointer?: {
780
+ id: string;
781
+ table: string;
782
+ spaceId?: string | undefined;
783
+ } | undefined;
784
+ dataSourceSchema?: {
785
+ id?: string | undefined;
786
+ propertiesById: {
787
+ [x: string]: {
788
+ name: string;
789
+ description?: string | undefined;
790
+ type: "title";
791
+ } | {
792
+ name: string;
793
+ description?: string | undefined;
794
+ type: "rich_text";
795
+ } | {
796
+ name: string;
797
+ description?: string | undefined;
798
+ type: "number";
799
+ } | {
800
+ name: string;
801
+ description?: string | undefined;
802
+ type: "checkbox";
803
+ } | {
804
+ name: string;
805
+ description?: string | undefined;
806
+ type: "url";
807
+ } | {
808
+ name: string;
809
+ description?: string | undefined;
810
+ type: "email";
811
+ } | {
812
+ name: string;
813
+ description?: string | undefined;
814
+ type: "phone_number";
815
+ } | {
816
+ name: string;
817
+ description?: string | undefined;
818
+ type: "select";
819
+ options: {
820
+ id: string;
821
+ name: string;
822
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
823
+ description?: string | undefined;
824
+ }[];
825
+ } | {
826
+ name: string;
827
+ description?: string | undefined;
828
+ type: "multi_select";
829
+ options: {
830
+ id: string;
831
+ name: string;
832
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
833
+ description?: string | undefined;
834
+ }[];
835
+ } | {
836
+ name: string;
837
+ description?: string | undefined;
838
+ type: "status";
839
+ options: {
840
+ id: string;
841
+ name: string;
842
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
843
+ description?: string | undefined;
844
+ }[];
845
+ groups: {
846
+ id: string;
847
+ name: string;
848
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
849
+ option_ids: string[];
850
+ }[];
851
+ } | {
852
+ name: string;
853
+ description?: string | undefined;
854
+ type: "date";
855
+ } | {
856
+ name: string;
857
+ description?: string | undefined;
858
+ type: "people";
859
+ } | {
860
+ name: string;
861
+ description?: string | undefined;
862
+ type: "files";
863
+ } | {
864
+ name: string;
865
+ description?: string | undefined;
866
+ type: "unique_id";
867
+ } | {
868
+ name: string;
869
+ description?: string | undefined;
870
+ type: "relation";
871
+ data_source_id?: string | undefined;
872
+ dual_property?: {
873
+ synced_property_id: string;
874
+ synced_property_name: string;
875
+ } | undefined;
876
+ } | {
877
+ name: string;
878
+ description?: string | undefined;
879
+ type: "place";
880
+ } | {
881
+ name: string;
882
+ description?: string | undefined;
883
+ type: "formula";
884
+ } | {
885
+ name: string;
886
+ description?: string | undefined;
887
+ type: "rollup";
888
+ } | {
889
+ name: string;
890
+ description?: string | undefined;
891
+ type: "button";
892
+ } | {
893
+ name: string;
894
+ description?: string | undefined;
895
+ type: "verification";
896
+ } | {
897
+ name: string;
898
+ description?: string | undefined;
899
+ type: "created_time";
900
+ } | {
901
+ name: string;
902
+ description?: string | undefined;
903
+ type: "last_edited_time";
904
+ } | {
905
+ name: string;
906
+ description?: string | undefined;
907
+ type: "created_by";
908
+ } | {
909
+ name: string;
910
+ description?: string | undefined;
911
+ type: "last_edited_by";
912
+ };
913
+ };
914
+ } | undefined;
915
+ propertyIdsByKey?: {
916
+ [x: string]: string | undefined;
917
+ } | undefined;
918
+ };
919
+ readonly output: {
920
+ dataSourcePointer?: {
921
+ id: string & v.Brand<"NotionDataSourceId">;
922
+ table: string;
923
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
924
+ } | undefined;
925
+ dataSourceSchema?: {
926
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
927
+ propertiesById: {
928
+ [x: string]: {
929
+ name: string;
930
+ description?: string | undefined;
931
+ type: "title";
932
+ } | {
933
+ name: string;
934
+ description?: string | undefined;
935
+ type: "rich_text";
936
+ } | {
937
+ name: string;
938
+ description?: string | undefined;
939
+ type: "number";
940
+ } | {
941
+ name: string;
942
+ description?: string | undefined;
943
+ type: "checkbox";
944
+ } | {
945
+ name: string;
946
+ description?: string | undefined;
947
+ type: "url";
948
+ } | {
949
+ name: string;
950
+ description?: string | undefined;
951
+ type: "email";
952
+ } | {
953
+ name: string;
954
+ description?: string | undefined;
955
+ type: "phone_number";
956
+ } | {
957
+ name: string;
958
+ description?: string | undefined;
959
+ type: "select";
960
+ options: {
961
+ id: string;
962
+ name: string;
963
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
964
+ description?: string | undefined;
965
+ }[];
966
+ } | {
967
+ name: string;
968
+ description?: string | undefined;
969
+ type: "multi_select";
970
+ options: {
971
+ id: string;
972
+ name: string;
973
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
974
+ description?: string | undefined;
975
+ }[];
976
+ } | {
977
+ name: string;
978
+ description?: string | undefined;
979
+ type: "status";
980
+ options: {
981
+ id: string;
982
+ name: string;
983
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
984
+ description?: string | undefined;
985
+ }[];
986
+ groups: {
987
+ id: string;
988
+ name: string;
989
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
990
+ option_ids: string[];
991
+ }[];
992
+ } | {
993
+ name: string;
994
+ description?: string | undefined;
995
+ type: "date";
996
+ } | {
997
+ name: string;
998
+ description?: string | undefined;
999
+ type: "people";
1000
+ } | {
1001
+ name: string;
1002
+ description?: string | undefined;
1003
+ type: "files";
1004
+ } | {
1005
+ name: string;
1006
+ description?: string | undefined;
1007
+ type: "unique_id";
1008
+ } | {
1009
+ name: string;
1010
+ description?: string | undefined;
1011
+ type: "relation";
1012
+ data_source_id?: string | undefined;
1013
+ dual_property?: {
1014
+ synced_property_id: string;
1015
+ synced_property_name: string;
1016
+ } | undefined;
1017
+ } | {
1018
+ name: string;
1019
+ description?: string | undefined;
1020
+ type: "place";
1021
+ } | {
1022
+ name: string;
1023
+ description?: string | undefined;
1024
+ type: "formula";
1025
+ } | {
1026
+ name: string;
1027
+ description?: string | undefined;
1028
+ type: "rollup";
1029
+ } | {
1030
+ name: string;
1031
+ description?: string | undefined;
1032
+ type: "button";
1033
+ } | {
1034
+ name: string;
1035
+ description?: string | undefined;
1036
+ type: "verification";
1037
+ } | {
1038
+ name: string;
1039
+ description?: string | undefined;
1040
+ type: "created_time";
1041
+ } | {
1042
+ name: string;
1043
+ description?: string | undefined;
1044
+ type: "last_edited_time";
1045
+ } | {
1046
+ name: string;
1047
+ description?: string | undefined;
1048
+ type: "created_by";
1049
+ } | {
1050
+ name: string;
1051
+ description?: string | undefined;
1052
+ type: "last_edited_by";
1053
+ };
1054
+ };
1055
+ } | undefined;
1056
+ propertyIdsByKey?: {
1057
+ [x: string]: string | undefined;
1058
+ } | undefined;
1059
+ };
1060
+ readonly issue: v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue;
1061
+ } | undefined;
1062
+ }, "entries" | "~run" | "~standard" | "~types"> & {
1063
+ readonly entries: {
1064
+ readonly dataSourcePointer: v.NonOptionalSchema<v.OptionalSchema<v.ObjectSchema<{
1065
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
1066
+ readonly table: v.StringSchema<undefined>;
1067
+ readonly spaceId: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionSpaceId">]>, undefined>;
1068
+ }, undefined>, undefined>, undefined>;
1069
+ readonly dataSourceSchema: v.NonOptionalSchema<v.OptionalSchema<v.ObjectSchema<{
1070
+ readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
1071
+ readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
1072
+ readonly name: v.StringSchema<undefined>;
1073
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1074
+ readonly type: v.LiteralSchema<"title", undefined>;
1075
+ }, undefined>, v.ObjectSchema<{
1076
+ readonly name: v.StringSchema<undefined>;
1077
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1078
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
1079
+ }, undefined>, v.ObjectSchema<{
1080
+ readonly name: v.StringSchema<undefined>;
1081
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1082
+ readonly type: v.LiteralSchema<"number", undefined>;
1083
+ }, undefined>, v.ObjectSchema<{
1084
+ readonly name: v.StringSchema<undefined>;
1085
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1086
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
1087
+ }, undefined>, v.ObjectSchema<{
1088
+ readonly name: v.StringSchema<undefined>;
1089
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1090
+ readonly type: v.LiteralSchema<"url", undefined>;
1091
+ }, undefined>, v.ObjectSchema<{
1092
+ readonly name: v.StringSchema<undefined>;
1093
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1094
+ readonly type: v.LiteralSchema<"email", undefined>;
1095
+ }, undefined>, v.ObjectSchema<{
1096
+ readonly name: v.StringSchema<undefined>;
1097
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1098
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
1099
+ }, undefined>, v.ObjectSchema<{
1100
+ readonly name: v.StringSchema<undefined>;
1101
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1102
+ readonly type: v.LiteralSchema<"select", undefined>;
1103
+ readonly options: v.ArraySchema<v.ObjectSchema<{
1104
+ readonly id: v.StringSchema<undefined>;
1105
+ readonly name: v.StringSchema<undefined>;
1106
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1107
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1108
+ }, undefined>, undefined>;
1109
+ }, undefined>, v.ObjectSchema<{
1110
+ readonly name: v.StringSchema<undefined>;
1111
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1112
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
1113
+ readonly options: v.ArraySchema<v.ObjectSchema<{
1114
+ readonly id: v.StringSchema<undefined>;
1115
+ readonly name: v.StringSchema<undefined>;
1116
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1117
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1118
+ }, undefined>, undefined>;
1119
+ }, undefined>, v.ObjectSchema<{
1120
+ readonly name: v.StringSchema<undefined>;
1121
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1122
+ readonly type: v.LiteralSchema<"status", undefined>;
1123
+ readonly options: v.ArraySchema<v.ObjectSchema<{
1124
+ readonly id: v.StringSchema<undefined>;
1125
+ readonly name: v.StringSchema<undefined>;
1126
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1127
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1128
+ }, undefined>, undefined>;
1129
+ readonly groups: v.ArraySchema<v.ObjectSchema<{
1130
+ readonly id: v.StringSchema<undefined>;
1131
+ readonly name: v.StringSchema<undefined>;
1132
+ readonly color: v.OptionalSchema<v.GenericSchema<import("../dataSources/properties/propertySchema.js").NotionPropertyColor>, undefined>;
1133
+ readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
1134
+ }, undefined>, undefined>;
1135
+ }, undefined>, v.ObjectSchema<{
1136
+ readonly name: v.StringSchema<undefined>;
1137
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1138
+ readonly type: v.LiteralSchema<"date", undefined>;
1139
+ }, undefined>, v.ObjectSchema<{
1140
+ readonly name: v.StringSchema<undefined>;
1141
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1142
+ readonly type: v.LiteralSchema<"people", undefined>;
1143
+ }, undefined>, v.ObjectSchema<{
1144
+ readonly name: v.StringSchema<undefined>;
1145
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1146
+ readonly type: v.LiteralSchema<"files", undefined>;
1147
+ }, undefined>, v.ObjectSchema<{
1148
+ readonly name: v.StringSchema<undefined>;
1149
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1150
+ readonly type: v.LiteralSchema<"unique_id", undefined>;
1151
+ }, undefined>, v.ObjectSchema<{
1152
+ readonly name: v.StringSchema<undefined>;
1153
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1154
+ readonly type: v.LiteralSchema<"relation", undefined>;
1155
+ readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1156
+ readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
1157
+ readonly synced_property_id: v.StringSchema<undefined>;
1158
+ readonly synced_property_name: v.StringSchema<undefined>;
1159
+ }, undefined>, undefined>;
1160
+ }, undefined>, v.ObjectSchema<{
1161
+ readonly name: v.StringSchema<undefined>;
1162
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1163
+ readonly type: v.LiteralSchema<"place", undefined>;
1164
+ }, undefined>, v.ObjectSchema<{
1165
+ readonly name: v.StringSchema<undefined>;
1166
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1167
+ readonly type: v.LiteralSchema<"formula", undefined>;
1168
+ }, undefined>, v.ObjectSchema<{
1169
+ readonly name: v.StringSchema<undefined>;
1170
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1171
+ readonly type: v.LiteralSchema<"rollup", undefined>;
1172
+ }, undefined>, v.ObjectSchema<{
1173
+ readonly name: v.StringSchema<undefined>;
1174
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1175
+ readonly type: v.LiteralSchema<"button", undefined>;
1176
+ }, undefined>, v.ObjectSchema<{
1177
+ readonly name: v.StringSchema<undefined>;
1178
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1179
+ readonly type: v.LiteralSchema<"verification", undefined>;
1180
+ }, undefined>, v.ObjectSchema<{
1181
+ readonly name: v.StringSchema<undefined>;
1182
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1183
+ readonly type: v.LiteralSchema<"created_time", undefined>;
1184
+ }, undefined>, v.ObjectSchema<{
1185
+ readonly name: v.StringSchema<undefined>;
1186
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1187
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
1188
+ }, undefined>, v.ObjectSchema<{
1189
+ readonly name: v.StringSchema<undefined>;
1190
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1191
+ readonly type: v.LiteralSchema<"created_by", undefined>;
1192
+ }, undefined>, v.ObjectSchema<{
1193
+ readonly name: v.StringSchema<undefined>;
1194
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
1195
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
1196
+ }, undefined>], undefined>, undefined>;
1197
+ }, undefined>, undefined>, undefined>;
1198
+ readonly propertyIdsByKey: v.NonOptionalSchema<v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>, undefined>;
1199
+ };
1200
+ readonly "~standard": v.StandardProps<{
1201
+ dataSourcePointer: {
1202
+ id: string;
1203
+ table: string;
1204
+ spaceId?: string | undefined;
1205
+ };
1206
+ dataSourceSchema: {
1207
+ id?: string | undefined;
1208
+ propertiesById: {
1209
+ [x: string]: {
1210
+ name: string;
1211
+ description?: string | undefined;
1212
+ type: "title";
1213
+ } | {
1214
+ name: string;
1215
+ description?: string | undefined;
1216
+ type: "rich_text";
1217
+ } | {
1218
+ name: string;
1219
+ description?: string | undefined;
1220
+ type: "number";
1221
+ } | {
1222
+ name: string;
1223
+ description?: string | undefined;
1224
+ type: "checkbox";
1225
+ } | {
1226
+ name: string;
1227
+ description?: string | undefined;
1228
+ type: "url";
1229
+ } | {
1230
+ name: string;
1231
+ description?: string | undefined;
1232
+ type: "email";
1233
+ } | {
1234
+ name: string;
1235
+ description?: string | undefined;
1236
+ type: "phone_number";
1237
+ } | {
1238
+ name: string;
1239
+ description?: string | undefined;
1240
+ type: "select";
1241
+ options: {
1242
+ id: string;
1243
+ name: string;
1244
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1245
+ description?: string | undefined;
1246
+ }[];
1247
+ } | {
1248
+ name: string;
1249
+ description?: string | undefined;
1250
+ type: "multi_select";
1251
+ options: {
1252
+ id: string;
1253
+ name: string;
1254
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1255
+ description?: string | undefined;
1256
+ }[];
1257
+ } | {
1258
+ name: string;
1259
+ description?: string | undefined;
1260
+ type: "status";
1261
+ options: {
1262
+ id: string;
1263
+ name: string;
1264
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1265
+ description?: string | undefined;
1266
+ }[];
1267
+ groups: {
1268
+ id: string;
1269
+ name: string;
1270
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1271
+ option_ids: string[];
1272
+ }[];
1273
+ } | {
1274
+ name: string;
1275
+ description?: string | undefined;
1276
+ type: "date";
1277
+ } | {
1278
+ name: string;
1279
+ description?: string | undefined;
1280
+ type: "people";
1281
+ } | {
1282
+ name: string;
1283
+ description?: string | undefined;
1284
+ type: "files";
1285
+ } | {
1286
+ name: string;
1287
+ description?: string | undefined;
1288
+ type: "unique_id";
1289
+ } | {
1290
+ name: string;
1291
+ description?: string | undefined;
1292
+ type: "relation";
1293
+ data_source_id?: string | undefined;
1294
+ dual_property?: {
1295
+ synced_property_id: string;
1296
+ synced_property_name: string;
1297
+ } | undefined;
1298
+ } | {
1299
+ name: string;
1300
+ description?: string | undefined;
1301
+ type: "place";
1302
+ } | {
1303
+ name: string;
1304
+ description?: string | undefined;
1305
+ type: "formula";
1306
+ } | {
1307
+ name: string;
1308
+ description?: string | undefined;
1309
+ type: "rollup";
1310
+ } | {
1311
+ name: string;
1312
+ description?: string | undefined;
1313
+ type: "button";
1314
+ } | {
1315
+ name: string;
1316
+ description?: string | undefined;
1317
+ type: "verification";
1318
+ } | {
1319
+ name: string;
1320
+ description?: string | undefined;
1321
+ type: "created_time";
1322
+ } | {
1323
+ name: string;
1324
+ description?: string | undefined;
1325
+ type: "last_edited_time";
1326
+ } | {
1327
+ name: string;
1328
+ description?: string | undefined;
1329
+ type: "created_by";
1330
+ } | {
1331
+ name: string;
1332
+ description?: string | undefined;
1333
+ type: "last_edited_by";
1334
+ };
1335
+ };
1336
+ };
1337
+ propertyIdsByKey: {
1338
+ [x: string]: string | undefined;
1339
+ };
1340
+ }, {
1341
+ dataSourcePointer: {
1342
+ id: string & v.Brand<"NotionDataSourceId">;
1343
+ table: string;
1344
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
1345
+ };
1346
+ dataSourceSchema: {
1347
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
1348
+ propertiesById: {
1349
+ [x: string]: {
1350
+ name: string;
1351
+ description?: string | undefined;
1352
+ type: "title";
1353
+ } | {
1354
+ name: string;
1355
+ description?: string | undefined;
1356
+ type: "rich_text";
1357
+ } | {
1358
+ name: string;
1359
+ description?: string | undefined;
1360
+ type: "number";
1361
+ } | {
1362
+ name: string;
1363
+ description?: string | undefined;
1364
+ type: "checkbox";
1365
+ } | {
1366
+ name: string;
1367
+ description?: string | undefined;
1368
+ type: "url";
1369
+ } | {
1370
+ name: string;
1371
+ description?: string | undefined;
1372
+ type: "email";
1373
+ } | {
1374
+ name: string;
1375
+ description?: string | undefined;
1376
+ type: "phone_number";
1377
+ } | {
1378
+ name: string;
1379
+ description?: string | undefined;
1380
+ type: "select";
1381
+ options: {
1382
+ id: string;
1383
+ name: string;
1384
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1385
+ description?: string | undefined;
1386
+ }[];
1387
+ } | {
1388
+ name: string;
1389
+ description?: string | undefined;
1390
+ type: "multi_select";
1391
+ options: {
1392
+ id: string;
1393
+ name: string;
1394
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1395
+ description?: string | undefined;
1396
+ }[];
1397
+ } | {
1398
+ name: string;
1399
+ description?: string | undefined;
1400
+ type: "status";
1401
+ options: {
1402
+ id: string;
1403
+ name: string;
1404
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1405
+ description?: string | undefined;
1406
+ }[];
1407
+ groups: {
1408
+ id: string;
1409
+ name: string;
1410
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1411
+ option_ids: string[];
1412
+ }[];
1413
+ } | {
1414
+ name: string;
1415
+ description?: string | undefined;
1416
+ type: "date";
1417
+ } | {
1418
+ name: string;
1419
+ description?: string | undefined;
1420
+ type: "people";
1421
+ } | {
1422
+ name: string;
1423
+ description?: string | undefined;
1424
+ type: "files";
1425
+ } | {
1426
+ name: string;
1427
+ description?: string | undefined;
1428
+ type: "unique_id";
1429
+ } | {
1430
+ name: string;
1431
+ description?: string | undefined;
1432
+ type: "relation";
1433
+ data_source_id?: string | undefined;
1434
+ dual_property?: {
1435
+ synced_property_id: string;
1436
+ synced_property_name: string;
1437
+ } | undefined;
1438
+ } | {
1439
+ name: string;
1440
+ description?: string | undefined;
1441
+ type: "place";
1442
+ } | {
1443
+ name: string;
1444
+ description?: string | undefined;
1445
+ type: "formula";
1446
+ } | {
1447
+ name: string;
1448
+ description?: string | undefined;
1449
+ type: "rollup";
1450
+ } | {
1451
+ name: string;
1452
+ description?: string | undefined;
1453
+ type: "button";
1454
+ } | {
1455
+ name: string;
1456
+ description?: string | undefined;
1457
+ type: "verification";
1458
+ } | {
1459
+ name: string;
1460
+ description?: string | undefined;
1461
+ type: "created_time";
1462
+ } | {
1463
+ name: string;
1464
+ description?: string | undefined;
1465
+ type: "last_edited_time";
1466
+ } | {
1467
+ name: string;
1468
+ description?: string | undefined;
1469
+ type: "created_by";
1470
+ } | {
1471
+ name: string;
1472
+ description?: string | undefined;
1473
+ type: "last_edited_by";
1474
+ };
1475
+ };
1476
+ };
1477
+ propertyIdsByKey: {
1478
+ [x: string]: string | undefined;
1479
+ };
1480
+ }>;
1481
+ readonly "~run": (dataset: v.UnknownDataset, config: v.Config<v.BaseIssue<unknown>>) => v.OutputDataset<{
1482
+ dataSourcePointer: {
1483
+ id: string & v.Brand<"NotionDataSourceId">;
1484
+ table: string;
1485
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
1486
+ };
1487
+ dataSourceSchema: {
1488
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
1489
+ propertiesById: {
1490
+ [x: string]: {
1491
+ name: string;
1492
+ description?: string | undefined;
1493
+ type: "title";
1494
+ } | {
1495
+ name: string;
1496
+ description?: string | undefined;
1497
+ type: "rich_text";
1498
+ } | {
1499
+ name: string;
1500
+ description?: string | undefined;
1501
+ type: "number";
1502
+ } | {
1503
+ name: string;
1504
+ description?: string | undefined;
1505
+ type: "checkbox";
1506
+ } | {
1507
+ name: string;
1508
+ description?: string | undefined;
1509
+ type: "url";
1510
+ } | {
1511
+ name: string;
1512
+ description?: string | undefined;
1513
+ type: "email";
1514
+ } | {
1515
+ name: string;
1516
+ description?: string | undefined;
1517
+ type: "phone_number";
1518
+ } | {
1519
+ name: string;
1520
+ description?: string | undefined;
1521
+ type: "select";
1522
+ options: {
1523
+ id: string;
1524
+ name: string;
1525
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1526
+ description?: string | undefined;
1527
+ }[];
1528
+ } | {
1529
+ name: string;
1530
+ description?: string | undefined;
1531
+ type: "multi_select";
1532
+ options: {
1533
+ id: string;
1534
+ name: string;
1535
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1536
+ description?: string | undefined;
1537
+ }[];
1538
+ } | {
1539
+ name: string;
1540
+ description?: string | undefined;
1541
+ type: "status";
1542
+ options: {
1543
+ id: string;
1544
+ name: string;
1545
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1546
+ description?: string | undefined;
1547
+ }[];
1548
+ groups: {
1549
+ id: string;
1550
+ name: string;
1551
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1552
+ option_ids: string[];
1553
+ }[];
1554
+ } | {
1555
+ name: string;
1556
+ description?: string | undefined;
1557
+ type: "date";
1558
+ } | {
1559
+ name: string;
1560
+ description?: string | undefined;
1561
+ type: "people";
1562
+ } | {
1563
+ name: string;
1564
+ description?: string | undefined;
1565
+ type: "files";
1566
+ } | {
1567
+ name: string;
1568
+ description?: string | undefined;
1569
+ type: "unique_id";
1570
+ } | {
1571
+ name: string;
1572
+ description?: string | undefined;
1573
+ type: "relation";
1574
+ data_source_id?: string | undefined;
1575
+ dual_property?: {
1576
+ synced_property_id: string;
1577
+ synced_property_name: string;
1578
+ } | undefined;
1579
+ } | {
1580
+ name: string;
1581
+ description?: string | undefined;
1582
+ type: "place";
1583
+ } | {
1584
+ name: string;
1585
+ description?: string | undefined;
1586
+ type: "formula";
1587
+ } | {
1588
+ name: string;
1589
+ description?: string | undefined;
1590
+ type: "rollup";
1591
+ } | {
1592
+ name: string;
1593
+ description?: string | undefined;
1594
+ type: "button";
1595
+ } | {
1596
+ name: string;
1597
+ description?: string | undefined;
1598
+ type: "verification";
1599
+ } | {
1600
+ name: string;
1601
+ description?: string | undefined;
1602
+ type: "created_time";
1603
+ } | {
1604
+ name: string;
1605
+ description?: string | undefined;
1606
+ type: "last_edited_time";
1607
+ } | {
1608
+ name: string;
1609
+ description?: string | undefined;
1610
+ type: "created_by";
1611
+ } | {
1612
+ name: string;
1613
+ description?: string | undefined;
1614
+ type: "last_edited_by";
1615
+ };
1616
+ };
1617
+ };
1618
+ propertyIdsByKey: {
1619
+ [x: string]: string | undefined;
1620
+ };
1621
+ }, v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.NonOptionalIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue>;
1622
+ readonly "~types"?: {
1623
+ readonly input: {
1624
+ dataSourcePointer: {
1625
+ id: string;
1626
+ table: string;
1627
+ spaceId?: string | undefined;
1628
+ };
1629
+ dataSourceSchema: {
1630
+ id?: string | undefined;
1631
+ propertiesById: {
1632
+ [x: string]: {
1633
+ name: string;
1634
+ description?: string | undefined;
1635
+ type: "title";
1636
+ } | {
1637
+ name: string;
1638
+ description?: string | undefined;
1639
+ type: "rich_text";
1640
+ } | {
1641
+ name: string;
1642
+ description?: string | undefined;
1643
+ type: "number";
1644
+ } | {
1645
+ name: string;
1646
+ description?: string | undefined;
1647
+ type: "checkbox";
1648
+ } | {
1649
+ name: string;
1650
+ description?: string | undefined;
1651
+ type: "url";
1652
+ } | {
1653
+ name: string;
1654
+ description?: string | undefined;
1655
+ type: "email";
1656
+ } | {
1657
+ name: string;
1658
+ description?: string | undefined;
1659
+ type: "phone_number";
1660
+ } | {
1661
+ name: string;
1662
+ description?: string | undefined;
1663
+ type: "select";
1664
+ options: {
1665
+ id: string;
1666
+ name: string;
1667
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1668
+ description?: string | undefined;
1669
+ }[];
1670
+ } | {
1671
+ name: string;
1672
+ description?: string | undefined;
1673
+ type: "multi_select";
1674
+ options: {
1675
+ id: string;
1676
+ name: string;
1677
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1678
+ description?: string | undefined;
1679
+ }[];
1680
+ } | {
1681
+ name: string;
1682
+ description?: string | undefined;
1683
+ type: "status";
1684
+ options: {
1685
+ id: string;
1686
+ name: string;
1687
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1688
+ description?: string | undefined;
1689
+ }[];
1690
+ groups: {
1691
+ id: string;
1692
+ name: string;
1693
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1694
+ option_ids: string[];
1695
+ }[];
1696
+ } | {
1697
+ name: string;
1698
+ description?: string | undefined;
1699
+ type: "date";
1700
+ } | {
1701
+ name: string;
1702
+ description?: string | undefined;
1703
+ type: "people";
1704
+ } | {
1705
+ name: string;
1706
+ description?: string | undefined;
1707
+ type: "files";
1708
+ } | {
1709
+ name: string;
1710
+ description?: string | undefined;
1711
+ type: "unique_id";
1712
+ } | {
1713
+ name: string;
1714
+ description?: string | undefined;
1715
+ type: "relation";
1716
+ data_source_id?: string | undefined;
1717
+ dual_property?: {
1718
+ synced_property_id: string;
1719
+ synced_property_name: string;
1720
+ } | undefined;
1721
+ } | {
1722
+ name: string;
1723
+ description?: string | undefined;
1724
+ type: "place";
1725
+ } | {
1726
+ name: string;
1727
+ description?: string | undefined;
1728
+ type: "formula";
1729
+ } | {
1730
+ name: string;
1731
+ description?: string | undefined;
1732
+ type: "rollup";
1733
+ } | {
1734
+ name: string;
1735
+ description?: string | undefined;
1736
+ type: "button";
1737
+ } | {
1738
+ name: string;
1739
+ description?: string | undefined;
1740
+ type: "verification";
1741
+ } | {
1742
+ name: string;
1743
+ description?: string | undefined;
1744
+ type: "created_time";
1745
+ } | {
1746
+ name: string;
1747
+ description?: string | undefined;
1748
+ type: "last_edited_time";
1749
+ } | {
1750
+ name: string;
1751
+ description?: string | undefined;
1752
+ type: "created_by";
1753
+ } | {
1754
+ name: string;
1755
+ description?: string | undefined;
1756
+ type: "last_edited_by";
1757
+ };
1758
+ };
1759
+ };
1760
+ propertyIdsByKey: {
1761
+ [x: string]: string | undefined;
1762
+ };
1763
+ };
1764
+ readonly output: {
1765
+ dataSourcePointer: {
1766
+ id: string & v.Brand<"NotionDataSourceId">;
1767
+ table: string;
1768
+ spaceId?: (string & v.Brand<"NotionSpaceId">) | undefined;
1769
+ };
1770
+ dataSourceSchema: {
1771
+ id?: (string & v.Brand<"NotionDataSourceId">) | undefined;
1772
+ propertiesById: {
1773
+ [x: string]: {
1774
+ name: string;
1775
+ description?: string | undefined;
1776
+ type: "title";
1777
+ } | {
1778
+ name: string;
1779
+ description?: string | undefined;
1780
+ type: "rich_text";
1781
+ } | {
1782
+ name: string;
1783
+ description?: string | undefined;
1784
+ type: "number";
1785
+ } | {
1786
+ name: string;
1787
+ description?: string | undefined;
1788
+ type: "checkbox";
1789
+ } | {
1790
+ name: string;
1791
+ description?: string | undefined;
1792
+ type: "url";
1793
+ } | {
1794
+ name: string;
1795
+ description?: string | undefined;
1796
+ type: "email";
1797
+ } | {
1798
+ name: string;
1799
+ description?: string | undefined;
1800
+ type: "phone_number";
1801
+ } | {
1802
+ name: string;
1803
+ description?: string | undefined;
1804
+ type: "select";
1805
+ options: {
1806
+ id: string;
1807
+ name: string;
1808
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1809
+ description?: string | undefined;
1810
+ }[];
1811
+ } | {
1812
+ name: string;
1813
+ description?: string | undefined;
1814
+ type: "multi_select";
1815
+ options: {
1816
+ id: string;
1817
+ name: string;
1818
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1819
+ description?: string | undefined;
1820
+ }[];
1821
+ } | {
1822
+ name: string;
1823
+ description?: string | undefined;
1824
+ type: "status";
1825
+ options: {
1826
+ id: string;
1827
+ name: string;
1828
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1829
+ description?: string | undefined;
1830
+ }[];
1831
+ groups: {
1832
+ id: string;
1833
+ name: string;
1834
+ color?: import("../dataSources/properties/propertySchema.js").NotionPropertyColor | undefined;
1835
+ option_ids: string[];
1836
+ }[];
1837
+ } | {
1838
+ name: string;
1839
+ description?: string | undefined;
1840
+ type: "date";
1841
+ } | {
1842
+ name: string;
1843
+ description?: string | undefined;
1844
+ type: "people";
1845
+ } | {
1846
+ name: string;
1847
+ description?: string | undefined;
1848
+ type: "files";
1849
+ } | {
1850
+ name: string;
1851
+ description?: string | undefined;
1852
+ type: "unique_id";
1853
+ } | {
1854
+ name: string;
1855
+ description?: string | undefined;
1856
+ type: "relation";
1857
+ data_source_id?: string | undefined;
1858
+ dual_property?: {
1859
+ synced_property_id: string;
1860
+ synced_property_name: string;
1861
+ } | undefined;
1862
+ } | {
1863
+ name: string;
1864
+ description?: string | undefined;
1865
+ type: "place";
1866
+ } | {
1867
+ name: string;
1868
+ description?: string | undefined;
1869
+ type: "formula";
1870
+ } | {
1871
+ name: string;
1872
+ description?: string | undefined;
1873
+ type: "rollup";
1874
+ } | {
1875
+ name: string;
1876
+ description?: string | undefined;
1877
+ type: "button";
1878
+ } | {
1879
+ name: string;
1880
+ description?: string | undefined;
1881
+ type: "verification";
1882
+ } | {
1883
+ name: string;
1884
+ description?: string | undefined;
1885
+ type: "created_time";
1886
+ } | {
1887
+ name: string;
1888
+ description?: string | undefined;
1889
+ type: "last_edited_time";
1890
+ } | {
1891
+ name: string;
1892
+ description?: string | undefined;
1893
+ type: "created_by";
1894
+ } | {
1895
+ name: string;
1896
+ description?: string | undefined;
1897
+ type: "last_edited_by";
1898
+ };
1899
+ };
1900
+ };
1901
+ propertyIdsByKey: {
1902
+ [x: string]: string | undefined;
1903
+ };
1904
+ };
1905
+ readonly issue: v.ArrayIssue | v.BaseIssue<unknown> | v.LiteralIssue | v.NonOptionalIssue | v.ObjectIssue | v.RecordIssue | v.StringIssue | v.VariantIssue;
1906
+ } | undefined;
1907
+ };
1908
+ }, undefined>, v.ObjectSchema<{
1909
+ readonly type: v.LiteralSchema<"getDataSourceResult", undefined>;
1910
+ readonly requestId: v.StringSchema<undefined>;
1911
+ readonly status: v.LiteralSchema<"error", undefined>;
1912
+ readonly error: v.ObjectSchema<{
1913
+ readonly code: v.StringSchema<undefined>;
1914
+ readonly message: v.StringSchema<undefined>;
1915
+ readonly isRetryable: v.BooleanSchema<undefined>;
1916
+ }, undefined>;
1917
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
1918
+ readonly type: v.LiteralSchema<"getCurrentUserResult", undefined>;
1919
+ readonly requestId: v.StringSchema<undefined>;
1920
+ readonly status: v.LiteralSchema<"success", undefined>;
1921
+ readonly user: v.ObjectSchema<{
1922
+ readonly object: v.LiteralSchema<"user", undefined>;
1923
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
1924
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1925
+ readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
1926
+ readonly type: v.LiteralSchema<"person", undefined>;
1927
+ readonly person: v.ObjectSchema<{
1928
+ readonly email: v.StringSchema<undefined>;
1929
+ }, undefined>;
1930
+ }, undefined>;
1931
+ }, undefined>, v.ObjectSchema<{
1932
+ readonly type: v.LiteralSchema<"getCurrentUserResult", undefined>;
1933
+ readonly requestId: v.StringSchema<undefined>;
1934
+ readonly status: v.LiteralSchema<"error", undefined>;
1935
+ readonly error: v.ObjectSchema<{
1936
+ readonly code: v.StringSchema<undefined>;
1937
+ readonly message: v.StringSchema<undefined>;
1938
+ readonly isRetryable: v.BooleanSchema<undefined>;
1939
+ }, undefined>;
1940
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
1941
+ readonly type: v.LiteralSchema<"getViewerResult", undefined>;
1942
+ readonly requestId: v.StringSchema<undefined>;
1943
+ readonly status: v.LiteralSchema<"success", undefined>;
1944
+ readonly viewer: v.VariantSchema<"type", [v.ObjectSchema<{
1945
+ readonly type: v.LiteralSchema<"user", undefined>;
1946
+ readonly userId: v.SchemaWithPipe<readonly [v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>, v.NonEmptyAction<string & v.Brand<"NotionUserId">, undefined>]>;
1947
+ }, undefined>, v.ObjectSchema<{
1948
+ readonly type: v.LiteralSchema<"anonymous", undefined>;
1949
+ }, undefined>], undefined>;
1950
+ }, undefined>, v.ObjectSchema<{
1951
+ readonly type: v.LiteralSchema<"getViewerResult", undefined>;
1952
+ readonly requestId: v.StringSchema<undefined>;
1953
+ readonly status: v.LiteralSchema<"error", undefined>;
1954
+ readonly error: v.ObjectSchema<{
1955
+ readonly code: v.StringSchema<undefined>;
1956
+ readonly message: v.StringSchema<undefined>;
1957
+ readonly isRetryable: v.BooleanSchema<undefined>;
1958
+ }, undefined>;
1959
+ }, undefined>], undefined>, v.ObjectSchema<{
1960
+ readonly type: v.LiteralSchema<"dataSourcesInvalidated", undefined>;
1961
+ }, undefined>, v.ObjectSchema<{
1962
+ readonly type: v.LiteralSchema<"themeChanged", undefined>;
1963
+ readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
1964
+ }, undefined>, v.ObjectSchema<{
1965
+ readonly type: v.LiteralSchema<"contrastModeChanged", undefined>;
1966
+ readonly contrastMode: v.PicklistSchema<["standard", "high"], undefined>;
1967
+ }, undefined>, v.ObjectSchema<{
1968
+ readonly type: v.LiteralSchema<"parentChanged", undefined>;
1969
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
1970
+ readonly type: v.LiteralSchema<"page_id", undefined>;
1971
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
1972
+ }, undefined>, v.ObjectSchema<{
1973
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
1974
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
1975
+ }, undefined>, v.ObjectSchema<{
1976
+ readonly type: v.LiteralSchema<"workspace", undefined>;
1977
+ readonly workspace: v.LiteralSchema<true, undefined>;
1978
+ }, undefined>, v.ObjectSchema<{
1979
+ readonly type: v.LiteralSchema<"block_id", undefined>;
1980
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
1981
+ }, undefined>, v.ObjectSchema<{
1982
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
1983
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
1984
+ }, undefined>, v.ObjectSchema<{
1985
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
1986
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
1987
+ }, undefined>, v.ObjectSchema<{
1988
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
1989
+ }, undefined>], undefined>;
1990
+ }, undefined>, v.ObjectSchema<{
1991
+ readonly type: v.LiteralSchema<"pageChanged", undefined>;
1992
+ readonly page: v.VariantSchema<"type", [v.ObjectSchema<{
1993
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
1994
+ }, undefined>, v.ObjectSchema<{
1995
+ readonly type: v.LiteralSchema<"page", undefined>;
1996
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
1997
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
1998
+ readonly type: v.LiteralSchema<"page_id", undefined>;
1999
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2000
+ }, undefined>, v.ObjectSchema<{
2001
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
2002
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
2003
+ }, undefined>, v.ObjectSchema<{
2004
+ readonly type: v.LiteralSchema<"workspace", undefined>;
2005
+ readonly workspace: v.LiteralSchema<true, undefined>;
2006
+ }, undefined>, v.ObjectSchema<{
2007
+ readonly type: v.LiteralSchema<"block_id", undefined>;
2008
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
2009
+ }, undefined>, v.ObjectSchema<{
2010
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
2011
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
2012
+ }, undefined>, v.ObjectSchema<{
2013
+ readonly type: v.LiteralSchema<"app_installation_id", undefined>;
2014
+ readonly app_installation_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAppInstallationId">]>;
2015
+ }, undefined>, v.ObjectSchema<{
2016
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
2017
+ }, undefined>], undefined>;
2018
+ readonly displayMode: v.OptionalSchema<v.PicklistSchema<["full_page", "side_peek", "center_peek"], undefined>, "full_page">;
2019
+ }, undefined>], undefined>;
2020
+ }, undefined>, v.ObjectSchema<{
2021
+ readonly type: v.LiteralSchema<"pageError", undefined>;
2022
+ readonly error: v.ObjectSchema<{
2023
+ readonly code: v.StringSchema<undefined>;
2024
+ readonly message: v.StringSchema<undefined>;
2025
+ readonly isRetryable: v.BooleanSchema<undefined>;
2026
+ }, undefined>;
2027
+ }, undefined>, v.ObjectSchema<{
2028
+ readonly type: v.LiteralSchema<"parentError", undefined>;
2029
+ readonly error: v.ObjectSchema<{
2030
+ readonly code: v.StringSchema<undefined>;
2031
+ readonly message: v.StringSchema<undefined>;
2032
+ readonly isRetryable: v.BooleanSchema<undefined>;
2033
+ }, undefined>;
2034
+ }, undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2035
+ readonly type: v.LiteralSchema<"getUserResult", undefined>;
2036
+ readonly requestId: v.StringSchema<undefined>;
2037
+ readonly status: v.LiteralSchema<"success", undefined>;
2038
+ readonly user: v.ObjectSchema<{
2039
+ readonly object: v.LiteralSchema<"user", undefined>;
2040
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
2041
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2042
+ readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2043
+ readonly type: v.LiteralSchema<"person", undefined>;
2044
+ readonly person: v.ObjectSchema<{
2045
+ readonly email: v.StringSchema<undefined>;
2046
+ }, undefined>;
2047
+ }, undefined>;
2048
+ }, undefined>, v.ObjectSchema<{
2049
+ readonly type: v.LiteralSchema<"getUserResult", undefined>;
2050
+ readonly requestId: v.StringSchema<undefined>;
2051
+ readonly status: v.LiteralSchema<"error", undefined>;
2052
+ readonly error: v.ObjectSchema<{
2053
+ readonly code: v.StringSchema<undefined>;
2054
+ readonly message: v.StringSchema<undefined>;
2055
+ readonly isRetryable: v.BooleanSchema<undefined>;
2056
+ }, undefined>;
2057
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2058
+ readonly type: v.LiteralSchema<"listUsersResult", undefined>;
2059
+ readonly requestId: v.StringSchema<undefined>;
2060
+ readonly status: v.LiteralSchema<"success", undefined>;
2061
+ readonly list: v.ObjectSchema<{
2062
+ readonly object: v.LiteralSchema<"list", undefined>;
2063
+ readonly results: v.ArraySchema<v.ObjectSchema<{
2064
+ readonly object: v.LiteralSchema<"user", undefined>;
2065
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionUserId">]>;
2066
+ readonly name: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2067
+ readonly avatar_url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2068
+ readonly type: v.LiteralSchema<"person", undefined>;
2069
+ readonly person: v.ObjectSchema<{
2070
+ readonly email: v.StringSchema<undefined>;
2071
+ }, undefined>;
2072
+ }, undefined>, undefined>;
2073
+ readonly next_cursor: v.NullableSchema<v.StringSchema<undefined>, undefined>;
2074
+ readonly has_more: v.BooleanSchema<undefined>;
2075
+ readonly type: v.LiteralSchema<"user", undefined>;
2076
+ readonly user: v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>;
2077
+ }, undefined>;
2078
+ }, undefined>, v.ObjectSchema<{
2079
+ readonly type: v.LiteralSchema<"listUsersResult", undefined>;
2080
+ readonly requestId: v.StringSchema<undefined>;
2081
+ readonly status: v.LiteralSchema<"error", undefined>;
2082
+ readonly error: v.ObjectSchema<{
2083
+ readonly code: v.StringSchema<undefined>;
2084
+ readonly message: v.StringSchema<undefined>;
2085
+ readonly isRetryable: v.BooleanSchema<undefined>;
2086
+ }, undefined>;
2087
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2088
+ readonly type: v.LiteralSchema<"openPageResult", undefined>;
2089
+ readonly requestId: v.StringSchema<undefined>;
2090
+ readonly status: v.LiteralSchema<"success", undefined>;
2091
+ readonly pageId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
2092
+ }, undefined>, v.ObjectSchema<{
2093
+ readonly type: v.LiteralSchema<"openPageResult", undefined>;
2094
+ readonly requestId: v.StringSchema<undefined>;
2095
+ readonly status: v.LiteralSchema<"error", undefined>;
2096
+ readonly error: v.ObjectSchema<{
2097
+ readonly code: v.StringSchema<undefined>;
2098
+ readonly message: v.StringSchema<undefined>;
2099
+ readonly isRetryable: v.BooleanSchema<undefined>;
2100
+ }, undefined>;
2101
+ }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2102
+ readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
2103
+ readonly requestId: v.StringSchema<undefined>;
2104
+ readonly status: v.LiteralSchema<"success", undefined>;
2105
+ }, undefined>, v.ObjectSchema<{
2106
+ readonly type: v.LiteralSchema<"openExternalUrlResult", undefined>;
2107
+ readonly requestId: v.StringSchema<undefined>;
2108
+ readonly status: v.LiteralSchema<"error", undefined>;
2109
+ readonly error: v.ObjectSchema<{
2110
+ readonly code: v.StringSchema<undefined>;
2111
+ readonly message: v.StringSchema<undefined>;
2112
+ readonly isRetryable: v.BooleanSchema<undefined>;
2113
+ }, undefined>;
2114
+ }, undefined>], undefined>, v.ObjectSchema<{
2115
+ readonly type: v.LiteralSchema<"invalidSandboxMessage", undefined>;
2116
+ readonly requestId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2117
+ readonly subscriptionId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2118
+ readonly reason: v.StringSchema<undefined>;
2119
+ }, undefined>];
2
2120
  /** Messages accepted by the current SDK contract. Historical contracts live in `compatibility/`. */
3
2121
  export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.VariantSchema<"status", [v.ObjectSchema<{
4
2122
  readonly type: v.LiteralSchema<"connectResult", undefined>;
@@ -2278,23 +4396,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2278
4396
  readonly relation: v.ArraySchema<v.ObjectSchema<{
2279
4397
  readonly id: v.StringSchema<undefined>;
2280
4398
  }, undefined>, undefined>;
2281
- }, undefined>, v.ObjectSchema<{
2282
- readonly id: v.StringSchema<undefined>;
2283
- readonly type: v.LiteralSchema<"files", undefined>;
2284
- readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2285
- readonly type: v.LiteralSchema<"external", undefined>;
2286
- readonly external: v.ObjectSchema<{
2287
- readonly url: v.StringSchema<undefined>;
2288
- }, undefined>;
2289
- readonly name: v.StringSchema<undefined>;
2290
- }, undefined>, v.ObjectSchema<{
2291
- readonly type: v.LiteralSchema<"file", undefined>;
2292
- readonly file: v.ObjectSchema<{
2293
- readonly url: v.StringSchema<undefined>;
2294
- readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2295
- }, undefined>;
2296
- readonly name: v.StringSchema<undefined>;
2297
- }, undefined>], undefined>, undefined>;
2298
4399
  }, undefined>, v.ObjectSchema<{
2299
4400
  readonly id: v.StringSchema<undefined>;
2300
4401
  readonly type: v.LiteralSchema<"place", undefined>;
@@ -2350,6 +4451,26 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2350
4451
  readonly id: v.StringSchema<undefined>;
2351
4452
  readonly type: v.LiteralSchema<"verification", undefined>;
2352
4453
  readonly verification: v.StringSchema<undefined>;
4454
+ }, undefined>, v.ObjectSchema<{
4455
+ readonly id: v.StringSchema<undefined>;
4456
+ readonly type: v.LiteralSchema<"files", undefined>;
4457
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
4458
+ readonly type: v.LiteralSchema<"external", undefined>;
4459
+ readonly external: v.ObjectSchema<{
4460
+ readonly url: v.StringSchema<undefined>;
4461
+ }, undefined>;
4462
+ readonly name: v.StringSchema<undefined>;
4463
+ }, undefined>, v.ObjectSchema<{
4464
+ readonly type: v.LiteralSchema<"file", undefined>;
4465
+ readonly file: v.ObjectSchema<{
4466
+ readonly url: v.StringSchema<undefined>;
4467
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4468
+ }, undefined>;
4469
+ readonly name: v.StringSchema<undefined>;
4470
+ }, undefined>, v.ObjectSchema<{
4471
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
4472
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4473
+ }, undefined>], undefined>, undefined>;
2353
4474
  }, undefined>], undefined>, undefined>, undefined>;
2354
4475
  readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2355
4476
  readonly id: v.StringSchema<undefined>;
@@ -2430,6 +4551,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2430
4551
  readonly code: v.StringSchema<undefined>;
2431
4552
  readonly message: v.StringSchema<undefined>;
2432
4553
  readonly isRetryable: v.BooleanSchema<undefined>;
4554
+ readonly details: v.SchemaWithFallback<v.OptionalSchema<v.CustomSchema<Record<string, unknown>, undefined>, undefined>, undefined>;
2433
4555
  }, undefined>;
2434
4556
  }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2435
4557
  readonly type: v.LiteralSchema<"getPageResult", undefined>;
@@ -2593,23 +4715,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2593
4715
  readonly relation: v.ArraySchema<v.ObjectSchema<{
2594
4716
  readonly id: v.StringSchema<undefined>;
2595
4717
  }, undefined>, undefined>;
2596
- }, undefined>, v.ObjectSchema<{
2597
- readonly id: v.StringSchema<undefined>;
2598
- readonly type: v.LiteralSchema<"files", undefined>;
2599
- readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2600
- readonly type: v.LiteralSchema<"external", undefined>;
2601
- readonly external: v.ObjectSchema<{
2602
- readonly url: v.StringSchema<undefined>;
2603
- }, undefined>;
2604
- readonly name: v.StringSchema<undefined>;
2605
- }, undefined>, v.ObjectSchema<{
2606
- readonly type: v.LiteralSchema<"file", undefined>;
2607
- readonly file: v.ObjectSchema<{
2608
- readonly url: v.StringSchema<undefined>;
2609
- readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2610
- }, undefined>;
2611
- readonly name: v.StringSchema<undefined>;
2612
- }, undefined>], undefined>, undefined>;
2613
4718
  }, undefined>, v.ObjectSchema<{
2614
4719
  readonly id: v.StringSchema<undefined>;
2615
4720
  readonly type: v.LiteralSchema<"place", undefined>;
@@ -2665,6 +4770,26 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2665
4770
  readonly id: v.StringSchema<undefined>;
2666
4771
  readonly type: v.LiteralSchema<"verification", undefined>;
2667
4772
  readonly verification: v.StringSchema<undefined>;
4773
+ }, undefined>, v.ObjectSchema<{
4774
+ readonly id: v.StringSchema<undefined>;
4775
+ readonly type: v.LiteralSchema<"files", undefined>;
4776
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
4777
+ readonly type: v.LiteralSchema<"external", undefined>;
4778
+ readonly external: v.ObjectSchema<{
4779
+ readonly url: v.StringSchema<undefined>;
4780
+ }, undefined>;
4781
+ readonly name: v.StringSchema<undefined>;
4782
+ }, undefined>, v.ObjectSchema<{
4783
+ readonly type: v.LiteralSchema<"file", undefined>;
4784
+ readonly file: v.ObjectSchema<{
4785
+ readonly url: v.StringSchema<undefined>;
4786
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4787
+ }, undefined>;
4788
+ readonly name: v.StringSchema<undefined>;
4789
+ }, undefined>, v.ObjectSchema<{
4790
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
4791
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
4792
+ }, undefined>], undefined>, undefined>;
2668
4793
  }, undefined>], undefined>, undefined>, undefined>;
2669
4794
  readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2670
4795
  readonly id: v.StringSchema<undefined>;
@@ -2737,6 +4862,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2737
4862
  readonly code: v.StringSchema<undefined>;
2738
4863
  readonly message: v.StringSchema<undefined>;
2739
4864
  readonly isRetryable: v.BooleanSchema<undefined>;
4865
+ readonly details: v.SchemaWithFallback<v.OptionalSchema<v.CustomSchema<Record<string, unknown>, undefined>, undefined>, undefined>;
2740
4866
  }, undefined>;
2741
4867
  }, undefined>], undefined>, v.VariantSchema<"status", [v.ObjectSchema<{
2742
4868
  readonly type: v.LiteralSchema<"createPageResult", undefined>;
@@ -2900,23 +5026,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2900
5026
  readonly relation: v.ArraySchema<v.ObjectSchema<{
2901
5027
  readonly id: v.StringSchema<undefined>;
2902
5028
  }, undefined>, undefined>;
2903
- }, undefined>, v.ObjectSchema<{
2904
- readonly id: v.StringSchema<undefined>;
2905
- readonly type: v.LiteralSchema<"files", undefined>;
2906
- readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
2907
- readonly type: v.LiteralSchema<"external", undefined>;
2908
- readonly external: v.ObjectSchema<{
2909
- readonly url: v.StringSchema<undefined>;
2910
- }, undefined>;
2911
- readonly name: v.StringSchema<undefined>;
2912
- }, undefined>, v.ObjectSchema<{
2913
- readonly type: v.LiteralSchema<"file", undefined>;
2914
- readonly file: v.ObjectSchema<{
2915
- readonly url: v.StringSchema<undefined>;
2916
- readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
2917
- }, undefined>;
2918
- readonly name: v.StringSchema<undefined>;
2919
- }, undefined>], undefined>, undefined>;
2920
5029
  }, undefined>, v.ObjectSchema<{
2921
5030
  readonly id: v.StringSchema<undefined>;
2922
5031
  readonly type: v.LiteralSchema<"place", undefined>;
@@ -2972,6 +5081,26 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
2972
5081
  readonly id: v.StringSchema<undefined>;
2973
5082
  readonly type: v.LiteralSchema<"verification", undefined>;
2974
5083
  readonly verification: v.StringSchema<undefined>;
5084
+ }, undefined>, v.ObjectSchema<{
5085
+ readonly id: v.StringSchema<undefined>;
5086
+ readonly type: v.LiteralSchema<"files", undefined>;
5087
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
5088
+ readonly type: v.LiteralSchema<"external", undefined>;
5089
+ readonly external: v.ObjectSchema<{
5090
+ readonly url: v.StringSchema<undefined>;
5091
+ }, undefined>;
5092
+ readonly name: v.StringSchema<undefined>;
5093
+ }, undefined>, v.ObjectSchema<{
5094
+ readonly type: v.LiteralSchema<"file", undefined>;
5095
+ readonly file: v.ObjectSchema<{
5096
+ readonly url: v.StringSchema<undefined>;
5097
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5098
+ }, undefined>;
5099
+ readonly name: v.StringSchema<undefined>;
5100
+ }, undefined>, v.ObjectSchema<{
5101
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
5102
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5103
+ }, undefined>], undefined>, undefined>;
2975
5104
  }, undefined>], undefined>, undefined>, undefined>;
2976
5105
  readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
2977
5106
  readonly id: v.StringSchema<undefined>;
@@ -3207,23 +5336,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
3207
5336
  readonly relation: v.ArraySchema<v.ObjectSchema<{
3208
5337
  readonly id: v.StringSchema<undefined>;
3209
5338
  }, undefined>, undefined>;
3210
- }, undefined>, v.ObjectSchema<{
3211
- readonly id: v.StringSchema<undefined>;
3212
- readonly type: v.LiteralSchema<"files", undefined>;
3213
- readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
3214
- readonly type: v.LiteralSchema<"external", undefined>;
3215
- readonly external: v.ObjectSchema<{
3216
- readonly url: v.StringSchema<undefined>;
3217
- }, undefined>;
3218
- readonly name: v.StringSchema<undefined>;
3219
- }, undefined>, v.ObjectSchema<{
3220
- readonly type: v.LiteralSchema<"file", undefined>;
3221
- readonly file: v.ObjectSchema<{
3222
- readonly url: v.StringSchema<undefined>;
3223
- readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
3224
- }, undefined>;
3225
- readonly name: v.StringSchema<undefined>;
3226
- }, undefined>], undefined>, undefined>;
3227
5339
  }, undefined>, v.ObjectSchema<{
3228
5340
  readonly id: v.StringSchema<undefined>;
3229
5341
  readonly type: v.LiteralSchema<"place", undefined>;
@@ -3279,6 +5391,26 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
3279
5391
  readonly id: v.StringSchema<undefined>;
3280
5392
  readonly type: v.LiteralSchema<"verification", undefined>;
3281
5393
  readonly verification: v.StringSchema<undefined>;
5394
+ }, undefined>, v.ObjectSchema<{
5395
+ readonly id: v.StringSchema<undefined>;
5396
+ readonly type: v.LiteralSchema<"files", undefined>;
5397
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
5398
+ readonly type: v.LiteralSchema<"external", undefined>;
5399
+ readonly external: v.ObjectSchema<{
5400
+ readonly url: v.StringSchema<undefined>;
5401
+ }, undefined>;
5402
+ readonly name: v.StringSchema<undefined>;
5403
+ }, undefined>, v.ObjectSchema<{
5404
+ readonly type: v.LiteralSchema<"file", undefined>;
5405
+ readonly file: v.ObjectSchema<{
5406
+ readonly url: v.StringSchema<undefined>;
5407
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5408
+ }, undefined>;
5409
+ readonly name: v.StringSchema<undefined>;
5410
+ }, undefined>, v.ObjectSchema<{
5411
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
5412
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
5413
+ }, undefined>], undefined>, undefined>;
3282
5414
  }, undefined>], undefined>, undefined>, undefined>;
3283
5415
  readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
3284
5416
  readonly id: v.StringSchema<undefined>;