@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
@@ -36,7 +36,7 @@ export declare const updatePageResultMessageSchema: v.VariantSchema<"status", [v
36
36
  }, undefined>, v.ObjectSchema<{
37
37
  readonly type: v.LiteralSchema<"unavailable", undefined>;
38
38
  }, undefined>], undefined>;
39
- readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
39
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
40
40
  readonly id: v.StringSchema<undefined>;
41
41
  readonly type: v.LiteralSchema<"title", undefined>;
42
42
  readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
@@ -109,11 +109,590 @@ export declare const updatePageResultMessageSchema: v.VariantSchema<"status", [v
109
109
  }, undefined>, v.ObjectSchema<{
110
110
  readonly id: v.StringSchema<undefined>;
111
111
  readonly type: v.LiteralSchema<"date", undefined>;
112
- readonly date: v.NullableSchema<v.ObjectSchema<{
112
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
113
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
114
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
115
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
116
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
117
+ readonly value: v.NumberSchema<undefined>;
118
+ readonly time: v.StringSchema<undefined>;
119
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
120
+ }, undefined>, v.ObjectSchema<{
121
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
122
+ readonly value: v.NumberSchema<undefined>;
123
+ }, undefined>], undefined>, v.ObjectSchema<{
124
+ readonly unit: v.LiteralSchema<"none", undefined>;
125
+ }, undefined>], undefined>, undefined>;
126
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
127
+ }, undefined>, v.ObjectSchema<{
128
+ readonly start: v.StringSchema<undefined>;
129
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
130
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
131
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
132
+ readonly value: v.NumberSchema<undefined>;
133
+ readonly time: v.StringSchema<undefined>;
134
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
135
+ }, undefined>, v.ObjectSchema<{
136
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
137
+ readonly value: v.NumberSchema<undefined>;
138
+ }, undefined>], undefined>, v.ObjectSchema<{
139
+ readonly unit: v.LiteralSchema<"none", undefined>;
140
+ }, undefined>], undefined>, undefined>;
141
+ readonly time_zone: v.StringSchema<undefined>;
142
+ }, undefined>, v.ObjectSchema<{
113
143
  readonly start: v.StringSchema<undefined>;
114
144
  readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
115
145
  readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
146
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
147
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
148
+ readonly value: v.NumberSchema<undefined>;
149
+ readonly time: v.StringSchema<undefined>;
150
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
151
+ }, undefined>, v.ObjectSchema<{
152
+ readonly unit: v.LiteralSchema<"none", undefined>;
153
+ }, undefined>], undefined>, undefined>;
154
+ }, undefined>], undefined>, undefined>;
155
+ }, undefined>, v.ObjectSchema<{
156
+ readonly id: v.StringSchema<undefined>;
157
+ readonly type: v.LiteralSchema<"people", undefined>;
158
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
159
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
160
+ readonly id: v.StringSchema<undefined>;
161
+ }, undefined>, v.ObjectSchema<{
162
+ readonly object: v.LiteralSchema<"group", undefined>;
163
+ readonly id: v.StringSchema<undefined>;
164
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
165
+ }, undefined>], undefined>, undefined>;
166
+ }, undefined>, v.ObjectSchema<{
167
+ readonly id: v.StringSchema<undefined>;
168
+ readonly type: v.LiteralSchema<"relation", undefined>;
169
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
170
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
171
+ readonly id: v.StringSchema<undefined>;
172
+ }, undefined>, undefined>;
173
+ }, undefined>, v.ObjectSchema<{
174
+ readonly id: v.StringSchema<undefined>;
175
+ readonly type: v.LiteralSchema<"files", undefined>;
176
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
177
+ readonly type: v.LiteralSchema<"external", undefined>;
178
+ readonly name: v.StringSchema<undefined>;
179
+ readonly external: v.ObjectSchema<{
180
+ readonly url: v.StringSchema<undefined>;
181
+ }, undefined>;
182
+ }, undefined>, v.ObjectSchema<{
183
+ readonly type: v.LiteralSchema<"file", undefined>;
184
+ readonly name: v.StringSchema<undefined>;
185
+ readonly file: v.ObjectSchema<{
186
+ readonly url: v.StringSchema<undefined>;
187
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
188
+ }, undefined>;
189
+ }, undefined>], undefined>, undefined>;
190
+ }, undefined>, v.ObjectSchema<{
191
+ readonly id: v.StringSchema<undefined>;
192
+ readonly type: v.LiteralSchema<"place", undefined>;
193
+ readonly place: v.NullableSchema<v.ObjectSchema<{
194
+ readonly lat: v.NumberSchema<undefined>;
195
+ readonly lon: v.NumberSchema<undefined>;
196
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
197
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
198
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
199
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
116
200
  }, undefined>, undefined>;
201
+ }, undefined>, v.ObjectSchema<{
202
+ readonly id: v.StringSchema<undefined>;
203
+ readonly type: v.LiteralSchema<"created_time", undefined>;
204
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
205
+ }, undefined>, v.ObjectSchema<{
206
+ readonly id: v.StringSchema<undefined>;
207
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
208
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
209
+ }, undefined>, v.ObjectSchema<{
210
+ readonly id: v.StringSchema<undefined>;
211
+ readonly type: v.LiteralSchema<"created_by", undefined>;
212
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
213
+ readonly id: v.StringSchema<undefined>;
214
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
215
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
216
+ }, undefined>, undefined>;
217
+ }, undefined>, v.ObjectSchema<{
218
+ readonly id: v.StringSchema<undefined>;
219
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
220
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
221
+ readonly id: v.StringSchema<undefined>;
222
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
223
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
224
+ }, undefined>, undefined>;
225
+ }, undefined>, v.ObjectSchema<{
226
+ readonly id: v.StringSchema<undefined>;
227
+ readonly type: v.LiteralSchema<"last_visited_time", undefined>;
228
+ readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
229
+ }, undefined>], undefined>, undefined>, undefined>;
230
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
231
+ readonly id: v.StringSchema<undefined>;
232
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
233
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
234
+ }, undefined>, undefined>, null>;
235
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
236
+ readonly id: v.StringSchema<undefined>;
237
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
238
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
239
+ }, undefined>, undefined>, null>;
240
+ readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
241
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
242
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
243
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
244
+ readonly type: v.LiteralSchema<"emoji", undefined>;
245
+ readonly emoji: v.StringSchema<undefined>;
246
+ }, undefined>, v.ObjectSchema<{
247
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
248
+ readonly custom_emoji: v.ObjectSchema<{
249
+ readonly id: v.StringSchema<undefined>;
250
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
251
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
252
+ }, undefined>;
253
+ }, undefined>, v.ObjectSchema<{
254
+ readonly type: v.LiteralSchema<"external", undefined>;
255
+ readonly external: v.ObjectSchema<{
256
+ readonly url: v.StringSchema<undefined>;
257
+ }, undefined>;
258
+ }, undefined>, v.ObjectSchema<{
259
+ readonly type: v.LiteralSchema<"file", undefined>;
260
+ readonly file: v.ObjectSchema<{
261
+ readonly url: v.StringSchema<undefined>;
262
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
263
+ }, undefined>;
264
+ }, undefined>], undefined>, undefined>, null>;
265
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
266
+ readonly type: v.LiteralSchema<"external", undefined>;
267
+ readonly external: v.ObjectSchema<{
268
+ readonly url: v.StringSchema<undefined>;
269
+ }, undefined>;
270
+ }, undefined>, v.ObjectSchema<{
271
+ readonly type: v.LiteralSchema<"file", undefined>;
272
+ readonly file: v.ObjectSchema<{
273
+ readonly url: v.StringSchema<undefined>;
274
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
275
+ }, undefined>;
276
+ }, undefined>], undefined>, undefined>, null>;
277
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
278
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
279
+ readonly is_archived: v.BooleanSchema<undefined>;
280
+ readonly in_trash: v.BooleanSchema<undefined>;
281
+ }, undefined>;
282
+ }, undefined>, v.ObjectSchema<{
283
+ readonly type: v.LiteralSchema<"updatePageResult", undefined>;
284
+ readonly requestId: v.StringSchema<undefined>;
285
+ readonly status: v.LiteralSchema<"error", undefined>;
286
+ readonly error: v.ObjectSchema<{
287
+ readonly code: v.StringSchema<undefined>;
288
+ readonly message: v.StringSchema<undefined>;
289
+ readonly isRetryable: v.BooleanSchema<undefined>;
290
+ }, undefined>;
291
+ }, undefined>], undefined>;
292
+ export declare const updatePageResultMessageLegacySchema: v.VariantSchema<"status", [v.ObjectSchema<{
293
+ readonly type: v.LiteralSchema<"updatePageResult", undefined>;
294
+ readonly requestId: v.StringSchema<undefined>;
295
+ readonly status: v.LiteralSchema<"success", undefined>;
296
+ readonly page: v.UnionSchema<[v.ObjectSchema<{
297
+ readonly object: v.LiteralSchema<"page", undefined>;
298
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
299
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
300
+ readonly type: v.LiteralSchema<"page_id", undefined>;
301
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
302
+ }, undefined>, v.ObjectSchema<{
303
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
304
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
305
+ }, undefined>, v.ObjectSchema<{
306
+ readonly type: v.LiteralSchema<"workspace", undefined>;
307
+ readonly workspace: v.LiteralSchema<true, undefined>;
308
+ }, undefined>, v.ObjectSchema<{
309
+ readonly type: v.LiteralSchema<"block_id", undefined>;
310
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
311
+ }, undefined>, v.ObjectSchema<{
312
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
313
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
314
+ }, undefined>, v.ObjectSchema<{
315
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
316
+ }, undefined>], undefined>;
317
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
318
+ readonly id: v.StringSchema<undefined>;
319
+ readonly type: v.LiteralSchema<"title", undefined>;
320
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
321
+ }, undefined>, v.ObjectSchema<{
322
+ readonly id: v.StringSchema<undefined>;
323
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
324
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
325
+ }, undefined>, v.ObjectSchema<{
326
+ readonly id: v.StringSchema<undefined>;
327
+ readonly type: v.LiteralSchema<"number", undefined>;
328
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
329
+ }, undefined>, v.ObjectSchema<{
330
+ readonly id: v.StringSchema<undefined>;
331
+ readonly type: v.LiteralSchema<"url", undefined>;
332
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
333
+ }, undefined>, v.ObjectSchema<{
334
+ readonly id: v.StringSchema<undefined>;
335
+ readonly type: v.LiteralSchema<"email", undefined>;
336
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
337
+ }, undefined>, v.ObjectSchema<{
338
+ readonly id: v.StringSchema<undefined>;
339
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
340
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
341
+ }, undefined>, v.ObjectSchema<{
342
+ readonly id: v.StringSchema<undefined>;
343
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
344
+ readonly checkbox: v.BooleanSchema<undefined>;
345
+ }, undefined>, v.ObjectSchema<{
346
+ readonly id: v.StringSchema<undefined>;
347
+ readonly type: v.LiteralSchema<"select", undefined>;
348
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
349
+ readonly id: v.StringSchema<undefined>;
350
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
351
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
352
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
353
+ }, undefined>, v.ObjectSchema<{
354
+ readonly name: v.StringSchema<undefined>;
355
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
356
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
357
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
358
+ }, undefined>], undefined>, undefined>;
359
+ }, undefined>, v.ObjectSchema<{
360
+ readonly id: v.StringSchema<undefined>;
361
+ readonly type: v.LiteralSchema<"status", undefined>;
362
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
363
+ readonly id: v.StringSchema<undefined>;
364
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
365
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
366
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
367
+ }, undefined>, v.ObjectSchema<{
368
+ readonly name: v.StringSchema<undefined>;
369
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
370
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
371
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
372
+ }, undefined>], undefined>, undefined>;
373
+ }, undefined>, v.ObjectSchema<{
374
+ readonly id: v.StringSchema<undefined>;
375
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
376
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
377
+ readonly id: v.StringSchema<undefined>;
378
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
379
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
380
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
381
+ }, undefined>, v.ObjectSchema<{
382
+ readonly name: v.StringSchema<undefined>;
383
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
384
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
385
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
386
+ }, undefined>], undefined>, undefined>;
387
+ }, undefined>, v.ObjectSchema<{
388
+ readonly id: v.StringSchema<undefined>;
389
+ readonly type: v.LiteralSchema<"date", undefined>;
390
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
391
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
392
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
393
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
394
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
395
+ readonly value: v.NumberSchema<undefined>;
396
+ readonly time: v.StringSchema<undefined>;
397
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
398
+ }, undefined>, v.ObjectSchema<{
399
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
400
+ readonly value: v.NumberSchema<undefined>;
401
+ }, undefined>], undefined>, v.ObjectSchema<{
402
+ readonly unit: v.LiteralSchema<"none", undefined>;
403
+ }, undefined>], undefined>, undefined>;
404
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
405
+ }, undefined>, v.ObjectSchema<{
406
+ readonly start: v.StringSchema<undefined>;
407
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
408
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
409
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
410
+ readonly value: v.NumberSchema<undefined>;
411
+ readonly time: v.StringSchema<undefined>;
412
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
413
+ }, undefined>, v.ObjectSchema<{
414
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
415
+ readonly value: v.NumberSchema<undefined>;
416
+ }, undefined>], undefined>, v.ObjectSchema<{
417
+ readonly unit: v.LiteralSchema<"none", undefined>;
418
+ }, undefined>], undefined>, undefined>;
419
+ readonly time_zone: v.StringSchema<undefined>;
420
+ }, undefined>, v.ObjectSchema<{
421
+ readonly start: v.StringSchema<undefined>;
422
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
423
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
424
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
425
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
426
+ readonly value: v.NumberSchema<undefined>;
427
+ readonly time: v.StringSchema<undefined>;
428
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
429
+ }, undefined>, v.ObjectSchema<{
430
+ readonly unit: v.LiteralSchema<"none", undefined>;
431
+ }, undefined>], undefined>, undefined>;
432
+ }, undefined>], undefined>, undefined>;
433
+ }, undefined>, v.ObjectSchema<{
434
+ readonly id: v.StringSchema<undefined>;
435
+ readonly type: v.LiteralSchema<"people", undefined>;
436
+ readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
437
+ readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
438
+ readonly id: v.StringSchema<undefined>;
439
+ }, undefined>, v.ObjectSchema<{
440
+ readonly object: v.LiteralSchema<"group", undefined>;
441
+ readonly id: v.StringSchema<undefined>;
442
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
443
+ }, undefined>], undefined>, undefined>;
444
+ }, undefined>, v.ObjectSchema<{
445
+ readonly id: v.StringSchema<undefined>;
446
+ readonly type: v.LiteralSchema<"relation", undefined>;
447
+ readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
448
+ readonly relation: v.ArraySchema<v.ObjectSchema<{
449
+ readonly id: v.StringSchema<undefined>;
450
+ }, undefined>, undefined>;
451
+ }, undefined>, v.ObjectSchema<{
452
+ readonly id: v.StringSchema<undefined>;
453
+ readonly type: v.LiteralSchema<"files", undefined>;
454
+ readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
455
+ readonly type: v.LiteralSchema<"external", undefined>;
456
+ readonly name: v.StringSchema<undefined>;
457
+ readonly external: v.ObjectSchema<{
458
+ readonly url: v.StringSchema<undefined>;
459
+ }, undefined>;
460
+ }, undefined>, v.ObjectSchema<{
461
+ readonly type: v.LiteralSchema<"file", undefined>;
462
+ readonly name: v.StringSchema<undefined>;
463
+ readonly file: v.ObjectSchema<{
464
+ readonly url: v.StringSchema<undefined>;
465
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
466
+ }, undefined>;
467
+ }, undefined>], undefined>, undefined>;
468
+ }, undefined>, v.ObjectSchema<{
469
+ readonly id: v.StringSchema<undefined>;
470
+ readonly type: v.LiteralSchema<"place", undefined>;
471
+ readonly place: v.NullableSchema<v.ObjectSchema<{
472
+ readonly lat: v.NumberSchema<undefined>;
473
+ readonly lon: v.NumberSchema<undefined>;
474
+ readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
475
+ readonly address: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
476
+ readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
477
+ readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
478
+ }, undefined>, undefined>;
479
+ }, undefined>, v.ObjectSchema<{
480
+ readonly id: v.StringSchema<undefined>;
481
+ readonly type: v.LiteralSchema<"created_time", undefined>;
482
+ readonly created_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
483
+ }, undefined>, v.ObjectSchema<{
484
+ readonly id: v.StringSchema<undefined>;
485
+ readonly type: v.LiteralSchema<"last_edited_time", undefined>;
486
+ readonly last_edited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
487
+ }, undefined>, v.ObjectSchema<{
488
+ readonly id: v.StringSchema<undefined>;
489
+ readonly type: v.LiteralSchema<"created_by", undefined>;
490
+ readonly created_by: v.NullableSchema<v.ObjectSchema<{
491
+ readonly id: v.StringSchema<undefined>;
492
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
493
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
494
+ }, undefined>, undefined>;
495
+ }, undefined>, v.ObjectSchema<{
496
+ readonly id: v.StringSchema<undefined>;
497
+ readonly type: v.LiteralSchema<"last_edited_by", undefined>;
498
+ readonly last_edited_by: v.NullableSchema<v.ObjectSchema<{
499
+ readonly id: v.StringSchema<undefined>;
500
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
501
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
502
+ }, undefined>, undefined>;
503
+ }, undefined>, v.ObjectSchema<{
504
+ readonly id: v.StringSchema<undefined>;
505
+ readonly type: v.LiteralSchema<"last_visited_time", undefined>;
506
+ readonly last_visited_time: v.NullableSchema<v.StringSchema<undefined>, undefined>;
507
+ }, undefined>], undefined>, undefined>, undefined>;
508
+ readonly created_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
509
+ readonly id: v.StringSchema<undefined>;
510
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
511
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
512
+ }, undefined>, undefined>, null>;
513
+ readonly last_edited_by: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
514
+ readonly id: v.StringSchema<undefined>;
515
+ readonly table: v.PicklistSchema<["notion_user", "bot", "organization_bot"], undefined>;
516
+ readonly spaceId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
517
+ }, undefined>, undefined>, null>;
518
+ readonly last_visited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
519
+ readonly created_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
520
+ readonly last_edited_time: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
521
+ readonly icon: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
522
+ readonly type: v.LiteralSchema<"emoji", undefined>;
523
+ readonly emoji: v.StringSchema<undefined>;
524
+ }, undefined>, v.ObjectSchema<{
525
+ readonly type: v.LiteralSchema<"custom_emoji", undefined>;
526
+ readonly custom_emoji: v.ObjectSchema<{
527
+ readonly id: v.StringSchema<undefined>;
528
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
529
+ readonly url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
530
+ }, undefined>;
531
+ }, undefined>, v.ObjectSchema<{
532
+ readonly type: v.LiteralSchema<"external", undefined>;
533
+ readonly external: v.ObjectSchema<{
534
+ readonly url: v.StringSchema<undefined>;
535
+ }, undefined>;
536
+ }, undefined>, v.ObjectSchema<{
537
+ readonly type: v.LiteralSchema<"file", undefined>;
538
+ readonly file: v.ObjectSchema<{
539
+ readonly url: v.StringSchema<undefined>;
540
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
541
+ }, undefined>;
542
+ }, undefined>], undefined>, undefined>, null>;
543
+ readonly cover: v.OptionalSchema<v.NullableSchema<v.VariantSchema<"type", [v.ObjectSchema<{
544
+ readonly type: v.LiteralSchema<"external", undefined>;
545
+ readonly external: v.ObjectSchema<{
546
+ readonly url: v.StringSchema<undefined>;
547
+ }, undefined>;
548
+ }, undefined>, v.ObjectSchema<{
549
+ readonly type: v.LiteralSchema<"file", undefined>;
550
+ readonly file: v.ObjectSchema<{
551
+ readonly url: v.StringSchema<undefined>;
552
+ readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
553
+ }, undefined>;
554
+ }, undefined>], undefined>, undefined>, null>;
555
+ readonly url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
556
+ readonly public_url: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, null>;
557
+ readonly is_archived: v.BooleanSchema<undefined>;
558
+ readonly in_trash: v.BooleanSchema<undefined>;
559
+ }, undefined>, v.ObjectSchema<{
560
+ readonly object: v.LiteralSchema<"page", undefined>;
561
+ readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
562
+ readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
563
+ readonly type: v.LiteralSchema<"page_id", undefined>;
564
+ readonly page_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
565
+ }, undefined>, v.ObjectSchema<{
566
+ readonly type: v.LiteralSchema<"data_source_id", undefined>;
567
+ readonly data_source_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>;
568
+ }, undefined>, v.ObjectSchema<{
569
+ readonly type: v.LiteralSchema<"workspace", undefined>;
570
+ readonly workspace: v.LiteralSchema<true, undefined>;
571
+ }, undefined>, v.ObjectSchema<{
572
+ readonly type: v.LiteralSchema<"block_id", undefined>;
573
+ readonly block_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
574
+ }, undefined>, v.ObjectSchema<{
575
+ readonly type: v.LiteralSchema<"agent_id", undefined>;
576
+ readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
577
+ }, undefined>, v.ObjectSchema<{
578
+ readonly type: v.LiteralSchema<"unavailable", undefined>;
579
+ }, undefined>], undefined>;
580
+ readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
581
+ readonly id: v.StringSchema<undefined>;
582
+ readonly type: v.LiteralSchema<"title", undefined>;
583
+ readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
584
+ }, undefined>, v.ObjectSchema<{
585
+ readonly id: v.StringSchema<undefined>;
586
+ readonly type: v.LiteralSchema<"rich_text", undefined>;
587
+ readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
588
+ }, undefined>, v.ObjectSchema<{
589
+ readonly id: v.StringSchema<undefined>;
590
+ readonly type: v.LiteralSchema<"number", undefined>;
591
+ readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
592
+ }, undefined>, v.ObjectSchema<{
593
+ readonly id: v.StringSchema<undefined>;
594
+ readonly type: v.LiteralSchema<"url", undefined>;
595
+ readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
596
+ }, undefined>, v.ObjectSchema<{
597
+ readonly id: v.StringSchema<undefined>;
598
+ readonly type: v.LiteralSchema<"email", undefined>;
599
+ readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
600
+ }, undefined>, v.ObjectSchema<{
601
+ readonly id: v.StringSchema<undefined>;
602
+ readonly type: v.LiteralSchema<"phone_number", undefined>;
603
+ readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
604
+ }, undefined>, v.ObjectSchema<{
605
+ readonly id: v.StringSchema<undefined>;
606
+ readonly type: v.LiteralSchema<"checkbox", undefined>;
607
+ readonly checkbox: v.BooleanSchema<undefined>;
608
+ }, undefined>, v.ObjectSchema<{
609
+ readonly id: v.StringSchema<undefined>;
610
+ readonly type: v.LiteralSchema<"select", undefined>;
611
+ readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
612
+ readonly id: v.StringSchema<undefined>;
613
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
614
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
615
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
616
+ }, undefined>, v.ObjectSchema<{
617
+ readonly name: v.StringSchema<undefined>;
618
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
619
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
620
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
621
+ }, undefined>], undefined>, undefined>;
622
+ }, undefined>, v.ObjectSchema<{
623
+ readonly id: v.StringSchema<undefined>;
624
+ readonly type: v.LiteralSchema<"status", undefined>;
625
+ readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
626
+ readonly id: v.StringSchema<undefined>;
627
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
628
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
629
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
630
+ }, undefined>, v.ObjectSchema<{
631
+ readonly name: v.StringSchema<undefined>;
632
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
633
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
634
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
635
+ }, undefined>], undefined>, undefined>;
636
+ }, undefined>, v.ObjectSchema<{
637
+ readonly id: v.StringSchema<undefined>;
638
+ readonly type: v.LiteralSchema<"multi_select", undefined>;
639
+ readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
640
+ readonly id: v.StringSchema<undefined>;
641
+ readonly name: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
642
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
643
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
644
+ }, undefined>, v.ObjectSchema<{
645
+ readonly name: v.StringSchema<undefined>;
646
+ readonly id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
647
+ readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
648
+ readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
649
+ }, undefined>], undefined>, undefined>;
650
+ }, undefined>, v.ObjectSchema<{
651
+ readonly id: v.StringSchema<undefined>;
652
+ readonly type: v.LiteralSchema<"date", undefined>;
653
+ readonly date: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
654
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
655
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
656
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
657
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
658
+ readonly value: v.NumberSchema<undefined>;
659
+ readonly time: v.StringSchema<undefined>;
660
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
661
+ }, undefined>, v.ObjectSchema<{
662
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
663
+ readonly value: v.NumberSchema<undefined>;
664
+ }, undefined>], undefined>, v.ObjectSchema<{
665
+ readonly unit: v.LiteralSchema<"none", undefined>;
666
+ }, undefined>], undefined>, undefined>;
667
+ readonly start: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.IncludesAction<string, "T", undefined>]>;
668
+ }, undefined>, v.ObjectSchema<{
669
+ readonly start: v.StringSchema<undefined>;
670
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
671
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.UnionSchema<[v.ObjectSchema<{
672
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
673
+ readonly value: v.NumberSchema<undefined>;
674
+ readonly time: v.StringSchema<undefined>;
675
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
676
+ }, undefined>, v.ObjectSchema<{
677
+ readonly unit: v.PicklistSchema<["hour", "minute"], undefined>;
678
+ readonly value: v.NumberSchema<undefined>;
679
+ }, undefined>], undefined>, v.ObjectSchema<{
680
+ readonly unit: v.LiteralSchema<"none", undefined>;
681
+ }, undefined>], undefined>, undefined>;
682
+ readonly time_zone: v.StringSchema<undefined>;
683
+ }, undefined>, v.ObjectSchema<{
684
+ readonly start: v.StringSchema<undefined>;
685
+ readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
686
+ readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
687
+ readonly reminder: v.OptionalSchema<v.UnionSchema<[v.ObjectSchema<{
688
+ readonly unit: v.PicklistSchema<["year", "month", "week", "day"], undefined>;
689
+ readonly value: v.NumberSchema<undefined>;
690
+ readonly time: v.StringSchema<undefined>;
691
+ readonly defaultTimeZone: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
692
+ }, undefined>, v.ObjectSchema<{
693
+ readonly unit: v.LiteralSchema<"none", undefined>;
694
+ }, undefined>], undefined>, undefined>;
695
+ }, undefined>], undefined>, undefined>;
117
696
  }, undefined>, v.ObjectSchema<{
118
697
  readonly id: v.StringSchema<undefined>;
119
698
  readonly type: v.LiteralSchema<"people", undefined>;
@@ -229,7 +808,7 @@ export declare const updatePageResultMessageSchema: v.VariantSchema<"status", [v
229
808
  readonly public_url: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
230
809
  readonly is_archived: v.BooleanSchema<undefined>;
231
810
  readonly in_trash: v.BooleanSchema<undefined>;
232
- }, undefined>;
811
+ }, undefined>], undefined>;
233
812
  }, undefined>, v.ObjectSchema<{
234
813
  readonly type: v.LiteralSchema<"updatePageResult", undefined>;
235
814
  readonly requestId: v.StringSchema<undefined>;
@@ -241,3 +820,4 @@ export declare const updatePageResultMessageSchema: v.VariantSchema<"status", [v
241
820
  }, undefined>;
242
821
  }, undefined>], undefined>;
243
822
  export type UpdatePageResultMessage = v.InferOutput<typeof updatePageResultMessageSchema>;
823
+ export type UpdatePageResultMessageLegacy = v.InferOutput<typeof updatePageResultMessageLegacySchema>;