@notionhq/custom-blocks-host 0.3.5 → 0.3.7

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 (51) hide show
  1. package/README.md +5 -0
  2. package/dist/browser.js +1 -1
  3. package/dist/dateValue.d.ts +11 -0
  4. package/dist/dateValue.d.ts.map +1 -0
  5. package/dist/dateValue.js +96 -0
  6. package/dist/index.d.ts +3 -2
  7. package/dist/index.d.ts.map +1 -1
  8. package/dist/index.js +1 -0
  9. package/dist/lifecycle/legacyPage.d.ts +4 -2
  10. package/dist/lifecycle/legacyPage.d.ts.map +1 -1
  11. package/dist/lifecycle/legacyPage.js +14 -62
  12. package/dist/lifecycle/normalizeHostToSandboxMessage.d.ts.map +1 -1
  13. package/dist/lifecycle/normalizeHostToSandboxMessage.js +8 -2
  14. package/dist/lifecycle/normalizePage.d.ts +7 -0
  15. package/dist/lifecycle/normalizePage.d.ts.map +1 -0
  16. package/dist/lifecycle/normalizePage.js +22 -0
  17. package/dist/messages/types.d.ts +1 -2
  18. package/dist/messages/types.d.ts.map +1 -1
  19. package/dist/protocol/dataSources/dataSourcePage.d.ts +0 -160
  20. package/dist/protocol/dataSources/dataSourcePage.js +0 -7
  21. package/dist/protocol/dataSources/dateValue.d.ts +2 -2
  22. package/dist/protocol/dataSources/dateValue.js +9 -7
  23. package/dist/protocol/messages/createPage.d.ts +40 -2
  24. package/dist/protocol/messages/createPage.js +2 -2
  25. package/dist/protocol/messages/createPageResult.d.ts +584 -3
  26. package/dist/protocol/messages/createPageResult.js +17 -2
  27. package/dist/protocol/messages/getPage.d.ts +584 -3
  28. package/dist/protocol/messages/getPage.js +18 -3
  29. package/dist/protocol/messages/hostToSandbox.d.ts +1638 -376
  30. package/dist/protocol/messages/hostToSandbox.js +9 -6
  31. package/dist/protocol/messages/queryDataSourceResult.d.ts +222 -10
  32. package/dist/protocol/messages/queryDataSourceResult.js +4 -6
  33. package/dist/protocol/messages/sandboxToHost.d.ts +82 -4
  34. package/dist/protocol/messages/updatePage.d.ts +41 -2
  35. package/dist/protocol/messages/updatePage.js +4 -3
  36. package/dist/protocol/messages/updatePageResult.d.ts +583 -3
  37. package/dist/protocol/messages/updatePageResult.js +16 -2
  38. package/dist/protocol/pages/page.d.ts +622 -14
  39. package/dist/protocol/pages/page.js +41 -4
  40. package/dist/protocol/protocolVersion.js +1 -1
  41. package/package.json +1 -1
  42. package/src/dateValue.ts +120 -0
  43. package/src/index.ts +7 -4
  44. package/src/lifecycle/legacyPage.ts +30 -76
  45. package/src/lifecycle/normalizeHostToSandboxMessage.ts +13 -2
  46. package/src/lifecycle/normalizePage.ts +35 -0
  47. package/src/messages/types.ts +1 -1
  48. package/dist/lifecycle/normalizeQueryPage.d.ts +0 -3
  49. package/dist/lifecycle/normalizeQueryPage.d.ts.map +0 -1
  50. package/dist/lifecycle/normalizeQueryPage.js +0 -13
  51. package/src/lifecycle/normalizeQueryPage.ts +0 -25
@@ -37,7 +37,286 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
37
37
  }, undefined>, v.ObjectSchema<{
38
38
  readonly type: v.LiteralSchema<"unavailable", undefined>;
39
39
  }, undefined>], undefined>;
40
- readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
40
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
41
+ readonly id: v.StringSchema<undefined>;
42
+ readonly type: v.LiteralSchema<"title", undefined>;
43
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
44
+ }, undefined>, v.ObjectSchema<{
45
+ readonly id: v.StringSchema<undefined>;
46
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
47
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
48
+ }, undefined>, v.ObjectSchema<{
49
+ readonly id: v.StringSchema<undefined>;
50
+ readonly type: v.LiteralSchema<"number", undefined>;
51
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
52
+ }, undefined>, v.ObjectSchema<{
53
+ readonly id: v.StringSchema<undefined>;
54
+ readonly type: v.LiteralSchema<"url", undefined>;
55
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
56
+ }, undefined>, v.ObjectSchema<{
57
+ readonly id: v.StringSchema<undefined>;
58
+ readonly type: v.LiteralSchema<"email", undefined>;
59
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
60
+ }, undefined>, v.ObjectSchema<{
61
+ readonly id: v.StringSchema<undefined>;
62
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
63
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
64
+ }, undefined>, v.ObjectSchema<{
65
+ readonly id: v.StringSchema<undefined>;
66
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
67
+ readonly checkbox: v.BooleanSchema<undefined>;
68
+ }, undefined>, v.ObjectSchema<{
69
+ readonly id: v.StringSchema<undefined>;
70
+ readonly type: v.LiteralSchema<"select", undefined>;
71
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
72
+ readonly id: v.StringSchema<undefined>;
73
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
74
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
75
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
76
+ }, undefined>, v.ObjectSchema<{
77
+ readonly name: v.StringSchema<undefined>;
78
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
79
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
80
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
81
+ }, undefined>], undefined>, undefined>;
82
+ }, undefined>, v.ObjectSchema<{
83
+ readonly id: v.StringSchema<undefined>;
84
+ readonly type: v.LiteralSchema<"status", undefined>;
85
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
86
+ readonly id: v.StringSchema<undefined>;
87
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
88
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
89
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
90
+ }, undefined>, v.ObjectSchema<{
91
+ readonly name: v.StringSchema<undefined>;
92
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
93
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
94
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
95
+ }, undefined>], undefined>, undefined>;
96
+ }, undefined>, v.ObjectSchema<{
97
+ readonly id: v.StringSchema<undefined>;
98
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
99
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
100
+ readonly id: v.StringSchema<undefined>;
101
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
102
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
103
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
104
+ }, undefined>, v.ObjectSchema<{
105
+ readonly name: v.StringSchema<undefined>;
106
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
107
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
108
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
109
+ }, undefined>], undefined>, undefined>;
110
+ }, undefined>, v.ObjectSchema<{
111
+ readonly id: v.StringSchema<undefined>;
112
+ readonly type: v.LiteralSchema<"date", undefined>;
113
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
114
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
115
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
116
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
117
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
118
+ readonly value: v.NumberSchema<undefined>;
119
+ readonly time: v.StringSchema<undefined>;
120
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
121
+ }, undefined>, v.ObjectSchema<{
122
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
123
+ readonly value: v.NumberSchema<undefined>;
124
+ }, undefined>], undefined>, v.ObjectSchema<{
125
+ readonly unit: v.LiteralSchema<"none", undefined>;
126
+ }, undefined>], undefined>, undefined>;
127
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
128
+ }, undefined>, v.ObjectSchema<{
129
+ readonly start: v.StringSchema<undefined>;
130
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
131
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
132
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
133
+ readonly value: v.NumberSchema<undefined>;
134
+ readonly time: v.StringSchema<undefined>;
135
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
136
+ }, undefined>, v.ObjectSchema<{
137
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
138
+ readonly value: v.NumberSchema<undefined>;
139
+ }, undefined>], undefined>, v.ObjectSchema<{
140
+ readonly unit: v.LiteralSchema<"none", undefined>;
141
+ }, undefined>], undefined>, undefined>;
142
+ readonly time_zone: v.StringSchema<undefined>;
143
+ }, undefined>, v.ObjectSchema<{
144
+ readonly start: v.StringSchema<undefined>;
145
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
146
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
147
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
148
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
149
+ readonly value: v.NumberSchema<undefined>;
150
+ readonly time: v.StringSchema<undefined>;
151
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
152
+ }, undefined>, v.ObjectSchema<{
153
+ readonly unit: v.LiteralSchema<"none", undefined>;
154
+ }, undefined>], undefined>, undefined>;
155
+ }, undefined>], undefined>, undefined>;
156
+ }, undefined>, v.ObjectSchema<{
157
+ readonly id: v.StringSchema<undefined>;
158
+ readonly type: v.LiteralSchema<"people", undefined>;
159
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
160
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
161
+ readonly id: v.StringSchema<undefined>;
162
+ }, undefined>, v.ObjectSchema<{
163
+ readonly object: v.LiteralSchema<"group", undefined>;
164
+ readonly id: v.StringSchema<undefined>;
165
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
166
+ }, undefined>], undefined>, undefined>;
167
+ }, undefined>, v.ObjectSchema<{
168
+ readonly id: v.StringSchema<undefined>;
169
+ readonly type: v.LiteralSchema<"relation", undefined>;
170
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
171
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
172
+ readonly id: v.StringSchema<undefined>;
173
+ }, undefined>, undefined>;
174
+ }, undefined>, v.ObjectSchema<{
175
+ readonly id: v.StringSchema<undefined>;
176
+ readonly type: v.LiteralSchema<"files", undefined>;
177
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
178
+ readonly type: v.LiteralSchema<"external", undefined>;
179
+ readonly name: v.StringSchema<undefined>;
180
+ readonly external: v.ObjectSchema<{
181
+ readonly url: v.StringSchema<undefined>;
182
+ }, undefined>;
183
+ }, undefined>, v.ObjectSchema<{
184
+ readonly type: v.LiteralSchema<"file", undefined>;
185
+ readonly name: v.StringSchema<undefined>;
186
+ readonly file: v.ObjectSchema<{
187
+ readonly url: v.StringSchema<undefined>;
188
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
189
+ }, undefined>;
190
+ }, undefined>], undefined>, undefined>;
191
+ }, undefined>, v.ObjectSchema<{
192
+ readonly id: v.StringSchema<undefined>;
193
+ readonly type: v.LiteralSchema<"place", undefined>;
194
+ readonly place: v.NullableSchema<v.ObjectSchema<{
195
+ readonly lat: v.NumberSchema<undefined>;
196
+ readonly lon: v.NumberSchema<undefined>;
197
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
198
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
199
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
200
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
201
+ }, undefined>, undefined>;
202
+ }, undefined>, v.ObjectSchema<{
203
+ readonly id: v.StringSchema<undefined>;
204
+ readonly type: v.LiteralSchema<"created_time", undefined>;
205
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
206
+ }, undefined>, v.ObjectSchema<{
207
+ readonly id: v.StringSchema<undefined>;
208
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
209
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
210
+ }, undefined>, v.ObjectSchema<{
211
+ readonly id: v.StringSchema<undefined>;
212
+ readonly type: v.LiteralSchema<"created_by", undefined>;
213
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
214
+ readonly id: v.StringSchema<undefined>;
215
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
216
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
217
+ }, undefined>, undefined>;
218
+ }, undefined>, v.ObjectSchema<{
219
+ readonly id: v.StringSchema<undefined>;
220
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
221
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
222
+ readonly id: v.StringSchema<undefined>;
223
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
224
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
225
+ }, undefined>, undefined>;
226
+ }, undefined>, v.ObjectSchema<{
227
+ readonly id: v.StringSchema<undefined>;
228
+ readonly type: v.LiteralSchema<"last_visited_time", undefined>;
229
+ readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
230
+ }, undefined>], undefined>, undefined>, undefined>;
231
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
232
+ readonly id: v.StringSchema<undefined>;
233
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
234
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
235
+ }, undefined>, undefined>, null>;
236
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
237
+ readonly id: v.StringSchema<undefined>;
238
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
239
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
240
+ }, undefined>, undefined>, null>;
241
+ readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
242
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
243
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
244
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
245
+ readonly type: v.LiteralSchema<"emoji", undefined>;
246
+ readonly emoji: v.StringSchema<undefined>;
247
+ }, undefined>, v.ObjectSchema<{
248
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
249
+ readonly custom_emoji: v.ObjectSchema<{
250
+ readonly id: v.StringSchema<undefined>;
251
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
252
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
253
+ }, undefined>;
254
+ }, undefined>, v.ObjectSchema<{
255
+ readonly type: v.LiteralSchema<"external", undefined>;
256
+ readonly external: v.ObjectSchema<{
257
+ readonly url: v.StringSchema<undefined>;
258
+ }, undefined>;
259
+ }, undefined>, v.ObjectSchema<{
260
+ readonly type: v.LiteralSchema<"file", undefined>;
261
+ readonly file: v.ObjectSchema<{
262
+ readonly url: v.StringSchema<undefined>;
263
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
264
+ }, undefined>;
265
+ }, undefined>], undefined>, undefined>, null>;
266
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
267
+ readonly type: v.LiteralSchema<"external", undefined>;
268
+ readonly external: v.ObjectSchema<{
269
+ readonly url: v.StringSchema<undefined>;
270
+ }, undefined>;
271
+ }, undefined>, v.ObjectSchema<{
272
+ readonly type: v.LiteralSchema<"file", undefined>;
273
+ readonly file: v.ObjectSchema<{
274
+ readonly url: v.StringSchema<undefined>;
275
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
276
+ }, undefined>;
277
+ }, undefined>], undefined>, undefined>, null>;
278
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
279
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
280
+ readonly is_archived: v.BooleanSchema<undefined>;
281
+ readonly in_trash: v.BooleanSchema<undefined>;
282
+ }, undefined>;
283
+ }, undefined>, v.ObjectSchema<{
284
+ readonly type: v.LiteralSchema<"createPageResult", undefined>;
285
+ readonly requestId: v.StringSchema<undefined>;
286
+ readonly status: v.LiteralSchema<"error", undefined>;
287
+ readonly error: v.ObjectSchema<{
288
+ readonly code: v.StringSchema<undefined>;
289
+ readonly message: v.StringSchema<undefined>;
290
+ readonly isRetryable: v.BooleanSchema<undefined>;
291
+ }, undefined>;
292
+ }, undefined>], undefined>;
293
+ export declare const createPageResultMessageLegacySchema: v.VariantSchema<"status", [v.ObjectSchema<{
294
+ readonly type: v.LiteralSchema<"createPageResult", undefined>;
295
+ readonly requestId: v.StringSchema<undefined>;
296
+ readonly status: v.LiteralSchema<"success", undefined>;
297
+ /** The newly created page. */
298
+ readonly page: v.UnionSchema<[v.ObjectSchema<{
299
+ readonly object: v.LiteralSchema<"page", undefined>;
300
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
301
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
302
+ readonly type: v.LiteralSchema<"page_id", undefined>;
303
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
304
+ }, undefined>, v.ObjectSchema<{
305
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
306
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
307
+ }, undefined>, v.ObjectSchema<{
308
+ readonly type: v.LiteralSchema<"workspace", undefined>;
309
+ readonly workspace: v.LiteralSchema<true, undefined>;
310
+ }, undefined>, v.ObjectSchema<{
311
+ readonly type: v.LiteralSchema<"block_id", undefined>;
312
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
313
+ }, undefined>, v.ObjectSchema<{
314
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
315
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
316
+ }, undefined>, v.ObjectSchema<{
317
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
318
+ }, undefined>], undefined>;
319
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
41
320
  readonly id: v.StringSchema<undefined>;
42
321
  readonly type: v.LiteralSchema<"title", undefined>;
43
322
  readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
@@ -110,11 +389,312 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
110
389
  }, undefined>, v.ObjectSchema<{
111
390
  readonly id: v.StringSchema<undefined>;
112
391
  readonly type: v.LiteralSchema<"date", undefined>;
113
- readonly date: v.NullableSchema<v.ObjectSchema<{
392
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
393
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
394
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
395
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
396
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
397
+ readonly value: v.NumberSchema<undefined>;
398
+ readonly time: v.StringSchema<undefined>;
399
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
400
+ }, undefined>, v.ObjectSchema<{
401
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
402
+ readonly value: v.NumberSchema<undefined>;
403
+ }, undefined>], undefined>, v.ObjectSchema<{
404
+ readonly unit: v.LiteralSchema<"none", undefined>;
405
+ }, undefined>], undefined>, undefined>;
406
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
407
+ }, undefined>, v.ObjectSchema<{
408
+ readonly start: v.StringSchema<undefined>;
409
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
410
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
411
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
412
+ readonly value: v.NumberSchema<undefined>;
413
+ readonly time: v.StringSchema<undefined>;
414
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
415
+ }, undefined>, v.ObjectSchema<{
416
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
417
+ readonly value: v.NumberSchema<undefined>;
418
+ }, undefined>], undefined>, v.ObjectSchema<{
419
+ readonly unit: v.LiteralSchema<"none", undefined>;
420
+ }, undefined>], undefined>, undefined>;
421
+ readonly time_zone: v.StringSchema<undefined>;
422
+ }, undefined>, v.ObjectSchema<{
114
423
  readonly start: v.StringSchema<undefined>;
115
424
  readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
116
425
  readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
426
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
427
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
428
+ readonly value: v.NumberSchema<undefined>;
429
+ readonly time: v.StringSchema<undefined>;
430
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
431
+ }, undefined>, v.ObjectSchema<{
432
+ readonly unit: v.LiteralSchema<"none", undefined>;
433
+ }, undefined>], undefined>, undefined>;
434
+ }, undefined>], undefined>, undefined>;
435
+ }, undefined>, v.ObjectSchema<{
436
+ readonly id: v.StringSchema<undefined>;
437
+ readonly type: v.LiteralSchema<"people", undefined>;
438
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
439
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
440
+ readonly id: v.StringSchema<undefined>;
441
+ }, undefined>, v.ObjectSchema<{
442
+ readonly object: v.LiteralSchema<"group", undefined>;
443
+ readonly id: v.StringSchema<undefined>;
444
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
445
+ }, undefined>], undefined>, undefined>;
446
+ }, undefined>, v.ObjectSchema<{
447
+ readonly id: v.StringSchema<undefined>;
448
+ readonly type: v.LiteralSchema<"relation", undefined>;
449
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
450
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
451
+ readonly id: v.StringSchema<undefined>;
452
+ }, undefined>, undefined>;
453
+ }, undefined>, v.ObjectSchema<{
454
+ readonly id: v.StringSchema<undefined>;
455
+ readonly type: v.LiteralSchema<"files", undefined>;
456
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
457
+ readonly type: v.LiteralSchema<"external", undefined>;
458
+ readonly name: v.StringSchema<undefined>;
459
+ readonly external: v.ObjectSchema<{
460
+ readonly url: v.StringSchema<undefined>;
461
+ }, undefined>;
462
+ }, undefined>, v.ObjectSchema<{
463
+ readonly type: v.LiteralSchema<"file", undefined>;
464
+ readonly name: v.StringSchema<undefined>;
465
+ readonly file: v.ObjectSchema<{
466
+ readonly url: v.StringSchema<undefined>;
467
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
468
+ }, undefined>;
469
+ }, undefined>], undefined>, undefined>;
470
+ }, undefined>, v.ObjectSchema<{
471
+ readonly id: v.StringSchema<undefined>;
472
+ readonly type: v.LiteralSchema<"place", undefined>;
473
+ readonly place: v.NullableSchema<v.ObjectSchema<{
474
+ readonly lat: v.NumberSchema<undefined>;
475
+ readonly lon: v.NumberSchema<undefined>;
476
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
477
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
478
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
479
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
117
480
  }, undefined>, undefined>;
481
+ }, undefined>, v.ObjectSchema<{
482
+ readonly id: v.StringSchema<undefined>;
483
+ readonly type: v.LiteralSchema<"created_time", undefined>;
484
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
485
+ }, undefined>, v.ObjectSchema<{
486
+ readonly id: v.StringSchema<undefined>;
487
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
488
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
489
+ }, undefined>, v.ObjectSchema<{
490
+ readonly id: v.StringSchema<undefined>;
491
+ readonly type: v.LiteralSchema<"created_by", undefined>;
492
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
493
+ readonly id: v.StringSchema<undefined>;
494
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
495
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
496
+ }, undefined>, undefined>;
497
+ }, undefined>, v.ObjectSchema<{
498
+ readonly id: v.StringSchema<undefined>;
499
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
500
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
501
+ readonly id: v.StringSchema<undefined>;
502
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
503
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
504
+ }, undefined>, undefined>;
505
+ }, undefined>, v.ObjectSchema<{
506
+ readonly id: v.StringSchema<undefined>;
507
+ readonly type: v.LiteralSchema<"last_visited_time", undefined>;
508
+ readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
509
+ }, undefined>], undefined>, undefined>, undefined>;
510
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
511
+ readonly id: v.StringSchema<undefined>;
512
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
513
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
514
+ }, undefined>, undefined>, null>;
515
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
516
+ readonly id: v.StringSchema<undefined>;
517
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
518
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
519
+ }, undefined>, undefined>, null>;
520
+ readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
521
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
522
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
523
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
524
+ readonly type: v.LiteralSchema<"emoji", undefined>;
525
+ readonly emoji: v.StringSchema<undefined>;
526
+ }, undefined>, v.ObjectSchema<{
527
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
528
+ readonly custom_emoji: v.ObjectSchema<{
529
+ readonly id: v.StringSchema<undefined>;
530
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
531
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
532
+ }, undefined>;
533
+ }, undefined>, v.ObjectSchema<{
534
+ readonly type: v.LiteralSchema<"external", undefined>;
535
+ readonly external: v.ObjectSchema<{
536
+ readonly url: v.StringSchema<undefined>;
537
+ }, undefined>;
538
+ }, undefined>, v.ObjectSchema<{
539
+ readonly type: v.LiteralSchema<"file", undefined>;
540
+ readonly file: v.ObjectSchema<{
541
+ readonly url: v.StringSchema<undefined>;
542
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
543
+ }, undefined>;
544
+ }, undefined>], undefined>, undefined>, null>;
545
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
546
+ readonly type: v.LiteralSchema<"external", undefined>;
547
+ readonly external: v.ObjectSchema<{
548
+ readonly url: v.StringSchema<undefined>;
549
+ }, undefined>;
550
+ }, undefined>, v.ObjectSchema<{
551
+ readonly type: v.LiteralSchema<"file", undefined>;
552
+ readonly file: v.ObjectSchema<{
553
+ readonly url: v.StringSchema<undefined>;
554
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
555
+ }, undefined>;
556
+ }, undefined>], undefined>, undefined>, null>;
557
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
558
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
559
+ readonly is_archived: v.BooleanSchema<undefined>;
560
+ readonly in_trash: v.BooleanSchema<undefined>;
561
+ }, undefined>, v.ObjectSchema<{
562
+ readonly object: v.LiteralSchema<"page", undefined>;
563
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
564
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
565
+ readonly type: v.LiteralSchema<"page_id", undefined>;
566
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
567
+ }, undefined>, v.ObjectSchema<{
568
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
569
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
570
+ }, undefined>, v.ObjectSchema<{
571
+ readonly type: v.LiteralSchema<"workspace", undefined>;
572
+ readonly workspace: v.LiteralSchema<true, undefined>;
573
+ }, undefined>, v.ObjectSchema<{
574
+ readonly type: v.LiteralSchema<"block_id", undefined>;
575
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
576
+ }, undefined>, v.ObjectSchema<{
577
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
578
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
579
+ }, undefined>, v.ObjectSchema<{
580
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
581
+ }, undefined>], undefined>;
582
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
583
+ readonly id: v.StringSchema<undefined>;
584
+ readonly type: v.LiteralSchema<"title", undefined>;
585
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
586
+ }, undefined>, v.ObjectSchema<{
587
+ readonly id: v.StringSchema<undefined>;
588
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
589
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
590
+ }, undefined>, v.ObjectSchema<{
591
+ readonly id: v.StringSchema<undefined>;
592
+ readonly type: v.LiteralSchema<"number", undefined>;
593
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
594
+ }, undefined>, v.ObjectSchema<{
595
+ readonly id: v.StringSchema<undefined>;
596
+ readonly type: v.LiteralSchema<"url", undefined>;
597
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
598
+ }, undefined>, v.ObjectSchema<{
599
+ readonly id: v.StringSchema<undefined>;
600
+ readonly type: v.LiteralSchema<"email", undefined>;
601
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
602
+ }, undefined>, v.ObjectSchema<{
603
+ readonly id: v.StringSchema<undefined>;
604
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
605
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
606
+ }, undefined>, v.ObjectSchema<{
607
+ readonly id: v.StringSchema<undefined>;
608
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
609
+ readonly checkbox: v.BooleanSchema<undefined>;
610
+ }, undefined>, v.ObjectSchema<{
611
+ readonly id: v.StringSchema<undefined>;
612
+ readonly type: v.LiteralSchema<"select", undefined>;
613
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
614
+ readonly id: v.StringSchema<undefined>;
615
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
616
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
617
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
618
+ }, undefined>, v.ObjectSchema<{
619
+ readonly name: v.StringSchema<undefined>;
620
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
621
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
622
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
623
+ }, undefined>], undefined>, undefined>;
624
+ }, undefined>, v.ObjectSchema<{
625
+ readonly id: v.StringSchema<undefined>;
626
+ readonly type: v.LiteralSchema<"status", undefined>;
627
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
628
+ readonly id: v.StringSchema<undefined>;
629
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
630
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
631
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
632
+ }, undefined>, v.ObjectSchema<{
633
+ readonly name: v.StringSchema<undefined>;
634
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
635
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
636
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
637
+ }, undefined>], undefined>, undefined>;
638
+ }, undefined>, v.ObjectSchema<{
639
+ readonly id: v.StringSchema<undefined>;
640
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
641
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
642
+ readonly id: v.StringSchema<undefined>;
643
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
644
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
645
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
646
+ }, undefined>, v.ObjectSchema<{
647
+ readonly name: v.StringSchema<undefined>;
648
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
649
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
650
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
651
+ }, undefined>], undefined>, undefined>;
652
+ }, undefined>, v.ObjectSchema<{
653
+ readonly id: v.StringSchema<undefined>;
654
+ readonly type: v.LiteralSchema<"date", undefined>;
655
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
656
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
657
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
658
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
659
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
660
+ readonly value: v.NumberSchema<undefined>;
661
+ readonly time: v.StringSchema<undefined>;
662
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
663
+ }, undefined>, v.ObjectSchema<{
664
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
665
+ readonly value: v.NumberSchema<undefined>;
666
+ }, undefined>], undefined>, v.ObjectSchema<{
667
+ readonly unit: v.LiteralSchema<"none", undefined>;
668
+ }, undefined>], undefined>, undefined>;
669
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
670
+ }, undefined>, v.ObjectSchema<{
671
+ readonly start: v.StringSchema<undefined>;
672
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
673
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
674
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
675
+ readonly value: v.NumberSchema<undefined>;
676
+ readonly time: v.StringSchema<undefined>;
677
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
678
+ }, undefined>, v.ObjectSchema<{
679
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
680
+ readonly value: v.NumberSchema<undefined>;
681
+ }, undefined>], undefined>, v.ObjectSchema<{
682
+ readonly unit: v.LiteralSchema<"none", undefined>;
683
+ }, undefined>], undefined>, undefined>;
684
+ readonly time_zone: v.StringSchema<undefined>;
685
+ }, undefined>, v.ObjectSchema<{
686
+ readonly start: v.StringSchema<undefined>;
687
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
688
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
689
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
690
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
691
+ readonly value: v.NumberSchema<undefined>;
692
+ readonly time: v.StringSchema<undefined>;
693
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
694
+ }, undefined>, v.ObjectSchema<{
695
+ readonly unit: v.LiteralSchema<"none", undefined>;
696
+ }, undefined>], undefined>, undefined>;
697
+ }, undefined>], undefined>, undefined>;
118
698
  }, undefined>, v.ObjectSchema<{
119
699
  readonly id: v.StringSchema<undefined>;
120
700
  readonly type: v.LiteralSchema<"people", undefined>;
@@ -230,7 +810,7 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
230
810
  readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
231
811
  readonly is_archived: v.BooleanSchema<undefined>;
232
812
  readonly in_trash: v.BooleanSchema<undefined>;
233
- }, undefined>;
813
+ }, undefined>], undefined>;
234
814
  }, undefined>, v.ObjectSchema<{
235
815
  readonly type: v.LiteralSchema<"createPageResult", undefined>;
236
816
  readonly requestId: v.StringSchema<undefined>;
@@ -242,3 +822,4 @@ export declare const createPageResultMessageSchema: v.VariantSchema<"status", [v
242
822
  }, undefined>;
243
823
  }, undefined>], undefined>;
244
824
  export type CreatePageResultMessage = v.InferOutput<typeof createPageResultMessageSchema>;
825
+ export type CreatePageResultMessageLegacy = v.InferOutput<typeof createPageResultMessageLegacySchema>;