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