@notionhq/custom-blocks 0.1.38 → 0.1.39
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.
- package/bin/notion-custom-blocks/upload.test.js +4 -7
- package/dist/bridge/SandboxBridge.d.ts.map +1 -1
- package/dist/bridge/pendingRequests.d.ts.map +1 -1
- package/dist/bridge/sandboxClient.d.ts.map +1 -1
- package/dist/init.d.ts.map +1 -1
- package/dist/protocol/dataSources/dataSource.d.ts +135 -135
- package/dist/protocol/dataSources/propertySchema.d.ts +27 -27
- package/dist/protocol/messages/createPage.d.ts +15 -15
- package/dist/protocol/messages/createPageResult.d.ts +17 -15
- package/dist/protocol/messages/dataSourcesChanged.d.ts +27 -27
- package/dist/protocol/messages/getPage.d.ts +17 -15
- package/dist/protocol/messages/hostToSandbox.d.ts +114 -100
- package/dist/protocol/messages/init.d.ts +32 -28
- package/dist/protocol/messages/pageChanged.d.ts +2 -0
- package/dist/protocol/messages/parentChanged.d.ts +2 -0
- package/dist/protocol/messages/sandboxToHost.d.ts +30 -30
- package/dist/protocol/messages/updatePage.d.ts +15 -15
- package/dist/protocol/messages/updatePageResult.d.ts +17 -15
- package/dist/protocol/pages/page.d.ts +49 -45
- package/dist/protocol/parent.d.ts +5 -1
- package/dist/protocol/parent.js +1 -0
- package/dist/react/DebugMessageLog.d.ts +1 -1
- package/dist/react/DebugMessageLog.d.ts.map +1 -1
- package/dist/react/NotionCustomBlock.d.ts +1 -1
- package/dist/react/NotionCustomBlock.d.ts.map +1 -1
- package/dist/react/NotionCustomBlock.js +1 -1
- package/dist/react/NotionTokenScope.d.ts +1 -1
- package/dist/react/NotionTokenScope.d.ts.map +1 -1
- package/dist/version.js +1 -1
- package/docs/block-location.md +13 -1
- package/docs/pages.md +1 -1
- package/package.json +12 -12
|
@@ -7,7 +7,7 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
7
7
|
readonly initializationId: v.StringSchema<undefined>;
|
|
8
8
|
readonly status: v.LiteralSchema<"success", undefined>;
|
|
9
9
|
readonly theme: v.PicklistSchema<["light", "dark"], undefined>;
|
|
10
|
-
readonly contrastMode: v.OptionalSchema<v.PicklistSchema<["standard", "high"], undefined>, "
|
|
10
|
+
readonly contrastMode: v.OptionalSchema<v.PicklistSchema<["standard", "high"], undefined>, "high" | "standard">;
|
|
11
11
|
readonly blockId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionBlockId">]>;
|
|
12
12
|
readonly parent: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
13
13
|
readonly type: v.LiteralSchema<"page_id", undefined>;
|
|
@@ -24,6 +24,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
24
24
|
}, undefined>, v.ObjectSchema<{
|
|
25
25
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
26
26
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
27
|
+
}, undefined>, v.ObjectSchema<{
|
|
28
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
27
29
|
}, undefined>], undefined>;
|
|
28
30
|
readonly page: v.ObjectSchema<{
|
|
29
31
|
readonly id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionPageId">]>;
|
|
@@ -42,6 +44,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
42
44
|
}, undefined>, v.ObjectSchema<{
|
|
43
45
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
44
46
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
47
|
+
}, undefined>, v.ObjectSchema<{
|
|
48
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
45
49
|
}, undefined>], undefined>;
|
|
46
50
|
}, undefined>;
|
|
47
51
|
readonly manifest: v.ObjectSchema<{
|
|
@@ -73,34 +77,36 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
73
77
|
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
74
78
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
75
79
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
76
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
77
80
|
readonly name: v.StringSchema<undefined>;
|
|
78
81
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
82
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
79
83
|
}, undefined>, v.ObjectSchema<{
|
|
80
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
81
84
|
readonly name: v.StringSchema<undefined>;
|
|
82
85
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
86
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
83
87
|
}, undefined>, v.ObjectSchema<{
|
|
84
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
85
88
|
readonly name: v.StringSchema<undefined>;
|
|
86
89
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
90
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
87
91
|
}, undefined>, v.ObjectSchema<{
|
|
88
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
89
92
|
readonly name: v.StringSchema<undefined>;
|
|
90
93
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
94
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
91
95
|
}, undefined>, v.ObjectSchema<{
|
|
92
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
93
96
|
readonly name: v.StringSchema<undefined>;
|
|
94
97
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
98
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
95
99
|
}, undefined>, v.ObjectSchema<{
|
|
96
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
97
100
|
readonly name: v.StringSchema<undefined>;
|
|
98
101
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
102
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
99
103
|
}, undefined>, v.ObjectSchema<{
|
|
100
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
101
104
|
readonly name: v.StringSchema<undefined>;
|
|
102
105
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
106
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
103
107
|
}, undefined>, v.ObjectSchema<{
|
|
108
|
+
readonly name: v.StringSchema<undefined>;
|
|
109
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
104
110
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
105
111
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
106
112
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -108,9 +114,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
108
114
|
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
109
115
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
116
|
}, undefined>, undefined>;
|
|
117
|
+
}, undefined>, v.ObjectSchema<{
|
|
111
118
|
readonly name: v.StringSchema<undefined>;
|
|
112
119
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
113
|
-
}, undefined>, v.ObjectSchema<{
|
|
114
120
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
115
121
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
116
122
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -118,9 +124,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
118
124
|
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
119
125
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
120
126
|
}, undefined>, undefined>;
|
|
127
|
+
}, undefined>, v.ObjectSchema<{
|
|
121
128
|
readonly name: v.StringSchema<undefined>;
|
|
122
129
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
123
|
-
}, undefined>, v.ObjectSchema<{
|
|
124
130
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
125
131
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
126
132
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -134,77 +140,75 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
134
140
|
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
135
141
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
136
142
|
}, undefined>, undefined>;
|
|
143
|
+
}, undefined>, v.ObjectSchema<{
|
|
137
144
|
readonly name: v.StringSchema<undefined>;
|
|
138
145
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
139
|
-
}, undefined>, v.ObjectSchema<{
|
|
140
146
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
147
|
+
}, undefined>, v.ObjectSchema<{
|
|
141
148
|
readonly name: v.StringSchema<undefined>;
|
|
142
149
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
143
|
-
}, undefined>, v.ObjectSchema<{
|
|
144
150
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
151
|
+
}, undefined>, v.ObjectSchema<{
|
|
145
152
|
readonly name: v.StringSchema<undefined>;
|
|
146
153
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
147
|
-
}, undefined>, v.ObjectSchema<{
|
|
148
154
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
155
|
+
}, undefined>, v.ObjectSchema<{
|
|
149
156
|
readonly name: v.StringSchema<undefined>;
|
|
150
157
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
151
|
-
}, undefined>, v.ObjectSchema<{
|
|
152
158
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
159
|
+
}, undefined>, v.ObjectSchema<{
|
|
153
160
|
readonly name: v.StringSchema<undefined>;
|
|
154
161
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
155
|
-
}, undefined>, v.ObjectSchema<{
|
|
156
162
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
157
163
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
158
164
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
159
165
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
160
166
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
161
167
|
}, undefined>, undefined>;
|
|
162
|
-
readonly name: v.StringSchema<undefined>;
|
|
163
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
164
168
|
}, undefined>, v.ObjectSchema<{
|
|
165
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
166
169
|
readonly name: v.StringSchema<undefined>;
|
|
167
170
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
171
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
168
172
|
}, undefined>, v.ObjectSchema<{
|
|
169
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
170
173
|
readonly name: v.StringSchema<undefined>;
|
|
171
174
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
175
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
172
176
|
}, undefined>, v.ObjectSchema<{
|
|
173
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
174
177
|
readonly name: v.StringSchema<undefined>;
|
|
175
178
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
179
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
176
180
|
}, undefined>, v.ObjectSchema<{
|
|
177
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
178
181
|
readonly name: v.StringSchema<undefined>;
|
|
179
182
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
183
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
180
184
|
}, undefined>, v.ObjectSchema<{
|
|
181
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
182
185
|
readonly name: v.StringSchema<undefined>;
|
|
183
186
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
187
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
184
188
|
}, undefined>, v.ObjectSchema<{
|
|
185
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
186
189
|
readonly name: v.StringSchema<undefined>;
|
|
187
190
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
191
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
188
192
|
}, undefined>, v.ObjectSchema<{
|
|
189
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
190
193
|
readonly name: v.StringSchema<undefined>;
|
|
191
194
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
195
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
192
196
|
}, undefined>, v.ObjectSchema<{
|
|
193
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
194
197
|
readonly name: v.StringSchema<undefined>;
|
|
195
198
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
199
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
196
200
|
}, undefined>, v.ObjectSchema<{
|
|
197
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
198
201
|
readonly name: v.StringSchema<undefined>;
|
|
199
202
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
203
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
200
204
|
}, undefined>, v.ObjectSchema<{
|
|
201
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
202
205
|
readonly name: v.StringSchema<undefined>;
|
|
203
206
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
207
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
204
208
|
}, undefined>, v.ObjectSchema<{
|
|
205
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
206
209
|
readonly name: v.StringSchema<undefined>;
|
|
207
210
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
211
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
208
212
|
}, undefined>], undefined>, undefined>;
|
|
209
213
|
}, undefined>, undefined>;
|
|
210
214
|
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
@@ -252,6 +256,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
252
256
|
}, undefined>, v.ObjectSchema<{
|
|
253
257
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
254
258
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
259
|
+
}, undefined>, v.ObjectSchema<{
|
|
260
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
255
261
|
}, undefined>], undefined>;
|
|
256
262
|
}, undefined>, v.ObjectSchema<{
|
|
257
263
|
readonly type: v.LiteralSchema<"pageChanged", undefined>;
|
|
@@ -272,6 +278,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
272
278
|
}, undefined>, v.ObjectSchema<{
|
|
273
279
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
274
280
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
281
|
+
}, undefined>, v.ObjectSchema<{
|
|
282
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
275
283
|
}, undefined>], undefined>;
|
|
276
284
|
}, undefined>;
|
|
277
285
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -298,34 +306,36 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
298
306
|
readonly collectionSchema: v.OptionalSchema<v.ObjectSchema<{
|
|
299
307
|
readonly id: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionDataSourceId">]>, undefined>;
|
|
300
308
|
readonly propertiesById: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
301
|
-
readonly type: v.LiteralSchema<"title", undefined>;
|
|
302
309
|
readonly name: v.StringSchema<undefined>;
|
|
303
310
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
311
|
+
readonly type: v.LiteralSchema<"title", undefined>;
|
|
304
312
|
}, undefined>, v.ObjectSchema<{
|
|
305
|
-
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
306
313
|
readonly name: v.StringSchema<undefined>;
|
|
307
314
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
315
|
+
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
308
316
|
}, undefined>, v.ObjectSchema<{
|
|
309
|
-
readonly type: v.LiteralSchema<"number", undefined>;
|
|
310
317
|
readonly name: v.StringSchema<undefined>;
|
|
311
318
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
319
|
+
readonly type: v.LiteralSchema<"number", undefined>;
|
|
312
320
|
}, undefined>, v.ObjectSchema<{
|
|
313
|
-
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
314
321
|
readonly name: v.StringSchema<undefined>;
|
|
315
322
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
323
|
+
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
316
324
|
}, undefined>, v.ObjectSchema<{
|
|
317
|
-
readonly type: v.LiteralSchema<"url", undefined>;
|
|
318
325
|
readonly name: v.StringSchema<undefined>;
|
|
319
326
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
327
|
+
readonly type: v.LiteralSchema<"url", undefined>;
|
|
320
328
|
}, undefined>, v.ObjectSchema<{
|
|
321
|
-
readonly type: v.LiteralSchema<"email", undefined>;
|
|
322
329
|
readonly name: v.StringSchema<undefined>;
|
|
323
330
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
331
|
+
readonly type: v.LiteralSchema<"email", undefined>;
|
|
324
332
|
}, undefined>, v.ObjectSchema<{
|
|
325
|
-
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
326
333
|
readonly name: v.StringSchema<undefined>;
|
|
327
334
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
335
|
+
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
328
336
|
}, undefined>, v.ObjectSchema<{
|
|
337
|
+
readonly name: v.StringSchema<undefined>;
|
|
338
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
329
339
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
330
340
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
331
341
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -333,9 +343,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
333
343
|
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
334
344
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
335
345
|
}, undefined>, undefined>;
|
|
346
|
+
}, undefined>, v.ObjectSchema<{
|
|
336
347
|
readonly name: v.StringSchema<undefined>;
|
|
337
348
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
338
|
-
}, undefined>, v.ObjectSchema<{
|
|
339
349
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
340
350
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
341
351
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -343,9 +353,9 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
343
353
|
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
344
354
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
345
355
|
}, undefined>, undefined>;
|
|
356
|
+
}, undefined>, v.ObjectSchema<{
|
|
346
357
|
readonly name: v.StringSchema<undefined>;
|
|
347
358
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
348
|
-
}, undefined>, v.ObjectSchema<{
|
|
349
359
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
350
360
|
readonly options: v.ArraySchema<v.ObjectSchema<{
|
|
351
361
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -359,77 +369,75 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
359
369
|
readonly color: v.OptionalSchema<v.PicklistSchema<["default", "gray", "brown", "orange", "yellow", "green", "blue", "purple", "pink", "red", "gray_background", "brown_background", "orange_background", "yellow_background", "green_background", "blue_background", "purple_background", "pink_background", "red_background", "default_background"], undefined>, undefined>;
|
|
360
370
|
readonly option_ids: v.ArraySchema<v.StringSchema<undefined>, undefined>;
|
|
361
371
|
}, undefined>, undefined>;
|
|
372
|
+
}, undefined>, v.ObjectSchema<{
|
|
362
373
|
readonly name: v.StringSchema<undefined>;
|
|
363
374
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
364
|
-
}, undefined>, v.ObjectSchema<{
|
|
365
375
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
376
|
+
}, undefined>, v.ObjectSchema<{
|
|
366
377
|
readonly name: v.StringSchema<undefined>;
|
|
367
378
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
368
|
-
}, undefined>, v.ObjectSchema<{
|
|
369
379
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
380
|
+
}, undefined>, v.ObjectSchema<{
|
|
370
381
|
readonly name: v.StringSchema<undefined>;
|
|
371
382
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
372
|
-
}, undefined>, v.ObjectSchema<{
|
|
373
383
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
384
|
+
}, undefined>, v.ObjectSchema<{
|
|
374
385
|
readonly name: v.StringSchema<undefined>;
|
|
375
386
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
376
|
-
}, undefined>, v.ObjectSchema<{
|
|
377
387
|
readonly type: v.LiteralSchema<"unique_id", undefined>;
|
|
388
|
+
}, undefined>, v.ObjectSchema<{
|
|
378
389
|
readonly name: v.StringSchema<undefined>;
|
|
379
390
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
380
|
-
}, undefined>, v.ObjectSchema<{
|
|
381
391
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
382
392
|
readonly data_source_id: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
383
393
|
readonly dual_property: v.OptionalSchema<v.ObjectSchema<{
|
|
384
394
|
readonly synced_property_id: v.StringSchema<undefined>;
|
|
385
395
|
readonly synced_property_name: v.StringSchema<undefined>;
|
|
386
396
|
}, undefined>, undefined>;
|
|
387
|
-
readonly name: v.StringSchema<undefined>;
|
|
388
|
-
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
389
397
|
}, undefined>, v.ObjectSchema<{
|
|
390
|
-
readonly type: v.LiteralSchema<"place", undefined>;
|
|
391
398
|
readonly name: v.StringSchema<undefined>;
|
|
392
399
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
400
|
+
readonly type: v.LiteralSchema<"place", undefined>;
|
|
393
401
|
}, undefined>, v.ObjectSchema<{
|
|
394
|
-
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
395
402
|
readonly name: v.StringSchema<undefined>;
|
|
396
403
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
404
|
+
readonly type: v.LiteralSchema<"formula", undefined>;
|
|
397
405
|
}, undefined>, v.ObjectSchema<{
|
|
398
|
-
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
399
406
|
readonly name: v.StringSchema<undefined>;
|
|
400
407
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
408
|
+
readonly type: v.LiteralSchema<"rollup", undefined>;
|
|
401
409
|
}, undefined>, v.ObjectSchema<{
|
|
402
|
-
readonly type: v.LiteralSchema<"button", undefined>;
|
|
403
410
|
readonly name: v.StringSchema<undefined>;
|
|
404
411
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
412
|
+
readonly type: v.LiteralSchema<"button", undefined>;
|
|
405
413
|
}, undefined>, v.ObjectSchema<{
|
|
406
|
-
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
407
414
|
readonly name: v.StringSchema<undefined>;
|
|
408
415
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
416
|
+
readonly type: v.LiteralSchema<"verification", undefined>;
|
|
409
417
|
}, undefined>, v.ObjectSchema<{
|
|
410
|
-
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
411
418
|
readonly name: v.StringSchema<undefined>;
|
|
412
419
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
420
|
+
readonly type: v.LiteralSchema<"last_visited_time", undefined>;
|
|
413
421
|
}, undefined>, v.ObjectSchema<{
|
|
414
|
-
readonly type: v.LiteralSchema<"location", undefined>;
|
|
415
422
|
readonly name: v.StringSchema<undefined>;
|
|
416
423
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
424
|
+
readonly type: v.LiteralSchema<"location", undefined>;
|
|
417
425
|
}, undefined>, v.ObjectSchema<{
|
|
418
|
-
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
419
426
|
readonly name: v.StringSchema<undefined>;
|
|
420
427
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
428
|
+
readonly type: v.LiteralSchema<"created_time", undefined>;
|
|
421
429
|
}, undefined>, v.ObjectSchema<{
|
|
422
|
-
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
423
430
|
readonly name: v.StringSchema<undefined>;
|
|
424
431
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
432
|
+
readonly type: v.LiteralSchema<"last_edited_time", undefined>;
|
|
425
433
|
}, undefined>, v.ObjectSchema<{
|
|
426
|
-
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
427
434
|
readonly name: v.StringSchema<undefined>;
|
|
428
435
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
436
|
+
readonly type: v.LiteralSchema<"created_by", undefined>;
|
|
429
437
|
}, undefined>, v.ObjectSchema<{
|
|
430
|
-
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
431
438
|
readonly name: v.StringSchema<undefined>;
|
|
432
439
|
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
440
|
+
readonly type: v.LiteralSchema<"last_edited_by", undefined>;
|
|
433
441
|
}, undefined>], undefined>, undefined>;
|
|
434
442
|
}, undefined>, undefined>;
|
|
435
443
|
readonly propertyIdsByKey: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.OptionalSchema<v.StringSchema<undefined>, undefined>, undefined>, undefined>;
|
|
@@ -535,36 +543,39 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
535
543
|
}, undefined>, v.ObjectSchema<{
|
|
536
544
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
537
545
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
546
|
+
}, undefined>, v.ObjectSchema<{
|
|
547
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
538
548
|
}, undefined>], undefined>;
|
|
539
549
|
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
550
|
+
readonly id: v.StringSchema<undefined>;
|
|
540
551
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
541
552
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
542
|
-
readonly id: v.StringSchema<undefined>;
|
|
543
553
|
}, undefined>, v.ObjectSchema<{
|
|
554
|
+
readonly id: v.StringSchema<undefined>;
|
|
544
555
|
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
545
556
|
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
546
|
-
readonly id: v.StringSchema<undefined>;
|
|
547
557
|
}, undefined>, v.ObjectSchema<{
|
|
558
|
+
readonly id: v.StringSchema<undefined>;
|
|
548
559
|
readonly type: v.LiteralSchema<"number", undefined>;
|
|
549
560
|
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
550
|
-
readonly id: v.StringSchema<undefined>;
|
|
551
561
|
}, undefined>, v.ObjectSchema<{
|
|
562
|
+
readonly id: v.StringSchema<undefined>;
|
|
552
563
|
readonly type: v.LiteralSchema<"url", undefined>;
|
|
553
564
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
554
|
-
readonly id: v.StringSchema<undefined>;
|
|
555
565
|
}, undefined>, v.ObjectSchema<{
|
|
566
|
+
readonly id: v.StringSchema<undefined>;
|
|
556
567
|
readonly type: v.LiteralSchema<"email", undefined>;
|
|
557
568
|
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
558
|
-
readonly id: v.StringSchema<undefined>;
|
|
559
569
|
}, undefined>, v.ObjectSchema<{
|
|
570
|
+
readonly id: v.StringSchema<undefined>;
|
|
560
571
|
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
561
572
|
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
562
|
-
readonly id: v.StringSchema<undefined>;
|
|
563
573
|
}, undefined>, v.ObjectSchema<{
|
|
574
|
+
readonly id: v.StringSchema<undefined>;
|
|
564
575
|
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
565
576
|
readonly checkbox: v.BooleanSchema<undefined>;
|
|
566
|
-
readonly id: v.StringSchema<undefined>;
|
|
567
577
|
}, undefined>, v.ObjectSchema<{
|
|
578
|
+
readonly id: v.StringSchema<undefined>;
|
|
568
579
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
569
580
|
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
570
581
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -577,8 +588,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
577
588
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
578
589
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
579
590
|
}, undefined>], undefined>, undefined>;
|
|
580
|
-
readonly id: v.StringSchema<undefined>;
|
|
581
591
|
}, undefined>, v.ObjectSchema<{
|
|
592
|
+
readonly id: v.StringSchema<undefined>;
|
|
582
593
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
583
594
|
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
584
595
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -591,8 +602,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
591
602
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
592
603
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
593
604
|
}, undefined>], undefined>, undefined>;
|
|
594
|
-
readonly id: v.StringSchema<undefined>;
|
|
595
605
|
}, undefined>, v.ObjectSchema<{
|
|
606
|
+
readonly id: v.StringSchema<undefined>;
|
|
596
607
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
597
608
|
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
598
609
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -605,16 +616,16 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
605
616
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
606
617
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
607
618
|
}, undefined>], undefined>, undefined>;
|
|
608
|
-
readonly id: v.StringSchema<undefined>;
|
|
609
619
|
}, undefined>, v.ObjectSchema<{
|
|
620
|
+
readonly id: v.StringSchema<undefined>;
|
|
610
621
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
611
622
|
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
612
623
|
readonly start: v.StringSchema<undefined>;
|
|
613
624
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
614
625
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
615
626
|
}, undefined>, undefined>;
|
|
616
|
-
readonly id: v.StringSchema<undefined>;
|
|
617
627
|
}, undefined>, v.ObjectSchema<{
|
|
628
|
+
readonly id: v.StringSchema<undefined>;
|
|
618
629
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
619
630
|
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
620
631
|
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
@@ -624,15 +635,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
624
635
|
readonly id: v.StringSchema<undefined>;
|
|
625
636
|
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
626
637
|
}, undefined>], undefined>, undefined>;
|
|
627
|
-
readonly id: v.StringSchema<undefined>;
|
|
628
638
|
}, undefined>, v.ObjectSchema<{
|
|
639
|
+
readonly id: v.StringSchema<undefined>;
|
|
629
640
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
630
641
|
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
631
642
|
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
632
643
|
readonly id: v.StringSchema<undefined>;
|
|
633
644
|
}, undefined>, undefined>;
|
|
634
|
-
readonly id: v.StringSchema<undefined>;
|
|
635
645
|
}, undefined>, v.ObjectSchema<{
|
|
646
|
+
readonly id: v.StringSchema<undefined>;
|
|
636
647
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
637
648
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
638
649
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
@@ -648,8 +659,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
648
659
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
649
660
|
}, undefined>;
|
|
650
661
|
}, undefined>], undefined>, undefined>;
|
|
651
|
-
readonly id: v.StringSchema<undefined>;
|
|
652
662
|
}, undefined>, v.ObjectSchema<{
|
|
663
|
+
readonly id: v.StringSchema<undefined>;
|
|
653
664
|
readonly type: v.LiteralSchema<"place", undefined>;
|
|
654
665
|
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
655
666
|
readonly lat: v.NumberSchema<undefined>;
|
|
@@ -659,7 +670,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
659
670
|
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
660
671
|
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
661
672
|
}, undefined>, undefined>;
|
|
662
|
-
readonly id: v.StringSchema<undefined>;
|
|
663
673
|
}, undefined>], undefined>, undefined>;
|
|
664
674
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
665
675
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -732,36 +742,39 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
732
742
|
}, undefined>, v.ObjectSchema<{
|
|
733
743
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
734
744
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
745
|
+
}, undefined>, v.ObjectSchema<{
|
|
746
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
735
747
|
}, undefined>], undefined>;
|
|
736
748
|
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
749
|
+
readonly id: v.StringSchema<undefined>;
|
|
737
750
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
738
751
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
739
|
-
readonly id: v.StringSchema<undefined>;
|
|
740
752
|
}, undefined>, v.ObjectSchema<{
|
|
753
|
+
readonly id: v.StringSchema<undefined>;
|
|
741
754
|
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
742
755
|
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
743
|
-
readonly id: v.StringSchema<undefined>;
|
|
744
756
|
}, undefined>, v.ObjectSchema<{
|
|
757
|
+
readonly id: v.StringSchema<undefined>;
|
|
745
758
|
readonly type: v.LiteralSchema<"number", undefined>;
|
|
746
759
|
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
747
|
-
readonly id: v.StringSchema<undefined>;
|
|
748
760
|
}, undefined>, v.ObjectSchema<{
|
|
761
|
+
readonly id: v.StringSchema<undefined>;
|
|
749
762
|
readonly type: v.LiteralSchema<"url", undefined>;
|
|
750
763
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
751
|
-
readonly id: v.StringSchema<undefined>;
|
|
752
764
|
}, undefined>, v.ObjectSchema<{
|
|
765
|
+
readonly id: v.StringSchema<undefined>;
|
|
753
766
|
readonly type: v.LiteralSchema<"email", undefined>;
|
|
754
767
|
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
755
|
-
readonly id: v.StringSchema<undefined>;
|
|
756
768
|
}, undefined>, v.ObjectSchema<{
|
|
769
|
+
readonly id: v.StringSchema<undefined>;
|
|
757
770
|
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
758
771
|
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
759
|
-
readonly id: v.StringSchema<undefined>;
|
|
760
772
|
}, undefined>, v.ObjectSchema<{
|
|
773
|
+
readonly id: v.StringSchema<undefined>;
|
|
761
774
|
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
762
775
|
readonly checkbox: v.BooleanSchema<undefined>;
|
|
763
|
-
readonly id: v.StringSchema<undefined>;
|
|
764
776
|
}, undefined>, v.ObjectSchema<{
|
|
777
|
+
readonly id: v.StringSchema<undefined>;
|
|
765
778
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
766
779
|
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
767
780
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -774,8 +787,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
774
787
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
775
788
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
776
789
|
}, undefined>], undefined>, undefined>;
|
|
777
|
-
readonly id: v.StringSchema<undefined>;
|
|
778
790
|
}, undefined>, v.ObjectSchema<{
|
|
791
|
+
readonly id: v.StringSchema<undefined>;
|
|
779
792
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
780
793
|
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
781
794
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -788,8 +801,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
788
801
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
789
802
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
790
803
|
}, undefined>], undefined>, undefined>;
|
|
791
|
-
readonly id: v.StringSchema<undefined>;
|
|
792
804
|
}, undefined>, v.ObjectSchema<{
|
|
805
|
+
readonly id: v.StringSchema<undefined>;
|
|
793
806
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
794
807
|
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
795
808
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -802,16 +815,16 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
802
815
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
803
816
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
804
817
|
}, undefined>], undefined>, undefined>;
|
|
805
|
-
readonly id: v.StringSchema<undefined>;
|
|
806
818
|
}, undefined>, v.ObjectSchema<{
|
|
819
|
+
readonly id: v.StringSchema<undefined>;
|
|
807
820
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
808
821
|
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
809
822
|
readonly start: v.StringSchema<undefined>;
|
|
810
823
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
811
824
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
812
825
|
}, undefined>, undefined>;
|
|
813
|
-
readonly id: v.StringSchema<undefined>;
|
|
814
826
|
}, undefined>, v.ObjectSchema<{
|
|
827
|
+
readonly id: v.StringSchema<undefined>;
|
|
815
828
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
816
829
|
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
817
830
|
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
@@ -821,15 +834,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
821
834
|
readonly id: v.StringSchema<undefined>;
|
|
822
835
|
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
823
836
|
}, undefined>], undefined>, undefined>;
|
|
824
|
-
readonly id: v.StringSchema<undefined>;
|
|
825
837
|
}, undefined>, v.ObjectSchema<{
|
|
838
|
+
readonly id: v.StringSchema<undefined>;
|
|
826
839
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
827
840
|
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
828
841
|
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
829
842
|
readonly id: v.StringSchema<undefined>;
|
|
830
843
|
}, undefined>, undefined>;
|
|
831
|
-
readonly id: v.StringSchema<undefined>;
|
|
832
844
|
}, undefined>, v.ObjectSchema<{
|
|
845
|
+
readonly id: v.StringSchema<undefined>;
|
|
833
846
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
834
847
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
835
848
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
@@ -845,8 +858,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
845
858
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
846
859
|
}, undefined>;
|
|
847
860
|
}, undefined>], undefined>, undefined>;
|
|
848
|
-
readonly id: v.StringSchema<undefined>;
|
|
849
861
|
}, undefined>, v.ObjectSchema<{
|
|
862
|
+
readonly id: v.StringSchema<undefined>;
|
|
850
863
|
readonly type: v.LiteralSchema<"place", undefined>;
|
|
851
864
|
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
852
865
|
readonly lat: v.NumberSchema<undefined>;
|
|
@@ -856,7 +869,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
856
869
|
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
857
870
|
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
858
871
|
}, undefined>, undefined>;
|
|
859
|
-
readonly id: v.StringSchema<undefined>;
|
|
860
872
|
}, undefined>], undefined>, undefined>;
|
|
861
873
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
862
874
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
@@ -982,36 +994,39 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
982
994
|
}, undefined>, v.ObjectSchema<{
|
|
983
995
|
readonly type: v.LiteralSchema<"agent_id", undefined>;
|
|
984
996
|
readonly agent_id: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.BrandAction<string, "NotionAgentId">]>;
|
|
997
|
+
}, undefined>, v.ObjectSchema<{
|
|
998
|
+
readonly type: v.LiteralSchema<"unavailable", undefined>;
|
|
985
999
|
}, undefined>], undefined>;
|
|
986
1000
|
readonly properties: v.RecordSchema<v.StringSchema<undefined>, v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1001
|
+
readonly id: v.StringSchema<undefined>;
|
|
987
1002
|
readonly type: v.LiteralSchema<"title", undefined>;
|
|
988
1003
|
readonly title: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
989
|
-
readonly id: v.StringSchema<undefined>;
|
|
990
1004
|
}, undefined>, v.ObjectSchema<{
|
|
1005
|
+
readonly id: v.StringSchema<undefined>;
|
|
991
1006
|
readonly type: v.LiteralSchema<"rich_text", undefined>;
|
|
992
1007
|
readonly rich_text: v.ArraySchema<v.RecordSchema<v.StringSchema<undefined>, v.UnknownSchema, undefined>, undefined>;
|
|
993
|
-
readonly id: v.StringSchema<undefined>;
|
|
994
1008
|
}, undefined>, v.ObjectSchema<{
|
|
1009
|
+
readonly id: v.StringSchema<undefined>;
|
|
995
1010
|
readonly type: v.LiteralSchema<"number", undefined>;
|
|
996
1011
|
readonly number: v.NullableSchema<v.NumberSchema<undefined>, undefined>;
|
|
997
|
-
readonly id: v.StringSchema<undefined>;
|
|
998
1012
|
}, undefined>, v.ObjectSchema<{
|
|
1013
|
+
readonly id: v.StringSchema<undefined>;
|
|
999
1014
|
readonly type: v.LiteralSchema<"url", undefined>;
|
|
1000
1015
|
readonly url: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1001
|
-
readonly id: v.StringSchema<undefined>;
|
|
1002
1016
|
}, undefined>, v.ObjectSchema<{
|
|
1017
|
+
readonly id: v.StringSchema<undefined>;
|
|
1003
1018
|
readonly type: v.LiteralSchema<"email", undefined>;
|
|
1004
1019
|
readonly email: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1005
|
-
readonly id: v.StringSchema<undefined>;
|
|
1006
1020
|
}, undefined>, v.ObjectSchema<{
|
|
1021
|
+
readonly id: v.StringSchema<undefined>;
|
|
1007
1022
|
readonly type: v.LiteralSchema<"phone_number", undefined>;
|
|
1008
1023
|
readonly phone_number: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1009
|
-
readonly id: v.StringSchema<undefined>;
|
|
1010
1024
|
}, undefined>, v.ObjectSchema<{
|
|
1025
|
+
readonly id: v.StringSchema<undefined>;
|
|
1011
1026
|
readonly type: v.LiteralSchema<"checkbox", undefined>;
|
|
1012
1027
|
readonly checkbox: v.BooleanSchema<undefined>;
|
|
1013
|
-
readonly id: v.StringSchema<undefined>;
|
|
1014
1028
|
}, undefined>, v.ObjectSchema<{
|
|
1029
|
+
readonly id: v.StringSchema<undefined>;
|
|
1015
1030
|
readonly type: v.LiteralSchema<"select", undefined>;
|
|
1016
1031
|
readonly select: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1017
1032
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1024,8 +1039,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1024
1039
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1025
1040
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1026
1041
|
}, undefined>], undefined>, undefined>;
|
|
1027
|
-
readonly id: v.StringSchema<undefined>;
|
|
1028
1042
|
}, undefined>, v.ObjectSchema<{
|
|
1043
|
+
readonly id: v.StringSchema<undefined>;
|
|
1029
1044
|
readonly type: v.LiteralSchema<"status", undefined>;
|
|
1030
1045
|
readonly status: v.NullableSchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1031
1046
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1038,8 +1053,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1038
1053
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1039
1054
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1040
1055
|
}, undefined>], undefined>, undefined>;
|
|
1041
|
-
readonly id: v.StringSchema<undefined>;
|
|
1042
1056
|
}, undefined>, v.ObjectSchema<{
|
|
1057
|
+
readonly id: v.StringSchema<undefined>;
|
|
1043
1058
|
readonly type: v.LiteralSchema<"multi_select", undefined>;
|
|
1044
1059
|
readonly multi_select: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1045
1060
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -1052,16 +1067,16 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1052
1067
|
readonly color: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1053
1068
|
readonly description: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1054
1069
|
}, undefined>], undefined>, undefined>;
|
|
1055
|
-
readonly id: v.StringSchema<undefined>;
|
|
1056
1070
|
}, undefined>, v.ObjectSchema<{
|
|
1071
|
+
readonly id: v.StringSchema<undefined>;
|
|
1057
1072
|
readonly type: v.LiteralSchema<"date", undefined>;
|
|
1058
1073
|
readonly date: v.NullableSchema<v.ObjectSchema<{
|
|
1059
1074
|
readonly start: v.StringSchema<undefined>;
|
|
1060
1075
|
readonly end: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1061
1076
|
readonly time_zone: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1062
1077
|
}, undefined>, undefined>;
|
|
1063
|
-
readonly id: v.StringSchema<undefined>;
|
|
1064
1078
|
}, undefined>, v.ObjectSchema<{
|
|
1079
|
+
readonly id: v.StringSchema<undefined>;
|
|
1065
1080
|
readonly type: v.LiteralSchema<"people", undefined>;
|
|
1066
1081
|
readonly people: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1067
1082
|
readonly object: v.OptionalSchema<v.LiteralSchema<"user", undefined>, undefined>;
|
|
@@ -1071,15 +1086,15 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1071
1086
|
readonly id: v.StringSchema<undefined>;
|
|
1072
1087
|
readonly name: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1073
1088
|
}, undefined>], undefined>, undefined>;
|
|
1074
|
-
readonly id: v.StringSchema<undefined>;
|
|
1075
1089
|
}, undefined>, v.ObjectSchema<{
|
|
1090
|
+
readonly id: v.StringSchema<undefined>;
|
|
1076
1091
|
readonly type: v.LiteralSchema<"relation", undefined>;
|
|
1077
1092
|
readonly has_more: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
1078
1093
|
readonly relation: v.ArraySchema<v.ObjectSchema<{
|
|
1079
1094
|
readonly id: v.StringSchema<undefined>;
|
|
1080
1095
|
}, undefined>, undefined>;
|
|
1081
|
-
readonly id: v.StringSchema<undefined>;
|
|
1082
1096
|
}, undefined>, v.ObjectSchema<{
|
|
1097
|
+
readonly id: v.StringSchema<undefined>;
|
|
1083
1098
|
readonly type: v.LiteralSchema<"files", undefined>;
|
|
1084
1099
|
readonly files: v.ArraySchema<v.UnionSchema<[v.ObjectSchema<{
|
|
1085
1100
|
readonly type: v.LiteralSchema<"external", undefined>;
|
|
@@ -1095,8 +1110,8 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1095
1110
|
readonly expiry_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1096
1111
|
}, undefined>;
|
|
1097
1112
|
}, undefined>], undefined>, undefined>;
|
|
1098
|
-
readonly id: v.StringSchema<undefined>;
|
|
1099
1113
|
}, undefined>, v.ObjectSchema<{
|
|
1114
|
+
readonly id: v.StringSchema<undefined>;
|
|
1100
1115
|
readonly type: v.LiteralSchema<"place", undefined>;
|
|
1101
1116
|
readonly place: v.NullableSchema<v.ObjectSchema<{
|
|
1102
1117
|
readonly lat: v.NumberSchema<undefined>;
|
|
@@ -1106,7 +1121,6 @@ export declare const hostToSandboxMessageSchema: v.VariantSchema<"type", [v.Vari
|
|
|
1106
1121
|
readonly aws_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1107
1122
|
readonly google_place_id: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1108
1123
|
}, undefined>, undefined>;
|
|
1109
|
-
readonly id: v.StringSchema<undefined>;
|
|
1110
1124
|
}, undefined>], undefined>, undefined>;
|
|
1111
1125
|
readonly created_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
1112
1126
|
readonly last_edited_time: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|