@bubblelab/bubble-core 0.1.157 → 0.1.158
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/dist/bubble-bundle.d.ts +102 -102
- package/dist/bubbles/service-bubble/agi-inc.d.ts +144 -144
- package/dist/bubbles/service-bubble/ai-agent.d.ts +8 -8
- package/dist/bubbles/service-bubble/airtable.d.ts +184 -184
- package/dist/bubbles/service-bubble/apify/apify.d.ts +24 -24
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +152 -152
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +55 -55
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +63 -63
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +98 -98
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
- package/dist/bubbles/service-bubble/firecrawl.d.ts +264 -264
- package/dist/bubbles/service-bubble/followupboss.d.ts +282 -282
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +40 -40
- package/dist/bubbles/service-bubble/github.d.ts +216 -216
- package/dist/bubbles/service-bubble/gmail.d.ts +228 -228
- package/dist/bubbles/service-bubble/google-calendar.d.ts +62 -62
- package/dist/bubbles/service-bubble/google-drive.d.ts +152 -152
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +6 -6
- package/dist/bubbles/service-bubble/jira/jira.d.ts +107 -107
- package/dist/bubbles/service-bubble/notion/notion.d.ts +932 -932
- package/dist/bubbles/service-bubble/postgresql.d.ts +6 -6
- package/dist/bubbles/service-bubble/posthog/index.d.ts +1 -1
- package/dist/bubbles/service-bubble/posthog/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/index.js +1 -1
- package/dist/bubbles/service-bubble/posthog/index.js.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +150 -68
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.js +18 -0
- package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +202 -89
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.js +57 -3
- package/dist/bubbles/service-bubble/posthog/posthog.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/resend.d.ts +16 -16
- package/dist/bubbles/service-bubble/slack/slack.d.ts +384 -384
- package/dist/bubbles/service-bubble/storage.d.ts +40 -40
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +161 -161
- package/dist/bubbles/service-bubble/telegram.d.ts +264 -264
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +108 -108
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +42 -42
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +68 -68
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +70 -70
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +128 -5
- package/package.json +2 -2
|
@@ -192,6 +192,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
192
192
|
}>]>>;
|
|
193
193
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
194
194
|
}, "strip", z.ZodTypeAny, {
|
|
195
|
+
operation: "create_page";
|
|
195
196
|
parent: {
|
|
196
197
|
type: "page_id";
|
|
197
198
|
page_id: string;
|
|
@@ -209,7 +210,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
209
210
|
type: "workspace";
|
|
210
211
|
workspace: true;
|
|
211
212
|
};
|
|
212
|
-
operation: "create_page";
|
|
213
213
|
properties?: Record<string, unknown> | undefined;
|
|
214
214
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
215
215
|
icon?: {
|
|
@@ -232,7 +232,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
232
232
|
type: "emoji";
|
|
233
233
|
emoji: string;
|
|
234
234
|
} | undefined;
|
|
235
|
-
children?: unknown[] | undefined;
|
|
236
235
|
cover?: {
|
|
237
236
|
type: "file";
|
|
238
237
|
file: {
|
|
@@ -250,7 +249,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
250
249
|
url: string;
|
|
251
250
|
};
|
|
252
251
|
} | undefined;
|
|
252
|
+
children?: unknown[] | undefined;
|
|
253
253
|
}, {
|
|
254
|
+
operation: "create_page";
|
|
254
255
|
parent: {
|
|
255
256
|
type: "page_id";
|
|
256
257
|
page_id: string;
|
|
@@ -268,7 +269,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
268
269
|
type: "workspace";
|
|
269
270
|
workspace: true;
|
|
270
271
|
};
|
|
271
|
-
operation: "create_page";
|
|
272
272
|
properties?: Record<string, unknown> | undefined;
|
|
273
273
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
274
274
|
icon?: {
|
|
@@ -291,7 +291,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
291
291
|
type: "emoji";
|
|
292
292
|
emoji: string;
|
|
293
293
|
} | undefined;
|
|
294
|
-
children?: unknown[] | undefined;
|
|
295
294
|
cover?: {
|
|
296
295
|
type: "file";
|
|
297
296
|
file: {
|
|
@@ -309,6 +308,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
309
308
|
url: string;
|
|
310
309
|
};
|
|
311
310
|
} | undefined;
|
|
311
|
+
children?: unknown[] | undefined;
|
|
312
312
|
}>, z.ZodObject<{
|
|
313
313
|
operation: z.ZodLiteral<"retrieve_page">;
|
|
314
314
|
page_id: z.ZodString;
|
|
@@ -785,11 +785,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
785
785
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
786
786
|
}, "strip", z.ZodTypeAny, {
|
|
787
787
|
properties: Record<string, unknown>;
|
|
788
|
+
operation: "create_data_source";
|
|
788
789
|
parent: {
|
|
789
790
|
type: "database_id";
|
|
790
791
|
database_id: string;
|
|
791
792
|
};
|
|
792
|
-
operation: "create_data_source";
|
|
793
793
|
title?: {
|
|
794
794
|
type: "text" | "mention" | "equation";
|
|
795
795
|
text?: {
|
|
@@ -832,11 +832,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
832
832
|
} | undefined;
|
|
833
833
|
}, {
|
|
834
834
|
properties: Record<string, unknown>;
|
|
835
|
+
operation: "create_data_source";
|
|
835
836
|
parent: {
|
|
836
837
|
type: "database_id";
|
|
837
838
|
database_id: string;
|
|
838
839
|
};
|
|
839
|
-
operation: "create_data_source";
|
|
840
840
|
title?: {
|
|
841
841
|
type: "text" | "mention" | "equation";
|
|
842
842
|
text?: {
|
|
@@ -1274,21 +1274,21 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1274
1274
|
page_id: z.ZodOptional<z.ZodString>;
|
|
1275
1275
|
workspace: z.ZodOptional<z.ZodLiteral<true>>;
|
|
1276
1276
|
}, "strip", z.ZodTypeAny, {
|
|
1277
|
-
type: "
|
|
1278
|
-
page_id?: string | undefined;
|
|
1277
|
+
type: "workspace" | "page_id";
|
|
1279
1278
|
workspace?: true | undefined;
|
|
1280
|
-
}, {
|
|
1281
|
-
type: "page_id" | "workspace";
|
|
1282
1279
|
page_id?: string | undefined;
|
|
1280
|
+
}, {
|
|
1281
|
+
type: "workspace" | "page_id";
|
|
1283
1282
|
workspace?: true | undefined;
|
|
1284
|
-
}>, {
|
|
1285
|
-
type: "page_id" | "workspace";
|
|
1286
1283
|
page_id?: string | undefined;
|
|
1284
|
+
}>, {
|
|
1285
|
+
type: "workspace" | "page_id";
|
|
1287
1286
|
workspace?: true | undefined;
|
|
1288
|
-
}, {
|
|
1289
|
-
type: "page_id" | "workspace";
|
|
1290
1287
|
page_id?: string | undefined;
|
|
1288
|
+
}, {
|
|
1289
|
+
type: "workspace" | "page_id";
|
|
1291
1290
|
workspace?: true | undefined;
|
|
1291
|
+
page_id?: string | undefined;
|
|
1292
1292
|
}>, {
|
|
1293
1293
|
type: "workspace";
|
|
1294
1294
|
workspace: boolean;
|
|
@@ -1298,9 +1298,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1298
1298
|
page_id: string;
|
|
1299
1299
|
workspace?: undefined;
|
|
1300
1300
|
}, {
|
|
1301
|
-
type: "
|
|
1302
|
-
page_id?: string | undefined;
|
|
1301
|
+
type: "workspace" | "page_id";
|
|
1303
1302
|
workspace?: true | undefined;
|
|
1303
|
+
page_id?: string | undefined;
|
|
1304
1304
|
}>;
|
|
1305
1305
|
initial_data_source: z.ZodObject<{
|
|
1306
1306
|
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -1612,6 +1612,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1612
1612
|
}>]>>;
|
|
1613
1613
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
1614
1614
|
}, "strip", z.ZodTypeAny, {
|
|
1615
|
+
operation: "create_database";
|
|
1615
1616
|
parent: {
|
|
1616
1617
|
type: "workspace";
|
|
1617
1618
|
workspace: boolean;
|
|
@@ -1621,7 +1622,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1621
1622
|
page_id: string;
|
|
1622
1623
|
workspace?: undefined;
|
|
1623
1624
|
};
|
|
1624
|
-
operation: "create_database";
|
|
1625
1625
|
initial_data_source: {
|
|
1626
1626
|
properties: Record<string, unknown>;
|
|
1627
1627
|
};
|
|
@@ -1702,12 +1702,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1702
1702
|
};
|
|
1703
1703
|
} | undefined;
|
|
1704
1704
|
}, {
|
|
1705
|
+
operation: "create_database";
|
|
1705
1706
|
parent: {
|
|
1706
|
-
type: "
|
|
1707
|
-
page_id?: string | undefined;
|
|
1707
|
+
type: "workspace" | "page_id";
|
|
1708
1708
|
workspace?: true | undefined;
|
|
1709
|
+
page_id?: string | undefined;
|
|
1709
1710
|
};
|
|
1710
|
-
operation: "create_database";
|
|
1711
1711
|
initial_data_source: {
|
|
1712
1712
|
properties: Record<string, unknown>;
|
|
1713
1713
|
};
|
|
@@ -2532,6 +2532,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2532
2532
|
}>>;
|
|
2533
2533
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
2534
2534
|
}, "strip", z.ZodTypeAny, {
|
|
2535
|
+
operation: "create_comment";
|
|
2535
2536
|
parent: {
|
|
2536
2537
|
block_id?: string | undefined;
|
|
2537
2538
|
page_id?: string | undefined;
|
|
@@ -2555,7 +2556,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2555
2556
|
} | undefined;
|
|
2556
2557
|
href?: string | null | undefined;
|
|
2557
2558
|
}[];
|
|
2558
|
-
operation: "create_comment";
|
|
2559
2559
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2560
2560
|
attachments?: {
|
|
2561
2561
|
file_upload_id: string;
|
|
@@ -2568,6 +2568,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2568
2568
|
} | undefined;
|
|
2569
2569
|
} | undefined;
|
|
2570
2570
|
}, {
|
|
2571
|
+
operation: "create_comment";
|
|
2571
2572
|
parent: {
|
|
2572
2573
|
block_id?: string | undefined;
|
|
2573
2574
|
page_id?: string | undefined;
|
|
@@ -2591,7 +2592,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2591
2592
|
} | undefined;
|
|
2592
2593
|
href?: string | null | undefined;
|
|
2593
2594
|
}[];
|
|
2594
|
-
operation: "create_comment";
|
|
2595
2595
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
2596
2596
|
attachments?: {
|
|
2597
2597
|
file_upload_id: string;
|
|
@@ -3008,9 +3008,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3008
3008
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3009
3009
|
}, "strip", z.ZodTypeAny, {
|
|
3010
3010
|
object: "page";
|
|
3011
|
+
id: string;
|
|
3011
3012
|
properties: Record<string, unknown>;
|
|
3012
3013
|
url: string;
|
|
3013
|
-
id: string;
|
|
3014
3014
|
parent: {
|
|
3015
3015
|
type: "page_id";
|
|
3016
3016
|
page_id: string;
|
|
@@ -3028,9 +3028,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3028
3028
|
type: "workspace";
|
|
3029
3029
|
workspace: true;
|
|
3030
3030
|
};
|
|
3031
|
-
archived: boolean;
|
|
3032
|
-
last_edited_time: string;
|
|
3033
3031
|
created_time: string;
|
|
3032
|
+
last_edited_time: string;
|
|
3034
3033
|
created_by: {
|
|
3035
3034
|
object: "user";
|
|
3036
3035
|
id: string;
|
|
@@ -3065,6 +3064,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3065
3064
|
workspace_name?: string | undefined;
|
|
3066
3065
|
} | undefined;
|
|
3067
3066
|
};
|
|
3067
|
+
archived: boolean;
|
|
3068
3068
|
icon?: {
|
|
3069
3069
|
type: "emoji";
|
|
3070
3070
|
emoji: string;
|
|
@@ -3101,9 +3101,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3101
3101
|
public_url?: string | null | undefined;
|
|
3102
3102
|
}, {
|
|
3103
3103
|
object: "page";
|
|
3104
|
+
id: string;
|
|
3104
3105
|
properties: Record<string, unknown>;
|
|
3105
3106
|
url: string;
|
|
3106
|
-
id: string;
|
|
3107
3107
|
parent: {
|
|
3108
3108
|
type: "page_id";
|
|
3109
3109
|
page_id: string;
|
|
@@ -3121,9 +3121,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3121
3121
|
type: "workspace";
|
|
3122
3122
|
workspace: true;
|
|
3123
3123
|
};
|
|
3124
|
-
archived: boolean;
|
|
3125
|
-
last_edited_time: string;
|
|
3126
3124
|
created_time: string;
|
|
3125
|
+
last_edited_time: string;
|
|
3127
3126
|
created_by: {
|
|
3128
3127
|
object: "user";
|
|
3129
3128
|
id: string;
|
|
@@ -3158,6 +3157,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3158
3157
|
workspace_name?: string | undefined;
|
|
3159
3158
|
} | undefined;
|
|
3160
3159
|
};
|
|
3160
|
+
archived: boolean;
|
|
3161
3161
|
icon?: {
|
|
3162
3162
|
type: "emoji";
|
|
3163
3163
|
emoji: string;
|
|
@@ -3194,14 +3194,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3194
3194
|
public_url?: string | null | undefined;
|
|
3195
3195
|
}>>;
|
|
3196
3196
|
}, "strip", z.ZodTypeAny, {
|
|
3197
|
-
error: string;
|
|
3198
|
-
success: boolean;
|
|
3199
3197
|
operation: "create_page";
|
|
3198
|
+
success: boolean;
|
|
3199
|
+
error: string;
|
|
3200
3200
|
page?: {
|
|
3201
3201
|
object: "page";
|
|
3202
|
+
id: string;
|
|
3202
3203
|
properties: Record<string, unknown>;
|
|
3203
3204
|
url: string;
|
|
3204
|
-
id: string;
|
|
3205
3205
|
parent: {
|
|
3206
3206
|
type: "page_id";
|
|
3207
3207
|
page_id: string;
|
|
@@ -3219,9 +3219,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3219
3219
|
type: "workspace";
|
|
3220
3220
|
workspace: true;
|
|
3221
3221
|
};
|
|
3222
|
-
archived: boolean;
|
|
3223
|
-
last_edited_time: string;
|
|
3224
3222
|
created_time: string;
|
|
3223
|
+
last_edited_time: string;
|
|
3225
3224
|
created_by: {
|
|
3226
3225
|
object: "user";
|
|
3227
3226
|
id: string;
|
|
@@ -3256,6 +3255,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3256
3255
|
workspace_name?: string | undefined;
|
|
3257
3256
|
} | undefined;
|
|
3258
3257
|
};
|
|
3258
|
+
archived: boolean;
|
|
3259
3259
|
icon?: {
|
|
3260
3260
|
type: "emoji";
|
|
3261
3261
|
emoji: string;
|
|
@@ -3292,14 +3292,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3292
3292
|
public_url?: string | null | undefined;
|
|
3293
3293
|
} | undefined;
|
|
3294
3294
|
}, {
|
|
3295
|
-
error: string;
|
|
3296
|
-
success: boolean;
|
|
3297
3295
|
operation: "create_page";
|
|
3296
|
+
success: boolean;
|
|
3297
|
+
error: string;
|
|
3298
3298
|
page?: {
|
|
3299
3299
|
object: "page";
|
|
3300
|
+
id: string;
|
|
3300
3301
|
properties: Record<string, unknown>;
|
|
3301
3302
|
url: string;
|
|
3302
|
-
id: string;
|
|
3303
3303
|
parent: {
|
|
3304
3304
|
type: "page_id";
|
|
3305
3305
|
page_id: string;
|
|
@@ -3317,9 +3317,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3317
3317
|
type: "workspace";
|
|
3318
3318
|
workspace: true;
|
|
3319
3319
|
};
|
|
3320
|
-
archived: boolean;
|
|
3321
|
-
last_edited_time: string;
|
|
3322
3320
|
created_time: string;
|
|
3321
|
+
last_edited_time: string;
|
|
3323
3322
|
created_by: {
|
|
3324
3323
|
object: "user";
|
|
3325
3324
|
id: string;
|
|
@@ -3354,6 +3353,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3354
3353
|
workspace_name?: string | undefined;
|
|
3355
3354
|
} | undefined;
|
|
3356
3355
|
};
|
|
3356
|
+
archived: boolean;
|
|
3357
3357
|
icon?: {
|
|
3358
3358
|
type: "emoji";
|
|
3359
3359
|
emoji: string;
|
|
@@ -3712,102 +3712,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3712
3712
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3713
3713
|
}, "strip", z.ZodTypeAny, {
|
|
3714
3714
|
object: "page";
|
|
3715
|
-
properties: Record<string, unknown>;
|
|
3716
|
-
url: string;
|
|
3717
3715
|
id: string;
|
|
3718
|
-
parent: {
|
|
3719
|
-
type: "page_id";
|
|
3720
|
-
page_id: string;
|
|
3721
|
-
} | {
|
|
3722
|
-
type: "database_id";
|
|
3723
|
-
database_id: string;
|
|
3724
|
-
} | {
|
|
3725
|
-
type: "data_source_id";
|
|
3726
|
-
data_source_id: string;
|
|
3727
|
-
database_id?: string | undefined;
|
|
3728
|
-
} | {
|
|
3729
|
-
type: "block_id";
|
|
3730
|
-
block_id: string;
|
|
3731
|
-
} | {
|
|
3732
|
-
type: "workspace";
|
|
3733
|
-
workspace: true;
|
|
3734
|
-
};
|
|
3735
|
-
archived: boolean;
|
|
3736
|
-
last_edited_time: string;
|
|
3737
|
-
created_time: string;
|
|
3738
|
-
created_by: {
|
|
3739
|
-
object: "user";
|
|
3740
|
-
id: string;
|
|
3741
|
-
type?: "person" | "bot" | undefined;
|
|
3742
|
-
name?: string | undefined;
|
|
3743
|
-
person?: {
|
|
3744
|
-
email?: string | undefined;
|
|
3745
|
-
} | undefined;
|
|
3746
|
-
avatar_url?: string | null | undefined;
|
|
3747
|
-
bot?: {
|
|
3748
|
-
owner?: {
|
|
3749
|
-
type: "user" | "workspace";
|
|
3750
|
-
workspace?: boolean | undefined;
|
|
3751
|
-
} | undefined;
|
|
3752
|
-
workspace_name?: string | undefined;
|
|
3753
|
-
} | undefined;
|
|
3754
|
-
};
|
|
3755
|
-
last_edited_by: {
|
|
3756
|
-
object: "user";
|
|
3757
|
-
id: string;
|
|
3758
|
-
type?: "person" | "bot" | undefined;
|
|
3759
|
-
name?: string | undefined;
|
|
3760
|
-
person?: {
|
|
3761
|
-
email?: string | undefined;
|
|
3762
|
-
} | undefined;
|
|
3763
|
-
avatar_url?: string | null | undefined;
|
|
3764
|
-
bot?: {
|
|
3765
|
-
owner?: {
|
|
3766
|
-
type: "user" | "workspace";
|
|
3767
|
-
workspace?: boolean | undefined;
|
|
3768
|
-
} | undefined;
|
|
3769
|
-
workspace_name?: string | undefined;
|
|
3770
|
-
} | undefined;
|
|
3771
|
-
};
|
|
3772
|
-
icon?: {
|
|
3773
|
-
type: "emoji";
|
|
3774
|
-
emoji: string;
|
|
3775
|
-
} | {
|
|
3776
|
-
type: "external";
|
|
3777
|
-
external: {
|
|
3778
|
-
url: string;
|
|
3779
|
-
};
|
|
3780
|
-
} | {
|
|
3781
|
-
type: "file";
|
|
3782
|
-
file: {
|
|
3783
|
-
url: string;
|
|
3784
|
-
expiry_time: string;
|
|
3785
|
-
};
|
|
3786
|
-
} | null | undefined;
|
|
3787
|
-
cover?: {
|
|
3788
|
-
type: "file";
|
|
3789
|
-
file: {
|
|
3790
|
-
url: string;
|
|
3791
|
-
expiry_time: string;
|
|
3792
|
-
};
|
|
3793
|
-
} | {
|
|
3794
|
-
type: "file_upload";
|
|
3795
|
-
file_upload: {
|
|
3796
|
-
id: string;
|
|
3797
|
-
};
|
|
3798
|
-
} | {
|
|
3799
|
-
type: "external";
|
|
3800
|
-
external: {
|
|
3801
|
-
url: string;
|
|
3802
|
-
};
|
|
3803
|
-
} | null | undefined;
|
|
3804
|
-
in_trash?: boolean | undefined;
|
|
3805
|
-
public_url?: string | null | undefined;
|
|
3806
|
-
}, {
|
|
3807
|
-
object: "page";
|
|
3808
3716
|
properties: Record<string, unknown>;
|
|
3809
3717
|
url: string;
|
|
3810
|
-
id: string;
|
|
3811
3718
|
parent: {
|
|
3812
3719
|
type: "page_id";
|
|
3813
3720
|
page_id: string;
|
|
@@ -3825,107 +3732,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3825
3732
|
type: "workspace";
|
|
3826
3733
|
workspace: true;
|
|
3827
3734
|
};
|
|
3828
|
-
archived: boolean;
|
|
3829
|
-
last_edited_time: string;
|
|
3830
3735
|
created_time: string;
|
|
3831
|
-
created_by: {
|
|
3832
|
-
object: "user";
|
|
3833
|
-
id: string;
|
|
3834
|
-
type?: "person" | "bot" | undefined;
|
|
3835
|
-
name?: string | undefined;
|
|
3836
|
-
person?: {
|
|
3837
|
-
email?: string | undefined;
|
|
3838
|
-
} | undefined;
|
|
3839
|
-
avatar_url?: string | null | undefined;
|
|
3840
|
-
bot?: {
|
|
3841
|
-
owner?: {
|
|
3842
|
-
type: "user" | "workspace";
|
|
3843
|
-
workspace?: boolean | undefined;
|
|
3844
|
-
} | undefined;
|
|
3845
|
-
workspace_name?: string | undefined;
|
|
3846
|
-
} | undefined;
|
|
3847
|
-
};
|
|
3848
|
-
last_edited_by: {
|
|
3849
|
-
object: "user";
|
|
3850
|
-
id: string;
|
|
3851
|
-
type?: "person" | "bot" | undefined;
|
|
3852
|
-
name?: string | undefined;
|
|
3853
|
-
person?: {
|
|
3854
|
-
email?: string | undefined;
|
|
3855
|
-
} | undefined;
|
|
3856
|
-
avatar_url?: string | null | undefined;
|
|
3857
|
-
bot?: {
|
|
3858
|
-
owner?: {
|
|
3859
|
-
type: "user" | "workspace";
|
|
3860
|
-
workspace?: boolean | undefined;
|
|
3861
|
-
} | undefined;
|
|
3862
|
-
workspace_name?: string | undefined;
|
|
3863
|
-
} | undefined;
|
|
3864
|
-
};
|
|
3865
|
-
icon?: {
|
|
3866
|
-
type: "emoji";
|
|
3867
|
-
emoji: string;
|
|
3868
|
-
} | {
|
|
3869
|
-
type: "external";
|
|
3870
|
-
external: {
|
|
3871
|
-
url: string;
|
|
3872
|
-
};
|
|
3873
|
-
} | {
|
|
3874
|
-
type: "file";
|
|
3875
|
-
file: {
|
|
3876
|
-
url: string;
|
|
3877
|
-
expiry_time: string;
|
|
3878
|
-
};
|
|
3879
|
-
} | null | undefined;
|
|
3880
|
-
cover?: {
|
|
3881
|
-
type: "file";
|
|
3882
|
-
file: {
|
|
3883
|
-
url: string;
|
|
3884
|
-
expiry_time: string;
|
|
3885
|
-
};
|
|
3886
|
-
} | {
|
|
3887
|
-
type: "file_upload";
|
|
3888
|
-
file_upload: {
|
|
3889
|
-
id: string;
|
|
3890
|
-
};
|
|
3891
|
-
} | {
|
|
3892
|
-
type: "external";
|
|
3893
|
-
external: {
|
|
3894
|
-
url: string;
|
|
3895
|
-
};
|
|
3896
|
-
} | null | undefined;
|
|
3897
|
-
in_trash?: boolean | undefined;
|
|
3898
|
-
public_url?: string | null | undefined;
|
|
3899
|
-
}>>;
|
|
3900
|
-
}, "strip", z.ZodTypeAny, {
|
|
3901
|
-
error: string;
|
|
3902
|
-
success: boolean;
|
|
3903
|
-
operation: "retrieve_page";
|
|
3904
|
-
page?: {
|
|
3905
|
-
object: "page";
|
|
3906
|
-
properties: Record<string, unknown>;
|
|
3907
|
-
url: string;
|
|
3908
|
-
id: string;
|
|
3909
|
-
parent: {
|
|
3910
|
-
type: "page_id";
|
|
3911
|
-
page_id: string;
|
|
3912
|
-
} | {
|
|
3913
|
-
type: "database_id";
|
|
3914
|
-
database_id: string;
|
|
3915
|
-
} | {
|
|
3916
|
-
type: "data_source_id";
|
|
3917
|
-
data_source_id: string;
|
|
3918
|
-
database_id?: string | undefined;
|
|
3919
|
-
} | {
|
|
3920
|
-
type: "block_id";
|
|
3921
|
-
block_id: string;
|
|
3922
|
-
} | {
|
|
3923
|
-
type: "workspace";
|
|
3924
|
-
workspace: true;
|
|
3925
|
-
};
|
|
3926
|
-
archived: boolean;
|
|
3927
3736
|
last_edited_time: string;
|
|
3928
|
-
created_time: string;
|
|
3929
3737
|
created_by: {
|
|
3930
3738
|
object: "user";
|
|
3931
3739
|
id: string;
|
|
@@ -3960,6 +3768,198 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3960
3768
|
workspace_name?: string | undefined;
|
|
3961
3769
|
} | undefined;
|
|
3962
3770
|
};
|
|
3771
|
+
archived: boolean;
|
|
3772
|
+
icon?: {
|
|
3773
|
+
type: "emoji";
|
|
3774
|
+
emoji: string;
|
|
3775
|
+
} | {
|
|
3776
|
+
type: "external";
|
|
3777
|
+
external: {
|
|
3778
|
+
url: string;
|
|
3779
|
+
};
|
|
3780
|
+
} | {
|
|
3781
|
+
type: "file";
|
|
3782
|
+
file: {
|
|
3783
|
+
url: string;
|
|
3784
|
+
expiry_time: string;
|
|
3785
|
+
};
|
|
3786
|
+
} | null | undefined;
|
|
3787
|
+
cover?: {
|
|
3788
|
+
type: "file";
|
|
3789
|
+
file: {
|
|
3790
|
+
url: string;
|
|
3791
|
+
expiry_time: string;
|
|
3792
|
+
};
|
|
3793
|
+
} | {
|
|
3794
|
+
type: "file_upload";
|
|
3795
|
+
file_upload: {
|
|
3796
|
+
id: string;
|
|
3797
|
+
};
|
|
3798
|
+
} | {
|
|
3799
|
+
type: "external";
|
|
3800
|
+
external: {
|
|
3801
|
+
url: string;
|
|
3802
|
+
};
|
|
3803
|
+
} | null | undefined;
|
|
3804
|
+
in_trash?: boolean | undefined;
|
|
3805
|
+
public_url?: string | null | undefined;
|
|
3806
|
+
}, {
|
|
3807
|
+
object: "page";
|
|
3808
|
+
id: string;
|
|
3809
|
+
properties: Record<string, unknown>;
|
|
3810
|
+
url: string;
|
|
3811
|
+
parent: {
|
|
3812
|
+
type: "page_id";
|
|
3813
|
+
page_id: string;
|
|
3814
|
+
} | {
|
|
3815
|
+
type: "database_id";
|
|
3816
|
+
database_id: string;
|
|
3817
|
+
} | {
|
|
3818
|
+
type: "data_source_id";
|
|
3819
|
+
data_source_id: string;
|
|
3820
|
+
database_id?: string | undefined;
|
|
3821
|
+
} | {
|
|
3822
|
+
type: "block_id";
|
|
3823
|
+
block_id: string;
|
|
3824
|
+
} | {
|
|
3825
|
+
type: "workspace";
|
|
3826
|
+
workspace: true;
|
|
3827
|
+
};
|
|
3828
|
+
created_time: string;
|
|
3829
|
+
last_edited_time: string;
|
|
3830
|
+
created_by: {
|
|
3831
|
+
object: "user";
|
|
3832
|
+
id: string;
|
|
3833
|
+
type?: "person" | "bot" | undefined;
|
|
3834
|
+
name?: string | undefined;
|
|
3835
|
+
person?: {
|
|
3836
|
+
email?: string | undefined;
|
|
3837
|
+
} | undefined;
|
|
3838
|
+
avatar_url?: string | null | undefined;
|
|
3839
|
+
bot?: {
|
|
3840
|
+
owner?: {
|
|
3841
|
+
type: "user" | "workspace";
|
|
3842
|
+
workspace?: boolean | undefined;
|
|
3843
|
+
} | undefined;
|
|
3844
|
+
workspace_name?: string | undefined;
|
|
3845
|
+
} | undefined;
|
|
3846
|
+
};
|
|
3847
|
+
last_edited_by: {
|
|
3848
|
+
object: "user";
|
|
3849
|
+
id: string;
|
|
3850
|
+
type?: "person" | "bot" | undefined;
|
|
3851
|
+
name?: string | undefined;
|
|
3852
|
+
person?: {
|
|
3853
|
+
email?: string | undefined;
|
|
3854
|
+
} | undefined;
|
|
3855
|
+
avatar_url?: string | null | undefined;
|
|
3856
|
+
bot?: {
|
|
3857
|
+
owner?: {
|
|
3858
|
+
type: "user" | "workspace";
|
|
3859
|
+
workspace?: boolean | undefined;
|
|
3860
|
+
} | undefined;
|
|
3861
|
+
workspace_name?: string | undefined;
|
|
3862
|
+
} | undefined;
|
|
3863
|
+
};
|
|
3864
|
+
archived: boolean;
|
|
3865
|
+
icon?: {
|
|
3866
|
+
type: "emoji";
|
|
3867
|
+
emoji: string;
|
|
3868
|
+
} | {
|
|
3869
|
+
type: "external";
|
|
3870
|
+
external: {
|
|
3871
|
+
url: string;
|
|
3872
|
+
};
|
|
3873
|
+
} | {
|
|
3874
|
+
type: "file";
|
|
3875
|
+
file: {
|
|
3876
|
+
url: string;
|
|
3877
|
+
expiry_time: string;
|
|
3878
|
+
};
|
|
3879
|
+
} | null | undefined;
|
|
3880
|
+
cover?: {
|
|
3881
|
+
type: "file";
|
|
3882
|
+
file: {
|
|
3883
|
+
url: string;
|
|
3884
|
+
expiry_time: string;
|
|
3885
|
+
};
|
|
3886
|
+
} | {
|
|
3887
|
+
type: "file_upload";
|
|
3888
|
+
file_upload: {
|
|
3889
|
+
id: string;
|
|
3890
|
+
};
|
|
3891
|
+
} | {
|
|
3892
|
+
type: "external";
|
|
3893
|
+
external: {
|
|
3894
|
+
url: string;
|
|
3895
|
+
};
|
|
3896
|
+
} | null | undefined;
|
|
3897
|
+
in_trash?: boolean | undefined;
|
|
3898
|
+
public_url?: string | null | undefined;
|
|
3899
|
+
}>>;
|
|
3900
|
+
}, "strip", z.ZodTypeAny, {
|
|
3901
|
+
operation: "retrieve_page";
|
|
3902
|
+
success: boolean;
|
|
3903
|
+
error: string;
|
|
3904
|
+
page?: {
|
|
3905
|
+
object: "page";
|
|
3906
|
+
id: string;
|
|
3907
|
+
properties: Record<string, unknown>;
|
|
3908
|
+
url: string;
|
|
3909
|
+
parent: {
|
|
3910
|
+
type: "page_id";
|
|
3911
|
+
page_id: string;
|
|
3912
|
+
} | {
|
|
3913
|
+
type: "database_id";
|
|
3914
|
+
database_id: string;
|
|
3915
|
+
} | {
|
|
3916
|
+
type: "data_source_id";
|
|
3917
|
+
data_source_id: string;
|
|
3918
|
+
database_id?: string | undefined;
|
|
3919
|
+
} | {
|
|
3920
|
+
type: "block_id";
|
|
3921
|
+
block_id: string;
|
|
3922
|
+
} | {
|
|
3923
|
+
type: "workspace";
|
|
3924
|
+
workspace: true;
|
|
3925
|
+
};
|
|
3926
|
+
created_time: string;
|
|
3927
|
+
last_edited_time: string;
|
|
3928
|
+
created_by: {
|
|
3929
|
+
object: "user";
|
|
3930
|
+
id: string;
|
|
3931
|
+
type?: "person" | "bot" | undefined;
|
|
3932
|
+
name?: string | undefined;
|
|
3933
|
+
person?: {
|
|
3934
|
+
email?: string | undefined;
|
|
3935
|
+
} | undefined;
|
|
3936
|
+
avatar_url?: string | null | undefined;
|
|
3937
|
+
bot?: {
|
|
3938
|
+
owner?: {
|
|
3939
|
+
type: "user" | "workspace";
|
|
3940
|
+
workspace?: boolean | undefined;
|
|
3941
|
+
} | undefined;
|
|
3942
|
+
workspace_name?: string | undefined;
|
|
3943
|
+
} | undefined;
|
|
3944
|
+
};
|
|
3945
|
+
last_edited_by: {
|
|
3946
|
+
object: "user";
|
|
3947
|
+
id: string;
|
|
3948
|
+
type?: "person" | "bot" | undefined;
|
|
3949
|
+
name?: string | undefined;
|
|
3950
|
+
person?: {
|
|
3951
|
+
email?: string | undefined;
|
|
3952
|
+
} | undefined;
|
|
3953
|
+
avatar_url?: string | null | undefined;
|
|
3954
|
+
bot?: {
|
|
3955
|
+
owner?: {
|
|
3956
|
+
type: "user" | "workspace";
|
|
3957
|
+
workspace?: boolean | undefined;
|
|
3958
|
+
} | undefined;
|
|
3959
|
+
workspace_name?: string | undefined;
|
|
3960
|
+
} | undefined;
|
|
3961
|
+
};
|
|
3962
|
+
archived: boolean;
|
|
3963
3963
|
icon?: {
|
|
3964
3964
|
type: "emoji";
|
|
3965
3965
|
emoji: string;
|
|
@@ -3996,14 +3996,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3996
3996
|
public_url?: string | null | undefined;
|
|
3997
3997
|
} | undefined;
|
|
3998
3998
|
}, {
|
|
3999
|
-
error: string;
|
|
4000
|
-
success: boolean;
|
|
4001
3999
|
operation: "retrieve_page";
|
|
4000
|
+
success: boolean;
|
|
4001
|
+
error: string;
|
|
4002
4002
|
page?: {
|
|
4003
4003
|
object: "page";
|
|
4004
|
+
id: string;
|
|
4004
4005
|
properties: Record<string, unknown>;
|
|
4005
4006
|
url: string;
|
|
4006
|
-
id: string;
|
|
4007
4007
|
parent: {
|
|
4008
4008
|
type: "page_id";
|
|
4009
4009
|
page_id: string;
|
|
@@ -4021,9 +4021,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4021
4021
|
type: "workspace";
|
|
4022
4022
|
workspace: true;
|
|
4023
4023
|
};
|
|
4024
|
-
archived: boolean;
|
|
4025
|
-
last_edited_time: string;
|
|
4026
4024
|
created_time: string;
|
|
4025
|
+
last_edited_time: string;
|
|
4027
4026
|
created_by: {
|
|
4028
4027
|
object: "user";
|
|
4029
4028
|
id: string;
|
|
@@ -4058,6 +4057,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4058
4057
|
workspace_name?: string | undefined;
|
|
4059
4058
|
} | undefined;
|
|
4060
4059
|
};
|
|
4060
|
+
archived: boolean;
|
|
4061
4061
|
icon?: {
|
|
4062
4062
|
type: "emoji";
|
|
4063
4063
|
emoji: string;
|
|
@@ -4416,9 +4416,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4416
4416
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4417
4417
|
}, "strip", z.ZodTypeAny, {
|
|
4418
4418
|
object: "page";
|
|
4419
|
+
id: string;
|
|
4419
4420
|
properties: Record<string, unknown>;
|
|
4420
4421
|
url: string;
|
|
4421
|
-
id: string;
|
|
4422
4422
|
parent: {
|
|
4423
4423
|
type: "page_id";
|
|
4424
4424
|
page_id: string;
|
|
@@ -4436,9 +4436,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4436
4436
|
type: "workspace";
|
|
4437
4437
|
workspace: true;
|
|
4438
4438
|
};
|
|
4439
|
-
archived: boolean;
|
|
4440
|
-
last_edited_time: string;
|
|
4441
4439
|
created_time: string;
|
|
4440
|
+
last_edited_time: string;
|
|
4442
4441
|
created_by: {
|
|
4443
4442
|
object: "user";
|
|
4444
4443
|
id: string;
|
|
@@ -4473,6 +4472,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4473
4472
|
workspace_name?: string | undefined;
|
|
4474
4473
|
} | undefined;
|
|
4475
4474
|
};
|
|
4475
|
+
archived: boolean;
|
|
4476
4476
|
icon?: {
|
|
4477
4477
|
type: "emoji";
|
|
4478
4478
|
emoji: string;
|
|
@@ -4509,9 +4509,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4509
4509
|
public_url?: string | null | undefined;
|
|
4510
4510
|
}, {
|
|
4511
4511
|
object: "page";
|
|
4512
|
+
id: string;
|
|
4512
4513
|
properties: Record<string, unknown>;
|
|
4513
4514
|
url: string;
|
|
4514
|
-
id: string;
|
|
4515
4515
|
parent: {
|
|
4516
4516
|
type: "page_id";
|
|
4517
4517
|
page_id: string;
|
|
@@ -4529,9 +4529,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4529
4529
|
type: "workspace";
|
|
4530
4530
|
workspace: true;
|
|
4531
4531
|
};
|
|
4532
|
-
archived: boolean;
|
|
4533
|
-
last_edited_time: string;
|
|
4534
4532
|
created_time: string;
|
|
4533
|
+
last_edited_time: string;
|
|
4535
4534
|
created_by: {
|
|
4536
4535
|
object: "user";
|
|
4537
4536
|
id: string;
|
|
@@ -4566,6 +4565,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4566
4565
|
workspace_name?: string | undefined;
|
|
4567
4566
|
} | undefined;
|
|
4568
4567
|
};
|
|
4568
|
+
archived: boolean;
|
|
4569
4569
|
icon?: {
|
|
4570
4570
|
type: "emoji";
|
|
4571
4571
|
emoji: string;
|
|
@@ -4602,14 +4602,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4602
4602
|
public_url?: string | null | undefined;
|
|
4603
4603
|
}>>;
|
|
4604
4604
|
}, "strip", z.ZodTypeAny, {
|
|
4605
|
-
error: string;
|
|
4606
|
-
success: boolean;
|
|
4607
4605
|
operation: "update_page";
|
|
4606
|
+
success: boolean;
|
|
4607
|
+
error: string;
|
|
4608
4608
|
page?: {
|
|
4609
4609
|
object: "page";
|
|
4610
|
+
id: string;
|
|
4610
4611
|
properties: Record<string, unknown>;
|
|
4611
4612
|
url: string;
|
|
4612
|
-
id: string;
|
|
4613
4613
|
parent: {
|
|
4614
4614
|
type: "page_id";
|
|
4615
4615
|
page_id: string;
|
|
@@ -4627,9 +4627,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4627
4627
|
type: "workspace";
|
|
4628
4628
|
workspace: true;
|
|
4629
4629
|
};
|
|
4630
|
-
archived: boolean;
|
|
4631
|
-
last_edited_time: string;
|
|
4632
4630
|
created_time: string;
|
|
4631
|
+
last_edited_time: string;
|
|
4633
4632
|
created_by: {
|
|
4634
4633
|
object: "user";
|
|
4635
4634
|
id: string;
|
|
@@ -4664,6 +4663,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4664
4663
|
workspace_name?: string | undefined;
|
|
4665
4664
|
} | undefined;
|
|
4666
4665
|
};
|
|
4666
|
+
archived: boolean;
|
|
4667
4667
|
icon?: {
|
|
4668
4668
|
type: "emoji";
|
|
4669
4669
|
emoji: string;
|
|
@@ -4700,14 +4700,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4700
4700
|
public_url?: string | null | undefined;
|
|
4701
4701
|
} | undefined;
|
|
4702
4702
|
}, {
|
|
4703
|
-
error: string;
|
|
4704
|
-
success: boolean;
|
|
4705
4703
|
operation: "update_page";
|
|
4704
|
+
success: boolean;
|
|
4705
|
+
error: string;
|
|
4706
4706
|
page?: {
|
|
4707
4707
|
object: "page";
|
|
4708
|
+
id: string;
|
|
4708
4709
|
properties: Record<string, unknown>;
|
|
4709
4710
|
url: string;
|
|
4710
|
-
id: string;
|
|
4711
4711
|
parent: {
|
|
4712
4712
|
type: "page_id";
|
|
4713
4713
|
page_id: string;
|
|
@@ -4725,9 +4725,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4725
4725
|
type: "workspace";
|
|
4726
4726
|
workspace: true;
|
|
4727
4727
|
};
|
|
4728
|
-
archived: boolean;
|
|
4729
|
-
last_edited_time: string;
|
|
4730
4728
|
created_time: string;
|
|
4729
|
+
last_edited_time: string;
|
|
4731
4730
|
created_by: {
|
|
4732
4731
|
object: "user";
|
|
4733
4732
|
id: string;
|
|
@@ -4762,6 +4761,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4762
4761
|
workspace_name?: string | undefined;
|
|
4763
4762
|
} | undefined;
|
|
4764
4763
|
};
|
|
4764
|
+
archived: boolean;
|
|
4765
4765
|
icon?: {
|
|
4766
4766
|
type: "emoji";
|
|
4767
4767
|
emoji: string;
|
|
@@ -5260,8 +5260,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5260
5260
|
};
|
|
5261
5261
|
}>]>>>;
|
|
5262
5262
|
}, "strip", z.ZodTypeAny, {
|
|
5263
|
-
name: string;
|
|
5264
5263
|
id: string;
|
|
5264
|
+
name: string;
|
|
5265
5265
|
icon?: {
|
|
5266
5266
|
type: "emoji";
|
|
5267
5267
|
emoji: string;
|
|
@@ -5295,8 +5295,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5295
5295
|
};
|
|
5296
5296
|
} | null | undefined;
|
|
5297
5297
|
}, {
|
|
5298
|
-
name: string;
|
|
5299
5298
|
id: string;
|
|
5299
|
+
name: string;
|
|
5300
5300
|
icon?: {
|
|
5301
5301
|
type: "emoji";
|
|
5302
5302
|
emoji: string;
|
|
@@ -5334,6 +5334,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5334
5334
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5335
5335
|
}, "strip", z.ZodTypeAny, {
|
|
5336
5336
|
object: "database";
|
|
5337
|
+
id: string;
|
|
5337
5338
|
title: {
|
|
5338
5339
|
type: "text" | "mention" | "equation";
|
|
5339
5340
|
text?: {
|
|
@@ -5353,7 +5354,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5353
5354
|
} | undefined;
|
|
5354
5355
|
href?: string | null | undefined;
|
|
5355
5356
|
}[];
|
|
5356
|
-
id: string;
|
|
5357
5357
|
parent: {
|
|
5358
5358
|
type: "page_id";
|
|
5359
5359
|
page_id: string;
|
|
@@ -5371,11 +5371,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5371
5371
|
type: "workspace";
|
|
5372
5372
|
workspace: true;
|
|
5373
5373
|
};
|
|
5374
|
-
last_edited_time: string;
|
|
5375
5374
|
created_time: string;
|
|
5375
|
+
last_edited_time: string;
|
|
5376
5376
|
data_sources: {
|
|
5377
|
-
name: string;
|
|
5378
5377
|
id: string;
|
|
5378
|
+
name: string;
|
|
5379
5379
|
icon?: {
|
|
5380
5380
|
type: "emoji";
|
|
5381
5381
|
emoji: string;
|
|
@@ -5463,10 +5463,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5463
5463
|
};
|
|
5464
5464
|
} | null | undefined;
|
|
5465
5465
|
in_trash?: boolean | undefined;
|
|
5466
|
-
is_inline?: boolean | undefined;
|
|
5467
5466
|
public_url?: string | null | undefined;
|
|
5467
|
+
is_inline?: boolean | undefined;
|
|
5468
5468
|
}, {
|
|
5469
5469
|
object: "database";
|
|
5470
|
+
id: string;
|
|
5470
5471
|
title: {
|
|
5471
5472
|
type: "text" | "mention" | "equation";
|
|
5472
5473
|
text?: {
|
|
@@ -5486,7 +5487,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5486
5487
|
} | undefined;
|
|
5487
5488
|
href?: string | null | undefined;
|
|
5488
5489
|
}[];
|
|
5489
|
-
id: string;
|
|
5490
5490
|
parent: {
|
|
5491
5491
|
type: "page_id";
|
|
5492
5492
|
page_id: string;
|
|
@@ -5504,11 +5504,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5504
5504
|
type: "workspace";
|
|
5505
5505
|
workspace: true;
|
|
5506
5506
|
};
|
|
5507
|
-
last_edited_time: string;
|
|
5508
5507
|
created_time: string;
|
|
5508
|
+
last_edited_time: string;
|
|
5509
5509
|
data_sources: {
|
|
5510
|
-
name: string;
|
|
5511
5510
|
id: string;
|
|
5511
|
+
name: string;
|
|
5512
5512
|
icon?: {
|
|
5513
5513
|
type: "emoji";
|
|
5514
5514
|
emoji: string;
|
|
@@ -5596,15 +5596,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5596
5596
|
};
|
|
5597
5597
|
} | null | undefined;
|
|
5598
5598
|
in_trash?: boolean | undefined;
|
|
5599
|
-
is_inline?: boolean | undefined;
|
|
5600
5599
|
public_url?: string | null | undefined;
|
|
5600
|
+
is_inline?: boolean | undefined;
|
|
5601
5601
|
}>>;
|
|
5602
5602
|
}, "strip", z.ZodTypeAny, {
|
|
5603
|
-
error: string;
|
|
5604
|
-
success: boolean;
|
|
5605
5603
|
operation: "retrieve_database";
|
|
5604
|
+
success: boolean;
|
|
5605
|
+
error: string;
|
|
5606
5606
|
database?: {
|
|
5607
5607
|
object: "database";
|
|
5608
|
+
id: string;
|
|
5608
5609
|
title: {
|
|
5609
5610
|
type: "text" | "mention" | "equation";
|
|
5610
5611
|
text?: {
|
|
@@ -5624,7 +5625,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5624
5625
|
} | undefined;
|
|
5625
5626
|
href?: string | null | undefined;
|
|
5626
5627
|
}[];
|
|
5627
|
-
id: string;
|
|
5628
5628
|
parent: {
|
|
5629
5629
|
type: "page_id";
|
|
5630
5630
|
page_id: string;
|
|
@@ -5642,11 +5642,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5642
5642
|
type: "workspace";
|
|
5643
5643
|
workspace: true;
|
|
5644
5644
|
};
|
|
5645
|
-
last_edited_time: string;
|
|
5646
5645
|
created_time: string;
|
|
5646
|
+
last_edited_time: string;
|
|
5647
5647
|
data_sources: {
|
|
5648
|
-
name: string;
|
|
5649
5648
|
id: string;
|
|
5649
|
+
name: string;
|
|
5650
5650
|
icon?: {
|
|
5651
5651
|
type: "emoji";
|
|
5652
5652
|
emoji: string;
|
|
@@ -5734,15 +5734,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5734
5734
|
};
|
|
5735
5735
|
} | null | undefined;
|
|
5736
5736
|
in_trash?: boolean | undefined;
|
|
5737
|
-
is_inline?: boolean | undefined;
|
|
5738
5737
|
public_url?: string | null | undefined;
|
|
5738
|
+
is_inline?: boolean | undefined;
|
|
5739
5739
|
} | undefined;
|
|
5740
5740
|
}, {
|
|
5741
|
-
error: string;
|
|
5742
|
-
success: boolean;
|
|
5743
5741
|
operation: "retrieve_database";
|
|
5742
|
+
success: boolean;
|
|
5743
|
+
error: string;
|
|
5744
5744
|
database?: {
|
|
5745
5745
|
object: "database";
|
|
5746
|
+
id: string;
|
|
5746
5747
|
title: {
|
|
5747
5748
|
type: "text" | "mention" | "equation";
|
|
5748
5749
|
text?: {
|
|
@@ -5762,7 +5763,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5762
5763
|
} | undefined;
|
|
5763
5764
|
href?: string | null | undefined;
|
|
5764
5765
|
}[];
|
|
5765
|
-
id: string;
|
|
5766
5766
|
parent: {
|
|
5767
5767
|
type: "page_id";
|
|
5768
5768
|
page_id: string;
|
|
@@ -5780,11 +5780,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5780
5780
|
type: "workspace";
|
|
5781
5781
|
workspace: true;
|
|
5782
5782
|
};
|
|
5783
|
-
last_edited_time: string;
|
|
5784
5783
|
created_time: string;
|
|
5784
|
+
last_edited_time: string;
|
|
5785
5785
|
data_sources: {
|
|
5786
|
-
name: string;
|
|
5787
5786
|
id: string;
|
|
5787
|
+
name: string;
|
|
5788
5788
|
icon?: {
|
|
5789
5789
|
type: "emoji";
|
|
5790
5790
|
emoji: string;
|
|
@@ -5872,8 +5872,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5872
5872
|
};
|
|
5873
5873
|
} | null | undefined;
|
|
5874
5874
|
in_trash?: boolean | undefined;
|
|
5875
|
-
is_inline?: boolean | undefined;
|
|
5876
5875
|
public_url?: string | null | undefined;
|
|
5876
|
+
is_inline?: boolean | undefined;
|
|
5877
5877
|
} | undefined;
|
|
5878
5878
|
}>, z.ZodObject<{
|
|
5879
5879
|
operation: z.ZodLiteral<"retrieve_data_source">;
|
|
@@ -7219,9 +7219,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
7219
7219
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7220
7220
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
7221
7221
|
}, "strip", z.ZodTypeAny, {
|
|
7222
|
-
error: string;
|
|
7223
|
-
success: boolean;
|
|
7224
7222
|
operation: "retrieve_data_source";
|
|
7223
|
+
success: boolean;
|
|
7224
|
+
error: string;
|
|
7225
7225
|
data_source?: z.objectOutputType<{
|
|
7226
7226
|
object: z.ZodLiteral<"data_source">;
|
|
7227
7227
|
id: z.ZodString;
|
|
@@ -7670,9 +7670,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
7670
7670
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7671
7671
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
7672
7672
|
}, {
|
|
7673
|
-
error: string;
|
|
7674
|
-
success: boolean;
|
|
7675
7673
|
operation: "retrieve_data_source";
|
|
7674
|
+
success: boolean;
|
|
7675
|
+
error: string;
|
|
7676
7676
|
data_source?: z.objectInputType<{
|
|
7677
7677
|
object: z.ZodLiteral<"data_source">;
|
|
7678
7678
|
id: z.ZodString;
|
|
@@ -8179,11 +8179,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
8179
8179
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8180
8180
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
8181
8181
|
}, "strip", z.ZodTypeAny, {
|
|
8182
|
-
error: string;
|
|
8183
|
-
success: boolean;
|
|
8184
8182
|
operation: "query_data_source";
|
|
8185
|
-
|
|
8186
|
-
|
|
8183
|
+
success: boolean;
|
|
8184
|
+
error: string;
|
|
8187
8185
|
results?: z.objectOutputType<{
|
|
8188
8186
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
8189
8187
|
id: z.ZodString;
|
|
@@ -8202,12 +8200,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
8202
8200
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
8203
8201
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
8204
8202
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
8205
|
-
}, {
|
|
8206
|
-
error: string;
|
|
8207
|
-
success: boolean;
|
|
8208
|
-
operation: "query_data_source";
|
|
8209
8203
|
next_cursor?: string | null | undefined;
|
|
8210
8204
|
has_more?: boolean | undefined;
|
|
8205
|
+
}, {
|
|
8206
|
+
operation: "query_data_source";
|
|
8207
|
+
success: boolean;
|
|
8208
|
+
error: string;
|
|
8211
8209
|
results?: z.objectInputType<{
|
|
8212
8210
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
8213
8211
|
id: z.ZodString;
|
|
@@ -8226,6 +8224,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
8226
8224
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
8227
8225
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
8228
8226
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
8227
|
+
next_cursor?: string | null | undefined;
|
|
8228
|
+
has_more?: boolean | undefined;
|
|
8229
8229
|
}>, z.ZodObject<{
|
|
8230
8230
|
operation: z.ZodLiteral<"create_data_source">;
|
|
8231
8231
|
success: z.ZodBoolean;
|
|
@@ -9570,9 +9570,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
9570
9570
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9571
9571
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
9572
9572
|
}, "strip", z.ZodTypeAny, {
|
|
9573
|
-
error: string;
|
|
9574
|
-
success: boolean;
|
|
9575
9573
|
operation: "create_data_source";
|
|
9574
|
+
success: boolean;
|
|
9575
|
+
error: string;
|
|
9576
9576
|
dataSource?: z.objectOutputType<{
|
|
9577
9577
|
object: z.ZodLiteral<"data_source">;
|
|
9578
9578
|
id: z.ZodString;
|
|
@@ -10021,9 +10021,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
10021
10021
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10022
10022
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
10023
10023
|
}, {
|
|
10024
|
-
error: string;
|
|
10025
|
-
success: boolean;
|
|
10026
10024
|
operation: "create_data_source";
|
|
10025
|
+
success: boolean;
|
|
10026
|
+
error: string;
|
|
10027
10027
|
dataSource?: z.objectInputType<{
|
|
10028
10028
|
object: z.ZodLiteral<"data_source">;
|
|
10029
10029
|
id: z.ZodString;
|
|
@@ -11815,9 +11815,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
11815
11815
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11816
11816
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
11817
11817
|
}, "strip", z.ZodTypeAny, {
|
|
11818
|
-
error: string;
|
|
11819
|
-
success: boolean;
|
|
11820
11818
|
operation: "update_data_source";
|
|
11819
|
+
success: boolean;
|
|
11820
|
+
error: string;
|
|
11821
11821
|
dataSource?: z.objectOutputType<{
|
|
11822
11822
|
object: z.ZodLiteral<"data_source">;
|
|
11823
11823
|
id: z.ZodString;
|
|
@@ -12266,9 +12266,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
12266
12266
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12267
12267
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
12268
12268
|
}, {
|
|
12269
|
-
error: string;
|
|
12270
|
-
success: boolean;
|
|
12271
12269
|
operation: "update_data_source";
|
|
12270
|
+
success: boolean;
|
|
12271
|
+
error: string;
|
|
12272
12272
|
dataSource?: z.objectInputType<{
|
|
12273
12273
|
object: z.ZodLiteral<"data_source">;
|
|
12274
12274
|
id: z.ZodString;
|
|
@@ -13179,8 +13179,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13179
13179
|
};
|
|
13180
13180
|
}>]>>>;
|
|
13181
13181
|
}, "strip", z.ZodTypeAny, {
|
|
13182
|
-
name: string;
|
|
13183
13182
|
id: string;
|
|
13183
|
+
name: string;
|
|
13184
13184
|
icon?: {
|
|
13185
13185
|
type: "emoji";
|
|
13186
13186
|
emoji: string;
|
|
@@ -13214,8 +13214,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13214
13214
|
};
|
|
13215
13215
|
} | null | undefined;
|
|
13216
13216
|
}, {
|
|
13217
|
-
name: string;
|
|
13218
13217
|
id: string;
|
|
13218
|
+
name: string;
|
|
13219
13219
|
icon?: {
|
|
13220
13220
|
type: "emoji";
|
|
13221
13221
|
emoji: string;
|
|
@@ -13253,6 +13253,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13253
13253
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13254
13254
|
}, "strip", z.ZodTypeAny, {
|
|
13255
13255
|
object: "database";
|
|
13256
|
+
id: string;
|
|
13256
13257
|
title: {
|
|
13257
13258
|
type: "text" | "mention" | "equation";
|
|
13258
13259
|
text?: {
|
|
@@ -13272,7 +13273,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13272
13273
|
} | undefined;
|
|
13273
13274
|
href?: string | null | undefined;
|
|
13274
13275
|
}[];
|
|
13275
|
-
id: string;
|
|
13276
13276
|
parent: {
|
|
13277
13277
|
type: "page_id";
|
|
13278
13278
|
page_id: string;
|
|
@@ -13290,11 +13290,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13290
13290
|
type: "workspace";
|
|
13291
13291
|
workspace: true;
|
|
13292
13292
|
};
|
|
13293
|
-
last_edited_time: string;
|
|
13294
13293
|
created_time: string;
|
|
13294
|
+
last_edited_time: string;
|
|
13295
13295
|
data_sources: {
|
|
13296
|
-
name: string;
|
|
13297
13296
|
id: string;
|
|
13297
|
+
name: string;
|
|
13298
13298
|
icon?: {
|
|
13299
13299
|
type: "emoji";
|
|
13300
13300
|
emoji: string;
|
|
@@ -13382,10 +13382,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13382
13382
|
};
|
|
13383
13383
|
} | null | undefined;
|
|
13384
13384
|
in_trash?: boolean | undefined;
|
|
13385
|
-
is_inline?: boolean | undefined;
|
|
13386
13385
|
public_url?: string | null | undefined;
|
|
13386
|
+
is_inline?: boolean | undefined;
|
|
13387
13387
|
}, {
|
|
13388
13388
|
object: "database";
|
|
13389
|
+
id: string;
|
|
13389
13390
|
title: {
|
|
13390
13391
|
type: "text" | "mention" | "equation";
|
|
13391
13392
|
text?: {
|
|
@@ -13405,7 +13406,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13405
13406
|
} | undefined;
|
|
13406
13407
|
href?: string | null | undefined;
|
|
13407
13408
|
}[];
|
|
13408
|
-
id: string;
|
|
13409
13409
|
parent: {
|
|
13410
13410
|
type: "page_id";
|
|
13411
13411
|
page_id: string;
|
|
@@ -13423,11 +13423,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13423
13423
|
type: "workspace";
|
|
13424
13424
|
workspace: true;
|
|
13425
13425
|
};
|
|
13426
|
-
last_edited_time: string;
|
|
13427
13426
|
created_time: string;
|
|
13427
|
+
last_edited_time: string;
|
|
13428
13428
|
data_sources: {
|
|
13429
|
-
name: string;
|
|
13430
13429
|
id: string;
|
|
13430
|
+
name: string;
|
|
13431
13431
|
icon?: {
|
|
13432
13432
|
type: "emoji";
|
|
13433
13433
|
emoji: string;
|
|
@@ -13515,15 +13515,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13515
13515
|
};
|
|
13516
13516
|
} | null | undefined;
|
|
13517
13517
|
in_trash?: boolean | undefined;
|
|
13518
|
-
is_inline?: boolean | undefined;
|
|
13519
13518
|
public_url?: string | null | undefined;
|
|
13519
|
+
is_inline?: boolean | undefined;
|
|
13520
13520
|
}>>;
|
|
13521
13521
|
}, "strip", z.ZodTypeAny, {
|
|
13522
|
-
error: string;
|
|
13523
|
-
success: boolean;
|
|
13524
13522
|
operation: "create_database";
|
|
13523
|
+
success: boolean;
|
|
13524
|
+
error: string;
|
|
13525
13525
|
database?: {
|
|
13526
13526
|
object: "database";
|
|
13527
|
+
id: string;
|
|
13527
13528
|
title: {
|
|
13528
13529
|
type: "text" | "mention" | "equation";
|
|
13529
13530
|
text?: {
|
|
@@ -13543,7 +13544,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13543
13544
|
} | undefined;
|
|
13544
13545
|
href?: string | null | undefined;
|
|
13545
13546
|
}[];
|
|
13546
|
-
id: string;
|
|
13547
13547
|
parent: {
|
|
13548
13548
|
type: "page_id";
|
|
13549
13549
|
page_id: string;
|
|
@@ -13561,11 +13561,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13561
13561
|
type: "workspace";
|
|
13562
13562
|
workspace: true;
|
|
13563
13563
|
};
|
|
13564
|
-
last_edited_time: string;
|
|
13565
13564
|
created_time: string;
|
|
13565
|
+
last_edited_time: string;
|
|
13566
13566
|
data_sources: {
|
|
13567
|
-
name: string;
|
|
13568
13567
|
id: string;
|
|
13568
|
+
name: string;
|
|
13569
13569
|
icon?: {
|
|
13570
13570
|
type: "emoji";
|
|
13571
13571
|
emoji: string;
|
|
@@ -13653,15 +13653,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13653
13653
|
};
|
|
13654
13654
|
} | null | undefined;
|
|
13655
13655
|
in_trash?: boolean | undefined;
|
|
13656
|
-
is_inline?: boolean | undefined;
|
|
13657
13656
|
public_url?: string | null | undefined;
|
|
13657
|
+
is_inline?: boolean | undefined;
|
|
13658
13658
|
} | undefined;
|
|
13659
13659
|
}, {
|
|
13660
|
-
error: string;
|
|
13661
|
-
success: boolean;
|
|
13662
13660
|
operation: "create_database";
|
|
13661
|
+
success: boolean;
|
|
13662
|
+
error: string;
|
|
13663
13663
|
database?: {
|
|
13664
13664
|
object: "database";
|
|
13665
|
+
id: string;
|
|
13665
13666
|
title: {
|
|
13666
13667
|
type: "text" | "mention" | "equation";
|
|
13667
13668
|
text?: {
|
|
@@ -13681,7 +13682,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13681
13682
|
} | undefined;
|
|
13682
13683
|
href?: string | null | undefined;
|
|
13683
13684
|
}[];
|
|
13684
|
-
id: string;
|
|
13685
13685
|
parent: {
|
|
13686
13686
|
type: "page_id";
|
|
13687
13687
|
page_id: string;
|
|
@@ -13699,11 +13699,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13699
13699
|
type: "workspace";
|
|
13700
13700
|
workspace: true;
|
|
13701
13701
|
};
|
|
13702
|
-
last_edited_time: string;
|
|
13703
13702
|
created_time: string;
|
|
13703
|
+
last_edited_time: string;
|
|
13704
13704
|
data_sources: {
|
|
13705
|
-
name: string;
|
|
13706
13705
|
id: string;
|
|
13706
|
+
name: string;
|
|
13707
13707
|
icon?: {
|
|
13708
13708
|
type: "emoji";
|
|
13709
13709
|
emoji: string;
|
|
@@ -13791,8 +13791,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13791
13791
|
};
|
|
13792
13792
|
} | null | undefined;
|
|
13793
13793
|
in_trash?: boolean | undefined;
|
|
13794
|
-
is_inline?: boolean | undefined;
|
|
13795
13794
|
public_url?: string | null | undefined;
|
|
13795
|
+
is_inline?: boolean | undefined;
|
|
13796
13796
|
} | undefined;
|
|
13797
13797
|
}>, z.ZodObject<{
|
|
13798
13798
|
operation: z.ZodLiteral<"update_database">;
|
|
@@ -14257,8 +14257,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14257
14257
|
};
|
|
14258
14258
|
}>]>>>;
|
|
14259
14259
|
}, "strip", z.ZodTypeAny, {
|
|
14260
|
-
name: string;
|
|
14261
14260
|
id: string;
|
|
14261
|
+
name: string;
|
|
14262
14262
|
icon?: {
|
|
14263
14263
|
type: "emoji";
|
|
14264
14264
|
emoji: string;
|
|
@@ -14292,8 +14292,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14292
14292
|
};
|
|
14293
14293
|
} | null | undefined;
|
|
14294
14294
|
}, {
|
|
14295
|
-
name: string;
|
|
14296
14295
|
id: string;
|
|
14296
|
+
name: string;
|
|
14297
14297
|
icon?: {
|
|
14298
14298
|
type: "emoji";
|
|
14299
14299
|
emoji: string;
|
|
@@ -14331,6 +14331,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14331
14331
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14332
14332
|
}, "strip", z.ZodTypeAny, {
|
|
14333
14333
|
object: "database";
|
|
14334
|
+
id: string;
|
|
14334
14335
|
title: {
|
|
14335
14336
|
type: "text" | "mention" | "equation";
|
|
14336
14337
|
text?: {
|
|
@@ -14350,7 +14351,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14350
14351
|
} | undefined;
|
|
14351
14352
|
href?: string | null | undefined;
|
|
14352
14353
|
}[];
|
|
14353
|
-
id: string;
|
|
14354
14354
|
parent: {
|
|
14355
14355
|
type: "page_id";
|
|
14356
14356
|
page_id: string;
|
|
@@ -14368,11 +14368,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14368
14368
|
type: "workspace";
|
|
14369
14369
|
workspace: true;
|
|
14370
14370
|
};
|
|
14371
|
-
last_edited_time: string;
|
|
14372
14371
|
created_time: string;
|
|
14372
|
+
last_edited_time: string;
|
|
14373
14373
|
data_sources: {
|
|
14374
|
-
name: string;
|
|
14375
14374
|
id: string;
|
|
14375
|
+
name: string;
|
|
14376
14376
|
icon?: {
|
|
14377
14377
|
type: "emoji";
|
|
14378
14378
|
emoji: string;
|
|
@@ -14460,10 +14460,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14460
14460
|
};
|
|
14461
14461
|
} | null | undefined;
|
|
14462
14462
|
in_trash?: boolean | undefined;
|
|
14463
|
-
is_inline?: boolean | undefined;
|
|
14464
14463
|
public_url?: string | null | undefined;
|
|
14464
|
+
is_inline?: boolean | undefined;
|
|
14465
14465
|
}, {
|
|
14466
14466
|
object: "database";
|
|
14467
|
+
id: string;
|
|
14467
14468
|
title: {
|
|
14468
14469
|
type: "text" | "mention" | "equation";
|
|
14469
14470
|
text?: {
|
|
@@ -14483,7 +14484,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14483
14484
|
} | undefined;
|
|
14484
14485
|
href?: string | null | undefined;
|
|
14485
14486
|
}[];
|
|
14486
|
-
id: string;
|
|
14487
14487
|
parent: {
|
|
14488
14488
|
type: "page_id";
|
|
14489
14489
|
page_id: string;
|
|
@@ -14501,11 +14501,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14501
14501
|
type: "workspace";
|
|
14502
14502
|
workspace: true;
|
|
14503
14503
|
};
|
|
14504
|
-
last_edited_time: string;
|
|
14505
14504
|
created_time: string;
|
|
14505
|
+
last_edited_time: string;
|
|
14506
14506
|
data_sources: {
|
|
14507
|
-
name: string;
|
|
14508
14507
|
id: string;
|
|
14508
|
+
name: string;
|
|
14509
14509
|
icon?: {
|
|
14510
14510
|
type: "emoji";
|
|
14511
14511
|
emoji: string;
|
|
@@ -14593,15 +14593,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14593
14593
|
};
|
|
14594
14594
|
} | null | undefined;
|
|
14595
14595
|
in_trash?: boolean | undefined;
|
|
14596
|
-
is_inline?: boolean | undefined;
|
|
14597
14596
|
public_url?: string | null | undefined;
|
|
14597
|
+
is_inline?: boolean | undefined;
|
|
14598
14598
|
}>>;
|
|
14599
14599
|
}, "strip", z.ZodTypeAny, {
|
|
14600
|
-
error: string;
|
|
14601
|
-
success: boolean;
|
|
14602
14600
|
operation: "update_database";
|
|
14601
|
+
success: boolean;
|
|
14602
|
+
error: string;
|
|
14603
14603
|
database?: {
|
|
14604
14604
|
object: "database";
|
|
14605
|
+
id: string;
|
|
14605
14606
|
title: {
|
|
14606
14607
|
type: "text" | "mention" | "equation";
|
|
14607
14608
|
text?: {
|
|
@@ -14621,7 +14622,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14621
14622
|
} | undefined;
|
|
14622
14623
|
href?: string | null | undefined;
|
|
14623
14624
|
}[];
|
|
14624
|
-
id: string;
|
|
14625
14625
|
parent: {
|
|
14626
14626
|
type: "page_id";
|
|
14627
14627
|
page_id: string;
|
|
@@ -14639,149 +14639,149 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14639
14639
|
type: "workspace";
|
|
14640
14640
|
workspace: true;
|
|
14641
14641
|
};
|
|
14642
|
-
last_edited_time: string;
|
|
14643
14642
|
created_time: string;
|
|
14644
|
-
data_sources: {
|
|
14645
|
-
name: string;
|
|
14646
|
-
id: string;
|
|
14647
|
-
icon?: {
|
|
14648
|
-
type: "emoji";
|
|
14649
|
-
emoji: string;
|
|
14650
|
-
} | {
|
|
14651
|
-
type: "external";
|
|
14652
|
-
external: {
|
|
14653
|
-
url: string;
|
|
14654
|
-
};
|
|
14655
|
-
} | {
|
|
14656
|
-
type: "file";
|
|
14657
|
-
file: {
|
|
14658
|
-
url: string;
|
|
14659
|
-
expiry_time: string;
|
|
14660
|
-
};
|
|
14661
|
-
} | null | undefined;
|
|
14662
|
-
cover?: {
|
|
14663
|
-
type: "file";
|
|
14664
|
-
file: {
|
|
14665
|
-
url: string;
|
|
14666
|
-
expiry_time: string;
|
|
14667
|
-
};
|
|
14668
|
-
} | {
|
|
14669
|
-
type: "file_upload";
|
|
14670
|
-
file_upload: {
|
|
14671
|
-
id: string;
|
|
14672
|
-
};
|
|
14673
|
-
} | {
|
|
14674
|
-
type: "external";
|
|
14675
|
-
external: {
|
|
14676
|
-
url: string;
|
|
14677
|
-
};
|
|
14678
|
-
} | null | undefined;
|
|
14679
|
-
}[];
|
|
14680
|
-
description?: {
|
|
14681
|
-
type: "text" | "mention" | "equation";
|
|
14682
|
-
text?: {
|
|
14683
|
-
content: string;
|
|
14684
|
-
link?: {
|
|
14685
|
-
url: string;
|
|
14686
|
-
} | null | undefined;
|
|
14687
|
-
} | undefined;
|
|
14688
|
-
plain_text?: string | undefined;
|
|
14689
|
-
annotations?: {
|
|
14690
|
-
code: boolean;
|
|
14691
|
-
bold: boolean;
|
|
14692
|
-
color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red";
|
|
14693
|
-
italic: boolean;
|
|
14694
|
-
strikethrough: boolean;
|
|
14695
|
-
underline: boolean;
|
|
14696
|
-
} | undefined;
|
|
14697
|
-
href?: string | null | undefined;
|
|
14698
|
-
}[] | undefined;
|
|
14699
|
-
url?: string | undefined;
|
|
14700
|
-
is_locked?: boolean | undefined;
|
|
14701
|
-
icon?: {
|
|
14702
|
-
type: "emoji";
|
|
14703
|
-
emoji: string;
|
|
14704
|
-
} | {
|
|
14705
|
-
type: "external";
|
|
14706
|
-
external: {
|
|
14707
|
-
url: string;
|
|
14708
|
-
};
|
|
14709
|
-
} | {
|
|
14710
|
-
type: "file";
|
|
14711
|
-
file: {
|
|
14712
|
-
url: string;
|
|
14713
|
-
expiry_time: string;
|
|
14714
|
-
};
|
|
14715
|
-
} | null | undefined;
|
|
14716
|
-
cover?: {
|
|
14717
|
-
type: "file";
|
|
14718
|
-
file: {
|
|
14719
|
-
url: string;
|
|
14720
|
-
expiry_time: string;
|
|
14721
|
-
};
|
|
14722
|
-
} | {
|
|
14723
|
-
type: "file_upload";
|
|
14724
|
-
file_upload: {
|
|
14725
|
-
id: string;
|
|
14726
|
-
};
|
|
14727
|
-
} | {
|
|
14728
|
-
type: "external";
|
|
14729
|
-
external: {
|
|
14730
|
-
url: string;
|
|
14731
|
-
};
|
|
14732
|
-
} | null | undefined;
|
|
14733
|
-
in_trash?: boolean | undefined;
|
|
14734
|
-
is_inline?: boolean | undefined;
|
|
14735
|
-
public_url?: string | null | undefined;
|
|
14736
|
-
} | undefined;
|
|
14737
|
-
}, {
|
|
14738
|
-
error: string;
|
|
14739
|
-
success: boolean;
|
|
14740
|
-
operation: "update_database";
|
|
14741
|
-
database?: {
|
|
14742
|
-
object: "database";
|
|
14743
|
-
title: {
|
|
14744
|
-
type: "text" | "mention" | "equation";
|
|
14745
|
-
text?: {
|
|
14746
|
-
content: string;
|
|
14747
|
-
link?: {
|
|
14748
|
-
url: string;
|
|
14749
|
-
} | null | undefined;
|
|
14750
|
-
} | undefined;
|
|
14751
|
-
plain_text?: string | undefined;
|
|
14752
|
-
annotations?: {
|
|
14753
|
-
code?: boolean | undefined;
|
|
14754
|
-
bold?: boolean | undefined;
|
|
14755
|
-
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined;
|
|
14756
|
-
italic?: boolean | undefined;
|
|
14757
|
-
strikethrough?: boolean | undefined;
|
|
14758
|
-
underline?: boolean | undefined;
|
|
14759
|
-
} | undefined;
|
|
14760
|
-
href?: string | null | undefined;
|
|
14761
|
-
}[];
|
|
14762
|
-
id: string;
|
|
14763
|
-
parent: {
|
|
14764
|
-
type: "page_id";
|
|
14765
|
-
page_id: string;
|
|
14766
|
-
} | {
|
|
14767
|
-
type: "database_id";
|
|
14768
|
-
database_id: string;
|
|
14769
|
-
} | {
|
|
14770
|
-
type: "data_source_id";
|
|
14771
|
-
data_source_id: string;
|
|
14772
|
-
database_id?: string | undefined;
|
|
14773
|
-
} | {
|
|
14774
|
-
type: "block_id";
|
|
14775
|
-
block_id: string;
|
|
14776
|
-
} | {
|
|
14777
|
-
type: "workspace";
|
|
14778
|
-
workspace: true;
|
|
14779
|
-
};
|
|
14780
14643
|
last_edited_time: string;
|
|
14781
|
-
created_time: string;
|
|
14782
14644
|
data_sources: {
|
|
14783
|
-
name: string;
|
|
14784
14645
|
id: string;
|
|
14646
|
+
name: string;
|
|
14647
|
+
icon?: {
|
|
14648
|
+
type: "emoji";
|
|
14649
|
+
emoji: string;
|
|
14650
|
+
} | {
|
|
14651
|
+
type: "external";
|
|
14652
|
+
external: {
|
|
14653
|
+
url: string;
|
|
14654
|
+
};
|
|
14655
|
+
} | {
|
|
14656
|
+
type: "file";
|
|
14657
|
+
file: {
|
|
14658
|
+
url: string;
|
|
14659
|
+
expiry_time: string;
|
|
14660
|
+
};
|
|
14661
|
+
} | null | undefined;
|
|
14662
|
+
cover?: {
|
|
14663
|
+
type: "file";
|
|
14664
|
+
file: {
|
|
14665
|
+
url: string;
|
|
14666
|
+
expiry_time: string;
|
|
14667
|
+
};
|
|
14668
|
+
} | {
|
|
14669
|
+
type: "file_upload";
|
|
14670
|
+
file_upload: {
|
|
14671
|
+
id: string;
|
|
14672
|
+
};
|
|
14673
|
+
} | {
|
|
14674
|
+
type: "external";
|
|
14675
|
+
external: {
|
|
14676
|
+
url: string;
|
|
14677
|
+
};
|
|
14678
|
+
} | null | undefined;
|
|
14679
|
+
}[];
|
|
14680
|
+
description?: {
|
|
14681
|
+
type: "text" | "mention" | "equation";
|
|
14682
|
+
text?: {
|
|
14683
|
+
content: string;
|
|
14684
|
+
link?: {
|
|
14685
|
+
url: string;
|
|
14686
|
+
} | null | undefined;
|
|
14687
|
+
} | undefined;
|
|
14688
|
+
plain_text?: string | undefined;
|
|
14689
|
+
annotations?: {
|
|
14690
|
+
code: boolean;
|
|
14691
|
+
bold: boolean;
|
|
14692
|
+
color: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red";
|
|
14693
|
+
italic: boolean;
|
|
14694
|
+
strikethrough: boolean;
|
|
14695
|
+
underline: boolean;
|
|
14696
|
+
} | undefined;
|
|
14697
|
+
href?: string | null | undefined;
|
|
14698
|
+
}[] | undefined;
|
|
14699
|
+
url?: string | undefined;
|
|
14700
|
+
is_locked?: boolean | undefined;
|
|
14701
|
+
icon?: {
|
|
14702
|
+
type: "emoji";
|
|
14703
|
+
emoji: string;
|
|
14704
|
+
} | {
|
|
14705
|
+
type: "external";
|
|
14706
|
+
external: {
|
|
14707
|
+
url: string;
|
|
14708
|
+
};
|
|
14709
|
+
} | {
|
|
14710
|
+
type: "file";
|
|
14711
|
+
file: {
|
|
14712
|
+
url: string;
|
|
14713
|
+
expiry_time: string;
|
|
14714
|
+
};
|
|
14715
|
+
} | null | undefined;
|
|
14716
|
+
cover?: {
|
|
14717
|
+
type: "file";
|
|
14718
|
+
file: {
|
|
14719
|
+
url: string;
|
|
14720
|
+
expiry_time: string;
|
|
14721
|
+
};
|
|
14722
|
+
} | {
|
|
14723
|
+
type: "file_upload";
|
|
14724
|
+
file_upload: {
|
|
14725
|
+
id: string;
|
|
14726
|
+
};
|
|
14727
|
+
} | {
|
|
14728
|
+
type: "external";
|
|
14729
|
+
external: {
|
|
14730
|
+
url: string;
|
|
14731
|
+
};
|
|
14732
|
+
} | null | undefined;
|
|
14733
|
+
in_trash?: boolean | undefined;
|
|
14734
|
+
public_url?: string | null | undefined;
|
|
14735
|
+
is_inline?: boolean | undefined;
|
|
14736
|
+
} | undefined;
|
|
14737
|
+
}, {
|
|
14738
|
+
operation: "update_database";
|
|
14739
|
+
success: boolean;
|
|
14740
|
+
error: string;
|
|
14741
|
+
database?: {
|
|
14742
|
+
object: "database";
|
|
14743
|
+
id: string;
|
|
14744
|
+
title: {
|
|
14745
|
+
type: "text" | "mention" | "equation";
|
|
14746
|
+
text?: {
|
|
14747
|
+
content: string;
|
|
14748
|
+
link?: {
|
|
14749
|
+
url: string;
|
|
14750
|
+
} | null | undefined;
|
|
14751
|
+
} | undefined;
|
|
14752
|
+
plain_text?: string | undefined;
|
|
14753
|
+
annotations?: {
|
|
14754
|
+
code?: boolean | undefined;
|
|
14755
|
+
bold?: boolean | undefined;
|
|
14756
|
+
color?: "default" | "gray" | "brown" | "orange" | "yellow" | "green" | "blue" | "purple" | "pink" | "red" | undefined;
|
|
14757
|
+
italic?: boolean | undefined;
|
|
14758
|
+
strikethrough?: boolean | undefined;
|
|
14759
|
+
underline?: boolean | undefined;
|
|
14760
|
+
} | undefined;
|
|
14761
|
+
href?: string | null | undefined;
|
|
14762
|
+
}[];
|
|
14763
|
+
parent: {
|
|
14764
|
+
type: "page_id";
|
|
14765
|
+
page_id: string;
|
|
14766
|
+
} | {
|
|
14767
|
+
type: "database_id";
|
|
14768
|
+
database_id: string;
|
|
14769
|
+
} | {
|
|
14770
|
+
type: "data_source_id";
|
|
14771
|
+
data_source_id: string;
|
|
14772
|
+
database_id?: string | undefined;
|
|
14773
|
+
} | {
|
|
14774
|
+
type: "block_id";
|
|
14775
|
+
block_id: string;
|
|
14776
|
+
} | {
|
|
14777
|
+
type: "workspace";
|
|
14778
|
+
workspace: true;
|
|
14779
|
+
};
|
|
14780
|
+
created_time: string;
|
|
14781
|
+
last_edited_time: string;
|
|
14782
|
+
data_sources: {
|
|
14783
|
+
id: string;
|
|
14784
|
+
name: string;
|
|
14785
14785
|
icon?: {
|
|
14786
14786
|
type: "emoji";
|
|
14787
14787
|
emoji: string;
|
|
@@ -14869,8 +14869,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14869
14869
|
};
|
|
14870
14870
|
} | null | undefined;
|
|
14871
14871
|
in_trash?: boolean | undefined;
|
|
14872
|
-
is_inline?: boolean | undefined;
|
|
14873
14872
|
public_url?: string | null | undefined;
|
|
14873
|
+
is_inline?: boolean | undefined;
|
|
14874
14874
|
} | undefined;
|
|
14875
14875
|
}>, z.ZodObject<{
|
|
14876
14876
|
operation: z.ZodLiteral<"append_block_children">;
|
|
@@ -15480,9 +15480,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
15480
15480
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15481
15481
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
15482
15482
|
}, "strip", z.ZodTypeAny, {
|
|
15483
|
-
error: string;
|
|
15484
|
-
success: boolean;
|
|
15485
15483
|
operation: "append_block_children";
|
|
15484
|
+
success: boolean;
|
|
15485
|
+
error: string;
|
|
15486
15486
|
blocks?: z.objectOutputType<{
|
|
15487
15487
|
object: z.ZodLiteral<"block">;
|
|
15488
15488
|
id: z.ZodString;
|
|
@@ -15687,9 +15687,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
15687
15687
|
next_cursor?: string | null | undefined;
|
|
15688
15688
|
has_more?: boolean | undefined;
|
|
15689
15689
|
}, {
|
|
15690
|
-
error: string;
|
|
15691
|
-
success: boolean;
|
|
15692
15690
|
operation: "append_block_children";
|
|
15691
|
+
success: boolean;
|
|
15692
|
+
error: string;
|
|
15693
15693
|
blocks?: z.objectInputType<{
|
|
15694
15694
|
object: z.ZodLiteral<"block">;
|
|
15695
15695
|
id: z.ZodString;
|
|
@@ -16501,9 +16501,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16501
16501
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16502
16502
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
16503
16503
|
}, "strip", z.ZodTypeAny, {
|
|
16504
|
-
error: string;
|
|
16505
|
-
success: boolean;
|
|
16506
16504
|
operation: "retrieve_block_children";
|
|
16505
|
+
success: boolean;
|
|
16506
|
+
error: string;
|
|
16507
16507
|
blocks?: z.objectOutputType<{
|
|
16508
16508
|
object: z.ZodLiteral<"block">;
|
|
16509
16509
|
id: z.ZodString;
|
|
@@ -16708,9 +16708,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
16708
16708
|
next_cursor?: string | null | undefined;
|
|
16709
16709
|
has_more?: boolean | undefined;
|
|
16710
16710
|
}, {
|
|
16711
|
-
error: string;
|
|
16712
|
-
success: boolean;
|
|
16713
16711
|
operation: "retrieve_block_children";
|
|
16712
|
+
success: boolean;
|
|
16713
|
+
error: string;
|
|
16714
16714
|
blocks?: z.objectInputType<{
|
|
16715
16715
|
object: z.ZodLiteral<"block">;
|
|
16716
16716
|
id: z.ZodString;
|
|
@@ -17520,9 +17520,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17520
17520
|
type: z.ZodString;
|
|
17521
17521
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
17522
17522
|
}, "strip", z.ZodTypeAny, {
|
|
17523
|
-
error: string;
|
|
17524
|
-
success: boolean;
|
|
17525
17523
|
operation: "retrieve_block";
|
|
17524
|
+
success: boolean;
|
|
17525
|
+
error: string;
|
|
17526
17526
|
block?: z.objectOutputType<{
|
|
17527
17527
|
object: z.ZodLiteral<"block">;
|
|
17528
17528
|
id: z.ZodString;
|
|
@@ -17725,9 +17725,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
17725
17725
|
type: z.ZodString;
|
|
17726
17726
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
17727
17727
|
}, {
|
|
17728
|
-
error: string;
|
|
17729
|
-
success: boolean;
|
|
17730
17728
|
operation: "retrieve_block";
|
|
17729
|
+
success: boolean;
|
|
17730
|
+
error: string;
|
|
17731
17731
|
block?: z.objectInputType<{
|
|
17732
17732
|
object: z.ZodLiteral<"block">;
|
|
17733
17733
|
id: z.ZodString;
|
|
@@ -18535,9 +18535,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
18535
18535
|
type: z.ZodString;
|
|
18536
18536
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
18537
18537
|
}, "strip", z.ZodTypeAny, {
|
|
18538
|
-
error: string;
|
|
18539
|
-
success: boolean;
|
|
18540
18538
|
operation: "update_block";
|
|
18539
|
+
success: boolean;
|
|
18540
|
+
error: string;
|
|
18541
18541
|
block?: z.objectOutputType<{
|
|
18542
18542
|
object: z.ZodLiteral<"block">;
|
|
18543
18543
|
id: z.ZodString;
|
|
@@ -18740,9 +18740,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
18740
18740
|
type: z.ZodString;
|
|
18741
18741
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
18742
18742
|
}, {
|
|
18743
|
-
error: string;
|
|
18744
|
-
success: boolean;
|
|
18745
18743
|
operation: "update_block";
|
|
18744
|
+
success: boolean;
|
|
18745
|
+
error: string;
|
|
18746
18746
|
block?: z.objectInputType<{
|
|
18747
18747
|
object: z.ZodLiteral<"block">;
|
|
18748
18748
|
id: z.ZodString;
|
|
@@ -19131,6 +19131,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19131
19131
|
} & {
|
|
19132
19132
|
[k: string]: unknown;
|
|
19133
19133
|
};
|
|
19134
|
+
created_time: string;
|
|
19135
|
+
last_edited_time: string;
|
|
19136
|
+
created_by: {
|
|
19137
|
+
object: "user";
|
|
19138
|
+
id: string;
|
|
19139
|
+
type?: "person" | "bot" | undefined;
|
|
19140
|
+
name?: string | undefined;
|
|
19141
|
+
person?: {
|
|
19142
|
+
email?: string | undefined;
|
|
19143
|
+
} | undefined;
|
|
19144
|
+
avatar_url?: string | null | undefined;
|
|
19145
|
+
bot?: {
|
|
19146
|
+
owner?: {
|
|
19147
|
+
type: "user" | "workspace";
|
|
19148
|
+
workspace?: boolean | undefined;
|
|
19149
|
+
} | undefined;
|
|
19150
|
+
workspace_name?: string | undefined;
|
|
19151
|
+
} | undefined;
|
|
19152
|
+
};
|
|
19153
|
+
discussion_id: string;
|
|
19134
19154
|
rich_text: {
|
|
19135
19155
|
type: "text" | "mention" | "equation";
|
|
19136
19156
|
text?: {
|
|
@@ -19150,8 +19170,18 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19150
19170
|
} | undefined;
|
|
19151
19171
|
href?: string | null | undefined;
|
|
19152
19172
|
}[];
|
|
19153
|
-
|
|
19173
|
+
}, {
|
|
19174
|
+
object: "comment";
|
|
19175
|
+
id: string;
|
|
19176
|
+
parent: {
|
|
19177
|
+
type: "block_id" | "page_id";
|
|
19178
|
+
block_id?: string | undefined;
|
|
19179
|
+
page_id?: string | undefined;
|
|
19180
|
+
} & {
|
|
19181
|
+
[k: string]: unknown;
|
|
19182
|
+
};
|
|
19154
19183
|
created_time: string;
|
|
19184
|
+
last_edited_time: string;
|
|
19155
19185
|
created_by: {
|
|
19156
19186
|
object: "user";
|
|
19157
19187
|
id: string;
|
|
@@ -19170,16 +19200,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19170
19200
|
} | undefined;
|
|
19171
19201
|
};
|
|
19172
19202
|
discussion_id: string;
|
|
19173
|
-
}, {
|
|
19174
|
-
object: "comment";
|
|
19175
|
-
id: string;
|
|
19176
|
-
parent: {
|
|
19177
|
-
type: "block_id" | "page_id";
|
|
19178
|
-
block_id?: string | undefined;
|
|
19179
|
-
page_id?: string | undefined;
|
|
19180
|
-
} & {
|
|
19181
|
-
[k: string]: unknown;
|
|
19182
|
-
};
|
|
19183
19203
|
rich_text: {
|
|
19184
19204
|
type: "text" | "mention" | "equation";
|
|
19185
19205
|
text?: {
|
|
@@ -19199,8 +19219,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19199
19219
|
} | undefined;
|
|
19200
19220
|
href?: string | null | undefined;
|
|
19201
19221
|
}[];
|
|
19202
|
-
|
|
19222
|
+
}>>;
|
|
19223
|
+
}, "strip", z.ZodTypeAny, {
|
|
19224
|
+
operation: "create_comment";
|
|
19225
|
+
success: boolean;
|
|
19226
|
+
error: string;
|
|
19227
|
+
comment?: {
|
|
19228
|
+
object: "comment";
|
|
19229
|
+
id: string;
|
|
19230
|
+
parent: {
|
|
19231
|
+
type: "block_id" | "page_id";
|
|
19232
|
+
block_id?: string | undefined;
|
|
19233
|
+
page_id?: string | undefined;
|
|
19234
|
+
} & {
|
|
19235
|
+
[k: string]: unknown;
|
|
19236
|
+
};
|
|
19203
19237
|
created_time: string;
|
|
19238
|
+
last_edited_time: string;
|
|
19204
19239
|
created_by: {
|
|
19205
19240
|
object: "user";
|
|
19206
19241
|
id: string;
|
|
@@ -19219,21 +19254,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19219
19254
|
} | undefined;
|
|
19220
19255
|
};
|
|
19221
19256
|
discussion_id: string;
|
|
19222
|
-
}>>;
|
|
19223
|
-
}, "strip", z.ZodTypeAny, {
|
|
19224
|
-
error: string;
|
|
19225
|
-
success: boolean;
|
|
19226
|
-
operation: "create_comment";
|
|
19227
|
-
comment?: {
|
|
19228
|
-
object: "comment";
|
|
19229
|
-
id: string;
|
|
19230
|
-
parent: {
|
|
19231
|
-
type: "block_id" | "page_id";
|
|
19232
|
-
block_id?: string | undefined;
|
|
19233
|
-
page_id?: string | undefined;
|
|
19234
|
-
} & {
|
|
19235
|
-
[k: string]: unknown;
|
|
19236
|
-
};
|
|
19237
19257
|
rich_text: {
|
|
19238
19258
|
type: "text" | "mention" | "equation";
|
|
19239
19259
|
text?: {
|
|
@@ -19253,8 +19273,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19253
19273
|
} | undefined;
|
|
19254
19274
|
href?: string | null | undefined;
|
|
19255
19275
|
}[];
|
|
19256
|
-
|
|
19276
|
+
} | undefined;
|
|
19277
|
+
}, {
|
|
19278
|
+
operation: "create_comment";
|
|
19279
|
+
success: boolean;
|
|
19280
|
+
error: string;
|
|
19281
|
+
comment?: {
|
|
19282
|
+
object: "comment";
|
|
19283
|
+
id: string;
|
|
19284
|
+
parent: {
|
|
19285
|
+
type: "block_id" | "page_id";
|
|
19286
|
+
block_id?: string | undefined;
|
|
19287
|
+
page_id?: string | undefined;
|
|
19288
|
+
} & {
|
|
19289
|
+
[k: string]: unknown;
|
|
19290
|
+
};
|
|
19257
19291
|
created_time: string;
|
|
19292
|
+
last_edited_time: string;
|
|
19258
19293
|
created_by: {
|
|
19259
19294
|
object: "user";
|
|
19260
19295
|
id: string;
|
|
@@ -19273,21 +19308,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19273
19308
|
} | undefined;
|
|
19274
19309
|
};
|
|
19275
19310
|
discussion_id: string;
|
|
19276
|
-
} | undefined;
|
|
19277
|
-
}, {
|
|
19278
|
-
error: string;
|
|
19279
|
-
success: boolean;
|
|
19280
|
-
operation: "create_comment";
|
|
19281
|
-
comment?: {
|
|
19282
|
-
object: "comment";
|
|
19283
|
-
id: string;
|
|
19284
|
-
parent: {
|
|
19285
|
-
type: "block_id" | "page_id";
|
|
19286
|
-
block_id?: string | undefined;
|
|
19287
|
-
page_id?: string | undefined;
|
|
19288
|
-
} & {
|
|
19289
|
-
[k: string]: unknown;
|
|
19290
|
-
};
|
|
19291
19311
|
rich_text: {
|
|
19292
19312
|
type: "text" | "mention" | "equation";
|
|
19293
19313
|
text?: {
|
|
@@ -19307,26 +19327,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19307
19327
|
} | undefined;
|
|
19308
19328
|
href?: string | null | undefined;
|
|
19309
19329
|
}[];
|
|
19310
|
-
last_edited_time: string;
|
|
19311
|
-
created_time: string;
|
|
19312
|
-
created_by: {
|
|
19313
|
-
object: "user";
|
|
19314
|
-
id: string;
|
|
19315
|
-
type?: "person" | "bot" | undefined;
|
|
19316
|
-
name?: string | undefined;
|
|
19317
|
-
person?: {
|
|
19318
|
-
email?: string | undefined;
|
|
19319
|
-
} | undefined;
|
|
19320
|
-
avatar_url?: string | null | undefined;
|
|
19321
|
-
bot?: {
|
|
19322
|
-
owner?: {
|
|
19323
|
-
type: "user" | "workspace";
|
|
19324
|
-
workspace?: boolean | undefined;
|
|
19325
|
-
} | undefined;
|
|
19326
|
-
workspace_name?: string | undefined;
|
|
19327
|
-
} | undefined;
|
|
19328
|
-
};
|
|
19329
|
-
discussion_id: string;
|
|
19330
19330
|
} | undefined;
|
|
19331
19331
|
}>, z.ZodObject<{
|
|
19332
19332
|
operation: z.ZodLiteral<"retrieve_comment">;
|
|
@@ -19515,6 +19515,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19515
19515
|
} & {
|
|
19516
19516
|
[k: string]: unknown;
|
|
19517
19517
|
};
|
|
19518
|
+
created_time: string;
|
|
19519
|
+
last_edited_time: string;
|
|
19520
|
+
created_by: {
|
|
19521
|
+
object: "user";
|
|
19522
|
+
id: string;
|
|
19523
|
+
type?: "person" | "bot" | undefined;
|
|
19524
|
+
name?: string | undefined;
|
|
19525
|
+
person?: {
|
|
19526
|
+
email?: string | undefined;
|
|
19527
|
+
} | undefined;
|
|
19528
|
+
avatar_url?: string | null | undefined;
|
|
19529
|
+
bot?: {
|
|
19530
|
+
owner?: {
|
|
19531
|
+
type: "user" | "workspace";
|
|
19532
|
+
workspace?: boolean | undefined;
|
|
19533
|
+
} | undefined;
|
|
19534
|
+
workspace_name?: string | undefined;
|
|
19535
|
+
} | undefined;
|
|
19536
|
+
};
|
|
19537
|
+
discussion_id: string;
|
|
19518
19538
|
rich_text: {
|
|
19519
19539
|
type: "text" | "mention" | "equation";
|
|
19520
19540
|
text?: {
|
|
@@ -19534,8 +19554,18 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19534
19554
|
} | undefined;
|
|
19535
19555
|
href?: string | null | undefined;
|
|
19536
19556
|
}[];
|
|
19537
|
-
|
|
19557
|
+
}, {
|
|
19558
|
+
object: "comment";
|
|
19559
|
+
id: string;
|
|
19560
|
+
parent: {
|
|
19561
|
+
type: "block_id" | "page_id";
|
|
19562
|
+
block_id?: string | undefined;
|
|
19563
|
+
page_id?: string | undefined;
|
|
19564
|
+
} & {
|
|
19565
|
+
[k: string]: unknown;
|
|
19566
|
+
};
|
|
19538
19567
|
created_time: string;
|
|
19568
|
+
last_edited_time: string;
|
|
19539
19569
|
created_by: {
|
|
19540
19570
|
object: "user";
|
|
19541
19571
|
id: string;
|
|
@@ -19554,16 +19584,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19554
19584
|
} | undefined;
|
|
19555
19585
|
};
|
|
19556
19586
|
discussion_id: string;
|
|
19557
|
-
}, {
|
|
19558
|
-
object: "comment";
|
|
19559
|
-
id: string;
|
|
19560
|
-
parent: {
|
|
19561
|
-
type: "block_id" | "page_id";
|
|
19562
|
-
block_id?: string | undefined;
|
|
19563
|
-
page_id?: string | undefined;
|
|
19564
|
-
} & {
|
|
19565
|
-
[k: string]: unknown;
|
|
19566
|
-
};
|
|
19567
19587
|
rich_text: {
|
|
19568
19588
|
type: "text" | "mention" | "equation";
|
|
19569
19589
|
text?: {
|
|
@@ -19583,8 +19603,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19583
19603
|
} | undefined;
|
|
19584
19604
|
href?: string | null | undefined;
|
|
19585
19605
|
}[];
|
|
19586
|
-
|
|
19606
|
+
}>>;
|
|
19607
|
+
}, "strip", z.ZodTypeAny, {
|
|
19608
|
+
operation: "retrieve_comment";
|
|
19609
|
+
success: boolean;
|
|
19610
|
+
error: string;
|
|
19611
|
+
comment?: {
|
|
19612
|
+
object: "comment";
|
|
19613
|
+
id: string;
|
|
19614
|
+
parent: {
|
|
19615
|
+
type: "block_id" | "page_id";
|
|
19616
|
+
block_id?: string | undefined;
|
|
19617
|
+
page_id?: string | undefined;
|
|
19618
|
+
} & {
|
|
19619
|
+
[k: string]: unknown;
|
|
19620
|
+
};
|
|
19587
19621
|
created_time: string;
|
|
19622
|
+
last_edited_time: string;
|
|
19588
19623
|
created_by: {
|
|
19589
19624
|
object: "user";
|
|
19590
19625
|
id: string;
|
|
@@ -19603,21 +19638,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19603
19638
|
} | undefined;
|
|
19604
19639
|
};
|
|
19605
19640
|
discussion_id: string;
|
|
19606
|
-
}>>;
|
|
19607
|
-
}, "strip", z.ZodTypeAny, {
|
|
19608
|
-
error: string;
|
|
19609
|
-
success: boolean;
|
|
19610
|
-
operation: "retrieve_comment";
|
|
19611
|
-
comment?: {
|
|
19612
|
-
object: "comment";
|
|
19613
|
-
id: string;
|
|
19614
|
-
parent: {
|
|
19615
|
-
type: "block_id" | "page_id";
|
|
19616
|
-
block_id?: string | undefined;
|
|
19617
|
-
page_id?: string | undefined;
|
|
19618
|
-
} & {
|
|
19619
|
-
[k: string]: unknown;
|
|
19620
|
-
};
|
|
19621
19641
|
rich_text: {
|
|
19622
19642
|
type: "text" | "mention" | "equation";
|
|
19623
19643
|
text?: {
|
|
@@ -19637,8 +19657,23 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19637
19657
|
} | undefined;
|
|
19638
19658
|
href?: string | null | undefined;
|
|
19639
19659
|
}[];
|
|
19640
|
-
|
|
19660
|
+
} | undefined;
|
|
19661
|
+
}, {
|
|
19662
|
+
operation: "retrieve_comment";
|
|
19663
|
+
success: boolean;
|
|
19664
|
+
error: string;
|
|
19665
|
+
comment?: {
|
|
19666
|
+
object: "comment";
|
|
19667
|
+
id: string;
|
|
19668
|
+
parent: {
|
|
19669
|
+
type: "block_id" | "page_id";
|
|
19670
|
+
block_id?: string | undefined;
|
|
19671
|
+
page_id?: string | undefined;
|
|
19672
|
+
} & {
|
|
19673
|
+
[k: string]: unknown;
|
|
19674
|
+
};
|
|
19641
19675
|
created_time: string;
|
|
19676
|
+
last_edited_time: string;
|
|
19642
19677
|
created_by: {
|
|
19643
19678
|
object: "user";
|
|
19644
19679
|
id: string;
|
|
@@ -19657,21 +19692,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19657
19692
|
} | undefined;
|
|
19658
19693
|
};
|
|
19659
19694
|
discussion_id: string;
|
|
19660
|
-
} | undefined;
|
|
19661
|
-
}, {
|
|
19662
|
-
error: string;
|
|
19663
|
-
success: boolean;
|
|
19664
|
-
operation: "retrieve_comment";
|
|
19665
|
-
comment?: {
|
|
19666
|
-
object: "comment";
|
|
19667
|
-
id: string;
|
|
19668
|
-
parent: {
|
|
19669
|
-
type: "block_id" | "page_id";
|
|
19670
|
-
block_id?: string | undefined;
|
|
19671
|
-
page_id?: string | undefined;
|
|
19672
|
-
} & {
|
|
19673
|
-
[k: string]: unknown;
|
|
19674
|
-
};
|
|
19675
19695
|
rich_text: {
|
|
19676
19696
|
type: "text" | "mention" | "equation";
|
|
19677
19697
|
text?: {
|
|
@@ -19691,26 +19711,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19691
19711
|
} | undefined;
|
|
19692
19712
|
href?: string | null | undefined;
|
|
19693
19713
|
}[];
|
|
19694
|
-
last_edited_time: string;
|
|
19695
|
-
created_time: string;
|
|
19696
|
-
created_by: {
|
|
19697
|
-
object: "user";
|
|
19698
|
-
id: string;
|
|
19699
|
-
type?: "person" | "bot" | undefined;
|
|
19700
|
-
name?: string | undefined;
|
|
19701
|
-
person?: {
|
|
19702
|
-
email?: string | undefined;
|
|
19703
|
-
} | undefined;
|
|
19704
|
-
avatar_url?: string | null | undefined;
|
|
19705
|
-
bot?: {
|
|
19706
|
-
owner?: {
|
|
19707
|
-
type: "user" | "workspace";
|
|
19708
|
-
workspace?: boolean | undefined;
|
|
19709
|
-
} | undefined;
|
|
19710
|
-
workspace_name?: string | undefined;
|
|
19711
|
-
} | undefined;
|
|
19712
|
-
};
|
|
19713
|
-
discussion_id: string;
|
|
19714
19714
|
} | undefined;
|
|
19715
19715
|
}>, z.ZodObject<{
|
|
19716
19716
|
operation: z.ZodLiteral<"list_users">;
|
|
@@ -19790,9 +19790,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19790
19790
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19791
19791
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
19792
19792
|
}, "strip", z.ZodTypeAny, {
|
|
19793
|
-
error: string;
|
|
19794
|
-
success: boolean;
|
|
19795
19793
|
operation: "list_users";
|
|
19794
|
+
success: boolean;
|
|
19795
|
+
error: string;
|
|
19796
19796
|
users?: {
|
|
19797
19797
|
object: "user";
|
|
19798
19798
|
id: string;
|
|
@@ -19813,9 +19813,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19813
19813
|
next_cursor?: string | null | undefined;
|
|
19814
19814
|
has_more?: boolean | undefined;
|
|
19815
19815
|
}, {
|
|
19816
|
-
error: string;
|
|
19817
|
-
success: boolean;
|
|
19818
19816
|
operation: "list_users";
|
|
19817
|
+
success: boolean;
|
|
19818
|
+
error: string;
|
|
19819
19819
|
users?: {
|
|
19820
19820
|
object: "user";
|
|
19821
19821
|
id: string;
|
|
@@ -19894,11 +19894,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19894
19894
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19895
19895
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
19896
19896
|
}, "strip", z.ZodTypeAny, {
|
|
19897
|
-
error: string;
|
|
19898
|
-
success: boolean;
|
|
19899
19897
|
operation: "search";
|
|
19900
|
-
|
|
19901
|
-
|
|
19898
|
+
success: boolean;
|
|
19899
|
+
error: string;
|
|
19902
19900
|
results?: z.objectOutputType<{
|
|
19903
19901
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
19904
19902
|
id: z.ZodString;
|
|
@@ -19917,12 +19915,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19917
19915
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
19918
19916
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
19919
19917
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
19920
|
-
}, {
|
|
19921
|
-
error: string;
|
|
19922
|
-
success: boolean;
|
|
19923
|
-
operation: "search";
|
|
19924
19918
|
next_cursor?: string | null | undefined;
|
|
19925
19919
|
has_more?: boolean | undefined;
|
|
19920
|
+
}, {
|
|
19921
|
+
operation: "search";
|
|
19922
|
+
success: boolean;
|
|
19923
|
+
error: string;
|
|
19926
19924
|
results?: z.objectInputType<{
|
|
19927
19925
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
19928
19926
|
id: z.ZodString;
|
|
@@ -19941,6 +19939,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19941
19939
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
19942
19940
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
19943
19941
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
19942
|
+
next_cursor?: string | null | undefined;
|
|
19943
|
+
has_more?: boolean | undefined;
|
|
19944
19944
|
}>]>;
|
|
19945
19945
|
type NotionParams = z.input<typeof NotionParamsSchema>;
|
|
19946
19946
|
type NotionResult = z.output<typeof NotionResultSchema>;
|
|
@@ -20143,6 +20143,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20143
20143
|
}>]>>;
|
|
20144
20144
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
20145
20145
|
}, "strip", z.ZodTypeAny, {
|
|
20146
|
+
operation: "create_page";
|
|
20146
20147
|
parent: {
|
|
20147
20148
|
type: "page_id";
|
|
20148
20149
|
page_id: string;
|
|
@@ -20160,7 +20161,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20160
20161
|
type: "workspace";
|
|
20161
20162
|
workspace: true;
|
|
20162
20163
|
};
|
|
20163
|
-
operation: "create_page";
|
|
20164
20164
|
properties?: Record<string, unknown> | undefined;
|
|
20165
20165
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20166
20166
|
icon?: {
|
|
@@ -20183,7 +20183,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20183
20183
|
type: "emoji";
|
|
20184
20184
|
emoji: string;
|
|
20185
20185
|
} | undefined;
|
|
20186
|
-
children?: unknown[] | undefined;
|
|
20187
20186
|
cover?: {
|
|
20188
20187
|
type: "file";
|
|
20189
20188
|
file: {
|
|
@@ -20201,7 +20200,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20201
20200
|
url: string;
|
|
20202
20201
|
};
|
|
20203
20202
|
} | undefined;
|
|
20203
|
+
children?: unknown[] | undefined;
|
|
20204
20204
|
}, {
|
|
20205
|
+
operation: "create_page";
|
|
20205
20206
|
parent: {
|
|
20206
20207
|
type: "page_id";
|
|
20207
20208
|
page_id: string;
|
|
@@ -20219,7 +20220,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20219
20220
|
type: "workspace";
|
|
20220
20221
|
workspace: true;
|
|
20221
20222
|
};
|
|
20222
|
-
operation: "create_page";
|
|
20223
20223
|
properties?: Record<string, unknown> | undefined;
|
|
20224
20224
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20225
20225
|
icon?: {
|
|
@@ -20242,7 +20242,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20242
20242
|
type: "emoji";
|
|
20243
20243
|
emoji: string;
|
|
20244
20244
|
} | undefined;
|
|
20245
|
-
children?: unknown[] | undefined;
|
|
20246
20245
|
cover?: {
|
|
20247
20246
|
type: "file";
|
|
20248
20247
|
file: {
|
|
@@ -20260,6 +20259,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20260
20259
|
url: string;
|
|
20261
20260
|
};
|
|
20262
20261
|
} | undefined;
|
|
20262
|
+
children?: unknown[] | undefined;
|
|
20263
20263
|
}>, z.ZodObject<{
|
|
20264
20264
|
operation: z.ZodLiteral<"retrieve_page">;
|
|
20265
20265
|
page_id: z.ZodString;
|
|
@@ -20736,11 +20736,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20736
20736
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
20737
20737
|
}, "strip", z.ZodTypeAny, {
|
|
20738
20738
|
properties: Record<string, unknown>;
|
|
20739
|
+
operation: "create_data_source";
|
|
20739
20740
|
parent: {
|
|
20740
20741
|
type: "database_id";
|
|
20741
20742
|
database_id: string;
|
|
20742
20743
|
};
|
|
20743
|
-
operation: "create_data_source";
|
|
20744
20744
|
title?: {
|
|
20745
20745
|
type: "text" | "mention" | "equation";
|
|
20746
20746
|
text?: {
|
|
@@ -20783,11 +20783,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20783
20783
|
} | undefined;
|
|
20784
20784
|
}, {
|
|
20785
20785
|
properties: Record<string, unknown>;
|
|
20786
|
+
operation: "create_data_source";
|
|
20786
20787
|
parent: {
|
|
20787
20788
|
type: "database_id";
|
|
20788
20789
|
database_id: string;
|
|
20789
20790
|
};
|
|
20790
|
-
operation: "create_data_source";
|
|
20791
20791
|
title?: {
|
|
20792
20792
|
type: "text" | "mention" | "equation";
|
|
20793
20793
|
text?: {
|
|
@@ -21225,21 +21225,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21225
21225
|
page_id: z.ZodOptional<z.ZodString>;
|
|
21226
21226
|
workspace: z.ZodOptional<z.ZodLiteral<true>>;
|
|
21227
21227
|
}, "strip", z.ZodTypeAny, {
|
|
21228
|
-
type: "
|
|
21229
|
-
page_id?: string | undefined;
|
|
21228
|
+
type: "workspace" | "page_id";
|
|
21230
21229
|
workspace?: true | undefined;
|
|
21231
|
-
}, {
|
|
21232
|
-
type: "page_id" | "workspace";
|
|
21233
21230
|
page_id?: string | undefined;
|
|
21231
|
+
}, {
|
|
21232
|
+
type: "workspace" | "page_id";
|
|
21234
21233
|
workspace?: true | undefined;
|
|
21235
|
-
}>, {
|
|
21236
|
-
type: "page_id" | "workspace";
|
|
21237
21234
|
page_id?: string | undefined;
|
|
21235
|
+
}>, {
|
|
21236
|
+
type: "workspace" | "page_id";
|
|
21238
21237
|
workspace?: true | undefined;
|
|
21239
|
-
}, {
|
|
21240
|
-
type: "page_id" | "workspace";
|
|
21241
21238
|
page_id?: string | undefined;
|
|
21239
|
+
}, {
|
|
21240
|
+
type: "workspace" | "page_id";
|
|
21242
21241
|
workspace?: true | undefined;
|
|
21242
|
+
page_id?: string | undefined;
|
|
21243
21243
|
}>, {
|
|
21244
21244
|
type: "workspace";
|
|
21245
21245
|
workspace: boolean;
|
|
@@ -21249,9 +21249,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21249
21249
|
page_id: string;
|
|
21250
21250
|
workspace?: undefined;
|
|
21251
21251
|
}, {
|
|
21252
|
-
type: "
|
|
21253
|
-
page_id?: string | undefined;
|
|
21252
|
+
type: "workspace" | "page_id";
|
|
21254
21253
|
workspace?: true | undefined;
|
|
21254
|
+
page_id?: string | undefined;
|
|
21255
21255
|
}>;
|
|
21256
21256
|
initial_data_source: z.ZodObject<{
|
|
21257
21257
|
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
@@ -21563,6 +21563,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21563
21563
|
}>]>>;
|
|
21564
21564
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
21565
21565
|
}, "strip", z.ZodTypeAny, {
|
|
21566
|
+
operation: "create_database";
|
|
21566
21567
|
parent: {
|
|
21567
21568
|
type: "workspace";
|
|
21568
21569
|
workspace: boolean;
|
|
@@ -21572,7 +21573,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21572
21573
|
page_id: string;
|
|
21573
21574
|
workspace?: undefined;
|
|
21574
21575
|
};
|
|
21575
|
-
operation: "create_database";
|
|
21576
21576
|
initial_data_source: {
|
|
21577
21577
|
properties: Record<string, unknown>;
|
|
21578
21578
|
};
|
|
@@ -21653,12 +21653,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21653
21653
|
};
|
|
21654
21654
|
} | undefined;
|
|
21655
21655
|
}, {
|
|
21656
|
+
operation: "create_database";
|
|
21656
21657
|
parent: {
|
|
21657
|
-
type: "
|
|
21658
|
-
page_id?: string | undefined;
|
|
21658
|
+
type: "workspace" | "page_id";
|
|
21659
21659
|
workspace?: true | undefined;
|
|
21660
|
+
page_id?: string | undefined;
|
|
21660
21661
|
};
|
|
21661
|
-
operation: "create_database";
|
|
21662
21662
|
initial_data_source: {
|
|
21663
21663
|
properties: Record<string, unknown>;
|
|
21664
21664
|
};
|
|
@@ -22483,6 +22483,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22483
22483
|
}>>;
|
|
22484
22484
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
22485
22485
|
}, "strip", z.ZodTypeAny, {
|
|
22486
|
+
operation: "create_comment";
|
|
22486
22487
|
parent: {
|
|
22487
22488
|
block_id?: string | undefined;
|
|
22488
22489
|
page_id?: string | undefined;
|
|
@@ -22506,7 +22507,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22506
22507
|
} | undefined;
|
|
22507
22508
|
href?: string | null | undefined;
|
|
22508
22509
|
}[];
|
|
22509
|
-
operation: "create_comment";
|
|
22510
22510
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
22511
22511
|
attachments?: {
|
|
22512
22512
|
file_upload_id: string;
|
|
@@ -22519,6 +22519,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22519
22519
|
} | undefined;
|
|
22520
22520
|
} | undefined;
|
|
22521
22521
|
}, {
|
|
22522
|
+
operation: "create_comment";
|
|
22522
22523
|
parent: {
|
|
22523
22524
|
block_id?: string | undefined;
|
|
22524
22525
|
page_id?: string | undefined;
|
|
@@ -22542,7 +22543,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22542
22543
|
} | undefined;
|
|
22543
22544
|
href?: string | null | undefined;
|
|
22544
22545
|
}[];
|
|
22545
|
-
operation: "create_comment";
|
|
22546
22546
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
22547
22547
|
attachments?: {
|
|
22548
22548
|
file_upload_id: string;
|
|
@@ -22959,9 +22959,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22959
22959
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22960
22960
|
}, "strip", z.ZodTypeAny, {
|
|
22961
22961
|
object: "page";
|
|
22962
|
+
id: string;
|
|
22962
22963
|
properties: Record<string, unknown>;
|
|
22963
22964
|
url: string;
|
|
22964
|
-
id: string;
|
|
22965
22965
|
parent: {
|
|
22966
22966
|
type: "page_id";
|
|
22967
22967
|
page_id: string;
|
|
@@ -22979,9 +22979,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22979
22979
|
type: "workspace";
|
|
22980
22980
|
workspace: true;
|
|
22981
22981
|
};
|
|
22982
|
-
archived: boolean;
|
|
22983
|
-
last_edited_time: string;
|
|
22984
22982
|
created_time: string;
|
|
22983
|
+
last_edited_time: string;
|
|
22985
22984
|
created_by: {
|
|
22986
22985
|
object: "user";
|
|
22987
22986
|
id: string;
|
|
@@ -23016,6 +23015,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23016
23015
|
workspace_name?: string | undefined;
|
|
23017
23016
|
} | undefined;
|
|
23018
23017
|
};
|
|
23018
|
+
archived: boolean;
|
|
23019
23019
|
icon?: {
|
|
23020
23020
|
type: "emoji";
|
|
23021
23021
|
emoji: string;
|
|
@@ -23052,9 +23052,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23052
23052
|
public_url?: string | null | undefined;
|
|
23053
23053
|
}, {
|
|
23054
23054
|
object: "page";
|
|
23055
|
+
id: string;
|
|
23055
23056
|
properties: Record<string, unknown>;
|
|
23056
23057
|
url: string;
|
|
23057
|
-
id: string;
|
|
23058
23058
|
parent: {
|
|
23059
23059
|
type: "page_id";
|
|
23060
23060
|
page_id: string;
|
|
@@ -23072,9 +23072,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23072
23072
|
type: "workspace";
|
|
23073
23073
|
workspace: true;
|
|
23074
23074
|
};
|
|
23075
|
-
archived: boolean;
|
|
23076
|
-
last_edited_time: string;
|
|
23077
23075
|
created_time: string;
|
|
23076
|
+
last_edited_time: string;
|
|
23078
23077
|
created_by: {
|
|
23079
23078
|
object: "user";
|
|
23080
23079
|
id: string;
|
|
@@ -23109,6 +23108,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23109
23108
|
workspace_name?: string | undefined;
|
|
23110
23109
|
} | undefined;
|
|
23111
23110
|
};
|
|
23111
|
+
archived: boolean;
|
|
23112
23112
|
icon?: {
|
|
23113
23113
|
type: "emoji";
|
|
23114
23114
|
emoji: string;
|
|
@@ -23145,14 +23145,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23145
23145
|
public_url?: string | null | undefined;
|
|
23146
23146
|
}>>;
|
|
23147
23147
|
}, "strip", z.ZodTypeAny, {
|
|
23148
|
-
error: string;
|
|
23149
|
-
success: boolean;
|
|
23150
23148
|
operation: "create_page";
|
|
23149
|
+
success: boolean;
|
|
23150
|
+
error: string;
|
|
23151
23151
|
page?: {
|
|
23152
23152
|
object: "page";
|
|
23153
|
+
id: string;
|
|
23153
23154
|
properties: Record<string, unknown>;
|
|
23154
23155
|
url: string;
|
|
23155
|
-
id: string;
|
|
23156
23156
|
parent: {
|
|
23157
23157
|
type: "page_id";
|
|
23158
23158
|
page_id: string;
|
|
@@ -23170,9 +23170,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23170
23170
|
type: "workspace";
|
|
23171
23171
|
workspace: true;
|
|
23172
23172
|
};
|
|
23173
|
-
archived: boolean;
|
|
23174
|
-
last_edited_time: string;
|
|
23175
23173
|
created_time: string;
|
|
23174
|
+
last_edited_time: string;
|
|
23176
23175
|
created_by: {
|
|
23177
23176
|
object: "user";
|
|
23178
23177
|
id: string;
|
|
@@ -23207,6 +23206,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23207
23206
|
workspace_name?: string | undefined;
|
|
23208
23207
|
} | undefined;
|
|
23209
23208
|
};
|
|
23209
|
+
archived: boolean;
|
|
23210
23210
|
icon?: {
|
|
23211
23211
|
type: "emoji";
|
|
23212
23212
|
emoji: string;
|
|
@@ -23243,14 +23243,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23243
23243
|
public_url?: string | null | undefined;
|
|
23244
23244
|
} | undefined;
|
|
23245
23245
|
}, {
|
|
23246
|
-
error: string;
|
|
23247
|
-
success: boolean;
|
|
23248
23246
|
operation: "create_page";
|
|
23247
|
+
success: boolean;
|
|
23248
|
+
error: string;
|
|
23249
23249
|
page?: {
|
|
23250
23250
|
object: "page";
|
|
23251
|
+
id: string;
|
|
23251
23252
|
properties: Record<string, unknown>;
|
|
23252
23253
|
url: string;
|
|
23253
|
-
id: string;
|
|
23254
23254
|
parent: {
|
|
23255
23255
|
type: "page_id";
|
|
23256
23256
|
page_id: string;
|
|
@@ -23268,9 +23268,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23268
23268
|
type: "workspace";
|
|
23269
23269
|
workspace: true;
|
|
23270
23270
|
};
|
|
23271
|
-
archived: boolean;
|
|
23272
|
-
last_edited_time: string;
|
|
23273
23271
|
created_time: string;
|
|
23272
|
+
last_edited_time: string;
|
|
23274
23273
|
created_by: {
|
|
23275
23274
|
object: "user";
|
|
23276
23275
|
id: string;
|
|
@@ -23305,6 +23304,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23305
23304
|
workspace_name?: string | undefined;
|
|
23306
23305
|
} | undefined;
|
|
23307
23306
|
};
|
|
23307
|
+
archived: boolean;
|
|
23308
23308
|
icon?: {
|
|
23309
23309
|
type: "emoji";
|
|
23310
23310
|
emoji: string;
|
|
@@ -23663,9 +23663,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23663
23663
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23664
23664
|
}, "strip", z.ZodTypeAny, {
|
|
23665
23665
|
object: "page";
|
|
23666
|
+
id: string;
|
|
23666
23667
|
properties: Record<string, unknown>;
|
|
23667
23668
|
url: string;
|
|
23668
|
-
id: string;
|
|
23669
23669
|
parent: {
|
|
23670
23670
|
type: "page_id";
|
|
23671
23671
|
page_id: string;
|
|
@@ -23683,9 +23683,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23683
23683
|
type: "workspace";
|
|
23684
23684
|
workspace: true;
|
|
23685
23685
|
};
|
|
23686
|
-
archived: boolean;
|
|
23687
|
-
last_edited_time: string;
|
|
23688
23686
|
created_time: string;
|
|
23687
|
+
last_edited_time: string;
|
|
23689
23688
|
created_by: {
|
|
23690
23689
|
object: "user";
|
|
23691
23690
|
id: string;
|
|
@@ -23720,6 +23719,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23720
23719
|
workspace_name?: string | undefined;
|
|
23721
23720
|
} | undefined;
|
|
23722
23721
|
};
|
|
23722
|
+
archived: boolean;
|
|
23723
23723
|
icon?: {
|
|
23724
23724
|
type: "emoji";
|
|
23725
23725
|
emoji: string;
|
|
@@ -23756,9 +23756,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23756
23756
|
public_url?: string | null | undefined;
|
|
23757
23757
|
}, {
|
|
23758
23758
|
object: "page";
|
|
23759
|
+
id: string;
|
|
23759
23760
|
properties: Record<string, unknown>;
|
|
23760
23761
|
url: string;
|
|
23761
|
-
id: string;
|
|
23762
23762
|
parent: {
|
|
23763
23763
|
type: "page_id";
|
|
23764
23764
|
page_id: string;
|
|
@@ -23776,9 +23776,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23776
23776
|
type: "workspace";
|
|
23777
23777
|
workspace: true;
|
|
23778
23778
|
};
|
|
23779
|
-
archived: boolean;
|
|
23780
|
-
last_edited_time: string;
|
|
23781
23779
|
created_time: string;
|
|
23780
|
+
last_edited_time: string;
|
|
23782
23781
|
created_by: {
|
|
23783
23782
|
object: "user";
|
|
23784
23783
|
id: string;
|
|
@@ -23813,6 +23812,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23813
23812
|
workspace_name?: string | undefined;
|
|
23814
23813
|
} | undefined;
|
|
23815
23814
|
};
|
|
23815
|
+
archived: boolean;
|
|
23816
23816
|
icon?: {
|
|
23817
23817
|
type: "emoji";
|
|
23818
23818
|
emoji: string;
|
|
@@ -23849,14 +23849,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23849
23849
|
public_url?: string | null | undefined;
|
|
23850
23850
|
}>>;
|
|
23851
23851
|
}, "strip", z.ZodTypeAny, {
|
|
23852
|
-
error: string;
|
|
23853
|
-
success: boolean;
|
|
23854
23852
|
operation: "retrieve_page";
|
|
23853
|
+
success: boolean;
|
|
23854
|
+
error: string;
|
|
23855
23855
|
page?: {
|
|
23856
23856
|
object: "page";
|
|
23857
|
+
id: string;
|
|
23857
23858
|
properties: Record<string, unknown>;
|
|
23858
23859
|
url: string;
|
|
23859
|
-
id: string;
|
|
23860
23860
|
parent: {
|
|
23861
23861
|
type: "page_id";
|
|
23862
23862
|
page_id: string;
|
|
@@ -23874,9 +23874,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23874
23874
|
type: "workspace";
|
|
23875
23875
|
workspace: true;
|
|
23876
23876
|
};
|
|
23877
|
-
archived: boolean;
|
|
23878
|
-
last_edited_time: string;
|
|
23879
23877
|
created_time: string;
|
|
23878
|
+
last_edited_time: string;
|
|
23880
23879
|
created_by: {
|
|
23881
23880
|
object: "user";
|
|
23882
23881
|
id: string;
|
|
@@ -23911,6 +23910,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23911
23910
|
workspace_name?: string | undefined;
|
|
23912
23911
|
} | undefined;
|
|
23913
23912
|
};
|
|
23913
|
+
archived: boolean;
|
|
23914
23914
|
icon?: {
|
|
23915
23915
|
type: "emoji";
|
|
23916
23916
|
emoji: string;
|
|
@@ -23947,14 +23947,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23947
23947
|
public_url?: string | null | undefined;
|
|
23948
23948
|
} | undefined;
|
|
23949
23949
|
}, {
|
|
23950
|
-
error: string;
|
|
23951
|
-
success: boolean;
|
|
23952
23950
|
operation: "retrieve_page";
|
|
23951
|
+
success: boolean;
|
|
23952
|
+
error: string;
|
|
23953
23953
|
page?: {
|
|
23954
23954
|
object: "page";
|
|
23955
|
+
id: string;
|
|
23955
23956
|
properties: Record<string, unknown>;
|
|
23956
23957
|
url: string;
|
|
23957
|
-
id: string;
|
|
23958
23958
|
parent: {
|
|
23959
23959
|
type: "page_id";
|
|
23960
23960
|
page_id: string;
|
|
@@ -23972,9 +23972,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23972
23972
|
type: "workspace";
|
|
23973
23973
|
workspace: true;
|
|
23974
23974
|
};
|
|
23975
|
-
archived: boolean;
|
|
23976
|
-
last_edited_time: string;
|
|
23977
23975
|
created_time: string;
|
|
23976
|
+
last_edited_time: string;
|
|
23978
23977
|
created_by: {
|
|
23979
23978
|
object: "user";
|
|
23980
23979
|
id: string;
|
|
@@ -24009,6 +24008,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24009
24008
|
workspace_name?: string | undefined;
|
|
24010
24009
|
} | undefined;
|
|
24011
24010
|
};
|
|
24011
|
+
archived: boolean;
|
|
24012
24012
|
icon?: {
|
|
24013
24013
|
type: "emoji";
|
|
24014
24014
|
emoji: string;
|
|
@@ -24367,9 +24367,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24367
24367
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24368
24368
|
}, "strip", z.ZodTypeAny, {
|
|
24369
24369
|
object: "page";
|
|
24370
|
+
id: string;
|
|
24370
24371
|
properties: Record<string, unknown>;
|
|
24371
24372
|
url: string;
|
|
24372
|
-
id: string;
|
|
24373
24373
|
parent: {
|
|
24374
24374
|
type: "page_id";
|
|
24375
24375
|
page_id: string;
|
|
@@ -24387,9 +24387,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24387
24387
|
type: "workspace";
|
|
24388
24388
|
workspace: true;
|
|
24389
24389
|
};
|
|
24390
|
-
archived: boolean;
|
|
24391
|
-
last_edited_time: string;
|
|
24392
24390
|
created_time: string;
|
|
24391
|
+
last_edited_time: string;
|
|
24393
24392
|
created_by: {
|
|
24394
24393
|
object: "user";
|
|
24395
24394
|
id: string;
|
|
@@ -24424,6 +24423,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24424
24423
|
workspace_name?: string | undefined;
|
|
24425
24424
|
} | undefined;
|
|
24426
24425
|
};
|
|
24426
|
+
archived: boolean;
|
|
24427
24427
|
icon?: {
|
|
24428
24428
|
type: "emoji";
|
|
24429
24429
|
emoji: string;
|
|
@@ -24460,9 +24460,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24460
24460
|
public_url?: string | null | undefined;
|
|
24461
24461
|
}, {
|
|
24462
24462
|
object: "page";
|
|
24463
|
+
id: string;
|
|
24463
24464
|
properties: Record<string, unknown>;
|
|
24464
24465
|
url: string;
|
|
24465
|
-
id: string;
|
|
24466
24466
|
parent: {
|
|
24467
24467
|
type: "page_id";
|
|
24468
24468
|
page_id: string;
|
|
@@ -24480,9 +24480,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24480
24480
|
type: "workspace";
|
|
24481
24481
|
workspace: true;
|
|
24482
24482
|
};
|
|
24483
|
-
archived: boolean;
|
|
24484
|
-
last_edited_time: string;
|
|
24485
24483
|
created_time: string;
|
|
24484
|
+
last_edited_time: string;
|
|
24486
24485
|
created_by: {
|
|
24487
24486
|
object: "user";
|
|
24488
24487
|
id: string;
|
|
@@ -24517,6 +24516,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24517
24516
|
workspace_name?: string | undefined;
|
|
24518
24517
|
} | undefined;
|
|
24519
24518
|
};
|
|
24519
|
+
archived: boolean;
|
|
24520
24520
|
icon?: {
|
|
24521
24521
|
type: "emoji";
|
|
24522
24522
|
emoji: string;
|
|
@@ -24553,14 +24553,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24553
24553
|
public_url?: string | null | undefined;
|
|
24554
24554
|
}>>;
|
|
24555
24555
|
}, "strip", z.ZodTypeAny, {
|
|
24556
|
-
error: string;
|
|
24557
|
-
success: boolean;
|
|
24558
24556
|
operation: "update_page";
|
|
24557
|
+
success: boolean;
|
|
24558
|
+
error: string;
|
|
24559
24559
|
page?: {
|
|
24560
24560
|
object: "page";
|
|
24561
|
+
id: string;
|
|
24561
24562
|
properties: Record<string, unknown>;
|
|
24562
24563
|
url: string;
|
|
24563
|
-
id: string;
|
|
24564
24564
|
parent: {
|
|
24565
24565
|
type: "page_id";
|
|
24566
24566
|
page_id: string;
|
|
@@ -24578,9 +24578,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24578
24578
|
type: "workspace";
|
|
24579
24579
|
workspace: true;
|
|
24580
24580
|
};
|
|
24581
|
-
archived: boolean;
|
|
24582
|
-
last_edited_time: string;
|
|
24583
24581
|
created_time: string;
|
|
24582
|
+
last_edited_time: string;
|
|
24584
24583
|
created_by: {
|
|
24585
24584
|
object: "user";
|
|
24586
24585
|
id: string;
|
|
@@ -24615,6 +24614,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24615
24614
|
workspace_name?: string | undefined;
|
|
24616
24615
|
} | undefined;
|
|
24617
24616
|
};
|
|
24617
|
+
archived: boolean;
|
|
24618
24618
|
icon?: {
|
|
24619
24619
|
type: "emoji";
|
|
24620
24620
|
emoji: string;
|
|
@@ -24651,14 +24651,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24651
24651
|
public_url?: string | null | undefined;
|
|
24652
24652
|
} | undefined;
|
|
24653
24653
|
}, {
|
|
24654
|
-
error: string;
|
|
24655
|
-
success: boolean;
|
|
24656
24654
|
operation: "update_page";
|
|
24655
|
+
success: boolean;
|
|
24656
|
+
error: string;
|
|
24657
24657
|
page?: {
|
|
24658
24658
|
object: "page";
|
|
24659
|
+
id: string;
|
|
24659
24660
|
properties: Record<string, unknown>;
|
|
24660
24661
|
url: string;
|
|
24661
|
-
id: string;
|
|
24662
24662
|
parent: {
|
|
24663
24663
|
type: "page_id";
|
|
24664
24664
|
page_id: string;
|
|
@@ -24676,9 +24676,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24676
24676
|
type: "workspace";
|
|
24677
24677
|
workspace: true;
|
|
24678
24678
|
};
|
|
24679
|
-
archived: boolean;
|
|
24680
|
-
last_edited_time: string;
|
|
24681
24679
|
created_time: string;
|
|
24680
|
+
last_edited_time: string;
|
|
24682
24681
|
created_by: {
|
|
24683
24682
|
object: "user";
|
|
24684
24683
|
id: string;
|
|
@@ -24713,6 +24712,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24713
24712
|
workspace_name?: string | undefined;
|
|
24714
24713
|
} | undefined;
|
|
24715
24714
|
};
|
|
24715
|
+
archived: boolean;
|
|
24716
24716
|
icon?: {
|
|
24717
24717
|
type: "emoji";
|
|
24718
24718
|
emoji: string;
|
|
@@ -25211,8 +25211,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25211
25211
|
};
|
|
25212
25212
|
}>]>>>;
|
|
25213
25213
|
}, "strip", z.ZodTypeAny, {
|
|
25214
|
-
name: string;
|
|
25215
25214
|
id: string;
|
|
25215
|
+
name: string;
|
|
25216
25216
|
icon?: {
|
|
25217
25217
|
type: "emoji";
|
|
25218
25218
|
emoji: string;
|
|
@@ -25246,8 +25246,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25246
25246
|
};
|
|
25247
25247
|
} | null | undefined;
|
|
25248
25248
|
}, {
|
|
25249
|
-
name: string;
|
|
25250
25249
|
id: string;
|
|
25250
|
+
name: string;
|
|
25251
25251
|
icon?: {
|
|
25252
25252
|
type: "emoji";
|
|
25253
25253
|
emoji: string;
|
|
@@ -25285,6 +25285,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25285
25285
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25286
25286
|
}, "strip", z.ZodTypeAny, {
|
|
25287
25287
|
object: "database";
|
|
25288
|
+
id: string;
|
|
25288
25289
|
title: {
|
|
25289
25290
|
type: "text" | "mention" | "equation";
|
|
25290
25291
|
text?: {
|
|
@@ -25304,7 +25305,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25304
25305
|
} | undefined;
|
|
25305
25306
|
href?: string | null | undefined;
|
|
25306
25307
|
}[];
|
|
25307
|
-
id: string;
|
|
25308
25308
|
parent: {
|
|
25309
25309
|
type: "page_id";
|
|
25310
25310
|
page_id: string;
|
|
@@ -25322,11 +25322,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25322
25322
|
type: "workspace";
|
|
25323
25323
|
workspace: true;
|
|
25324
25324
|
};
|
|
25325
|
-
last_edited_time: string;
|
|
25326
25325
|
created_time: string;
|
|
25326
|
+
last_edited_time: string;
|
|
25327
25327
|
data_sources: {
|
|
25328
|
-
name: string;
|
|
25329
25328
|
id: string;
|
|
25329
|
+
name: string;
|
|
25330
25330
|
icon?: {
|
|
25331
25331
|
type: "emoji";
|
|
25332
25332
|
emoji: string;
|
|
@@ -25414,10 +25414,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25414
25414
|
};
|
|
25415
25415
|
} | null | undefined;
|
|
25416
25416
|
in_trash?: boolean | undefined;
|
|
25417
|
-
is_inline?: boolean | undefined;
|
|
25418
25417
|
public_url?: string | null | undefined;
|
|
25418
|
+
is_inline?: boolean | undefined;
|
|
25419
25419
|
}, {
|
|
25420
25420
|
object: "database";
|
|
25421
|
+
id: string;
|
|
25421
25422
|
title: {
|
|
25422
25423
|
type: "text" | "mention" | "equation";
|
|
25423
25424
|
text?: {
|
|
@@ -25437,7 +25438,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25437
25438
|
} | undefined;
|
|
25438
25439
|
href?: string | null | undefined;
|
|
25439
25440
|
}[];
|
|
25440
|
-
id: string;
|
|
25441
25441
|
parent: {
|
|
25442
25442
|
type: "page_id";
|
|
25443
25443
|
page_id: string;
|
|
@@ -25455,11 +25455,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25455
25455
|
type: "workspace";
|
|
25456
25456
|
workspace: true;
|
|
25457
25457
|
};
|
|
25458
|
-
last_edited_time: string;
|
|
25459
25458
|
created_time: string;
|
|
25459
|
+
last_edited_time: string;
|
|
25460
25460
|
data_sources: {
|
|
25461
|
-
name: string;
|
|
25462
25461
|
id: string;
|
|
25462
|
+
name: string;
|
|
25463
25463
|
icon?: {
|
|
25464
25464
|
type: "emoji";
|
|
25465
25465
|
emoji: string;
|
|
@@ -25547,15 +25547,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25547
25547
|
};
|
|
25548
25548
|
} | null | undefined;
|
|
25549
25549
|
in_trash?: boolean | undefined;
|
|
25550
|
-
is_inline?: boolean | undefined;
|
|
25551
25550
|
public_url?: string | null | undefined;
|
|
25551
|
+
is_inline?: boolean | undefined;
|
|
25552
25552
|
}>>;
|
|
25553
25553
|
}, "strip", z.ZodTypeAny, {
|
|
25554
|
-
error: string;
|
|
25555
|
-
success: boolean;
|
|
25556
25554
|
operation: "retrieve_database";
|
|
25555
|
+
success: boolean;
|
|
25556
|
+
error: string;
|
|
25557
25557
|
database?: {
|
|
25558
25558
|
object: "database";
|
|
25559
|
+
id: string;
|
|
25559
25560
|
title: {
|
|
25560
25561
|
type: "text" | "mention" | "equation";
|
|
25561
25562
|
text?: {
|
|
@@ -25575,7 +25576,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25575
25576
|
} | undefined;
|
|
25576
25577
|
href?: string | null | undefined;
|
|
25577
25578
|
}[];
|
|
25578
|
-
id: string;
|
|
25579
25579
|
parent: {
|
|
25580
25580
|
type: "page_id";
|
|
25581
25581
|
page_id: string;
|
|
@@ -25593,11 +25593,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25593
25593
|
type: "workspace";
|
|
25594
25594
|
workspace: true;
|
|
25595
25595
|
};
|
|
25596
|
-
last_edited_time: string;
|
|
25597
25596
|
created_time: string;
|
|
25597
|
+
last_edited_time: string;
|
|
25598
25598
|
data_sources: {
|
|
25599
|
-
name: string;
|
|
25600
25599
|
id: string;
|
|
25600
|
+
name: string;
|
|
25601
25601
|
icon?: {
|
|
25602
25602
|
type: "emoji";
|
|
25603
25603
|
emoji: string;
|
|
@@ -25685,15 +25685,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25685
25685
|
};
|
|
25686
25686
|
} | null | undefined;
|
|
25687
25687
|
in_trash?: boolean | undefined;
|
|
25688
|
-
is_inline?: boolean | undefined;
|
|
25689
25688
|
public_url?: string | null | undefined;
|
|
25689
|
+
is_inline?: boolean | undefined;
|
|
25690
25690
|
} | undefined;
|
|
25691
25691
|
}, {
|
|
25692
|
-
error: string;
|
|
25693
|
-
success: boolean;
|
|
25694
25692
|
operation: "retrieve_database";
|
|
25693
|
+
success: boolean;
|
|
25694
|
+
error: string;
|
|
25695
25695
|
database?: {
|
|
25696
25696
|
object: "database";
|
|
25697
|
+
id: string;
|
|
25697
25698
|
title: {
|
|
25698
25699
|
type: "text" | "mention" | "equation";
|
|
25699
25700
|
text?: {
|
|
@@ -25713,7 +25714,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25713
25714
|
} | undefined;
|
|
25714
25715
|
href?: string | null | undefined;
|
|
25715
25716
|
}[];
|
|
25716
|
-
id: string;
|
|
25717
25717
|
parent: {
|
|
25718
25718
|
type: "page_id";
|
|
25719
25719
|
page_id: string;
|
|
@@ -25731,11 +25731,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25731
25731
|
type: "workspace";
|
|
25732
25732
|
workspace: true;
|
|
25733
25733
|
};
|
|
25734
|
-
last_edited_time: string;
|
|
25735
25734
|
created_time: string;
|
|
25735
|
+
last_edited_time: string;
|
|
25736
25736
|
data_sources: {
|
|
25737
|
-
name: string;
|
|
25738
25737
|
id: string;
|
|
25738
|
+
name: string;
|
|
25739
25739
|
icon?: {
|
|
25740
25740
|
type: "emoji";
|
|
25741
25741
|
emoji: string;
|
|
@@ -25823,8 +25823,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25823
25823
|
};
|
|
25824
25824
|
} | null | undefined;
|
|
25825
25825
|
in_trash?: boolean | undefined;
|
|
25826
|
-
is_inline?: boolean | undefined;
|
|
25827
25826
|
public_url?: string | null | undefined;
|
|
25827
|
+
is_inline?: boolean | undefined;
|
|
25828
25828
|
} | undefined;
|
|
25829
25829
|
}>, z.ZodObject<{
|
|
25830
25830
|
operation: z.ZodLiteral<"retrieve_data_source">;
|
|
@@ -27170,9 +27170,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
27170
27170
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27171
27171
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
27172
27172
|
}, "strip", z.ZodTypeAny, {
|
|
27173
|
-
error: string;
|
|
27174
|
-
success: boolean;
|
|
27175
27173
|
operation: "retrieve_data_source";
|
|
27174
|
+
success: boolean;
|
|
27175
|
+
error: string;
|
|
27176
27176
|
data_source?: z.objectOutputType<{
|
|
27177
27177
|
object: z.ZodLiteral<"data_source">;
|
|
27178
27178
|
id: z.ZodString;
|
|
@@ -27621,9 +27621,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
27621
27621
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27622
27622
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
27623
27623
|
}, {
|
|
27624
|
-
error: string;
|
|
27625
|
-
success: boolean;
|
|
27626
27624
|
operation: "retrieve_data_source";
|
|
27625
|
+
success: boolean;
|
|
27626
|
+
error: string;
|
|
27627
27627
|
data_source?: z.objectInputType<{
|
|
27628
27628
|
object: z.ZodLiteral<"data_source">;
|
|
27629
27629
|
id: z.ZodString;
|
|
@@ -28130,11 +28130,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28130
28130
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28131
28131
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
28132
28132
|
}, "strip", z.ZodTypeAny, {
|
|
28133
|
-
error: string;
|
|
28134
|
-
success: boolean;
|
|
28135
28133
|
operation: "query_data_source";
|
|
28136
|
-
|
|
28137
|
-
|
|
28134
|
+
success: boolean;
|
|
28135
|
+
error: string;
|
|
28138
28136
|
results?: z.objectOutputType<{
|
|
28139
28137
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
28140
28138
|
id: z.ZodString;
|
|
@@ -28153,12 +28151,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28153
28151
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
28154
28152
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
28155
28153
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
28156
|
-
}, {
|
|
28157
|
-
error: string;
|
|
28158
|
-
success: boolean;
|
|
28159
|
-
operation: "query_data_source";
|
|
28160
28154
|
next_cursor?: string | null | undefined;
|
|
28161
28155
|
has_more?: boolean | undefined;
|
|
28156
|
+
}, {
|
|
28157
|
+
operation: "query_data_source";
|
|
28158
|
+
success: boolean;
|
|
28159
|
+
error: string;
|
|
28162
28160
|
results?: z.objectInputType<{
|
|
28163
28161
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
28164
28162
|
id: z.ZodString;
|
|
@@ -28177,6 +28175,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28177
28175
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
28178
28176
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
28179
28177
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
28178
|
+
next_cursor?: string | null | undefined;
|
|
28179
|
+
has_more?: boolean | undefined;
|
|
28180
28180
|
}>, z.ZodObject<{
|
|
28181
28181
|
operation: z.ZodLiteral<"create_data_source">;
|
|
28182
28182
|
success: z.ZodBoolean;
|
|
@@ -29521,9 +29521,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29521
29521
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29522
29522
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
29523
29523
|
}, "strip", z.ZodTypeAny, {
|
|
29524
|
-
error: string;
|
|
29525
|
-
success: boolean;
|
|
29526
29524
|
operation: "create_data_source";
|
|
29525
|
+
success: boolean;
|
|
29526
|
+
error: string;
|
|
29527
29527
|
dataSource?: z.objectOutputType<{
|
|
29528
29528
|
object: z.ZodLiteral<"data_source">;
|
|
29529
29529
|
id: z.ZodString;
|
|
@@ -29972,9 +29972,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
29972
29972
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29973
29973
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
29974
29974
|
}, {
|
|
29975
|
-
error: string;
|
|
29976
|
-
success: boolean;
|
|
29977
29975
|
operation: "create_data_source";
|
|
29976
|
+
success: boolean;
|
|
29977
|
+
error: string;
|
|
29978
29978
|
dataSource?: z.objectInputType<{
|
|
29979
29979
|
object: z.ZodLiteral<"data_source">;
|
|
29980
29980
|
id: z.ZodString;
|
|
@@ -31766,9 +31766,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
31766
31766
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31767
31767
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
31768
31768
|
}, "strip", z.ZodTypeAny, {
|
|
31769
|
-
error: string;
|
|
31770
|
-
success: boolean;
|
|
31771
31769
|
operation: "update_data_source";
|
|
31770
|
+
success: boolean;
|
|
31771
|
+
error: string;
|
|
31772
31772
|
dataSource?: z.objectOutputType<{
|
|
31773
31773
|
object: z.ZodLiteral<"data_source">;
|
|
31774
31774
|
id: z.ZodString;
|
|
@@ -32217,9 +32217,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
32217
32217
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32218
32218
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
32219
32219
|
}, {
|
|
32220
|
-
error: string;
|
|
32221
|
-
success: boolean;
|
|
32222
32220
|
operation: "update_data_source";
|
|
32221
|
+
success: boolean;
|
|
32222
|
+
error: string;
|
|
32223
32223
|
dataSource?: z.objectInputType<{
|
|
32224
32224
|
object: z.ZodLiteral<"data_source">;
|
|
32225
32225
|
id: z.ZodString;
|
|
@@ -33130,8 +33130,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33130
33130
|
};
|
|
33131
33131
|
}>]>>>;
|
|
33132
33132
|
}, "strip", z.ZodTypeAny, {
|
|
33133
|
-
name: string;
|
|
33134
33133
|
id: string;
|
|
33134
|
+
name: string;
|
|
33135
33135
|
icon?: {
|
|
33136
33136
|
type: "emoji";
|
|
33137
33137
|
emoji: string;
|
|
@@ -33165,8 +33165,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33165
33165
|
};
|
|
33166
33166
|
} | null | undefined;
|
|
33167
33167
|
}, {
|
|
33168
|
-
name: string;
|
|
33169
33168
|
id: string;
|
|
33169
|
+
name: string;
|
|
33170
33170
|
icon?: {
|
|
33171
33171
|
type: "emoji";
|
|
33172
33172
|
emoji: string;
|
|
@@ -33204,6 +33204,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33204
33204
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33205
33205
|
}, "strip", z.ZodTypeAny, {
|
|
33206
33206
|
object: "database";
|
|
33207
|
+
id: string;
|
|
33207
33208
|
title: {
|
|
33208
33209
|
type: "text" | "mention" | "equation";
|
|
33209
33210
|
text?: {
|
|
@@ -33223,7 +33224,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33223
33224
|
} | undefined;
|
|
33224
33225
|
href?: string | null | undefined;
|
|
33225
33226
|
}[];
|
|
33226
|
-
id: string;
|
|
33227
33227
|
parent: {
|
|
33228
33228
|
type: "page_id";
|
|
33229
33229
|
page_id: string;
|
|
@@ -33241,11 +33241,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33241
33241
|
type: "workspace";
|
|
33242
33242
|
workspace: true;
|
|
33243
33243
|
};
|
|
33244
|
-
last_edited_time: string;
|
|
33245
33244
|
created_time: string;
|
|
33245
|
+
last_edited_time: string;
|
|
33246
33246
|
data_sources: {
|
|
33247
|
-
name: string;
|
|
33248
33247
|
id: string;
|
|
33248
|
+
name: string;
|
|
33249
33249
|
icon?: {
|
|
33250
33250
|
type: "emoji";
|
|
33251
33251
|
emoji: string;
|
|
@@ -33333,10 +33333,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33333
33333
|
};
|
|
33334
33334
|
} | null | undefined;
|
|
33335
33335
|
in_trash?: boolean | undefined;
|
|
33336
|
-
is_inline?: boolean | undefined;
|
|
33337
33336
|
public_url?: string | null | undefined;
|
|
33337
|
+
is_inline?: boolean | undefined;
|
|
33338
33338
|
}, {
|
|
33339
33339
|
object: "database";
|
|
33340
|
+
id: string;
|
|
33340
33341
|
title: {
|
|
33341
33342
|
type: "text" | "mention" | "equation";
|
|
33342
33343
|
text?: {
|
|
@@ -33356,7 +33357,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33356
33357
|
} | undefined;
|
|
33357
33358
|
href?: string | null | undefined;
|
|
33358
33359
|
}[];
|
|
33359
|
-
id: string;
|
|
33360
33360
|
parent: {
|
|
33361
33361
|
type: "page_id";
|
|
33362
33362
|
page_id: string;
|
|
@@ -33374,11 +33374,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33374
33374
|
type: "workspace";
|
|
33375
33375
|
workspace: true;
|
|
33376
33376
|
};
|
|
33377
|
-
last_edited_time: string;
|
|
33378
33377
|
created_time: string;
|
|
33378
|
+
last_edited_time: string;
|
|
33379
33379
|
data_sources: {
|
|
33380
|
-
name: string;
|
|
33381
33380
|
id: string;
|
|
33381
|
+
name: string;
|
|
33382
33382
|
icon?: {
|
|
33383
33383
|
type: "emoji";
|
|
33384
33384
|
emoji: string;
|
|
@@ -33466,15 +33466,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33466
33466
|
};
|
|
33467
33467
|
} | null | undefined;
|
|
33468
33468
|
in_trash?: boolean | undefined;
|
|
33469
|
-
is_inline?: boolean | undefined;
|
|
33470
33469
|
public_url?: string | null | undefined;
|
|
33470
|
+
is_inline?: boolean | undefined;
|
|
33471
33471
|
}>>;
|
|
33472
33472
|
}, "strip", z.ZodTypeAny, {
|
|
33473
|
-
error: string;
|
|
33474
|
-
success: boolean;
|
|
33475
33473
|
operation: "create_database";
|
|
33474
|
+
success: boolean;
|
|
33475
|
+
error: string;
|
|
33476
33476
|
database?: {
|
|
33477
33477
|
object: "database";
|
|
33478
|
+
id: string;
|
|
33478
33479
|
title: {
|
|
33479
33480
|
type: "text" | "mention" | "equation";
|
|
33480
33481
|
text?: {
|
|
@@ -33494,7 +33495,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33494
33495
|
} | undefined;
|
|
33495
33496
|
href?: string | null | undefined;
|
|
33496
33497
|
}[];
|
|
33497
|
-
id: string;
|
|
33498
33498
|
parent: {
|
|
33499
33499
|
type: "page_id";
|
|
33500
33500
|
page_id: string;
|
|
@@ -33512,11 +33512,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33512
33512
|
type: "workspace";
|
|
33513
33513
|
workspace: true;
|
|
33514
33514
|
};
|
|
33515
|
-
last_edited_time: string;
|
|
33516
33515
|
created_time: string;
|
|
33516
|
+
last_edited_time: string;
|
|
33517
33517
|
data_sources: {
|
|
33518
|
-
name: string;
|
|
33519
33518
|
id: string;
|
|
33519
|
+
name: string;
|
|
33520
33520
|
icon?: {
|
|
33521
33521
|
type: "emoji";
|
|
33522
33522
|
emoji: string;
|
|
@@ -33604,15 +33604,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33604
33604
|
};
|
|
33605
33605
|
} | null | undefined;
|
|
33606
33606
|
in_trash?: boolean | undefined;
|
|
33607
|
-
is_inline?: boolean | undefined;
|
|
33608
33607
|
public_url?: string | null | undefined;
|
|
33608
|
+
is_inline?: boolean | undefined;
|
|
33609
33609
|
} | undefined;
|
|
33610
33610
|
}, {
|
|
33611
|
-
error: string;
|
|
33612
|
-
success: boolean;
|
|
33613
33611
|
operation: "create_database";
|
|
33612
|
+
success: boolean;
|
|
33613
|
+
error: string;
|
|
33614
33614
|
database?: {
|
|
33615
33615
|
object: "database";
|
|
33616
|
+
id: string;
|
|
33616
33617
|
title: {
|
|
33617
33618
|
type: "text" | "mention" | "equation";
|
|
33618
33619
|
text?: {
|
|
@@ -33632,7 +33633,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33632
33633
|
} | undefined;
|
|
33633
33634
|
href?: string | null | undefined;
|
|
33634
33635
|
}[];
|
|
33635
|
-
id: string;
|
|
33636
33636
|
parent: {
|
|
33637
33637
|
type: "page_id";
|
|
33638
33638
|
page_id: string;
|
|
@@ -33650,11 +33650,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33650
33650
|
type: "workspace";
|
|
33651
33651
|
workspace: true;
|
|
33652
33652
|
};
|
|
33653
|
-
last_edited_time: string;
|
|
33654
33653
|
created_time: string;
|
|
33654
|
+
last_edited_time: string;
|
|
33655
33655
|
data_sources: {
|
|
33656
|
-
name: string;
|
|
33657
33656
|
id: string;
|
|
33657
|
+
name: string;
|
|
33658
33658
|
icon?: {
|
|
33659
33659
|
type: "emoji";
|
|
33660
33660
|
emoji: string;
|
|
@@ -33742,8 +33742,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33742
33742
|
};
|
|
33743
33743
|
} | null | undefined;
|
|
33744
33744
|
in_trash?: boolean | undefined;
|
|
33745
|
-
is_inline?: boolean | undefined;
|
|
33746
33745
|
public_url?: string | null | undefined;
|
|
33746
|
+
is_inline?: boolean | undefined;
|
|
33747
33747
|
} | undefined;
|
|
33748
33748
|
}>, z.ZodObject<{
|
|
33749
33749
|
operation: z.ZodLiteral<"update_database">;
|
|
@@ -34208,8 +34208,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34208
34208
|
};
|
|
34209
34209
|
}>]>>>;
|
|
34210
34210
|
}, "strip", z.ZodTypeAny, {
|
|
34211
|
-
name: string;
|
|
34212
34211
|
id: string;
|
|
34212
|
+
name: string;
|
|
34213
34213
|
icon?: {
|
|
34214
34214
|
type: "emoji";
|
|
34215
34215
|
emoji: string;
|
|
@@ -34243,8 +34243,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34243
34243
|
};
|
|
34244
34244
|
} | null | undefined;
|
|
34245
34245
|
}, {
|
|
34246
|
-
name: string;
|
|
34247
34246
|
id: string;
|
|
34247
|
+
name: string;
|
|
34248
34248
|
icon?: {
|
|
34249
34249
|
type: "emoji";
|
|
34250
34250
|
emoji: string;
|
|
@@ -34282,6 +34282,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34282
34282
|
public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34283
34283
|
}, "strip", z.ZodTypeAny, {
|
|
34284
34284
|
object: "database";
|
|
34285
|
+
id: string;
|
|
34285
34286
|
title: {
|
|
34286
34287
|
type: "text" | "mention" | "equation";
|
|
34287
34288
|
text?: {
|
|
@@ -34301,7 +34302,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34301
34302
|
} | undefined;
|
|
34302
34303
|
href?: string | null | undefined;
|
|
34303
34304
|
}[];
|
|
34304
|
-
id: string;
|
|
34305
34305
|
parent: {
|
|
34306
34306
|
type: "page_id";
|
|
34307
34307
|
page_id: string;
|
|
@@ -34319,11 +34319,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34319
34319
|
type: "workspace";
|
|
34320
34320
|
workspace: true;
|
|
34321
34321
|
};
|
|
34322
|
-
last_edited_time: string;
|
|
34323
34322
|
created_time: string;
|
|
34323
|
+
last_edited_time: string;
|
|
34324
34324
|
data_sources: {
|
|
34325
|
-
name: string;
|
|
34326
34325
|
id: string;
|
|
34326
|
+
name: string;
|
|
34327
34327
|
icon?: {
|
|
34328
34328
|
type: "emoji";
|
|
34329
34329
|
emoji: string;
|
|
@@ -34411,10 +34411,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34411
34411
|
};
|
|
34412
34412
|
} | null | undefined;
|
|
34413
34413
|
in_trash?: boolean | undefined;
|
|
34414
|
-
is_inline?: boolean | undefined;
|
|
34415
34414
|
public_url?: string | null | undefined;
|
|
34415
|
+
is_inline?: boolean | undefined;
|
|
34416
34416
|
}, {
|
|
34417
34417
|
object: "database";
|
|
34418
|
+
id: string;
|
|
34418
34419
|
title: {
|
|
34419
34420
|
type: "text" | "mention" | "equation";
|
|
34420
34421
|
text?: {
|
|
@@ -34434,7 +34435,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34434
34435
|
} | undefined;
|
|
34435
34436
|
href?: string | null | undefined;
|
|
34436
34437
|
}[];
|
|
34437
|
-
id: string;
|
|
34438
34438
|
parent: {
|
|
34439
34439
|
type: "page_id";
|
|
34440
34440
|
page_id: string;
|
|
@@ -34452,11 +34452,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34452
34452
|
type: "workspace";
|
|
34453
34453
|
workspace: true;
|
|
34454
34454
|
};
|
|
34455
|
-
last_edited_time: string;
|
|
34456
34455
|
created_time: string;
|
|
34456
|
+
last_edited_time: string;
|
|
34457
34457
|
data_sources: {
|
|
34458
|
-
name: string;
|
|
34459
34458
|
id: string;
|
|
34459
|
+
name: string;
|
|
34460
34460
|
icon?: {
|
|
34461
34461
|
type: "emoji";
|
|
34462
34462
|
emoji: string;
|
|
@@ -34544,15 +34544,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34544
34544
|
};
|
|
34545
34545
|
} | null | undefined;
|
|
34546
34546
|
in_trash?: boolean | undefined;
|
|
34547
|
-
is_inline?: boolean | undefined;
|
|
34548
34547
|
public_url?: string | null | undefined;
|
|
34548
|
+
is_inline?: boolean | undefined;
|
|
34549
34549
|
}>>;
|
|
34550
34550
|
}, "strip", z.ZodTypeAny, {
|
|
34551
|
-
error: string;
|
|
34552
|
-
success: boolean;
|
|
34553
34551
|
operation: "update_database";
|
|
34552
|
+
success: boolean;
|
|
34553
|
+
error: string;
|
|
34554
34554
|
database?: {
|
|
34555
34555
|
object: "database";
|
|
34556
|
+
id: string;
|
|
34556
34557
|
title: {
|
|
34557
34558
|
type: "text" | "mention" | "equation";
|
|
34558
34559
|
text?: {
|
|
@@ -34572,7 +34573,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34572
34573
|
} | undefined;
|
|
34573
34574
|
href?: string | null | undefined;
|
|
34574
34575
|
}[];
|
|
34575
|
-
id: string;
|
|
34576
34576
|
parent: {
|
|
34577
34577
|
type: "page_id";
|
|
34578
34578
|
page_id: string;
|
|
@@ -34590,11 +34590,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34590
34590
|
type: "workspace";
|
|
34591
34591
|
workspace: true;
|
|
34592
34592
|
};
|
|
34593
|
-
last_edited_time: string;
|
|
34594
34593
|
created_time: string;
|
|
34594
|
+
last_edited_time: string;
|
|
34595
34595
|
data_sources: {
|
|
34596
|
-
name: string;
|
|
34597
34596
|
id: string;
|
|
34597
|
+
name: string;
|
|
34598
34598
|
icon?: {
|
|
34599
34599
|
type: "emoji";
|
|
34600
34600
|
emoji: string;
|
|
@@ -34682,15 +34682,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34682
34682
|
};
|
|
34683
34683
|
} | null | undefined;
|
|
34684
34684
|
in_trash?: boolean | undefined;
|
|
34685
|
-
is_inline?: boolean | undefined;
|
|
34686
34685
|
public_url?: string | null | undefined;
|
|
34686
|
+
is_inline?: boolean | undefined;
|
|
34687
34687
|
} | undefined;
|
|
34688
34688
|
}, {
|
|
34689
|
-
error: string;
|
|
34690
|
-
success: boolean;
|
|
34691
34689
|
operation: "update_database";
|
|
34690
|
+
success: boolean;
|
|
34691
|
+
error: string;
|
|
34692
34692
|
database?: {
|
|
34693
34693
|
object: "database";
|
|
34694
|
+
id: string;
|
|
34694
34695
|
title: {
|
|
34695
34696
|
type: "text" | "mention" | "equation";
|
|
34696
34697
|
text?: {
|
|
@@ -34710,7 +34711,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34710
34711
|
} | undefined;
|
|
34711
34712
|
href?: string | null | undefined;
|
|
34712
34713
|
}[];
|
|
34713
|
-
id: string;
|
|
34714
34714
|
parent: {
|
|
34715
34715
|
type: "page_id";
|
|
34716
34716
|
page_id: string;
|
|
@@ -34728,11 +34728,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34728
34728
|
type: "workspace";
|
|
34729
34729
|
workspace: true;
|
|
34730
34730
|
};
|
|
34731
|
-
last_edited_time: string;
|
|
34732
34731
|
created_time: string;
|
|
34732
|
+
last_edited_time: string;
|
|
34733
34733
|
data_sources: {
|
|
34734
|
-
name: string;
|
|
34735
34734
|
id: string;
|
|
34735
|
+
name: string;
|
|
34736
34736
|
icon?: {
|
|
34737
34737
|
type: "emoji";
|
|
34738
34738
|
emoji: string;
|
|
@@ -34820,8 +34820,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34820
34820
|
};
|
|
34821
34821
|
} | null | undefined;
|
|
34822
34822
|
in_trash?: boolean | undefined;
|
|
34823
|
-
is_inline?: boolean | undefined;
|
|
34824
34823
|
public_url?: string | null | undefined;
|
|
34824
|
+
is_inline?: boolean | undefined;
|
|
34825
34825
|
} | undefined;
|
|
34826
34826
|
}>, z.ZodObject<{
|
|
34827
34827
|
operation: z.ZodLiteral<"append_block_children">;
|
|
@@ -35431,9 +35431,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35431
35431
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
35432
35432
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
35433
35433
|
}, "strip", z.ZodTypeAny, {
|
|
35434
|
-
error: string;
|
|
35435
|
-
success: boolean;
|
|
35436
35434
|
operation: "append_block_children";
|
|
35435
|
+
success: boolean;
|
|
35436
|
+
error: string;
|
|
35437
35437
|
blocks?: z.objectOutputType<{
|
|
35438
35438
|
object: z.ZodLiteral<"block">;
|
|
35439
35439
|
id: z.ZodString;
|
|
@@ -35638,9 +35638,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
35638
35638
|
next_cursor?: string | null | undefined;
|
|
35639
35639
|
has_more?: boolean | undefined;
|
|
35640
35640
|
}, {
|
|
35641
|
-
error: string;
|
|
35642
|
-
success: boolean;
|
|
35643
35641
|
operation: "append_block_children";
|
|
35642
|
+
success: boolean;
|
|
35643
|
+
error: string;
|
|
35644
35644
|
blocks?: z.objectInputType<{
|
|
35645
35645
|
object: z.ZodLiteral<"block">;
|
|
35646
35646
|
id: z.ZodString;
|
|
@@ -36452,9 +36452,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
36452
36452
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
36453
36453
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
36454
36454
|
}, "strip", z.ZodTypeAny, {
|
|
36455
|
-
error: string;
|
|
36456
|
-
success: boolean;
|
|
36457
36455
|
operation: "retrieve_block_children";
|
|
36456
|
+
success: boolean;
|
|
36457
|
+
error: string;
|
|
36458
36458
|
blocks?: z.objectOutputType<{
|
|
36459
36459
|
object: z.ZodLiteral<"block">;
|
|
36460
36460
|
id: z.ZodString;
|
|
@@ -36659,9 +36659,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
36659
36659
|
next_cursor?: string | null | undefined;
|
|
36660
36660
|
has_more?: boolean | undefined;
|
|
36661
36661
|
}, {
|
|
36662
|
-
error: string;
|
|
36663
|
-
success: boolean;
|
|
36664
36662
|
operation: "retrieve_block_children";
|
|
36663
|
+
success: boolean;
|
|
36664
|
+
error: string;
|
|
36665
36665
|
blocks?: z.objectInputType<{
|
|
36666
36666
|
object: z.ZodLiteral<"block">;
|
|
36667
36667
|
id: z.ZodString;
|
|
@@ -37471,9 +37471,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
37471
37471
|
type: z.ZodString;
|
|
37472
37472
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
37473
37473
|
}, "strip", z.ZodTypeAny, {
|
|
37474
|
-
error: string;
|
|
37475
|
-
success: boolean;
|
|
37476
37474
|
operation: "retrieve_block";
|
|
37475
|
+
success: boolean;
|
|
37476
|
+
error: string;
|
|
37477
37477
|
block?: z.objectOutputType<{
|
|
37478
37478
|
object: z.ZodLiteral<"block">;
|
|
37479
37479
|
id: z.ZodString;
|
|
@@ -37676,9 +37676,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
37676
37676
|
type: z.ZodString;
|
|
37677
37677
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
37678
37678
|
}, {
|
|
37679
|
-
error: string;
|
|
37680
|
-
success: boolean;
|
|
37681
37679
|
operation: "retrieve_block";
|
|
37680
|
+
success: boolean;
|
|
37681
|
+
error: string;
|
|
37682
37682
|
block?: z.objectInputType<{
|
|
37683
37683
|
object: z.ZodLiteral<"block">;
|
|
37684
37684
|
id: z.ZodString;
|
|
@@ -38486,9 +38486,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
38486
38486
|
type: z.ZodString;
|
|
38487
38487
|
}, z.ZodTypeAny, "passthrough">>>;
|
|
38488
38488
|
}, "strip", z.ZodTypeAny, {
|
|
38489
|
-
error: string;
|
|
38490
|
-
success: boolean;
|
|
38491
38489
|
operation: "update_block";
|
|
38490
|
+
success: boolean;
|
|
38491
|
+
error: string;
|
|
38492
38492
|
block?: z.objectOutputType<{
|
|
38493
38493
|
object: z.ZodLiteral<"block">;
|
|
38494
38494
|
id: z.ZodString;
|
|
@@ -38691,9 +38691,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
38691
38691
|
type: z.ZodString;
|
|
38692
38692
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
38693
38693
|
}, {
|
|
38694
|
-
error: string;
|
|
38695
|
-
success: boolean;
|
|
38696
38694
|
operation: "update_block";
|
|
38695
|
+
success: boolean;
|
|
38696
|
+
error: string;
|
|
38697
38697
|
block?: z.objectInputType<{
|
|
38698
38698
|
object: z.ZodLiteral<"block">;
|
|
38699
38699
|
id: z.ZodString;
|
|
@@ -39082,6 +39082,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39082
39082
|
} & {
|
|
39083
39083
|
[k: string]: unknown;
|
|
39084
39084
|
};
|
|
39085
|
+
created_time: string;
|
|
39086
|
+
last_edited_time: string;
|
|
39087
|
+
created_by: {
|
|
39088
|
+
object: "user";
|
|
39089
|
+
id: string;
|
|
39090
|
+
type?: "person" | "bot" | undefined;
|
|
39091
|
+
name?: string | undefined;
|
|
39092
|
+
person?: {
|
|
39093
|
+
email?: string | undefined;
|
|
39094
|
+
} | undefined;
|
|
39095
|
+
avatar_url?: string | null | undefined;
|
|
39096
|
+
bot?: {
|
|
39097
|
+
owner?: {
|
|
39098
|
+
type: "user" | "workspace";
|
|
39099
|
+
workspace?: boolean | undefined;
|
|
39100
|
+
} | undefined;
|
|
39101
|
+
workspace_name?: string | undefined;
|
|
39102
|
+
} | undefined;
|
|
39103
|
+
};
|
|
39104
|
+
discussion_id: string;
|
|
39085
39105
|
rich_text: {
|
|
39086
39106
|
type: "text" | "mention" | "equation";
|
|
39087
39107
|
text?: {
|
|
@@ -39101,8 +39121,18 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39101
39121
|
} | undefined;
|
|
39102
39122
|
href?: string | null | undefined;
|
|
39103
39123
|
}[];
|
|
39104
|
-
|
|
39124
|
+
}, {
|
|
39125
|
+
object: "comment";
|
|
39126
|
+
id: string;
|
|
39127
|
+
parent: {
|
|
39128
|
+
type: "block_id" | "page_id";
|
|
39129
|
+
block_id?: string | undefined;
|
|
39130
|
+
page_id?: string | undefined;
|
|
39131
|
+
} & {
|
|
39132
|
+
[k: string]: unknown;
|
|
39133
|
+
};
|
|
39105
39134
|
created_time: string;
|
|
39135
|
+
last_edited_time: string;
|
|
39106
39136
|
created_by: {
|
|
39107
39137
|
object: "user";
|
|
39108
39138
|
id: string;
|
|
@@ -39121,16 +39151,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39121
39151
|
} | undefined;
|
|
39122
39152
|
};
|
|
39123
39153
|
discussion_id: string;
|
|
39124
|
-
}, {
|
|
39125
|
-
object: "comment";
|
|
39126
|
-
id: string;
|
|
39127
|
-
parent: {
|
|
39128
|
-
type: "block_id" | "page_id";
|
|
39129
|
-
block_id?: string | undefined;
|
|
39130
|
-
page_id?: string | undefined;
|
|
39131
|
-
} & {
|
|
39132
|
-
[k: string]: unknown;
|
|
39133
|
-
};
|
|
39134
39154
|
rich_text: {
|
|
39135
39155
|
type: "text" | "mention" | "equation";
|
|
39136
39156
|
text?: {
|
|
@@ -39150,8 +39170,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39150
39170
|
} | undefined;
|
|
39151
39171
|
href?: string | null | undefined;
|
|
39152
39172
|
}[];
|
|
39153
|
-
|
|
39173
|
+
}>>;
|
|
39174
|
+
}, "strip", z.ZodTypeAny, {
|
|
39175
|
+
operation: "create_comment";
|
|
39176
|
+
success: boolean;
|
|
39177
|
+
error: string;
|
|
39178
|
+
comment?: {
|
|
39179
|
+
object: "comment";
|
|
39180
|
+
id: string;
|
|
39181
|
+
parent: {
|
|
39182
|
+
type: "block_id" | "page_id";
|
|
39183
|
+
block_id?: string | undefined;
|
|
39184
|
+
page_id?: string | undefined;
|
|
39185
|
+
} & {
|
|
39186
|
+
[k: string]: unknown;
|
|
39187
|
+
};
|
|
39154
39188
|
created_time: string;
|
|
39189
|
+
last_edited_time: string;
|
|
39155
39190
|
created_by: {
|
|
39156
39191
|
object: "user";
|
|
39157
39192
|
id: string;
|
|
@@ -39170,21 +39205,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39170
39205
|
} | undefined;
|
|
39171
39206
|
};
|
|
39172
39207
|
discussion_id: string;
|
|
39173
|
-
}>>;
|
|
39174
|
-
}, "strip", z.ZodTypeAny, {
|
|
39175
|
-
error: string;
|
|
39176
|
-
success: boolean;
|
|
39177
|
-
operation: "create_comment";
|
|
39178
|
-
comment?: {
|
|
39179
|
-
object: "comment";
|
|
39180
|
-
id: string;
|
|
39181
|
-
parent: {
|
|
39182
|
-
type: "block_id" | "page_id";
|
|
39183
|
-
block_id?: string | undefined;
|
|
39184
|
-
page_id?: string | undefined;
|
|
39185
|
-
} & {
|
|
39186
|
-
[k: string]: unknown;
|
|
39187
|
-
};
|
|
39188
39208
|
rich_text: {
|
|
39189
39209
|
type: "text" | "mention" | "equation";
|
|
39190
39210
|
text?: {
|
|
@@ -39204,8 +39224,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39204
39224
|
} | undefined;
|
|
39205
39225
|
href?: string | null | undefined;
|
|
39206
39226
|
}[];
|
|
39207
|
-
|
|
39227
|
+
} | undefined;
|
|
39228
|
+
}, {
|
|
39229
|
+
operation: "create_comment";
|
|
39230
|
+
success: boolean;
|
|
39231
|
+
error: string;
|
|
39232
|
+
comment?: {
|
|
39233
|
+
object: "comment";
|
|
39234
|
+
id: string;
|
|
39235
|
+
parent: {
|
|
39236
|
+
type: "block_id" | "page_id";
|
|
39237
|
+
block_id?: string | undefined;
|
|
39238
|
+
page_id?: string | undefined;
|
|
39239
|
+
} & {
|
|
39240
|
+
[k: string]: unknown;
|
|
39241
|
+
};
|
|
39208
39242
|
created_time: string;
|
|
39243
|
+
last_edited_time: string;
|
|
39209
39244
|
created_by: {
|
|
39210
39245
|
object: "user";
|
|
39211
39246
|
id: string;
|
|
@@ -39224,21 +39259,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39224
39259
|
} | undefined;
|
|
39225
39260
|
};
|
|
39226
39261
|
discussion_id: string;
|
|
39227
|
-
} | undefined;
|
|
39228
|
-
}, {
|
|
39229
|
-
error: string;
|
|
39230
|
-
success: boolean;
|
|
39231
|
-
operation: "create_comment";
|
|
39232
|
-
comment?: {
|
|
39233
|
-
object: "comment";
|
|
39234
|
-
id: string;
|
|
39235
|
-
parent: {
|
|
39236
|
-
type: "block_id" | "page_id";
|
|
39237
|
-
block_id?: string | undefined;
|
|
39238
|
-
page_id?: string | undefined;
|
|
39239
|
-
} & {
|
|
39240
|
-
[k: string]: unknown;
|
|
39241
|
-
};
|
|
39242
39262
|
rich_text: {
|
|
39243
39263
|
type: "text" | "mention" | "equation";
|
|
39244
39264
|
text?: {
|
|
@@ -39258,26 +39278,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39258
39278
|
} | undefined;
|
|
39259
39279
|
href?: string | null | undefined;
|
|
39260
39280
|
}[];
|
|
39261
|
-
last_edited_time: string;
|
|
39262
|
-
created_time: string;
|
|
39263
|
-
created_by: {
|
|
39264
|
-
object: "user";
|
|
39265
|
-
id: string;
|
|
39266
|
-
type?: "person" | "bot" | undefined;
|
|
39267
|
-
name?: string | undefined;
|
|
39268
|
-
person?: {
|
|
39269
|
-
email?: string | undefined;
|
|
39270
|
-
} | undefined;
|
|
39271
|
-
avatar_url?: string | null | undefined;
|
|
39272
|
-
bot?: {
|
|
39273
|
-
owner?: {
|
|
39274
|
-
type: "user" | "workspace";
|
|
39275
|
-
workspace?: boolean | undefined;
|
|
39276
|
-
} | undefined;
|
|
39277
|
-
workspace_name?: string | undefined;
|
|
39278
|
-
} | undefined;
|
|
39279
|
-
};
|
|
39280
|
-
discussion_id: string;
|
|
39281
39281
|
} | undefined;
|
|
39282
39282
|
}>, z.ZodObject<{
|
|
39283
39283
|
operation: z.ZodLiteral<"retrieve_comment">;
|
|
@@ -39466,6 +39466,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39466
39466
|
} & {
|
|
39467
39467
|
[k: string]: unknown;
|
|
39468
39468
|
};
|
|
39469
|
+
created_time: string;
|
|
39470
|
+
last_edited_time: string;
|
|
39471
|
+
created_by: {
|
|
39472
|
+
object: "user";
|
|
39473
|
+
id: string;
|
|
39474
|
+
type?: "person" | "bot" | undefined;
|
|
39475
|
+
name?: string | undefined;
|
|
39476
|
+
person?: {
|
|
39477
|
+
email?: string | undefined;
|
|
39478
|
+
} | undefined;
|
|
39479
|
+
avatar_url?: string | null | undefined;
|
|
39480
|
+
bot?: {
|
|
39481
|
+
owner?: {
|
|
39482
|
+
type: "user" | "workspace";
|
|
39483
|
+
workspace?: boolean | undefined;
|
|
39484
|
+
} | undefined;
|
|
39485
|
+
workspace_name?: string | undefined;
|
|
39486
|
+
} | undefined;
|
|
39487
|
+
};
|
|
39488
|
+
discussion_id: string;
|
|
39469
39489
|
rich_text: {
|
|
39470
39490
|
type: "text" | "mention" | "equation";
|
|
39471
39491
|
text?: {
|
|
@@ -39485,8 +39505,18 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39485
39505
|
} | undefined;
|
|
39486
39506
|
href?: string | null | undefined;
|
|
39487
39507
|
}[];
|
|
39488
|
-
|
|
39508
|
+
}, {
|
|
39509
|
+
object: "comment";
|
|
39510
|
+
id: string;
|
|
39511
|
+
parent: {
|
|
39512
|
+
type: "block_id" | "page_id";
|
|
39513
|
+
block_id?: string | undefined;
|
|
39514
|
+
page_id?: string | undefined;
|
|
39515
|
+
} & {
|
|
39516
|
+
[k: string]: unknown;
|
|
39517
|
+
};
|
|
39489
39518
|
created_time: string;
|
|
39519
|
+
last_edited_time: string;
|
|
39490
39520
|
created_by: {
|
|
39491
39521
|
object: "user";
|
|
39492
39522
|
id: string;
|
|
@@ -39505,16 +39535,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39505
39535
|
} | undefined;
|
|
39506
39536
|
};
|
|
39507
39537
|
discussion_id: string;
|
|
39508
|
-
}, {
|
|
39509
|
-
object: "comment";
|
|
39510
|
-
id: string;
|
|
39511
|
-
parent: {
|
|
39512
|
-
type: "block_id" | "page_id";
|
|
39513
|
-
block_id?: string | undefined;
|
|
39514
|
-
page_id?: string | undefined;
|
|
39515
|
-
} & {
|
|
39516
|
-
[k: string]: unknown;
|
|
39517
|
-
};
|
|
39518
39538
|
rich_text: {
|
|
39519
39539
|
type: "text" | "mention" | "equation";
|
|
39520
39540
|
text?: {
|
|
@@ -39534,8 +39554,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39534
39554
|
} | undefined;
|
|
39535
39555
|
href?: string | null | undefined;
|
|
39536
39556
|
}[];
|
|
39537
|
-
|
|
39557
|
+
}>>;
|
|
39558
|
+
}, "strip", z.ZodTypeAny, {
|
|
39559
|
+
operation: "retrieve_comment";
|
|
39560
|
+
success: boolean;
|
|
39561
|
+
error: string;
|
|
39562
|
+
comment?: {
|
|
39563
|
+
object: "comment";
|
|
39564
|
+
id: string;
|
|
39565
|
+
parent: {
|
|
39566
|
+
type: "block_id" | "page_id";
|
|
39567
|
+
block_id?: string | undefined;
|
|
39568
|
+
page_id?: string | undefined;
|
|
39569
|
+
} & {
|
|
39570
|
+
[k: string]: unknown;
|
|
39571
|
+
};
|
|
39538
39572
|
created_time: string;
|
|
39573
|
+
last_edited_time: string;
|
|
39539
39574
|
created_by: {
|
|
39540
39575
|
object: "user";
|
|
39541
39576
|
id: string;
|
|
@@ -39554,21 +39589,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39554
39589
|
} | undefined;
|
|
39555
39590
|
};
|
|
39556
39591
|
discussion_id: string;
|
|
39557
|
-
}>>;
|
|
39558
|
-
}, "strip", z.ZodTypeAny, {
|
|
39559
|
-
error: string;
|
|
39560
|
-
success: boolean;
|
|
39561
|
-
operation: "retrieve_comment";
|
|
39562
|
-
comment?: {
|
|
39563
|
-
object: "comment";
|
|
39564
|
-
id: string;
|
|
39565
|
-
parent: {
|
|
39566
|
-
type: "block_id" | "page_id";
|
|
39567
|
-
block_id?: string | undefined;
|
|
39568
|
-
page_id?: string | undefined;
|
|
39569
|
-
} & {
|
|
39570
|
-
[k: string]: unknown;
|
|
39571
|
-
};
|
|
39572
39592
|
rich_text: {
|
|
39573
39593
|
type: "text" | "mention" | "equation";
|
|
39574
39594
|
text?: {
|
|
@@ -39588,8 +39608,23 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39588
39608
|
} | undefined;
|
|
39589
39609
|
href?: string | null | undefined;
|
|
39590
39610
|
}[];
|
|
39591
|
-
|
|
39611
|
+
} | undefined;
|
|
39612
|
+
}, {
|
|
39613
|
+
operation: "retrieve_comment";
|
|
39614
|
+
success: boolean;
|
|
39615
|
+
error: string;
|
|
39616
|
+
comment?: {
|
|
39617
|
+
object: "comment";
|
|
39618
|
+
id: string;
|
|
39619
|
+
parent: {
|
|
39620
|
+
type: "block_id" | "page_id";
|
|
39621
|
+
block_id?: string | undefined;
|
|
39622
|
+
page_id?: string | undefined;
|
|
39623
|
+
} & {
|
|
39624
|
+
[k: string]: unknown;
|
|
39625
|
+
};
|
|
39592
39626
|
created_time: string;
|
|
39627
|
+
last_edited_time: string;
|
|
39593
39628
|
created_by: {
|
|
39594
39629
|
object: "user";
|
|
39595
39630
|
id: string;
|
|
@@ -39608,21 +39643,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39608
39643
|
} | undefined;
|
|
39609
39644
|
};
|
|
39610
39645
|
discussion_id: string;
|
|
39611
|
-
} | undefined;
|
|
39612
|
-
}, {
|
|
39613
|
-
error: string;
|
|
39614
|
-
success: boolean;
|
|
39615
|
-
operation: "retrieve_comment";
|
|
39616
|
-
comment?: {
|
|
39617
|
-
object: "comment";
|
|
39618
|
-
id: string;
|
|
39619
|
-
parent: {
|
|
39620
|
-
type: "block_id" | "page_id";
|
|
39621
|
-
block_id?: string | undefined;
|
|
39622
|
-
page_id?: string | undefined;
|
|
39623
|
-
} & {
|
|
39624
|
-
[k: string]: unknown;
|
|
39625
|
-
};
|
|
39626
39646
|
rich_text: {
|
|
39627
39647
|
type: "text" | "mention" | "equation";
|
|
39628
39648
|
text?: {
|
|
@@ -39642,26 +39662,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39642
39662
|
} | undefined;
|
|
39643
39663
|
href?: string | null | undefined;
|
|
39644
39664
|
}[];
|
|
39645
|
-
last_edited_time: string;
|
|
39646
|
-
created_time: string;
|
|
39647
|
-
created_by: {
|
|
39648
|
-
object: "user";
|
|
39649
|
-
id: string;
|
|
39650
|
-
type?: "person" | "bot" | undefined;
|
|
39651
|
-
name?: string | undefined;
|
|
39652
|
-
person?: {
|
|
39653
|
-
email?: string | undefined;
|
|
39654
|
-
} | undefined;
|
|
39655
|
-
avatar_url?: string | null | undefined;
|
|
39656
|
-
bot?: {
|
|
39657
|
-
owner?: {
|
|
39658
|
-
type: "user" | "workspace";
|
|
39659
|
-
workspace?: boolean | undefined;
|
|
39660
|
-
} | undefined;
|
|
39661
|
-
workspace_name?: string | undefined;
|
|
39662
|
-
} | undefined;
|
|
39663
|
-
};
|
|
39664
|
-
discussion_id: string;
|
|
39665
39665
|
} | undefined;
|
|
39666
39666
|
}>, z.ZodObject<{
|
|
39667
39667
|
operation: z.ZodLiteral<"list_users">;
|
|
@@ -39741,9 +39741,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39741
39741
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39742
39742
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
39743
39743
|
}, "strip", z.ZodTypeAny, {
|
|
39744
|
-
error: string;
|
|
39745
|
-
success: boolean;
|
|
39746
39744
|
operation: "list_users";
|
|
39745
|
+
success: boolean;
|
|
39746
|
+
error: string;
|
|
39747
39747
|
users?: {
|
|
39748
39748
|
object: "user";
|
|
39749
39749
|
id: string;
|
|
@@ -39764,9 +39764,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39764
39764
|
next_cursor?: string | null | undefined;
|
|
39765
39765
|
has_more?: boolean | undefined;
|
|
39766
39766
|
}, {
|
|
39767
|
-
error: string;
|
|
39768
|
-
success: boolean;
|
|
39769
39767
|
operation: "list_users";
|
|
39768
|
+
success: boolean;
|
|
39769
|
+
error: string;
|
|
39770
39770
|
users?: {
|
|
39771
39771
|
object: "user";
|
|
39772
39772
|
id: string;
|
|
@@ -39845,11 +39845,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39845
39845
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
39846
39846
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
39847
39847
|
}, "strip", z.ZodTypeAny, {
|
|
39848
|
-
error: string;
|
|
39849
|
-
success: boolean;
|
|
39850
39848
|
operation: "search";
|
|
39851
|
-
|
|
39852
|
-
|
|
39849
|
+
success: boolean;
|
|
39850
|
+
error: string;
|
|
39853
39851
|
results?: z.objectOutputType<{
|
|
39854
39852
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
39855
39853
|
id: z.ZodString;
|
|
@@ -39868,12 +39866,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39868
39866
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
39869
39867
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
39870
39868
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
39871
|
-
}, {
|
|
39872
|
-
error: string;
|
|
39873
|
-
success: boolean;
|
|
39874
|
-
operation: "search";
|
|
39875
39869
|
next_cursor?: string | null | undefined;
|
|
39876
39870
|
has_more?: boolean | undefined;
|
|
39871
|
+
}, {
|
|
39872
|
+
operation: "search";
|
|
39873
|
+
success: boolean;
|
|
39874
|
+
error: string;
|
|
39877
39875
|
results?: z.objectInputType<{
|
|
39878
39876
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
39879
39877
|
id: z.ZodString;
|
|
@@ -39892,6 +39890,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39892
39890
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
39893
39891
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
39894
39892
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
39893
|
+
next_cursor?: string | null | undefined;
|
|
39894
|
+
has_more?: boolean | undefined;
|
|
39895
39895
|
}>]>;
|
|
39896
39896
|
static readonly shortDescription = "Notion API integration for pages, databases, and blocks";
|
|
39897
39897
|
static readonly longDescription = "\n Comprehensive Notion API integration for managing pages, databases, blocks, and comments.\n \n Features:\n - Create, retrieve, and update pages\n - Manage databases and data sources\n - Query data sources with filters and sorting\n - Search pages and data sources by title\n - Append and retrieve block children\n - Create and retrieve comments\n - List workspace users\n \n Use cases:\n - Content management and automation\n - Database operations and queries\n - Page creation and updates\n - Search and discovery of pages and data sources\n - Block manipulation\n - Comment management\n - Workspace user management\n \n Security Features:\n - OAuth token authentication\n - Parameter validation\n - Comprehensive error handling\n - Respects Notion API versioning (2025-09-03)\n ";
|