@bubblelab/bubble-core 0.1.244 → 0.1.245
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 +84 -84
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +12 -12
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +3 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +28 -28
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +116 -116
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +5 -5
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +4 -4
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +14 -14
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +78 -78
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +4 -4
- package/dist/bubbles/service-bubble/firecrawl.d.ts +192 -192
- package/dist/bubbles/service-bubble/followupboss.d.ts +58 -58
- package/dist/bubbles/service-bubble/github.d.ts +110 -110
- package/dist/bubbles/service-bubble/gmail.d.ts +68 -68
- package/dist/bubbles/service-bubble/google-calendar.d.ts +86 -86
- package/dist/bubbles/service-bubble/google-drive.d.ts +36 -36
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +32 -32
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/jira/jira.d.ts +47 -47
- package/dist/bubbles/service-bubble/linear/linear.d.ts +5 -5
- package/dist/bubbles/service-bubble/notion/notion.d.ts +368 -368
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
- package/dist/bubbles/service-bubble/s3/s3.d.ts +2 -2
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/slab/slab.d.ts +18 -18
- package/dist/bubbles/service-bubble/slack/slack.d.ts +174 -174
- package/dist/bubbles/service-bubble/storage.d.ts +4 -4
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +10 -10
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +24 -24
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +56 -56
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +34 -34
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +54 -54
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +16 -16
- package/dist/bubbles.json +1 -1
- package/package.json +2 -2
|
@@ -232,6 +232,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
232
232
|
type: "emoji";
|
|
233
233
|
emoji: string;
|
|
234
234
|
} | undefined;
|
|
235
|
+
children?: unknown[] | undefined;
|
|
235
236
|
cover?: {
|
|
236
237
|
type: "file";
|
|
237
238
|
file: {
|
|
@@ -249,7 +250,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
249
250
|
url: string;
|
|
250
251
|
};
|
|
251
252
|
} | undefined;
|
|
252
|
-
children?: unknown[] | undefined;
|
|
253
253
|
}, {
|
|
254
254
|
parent: {
|
|
255
255
|
type: "page_id";
|
|
@@ -291,6 +291,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
291
291
|
type: "emoji";
|
|
292
292
|
emoji: string;
|
|
293
293
|
} | undefined;
|
|
294
|
+
children?: unknown[] | undefined;
|
|
294
295
|
cover?: {
|
|
295
296
|
type: "file";
|
|
296
297
|
file: {
|
|
@@ -308,7 +309,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
308
309
|
url: string;
|
|
309
310
|
};
|
|
310
311
|
} | undefined;
|
|
311
|
-
children?: unknown[] | undefined;
|
|
312
312
|
}>, z.ZodObject<{
|
|
313
313
|
operation: z.ZodLiteral<"retrieve_page">;
|
|
314
314
|
page_id: z.ZodString;
|
|
@@ -472,7 +472,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
472
472
|
page_id: string;
|
|
473
473
|
properties?: Record<string, unknown> | undefined;
|
|
474
474
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
475
|
-
archived?: boolean | undefined;
|
|
476
475
|
is_locked?: boolean | undefined;
|
|
477
476
|
icon?: {
|
|
478
477
|
type: "file";
|
|
@@ -511,13 +510,13 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
511
510
|
url: string;
|
|
512
511
|
};
|
|
513
512
|
} | null | undefined;
|
|
513
|
+
archived?: boolean | undefined;
|
|
514
514
|
in_trash?: boolean | undefined;
|
|
515
515
|
}, {
|
|
516
516
|
operation: "update_page";
|
|
517
517
|
page_id: string;
|
|
518
518
|
properties?: Record<string, unknown> | undefined;
|
|
519
519
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
520
|
-
archived?: boolean | undefined;
|
|
521
520
|
is_locked?: boolean | undefined;
|
|
522
521
|
icon?: {
|
|
523
522
|
type: "file";
|
|
@@ -556,6 +555,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
556
555
|
url: string;
|
|
557
556
|
};
|
|
558
557
|
} | null | undefined;
|
|
558
|
+
archived?: boolean | undefined;
|
|
559
559
|
in_trash?: boolean | undefined;
|
|
560
560
|
}>, z.ZodObject<{
|
|
561
561
|
operation: z.ZodLiteral<"retrieve_database">;
|
|
@@ -1134,6 +1134,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1134
1134
|
}, "strip", z.ZodTypeAny, {
|
|
1135
1135
|
operation: "update_data_source";
|
|
1136
1136
|
data_source_id: string;
|
|
1137
|
+
properties?: Record<string, unknown> | undefined;
|
|
1137
1138
|
description?: {
|
|
1138
1139
|
type: "text" | "mention" | "equation";
|
|
1139
1140
|
text?: {
|
|
@@ -1153,7 +1154,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1153
1154
|
} | undefined;
|
|
1154
1155
|
href?: string | null | undefined;
|
|
1155
1156
|
}[] | undefined;
|
|
1156
|
-
properties?: Record<string, unknown> | undefined;
|
|
1157
1157
|
title?: {
|
|
1158
1158
|
type: "text" | "mention" | "equation";
|
|
1159
1159
|
text?: {
|
|
@@ -1202,6 +1202,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1202
1202
|
}, {
|
|
1203
1203
|
operation: "update_data_source";
|
|
1204
1204
|
data_source_id: string;
|
|
1205
|
+
properties?: Record<string, unknown> | undefined;
|
|
1205
1206
|
description?: {
|
|
1206
1207
|
type: "text" | "mention" | "equation";
|
|
1207
1208
|
text?: {
|
|
@@ -1221,7 +1222,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
1221
1222
|
} | undefined;
|
|
1222
1223
|
href?: string | null | undefined;
|
|
1223
1224
|
}[] | undefined;
|
|
1224
|
-
properties?: Record<string, unknown> | undefined;
|
|
1225
1225
|
title?: {
|
|
1226
1226
|
type: "text" | "mention" | "equation";
|
|
1227
1227
|
text?: {
|
|
@@ -2411,11 +2411,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2411
2411
|
page_id: z.ZodOptional<z.ZodString>;
|
|
2412
2412
|
block_id: z.ZodOptional<z.ZodString>;
|
|
2413
2413
|
}, "strip", z.ZodTypeAny, {
|
|
2414
|
-
page_id?: string | undefined;
|
|
2415
2414
|
block_id?: string | undefined;
|
|
2416
|
-
}, {
|
|
2417
2415
|
page_id?: string | undefined;
|
|
2416
|
+
}, {
|
|
2418
2417
|
block_id?: string | undefined;
|
|
2418
|
+
page_id?: string | undefined;
|
|
2419
2419
|
}>;
|
|
2420
2420
|
rich_text: z.ZodArray<z.ZodObject<{
|
|
2421
2421
|
type: z.ZodEnum<["text", "mention", "equation"]>;
|
|
@@ -2533,8 +2533,8 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2533
2533
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
2534
2534
|
}, "strip", z.ZodTypeAny, {
|
|
2535
2535
|
parent: {
|
|
2536
|
-
page_id?: string | undefined;
|
|
2537
2536
|
block_id?: string | undefined;
|
|
2537
|
+
page_id?: string | undefined;
|
|
2538
2538
|
};
|
|
2539
2539
|
operation: "create_comment";
|
|
2540
2540
|
rich_text: {
|
|
@@ -2569,8 +2569,8 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
2569
2569
|
} | undefined;
|
|
2570
2570
|
}, {
|
|
2571
2571
|
parent: {
|
|
2572
|
-
page_id?: string | undefined;
|
|
2573
2572
|
block_id?: string | undefined;
|
|
2573
|
+
page_id?: string | undefined;
|
|
2574
2574
|
};
|
|
2575
2575
|
operation: "create_comment";
|
|
2576
2576
|
rich_text: {
|
|
@@ -3029,8 +3029,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3029
3029
|
workspace: true;
|
|
3030
3030
|
};
|
|
3031
3031
|
archived: boolean;
|
|
3032
|
-
created_time: string;
|
|
3033
3032
|
last_edited_time: string;
|
|
3033
|
+
created_time: string;
|
|
3034
3034
|
created_by: {
|
|
3035
3035
|
object: "user";
|
|
3036
3036
|
id: string;
|
|
@@ -3122,8 +3122,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3122
3122
|
workspace: true;
|
|
3123
3123
|
};
|
|
3124
3124
|
archived: boolean;
|
|
3125
|
-
created_time: string;
|
|
3126
3125
|
last_edited_time: string;
|
|
3126
|
+
created_time: string;
|
|
3127
3127
|
created_by: {
|
|
3128
3128
|
object: "user";
|
|
3129
3129
|
id: string;
|
|
@@ -3220,8 +3220,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3220
3220
|
workspace: true;
|
|
3221
3221
|
};
|
|
3222
3222
|
archived: boolean;
|
|
3223
|
-
created_time: string;
|
|
3224
3223
|
last_edited_time: string;
|
|
3224
|
+
created_time: string;
|
|
3225
3225
|
created_by: {
|
|
3226
3226
|
object: "user";
|
|
3227
3227
|
id: string;
|
|
@@ -3318,8 +3318,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3318
3318
|
workspace: true;
|
|
3319
3319
|
};
|
|
3320
3320
|
archived: boolean;
|
|
3321
|
-
created_time: string;
|
|
3322
3321
|
last_edited_time: string;
|
|
3322
|
+
created_time: string;
|
|
3323
3323
|
created_by: {
|
|
3324
3324
|
object: "user";
|
|
3325
3325
|
id: string;
|
|
@@ -3733,8 +3733,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3733
3733
|
workspace: true;
|
|
3734
3734
|
};
|
|
3735
3735
|
archived: boolean;
|
|
3736
|
-
created_time: string;
|
|
3737
3736
|
last_edited_time: string;
|
|
3737
|
+
created_time: string;
|
|
3738
3738
|
created_by: {
|
|
3739
3739
|
object: "user";
|
|
3740
3740
|
id: string;
|
|
@@ -3826,8 +3826,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3826
3826
|
workspace: true;
|
|
3827
3827
|
};
|
|
3828
3828
|
archived: boolean;
|
|
3829
|
-
created_time: string;
|
|
3830
3829
|
last_edited_time: string;
|
|
3830
|
+
created_time: string;
|
|
3831
3831
|
created_by: {
|
|
3832
3832
|
object: "user";
|
|
3833
3833
|
id: string;
|
|
@@ -3924,8 +3924,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
3924
3924
|
workspace: true;
|
|
3925
3925
|
};
|
|
3926
3926
|
archived: boolean;
|
|
3927
|
-
created_time: string;
|
|
3928
3927
|
last_edited_time: string;
|
|
3928
|
+
created_time: string;
|
|
3929
3929
|
created_by: {
|
|
3930
3930
|
object: "user";
|
|
3931
3931
|
id: string;
|
|
@@ -4022,8 +4022,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4022
4022
|
workspace: true;
|
|
4023
4023
|
};
|
|
4024
4024
|
archived: boolean;
|
|
4025
|
-
created_time: string;
|
|
4026
4025
|
last_edited_time: string;
|
|
4026
|
+
created_time: string;
|
|
4027
4027
|
created_by: {
|
|
4028
4028
|
object: "user";
|
|
4029
4029
|
id: string;
|
|
@@ -4437,8 +4437,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4437
4437
|
workspace: true;
|
|
4438
4438
|
};
|
|
4439
4439
|
archived: boolean;
|
|
4440
|
-
created_time: string;
|
|
4441
4440
|
last_edited_time: string;
|
|
4441
|
+
created_time: string;
|
|
4442
4442
|
created_by: {
|
|
4443
4443
|
object: "user";
|
|
4444
4444
|
id: string;
|
|
@@ -4530,8 +4530,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4530
4530
|
workspace: true;
|
|
4531
4531
|
};
|
|
4532
4532
|
archived: boolean;
|
|
4533
|
-
created_time: string;
|
|
4534
4533
|
last_edited_time: string;
|
|
4534
|
+
created_time: string;
|
|
4535
4535
|
created_by: {
|
|
4536
4536
|
object: "user";
|
|
4537
4537
|
id: string;
|
|
@@ -4628,8 +4628,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4628
4628
|
workspace: true;
|
|
4629
4629
|
};
|
|
4630
4630
|
archived: boolean;
|
|
4631
|
-
created_time: string;
|
|
4632
4631
|
last_edited_time: string;
|
|
4632
|
+
created_time: string;
|
|
4633
4633
|
created_by: {
|
|
4634
4634
|
object: "user";
|
|
4635
4635
|
id: string;
|
|
@@ -4726,8 +4726,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
4726
4726
|
workspace: true;
|
|
4727
4727
|
};
|
|
4728
4728
|
archived: boolean;
|
|
4729
|
-
created_time: string;
|
|
4730
4729
|
last_edited_time: string;
|
|
4730
|
+
created_time: string;
|
|
4731
4731
|
created_by: {
|
|
4732
4732
|
object: "user";
|
|
4733
4733
|
id: string;
|
|
@@ -5371,8 +5371,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5371
5371
|
type: "workspace";
|
|
5372
5372
|
workspace: true;
|
|
5373
5373
|
};
|
|
5374
|
-
created_time: string;
|
|
5375
5374
|
last_edited_time: string;
|
|
5375
|
+
created_time: string;
|
|
5376
5376
|
data_sources: {
|
|
5377
5377
|
name: string;
|
|
5378
5378
|
id: string;
|
|
@@ -5463,8 +5463,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5463
5463
|
};
|
|
5464
5464
|
} | null | undefined;
|
|
5465
5465
|
in_trash?: boolean | undefined;
|
|
5466
|
-
public_url?: string | null | undefined;
|
|
5467
5466
|
is_inline?: boolean | undefined;
|
|
5467
|
+
public_url?: string | null | undefined;
|
|
5468
5468
|
}, {
|
|
5469
5469
|
object: "database";
|
|
5470
5470
|
title: {
|
|
@@ -5504,8 +5504,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5504
5504
|
type: "workspace";
|
|
5505
5505
|
workspace: true;
|
|
5506
5506
|
};
|
|
5507
|
-
created_time: string;
|
|
5508
5507
|
last_edited_time: string;
|
|
5508
|
+
created_time: string;
|
|
5509
5509
|
data_sources: {
|
|
5510
5510
|
name: string;
|
|
5511
5511
|
id: string;
|
|
@@ -5596,8 +5596,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5596
5596
|
};
|
|
5597
5597
|
} | null | undefined;
|
|
5598
5598
|
in_trash?: boolean | undefined;
|
|
5599
|
-
public_url?: string | null | undefined;
|
|
5600
5599
|
is_inline?: boolean | undefined;
|
|
5600
|
+
public_url?: string | null | undefined;
|
|
5601
5601
|
}>>;
|
|
5602
5602
|
}, "strip", z.ZodTypeAny, {
|
|
5603
5603
|
error: string;
|
|
@@ -5642,8 +5642,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5642
5642
|
type: "workspace";
|
|
5643
5643
|
workspace: true;
|
|
5644
5644
|
};
|
|
5645
|
-
created_time: string;
|
|
5646
5645
|
last_edited_time: string;
|
|
5646
|
+
created_time: string;
|
|
5647
5647
|
data_sources: {
|
|
5648
5648
|
name: string;
|
|
5649
5649
|
id: string;
|
|
@@ -5734,8 +5734,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5734
5734
|
};
|
|
5735
5735
|
} | null | undefined;
|
|
5736
5736
|
in_trash?: boolean | undefined;
|
|
5737
|
-
public_url?: string | null | undefined;
|
|
5738
5737
|
is_inline?: boolean | undefined;
|
|
5738
|
+
public_url?: string | null | undefined;
|
|
5739
5739
|
} | undefined;
|
|
5740
5740
|
}, {
|
|
5741
5741
|
error: string;
|
|
@@ -5780,8 +5780,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
5780
5780
|
type: "workspace";
|
|
5781
5781
|
workspace: true;
|
|
5782
5782
|
};
|
|
5783
|
-
created_time: string;
|
|
5784
5783
|
last_edited_time: string;
|
|
5784
|
+
created_time: string;
|
|
5785
5785
|
data_sources: {
|
|
5786
5786
|
name: string;
|
|
5787
5787
|
id: 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
|
-
public_url?: string | null | undefined;
|
|
5876
5875
|
is_inline?: boolean | undefined;
|
|
5876
|
+
public_url?: string | null | undefined;
|
|
5877
5877
|
} | undefined;
|
|
5878
5878
|
}>, z.ZodObject<{
|
|
5879
5879
|
operation: z.ZodLiteral<"retrieve_data_source">;
|
|
@@ -8182,6 +8182,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
8182
8182
|
error: string;
|
|
8183
8183
|
success: boolean;
|
|
8184
8184
|
operation: "query_data_source";
|
|
8185
|
+
next_cursor?: string | null | undefined;
|
|
8186
|
+
has_more?: boolean | undefined;
|
|
8185
8187
|
results?: z.objectOutputType<{
|
|
8186
8188
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
8187
8189
|
id: z.ZodString;
|
|
@@ -8200,12 +8202,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
8200
8202
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
8201
8203
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
8202
8204
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
8203
|
-
next_cursor?: string | null | undefined;
|
|
8204
|
-
has_more?: boolean | undefined;
|
|
8205
8205
|
}, {
|
|
8206
8206
|
error: string;
|
|
8207
8207
|
success: boolean;
|
|
8208
8208
|
operation: "query_data_source";
|
|
8209
|
+
next_cursor?: string | null | undefined;
|
|
8210
|
+
has_more?: boolean | undefined;
|
|
8209
8211
|
results?: z.objectInputType<{
|
|
8210
8212
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
8211
8213
|
id: z.ZodString;
|
|
@@ -8224,8 +8226,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
8224
8226
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
8225
8227
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
8226
8228
|
}, 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;
|
|
@@ -13290,8 +13290,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13290
13290
|
type: "workspace";
|
|
13291
13291
|
workspace: true;
|
|
13292
13292
|
};
|
|
13293
|
-
created_time: string;
|
|
13294
13293
|
last_edited_time: string;
|
|
13294
|
+
created_time: string;
|
|
13295
13295
|
data_sources: {
|
|
13296
13296
|
name: string;
|
|
13297
13297
|
id: string;
|
|
@@ -13382,8 +13382,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13382
13382
|
};
|
|
13383
13383
|
} | null | undefined;
|
|
13384
13384
|
in_trash?: boolean | undefined;
|
|
13385
|
-
public_url?: string | null | undefined;
|
|
13386
13385
|
is_inline?: boolean | undefined;
|
|
13386
|
+
public_url?: string | null | undefined;
|
|
13387
13387
|
}, {
|
|
13388
13388
|
object: "database";
|
|
13389
13389
|
title: {
|
|
@@ -13423,8 +13423,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13423
13423
|
type: "workspace";
|
|
13424
13424
|
workspace: true;
|
|
13425
13425
|
};
|
|
13426
|
-
created_time: string;
|
|
13427
13426
|
last_edited_time: string;
|
|
13427
|
+
created_time: string;
|
|
13428
13428
|
data_sources: {
|
|
13429
13429
|
name: string;
|
|
13430
13430
|
id: string;
|
|
@@ -13515,8 +13515,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13515
13515
|
};
|
|
13516
13516
|
} | null | undefined;
|
|
13517
13517
|
in_trash?: boolean | undefined;
|
|
13518
|
-
public_url?: string | null | undefined;
|
|
13519
13518
|
is_inline?: boolean | undefined;
|
|
13519
|
+
public_url?: string | null | undefined;
|
|
13520
13520
|
}>>;
|
|
13521
13521
|
}, "strip", z.ZodTypeAny, {
|
|
13522
13522
|
error: string;
|
|
@@ -13561,8 +13561,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13561
13561
|
type: "workspace";
|
|
13562
13562
|
workspace: true;
|
|
13563
13563
|
};
|
|
13564
|
-
created_time: string;
|
|
13565
13564
|
last_edited_time: string;
|
|
13565
|
+
created_time: string;
|
|
13566
13566
|
data_sources: {
|
|
13567
13567
|
name: string;
|
|
13568
13568
|
id: string;
|
|
@@ -13653,8 +13653,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13653
13653
|
};
|
|
13654
13654
|
} | null | undefined;
|
|
13655
13655
|
in_trash?: boolean | undefined;
|
|
13656
|
-
public_url?: string | null | undefined;
|
|
13657
13656
|
is_inline?: boolean | undefined;
|
|
13657
|
+
public_url?: string | null | undefined;
|
|
13658
13658
|
} | undefined;
|
|
13659
13659
|
}, {
|
|
13660
13660
|
error: string;
|
|
@@ -13699,8 +13699,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
13699
13699
|
type: "workspace";
|
|
13700
13700
|
workspace: true;
|
|
13701
13701
|
};
|
|
13702
|
-
created_time: string;
|
|
13703
13702
|
last_edited_time: string;
|
|
13703
|
+
created_time: string;
|
|
13704
13704
|
data_sources: {
|
|
13705
13705
|
name: string;
|
|
13706
13706
|
id: 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
|
-
public_url?: string | null | undefined;
|
|
13795
13794
|
is_inline?: boolean | undefined;
|
|
13795
|
+
public_url?: string | null | undefined;
|
|
13796
13796
|
} | undefined;
|
|
13797
13797
|
}>, z.ZodObject<{
|
|
13798
13798
|
operation: z.ZodLiteral<"update_database">;
|
|
@@ -14368,8 +14368,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14368
14368
|
type: "workspace";
|
|
14369
14369
|
workspace: true;
|
|
14370
14370
|
};
|
|
14371
|
-
created_time: string;
|
|
14372
14371
|
last_edited_time: string;
|
|
14372
|
+
created_time: string;
|
|
14373
14373
|
data_sources: {
|
|
14374
14374
|
name: string;
|
|
14375
14375
|
id: string;
|
|
@@ -14460,8 +14460,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14460
14460
|
};
|
|
14461
14461
|
} | null | undefined;
|
|
14462
14462
|
in_trash?: boolean | undefined;
|
|
14463
|
-
public_url?: string | null | undefined;
|
|
14464
14463
|
is_inline?: boolean | undefined;
|
|
14464
|
+
public_url?: string | null | undefined;
|
|
14465
14465
|
}, {
|
|
14466
14466
|
object: "database";
|
|
14467
14467
|
title: {
|
|
@@ -14501,8 +14501,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14501
14501
|
type: "workspace";
|
|
14502
14502
|
workspace: true;
|
|
14503
14503
|
};
|
|
14504
|
-
created_time: string;
|
|
14505
14504
|
last_edited_time: string;
|
|
14505
|
+
created_time: string;
|
|
14506
14506
|
data_sources: {
|
|
14507
14507
|
name: string;
|
|
14508
14508
|
id: string;
|
|
@@ -14593,8 +14593,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14593
14593
|
};
|
|
14594
14594
|
} | null | undefined;
|
|
14595
14595
|
in_trash?: boolean | undefined;
|
|
14596
|
-
public_url?: string | null | undefined;
|
|
14597
14596
|
is_inline?: boolean | undefined;
|
|
14597
|
+
public_url?: string | null | undefined;
|
|
14598
14598
|
}>>;
|
|
14599
14599
|
}, "strip", z.ZodTypeAny, {
|
|
14600
14600
|
error: string;
|
|
@@ -14639,8 +14639,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14639
14639
|
type: "workspace";
|
|
14640
14640
|
workspace: true;
|
|
14641
14641
|
};
|
|
14642
|
-
created_time: string;
|
|
14643
14642
|
last_edited_time: string;
|
|
14643
|
+
created_time: string;
|
|
14644
14644
|
data_sources: {
|
|
14645
14645
|
name: string;
|
|
14646
14646
|
id: string;
|
|
@@ -14731,8 +14731,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14731
14731
|
};
|
|
14732
14732
|
} | null | undefined;
|
|
14733
14733
|
in_trash?: boolean | undefined;
|
|
14734
|
-
public_url?: string | null | undefined;
|
|
14735
14734
|
is_inline?: boolean | undefined;
|
|
14735
|
+
public_url?: string | null | undefined;
|
|
14736
14736
|
} | undefined;
|
|
14737
14737
|
}, {
|
|
14738
14738
|
error: string;
|
|
@@ -14777,8 +14777,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
14777
14777
|
type: "workspace";
|
|
14778
14778
|
workspace: true;
|
|
14779
14779
|
};
|
|
14780
|
-
created_time: string;
|
|
14781
14780
|
last_edited_time: string;
|
|
14781
|
+
created_time: string;
|
|
14782
14782
|
data_sources: {
|
|
14783
14783
|
name: string;
|
|
14784
14784
|
id: 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
|
-
public_url?: string | null | undefined;
|
|
14873
14872
|
is_inline?: boolean | undefined;
|
|
14873
|
+
public_url?: string | null | undefined;
|
|
14874
14874
|
} | undefined;
|
|
14875
14875
|
}>, z.ZodObject<{
|
|
14876
14876
|
operation: z.ZodLiteral<"append_block_children">;
|
|
@@ -19125,32 +19125,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19125
19125
|
object: "comment";
|
|
19126
19126
|
id: string;
|
|
19127
19127
|
parent: {
|
|
19128
|
-
type: "
|
|
19129
|
-
page_id?: string | undefined;
|
|
19128
|
+
type: "block_id" | "page_id";
|
|
19130
19129
|
block_id?: string | undefined;
|
|
19130
|
+
page_id?: string | undefined;
|
|
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;
|
|
19154
19134
|
rich_text: {
|
|
19155
19135
|
type: "text" | "mention" | "equation";
|
|
19156
19136
|
text?: {
|
|
@@ -19170,18 +19150,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19170
19150
|
} | undefined;
|
|
19171
19151
|
href?: string | null | undefined;
|
|
19172
19152
|
}[];
|
|
19173
|
-
}, {
|
|
19174
|
-
object: "comment";
|
|
19175
|
-
id: string;
|
|
19176
|
-
parent: {
|
|
19177
|
-
type: "page_id" | "block_id";
|
|
19178
|
-
page_id?: string | undefined;
|
|
19179
|
-
block_id?: string | undefined;
|
|
19180
|
-
} & {
|
|
19181
|
-
[k: string]: unknown;
|
|
19182
|
-
};
|
|
19183
|
-
created_time: string;
|
|
19184
19153
|
last_edited_time: string;
|
|
19154
|
+
created_time: string;
|
|
19185
19155
|
created_by: {
|
|
19186
19156
|
object: "user";
|
|
19187
19157
|
id: string;
|
|
@@ -19200,6 +19170,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19200
19170
|
} | undefined;
|
|
19201
19171
|
};
|
|
19202
19172
|
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
|
+
};
|
|
19203
19183
|
rich_text: {
|
|
19204
19184
|
type: "text" | "mention" | "equation";
|
|
19205
19185
|
text?: {
|
|
@@ -19219,23 +19199,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19219
19199
|
} | undefined;
|
|
19220
19200
|
href?: string | null | undefined;
|
|
19221
19201
|
}[];
|
|
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: "page_id" | "block_id";
|
|
19232
|
-
page_id?: string | undefined;
|
|
19233
|
-
block_id?: string | undefined;
|
|
19234
|
-
} & {
|
|
19235
|
-
[k: string]: unknown;
|
|
19236
|
-
};
|
|
19237
|
-
created_time: string;
|
|
19238
19202
|
last_edited_time: string;
|
|
19203
|
+
created_time: string;
|
|
19239
19204
|
created_by: {
|
|
19240
19205
|
object: "user";
|
|
19241
19206
|
id: string;
|
|
@@ -19254,6 +19219,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19254
19219
|
} | undefined;
|
|
19255
19220
|
};
|
|
19256
19221
|
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
|
+
};
|
|
19257
19237
|
rich_text: {
|
|
19258
19238
|
type: "text" | "mention" | "equation";
|
|
19259
19239
|
text?: {
|
|
@@ -19273,23 +19253,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19273
19253
|
} | undefined;
|
|
19274
19254
|
href?: string | null | undefined;
|
|
19275
19255
|
}[];
|
|
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: "page_id" | "block_id";
|
|
19286
|
-
page_id?: string | undefined;
|
|
19287
|
-
block_id?: string | undefined;
|
|
19288
|
-
} & {
|
|
19289
|
-
[k: string]: unknown;
|
|
19290
|
-
};
|
|
19291
|
-
created_time: string;
|
|
19292
19256
|
last_edited_time: string;
|
|
19257
|
+
created_time: string;
|
|
19293
19258
|
created_by: {
|
|
19294
19259
|
object: "user";
|
|
19295
19260
|
id: string;
|
|
@@ -19308,6 +19273,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19308
19273
|
} | undefined;
|
|
19309
19274
|
};
|
|
19310
19275
|
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
|
+
};
|
|
19311
19291
|
rich_text: {
|
|
19312
19292
|
type: "text" | "mention" | "equation";
|
|
19313
19293
|
text?: {
|
|
@@ -19327,6 +19307,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19327
19307
|
} | undefined;
|
|
19328
19308
|
href?: string | null | undefined;
|
|
19329
19309
|
}[];
|
|
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">;
|
|
@@ -19509,32 +19509,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19509
19509
|
object: "comment";
|
|
19510
19510
|
id: string;
|
|
19511
19511
|
parent: {
|
|
19512
|
-
type: "
|
|
19513
|
-
page_id?: string | undefined;
|
|
19512
|
+
type: "block_id" | "page_id";
|
|
19514
19513
|
block_id?: string | undefined;
|
|
19514
|
+
page_id?: string | undefined;
|
|
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;
|
|
19538
19518
|
rich_text: {
|
|
19539
19519
|
type: "text" | "mention" | "equation";
|
|
19540
19520
|
text?: {
|
|
@@ -19554,18 +19534,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19554
19534
|
} | undefined;
|
|
19555
19535
|
href?: string | null | undefined;
|
|
19556
19536
|
}[];
|
|
19557
|
-
}, {
|
|
19558
|
-
object: "comment";
|
|
19559
|
-
id: string;
|
|
19560
|
-
parent: {
|
|
19561
|
-
type: "page_id" | "block_id";
|
|
19562
|
-
page_id?: string | undefined;
|
|
19563
|
-
block_id?: string | undefined;
|
|
19564
|
-
} & {
|
|
19565
|
-
[k: string]: unknown;
|
|
19566
|
-
};
|
|
19567
|
-
created_time: string;
|
|
19568
19537
|
last_edited_time: string;
|
|
19538
|
+
created_time: string;
|
|
19569
19539
|
created_by: {
|
|
19570
19540
|
object: "user";
|
|
19571
19541
|
id: string;
|
|
@@ -19584,6 +19554,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19584
19554
|
} | undefined;
|
|
19585
19555
|
};
|
|
19586
19556
|
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
|
+
};
|
|
19587
19567
|
rich_text: {
|
|
19588
19568
|
type: "text" | "mention" | "equation";
|
|
19589
19569
|
text?: {
|
|
@@ -19603,23 +19583,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19603
19583
|
} | undefined;
|
|
19604
19584
|
href?: string | null | undefined;
|
|
19605
19585
|
}[];
|
|
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: "page_id" | "block_id";
|
|
19616
|
-
page_id?: string | undefined;
|
|
19617
|
-
block_id?: string | undefined;
|
|
19618
|
-
} & {
|
|
19619
|
-
[k: string]: unknown;
|
|
19620
|
-
};
|
|
19621
|
-
created_time: string;
|
|
19622
19586
|
last_edited_time: string;
|
|
19587
|
+
created_time: string;
|
|
19623
19588
|
created_by: {
|
|
19624
19589
|
object: "user";
|
|
19625
19590
|
id: string;
|
|
@@ -19638,6 +19603,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19638
19603
|
} | undefined;
|
|
19639
19604
|
};
|
|
19640
19605
|
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
|
+
};
|
|
19641
19621
|
rich_text: {
|
|
19642
19622
|
type: "text" | "mention" | "equation";
|
|
19643
19623
|
text?: {
|
|
@@ -19657,23 +19637,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19657
19637
|
} | undefined;
|
|
19658
19638
|
href?: string | null | undefined;
|
|
19659
19639
|
}[];
|
|
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: "page_id" | "block_id";
|
|
19670
|
-
page_id?: string | undefined;
|
|
19671
|
-
block_id?: string | undefined;
|
|
19672
|
-
} & {
|
|
19673
|
-
[k: string]: unknown;
|
|
19674
|
-
};
|
|
19675
|
-
created_time: string;
|
|
19676
19640
|
last_edited_time: string;
|
|
19641
|
+
created_time: string;
|
|
19677
19642
|
created_by: {
|
|
19678
19643
|
object: "user";
|
|
19679
19644
|
id: string;
|
|
@@ -19692,6 +19657,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19692
19657
|
} | undefined;
|
|
19693
19658
|
};
|
|
19694
19659
|
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
|
+
};
|
|
19695
19675
|
rich_text: {
|
|
19696
19676
|
type: "text" | "mention" | "equation";
|
|
19697
19677
|
text?: {
|
|
@@ -19711,6 +19691,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19711
19691
|
} | undefined;
|
|
19712
19692
|
href?: string | null | undefined;
|
|
19713
19693
|
}[];
|
|
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">;
|
|
@@ -19897,6 +19897,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19897
19897
|
error: string;
|
|
19898
19898
|
success: boolean;
|
|
19899
19899
|
operation: "search";
|
|
19900
|
+
next_cursor?: string | null | undefined;
|
|
19901
|
+
has_more?: boolean | undefined;
|
|
19900
19902
|
results?: z.objectOutputType<{
|
|
19901
19903
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
19902
19904
|
id: z.ZodString;
|
|
@@ -19915,12 +19917,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19915
19917
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
19916
19918
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
19917
19919
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
19918
|
-
next_cursor?: string | null | undefined;
|
|
19919
|
-
has_more?: boolean | undefined;
|
|
19920
19920
|
}, {
|
|
19921
19921
|
error: string;
|
|
19922
19922
|
success: boolean;
|
|
19923
19923
|
operation: "search";
|
|
19924
|
+
next_cursor?: string | null | undefined;
|
|
19925
|
+
has_more?: boolean | undefined;
|
|
19924
19926
|
results?: z.objectInputType<{
|
|
19925
19927
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
19926
19928
|
id: z.ZodString;
|
|
@@ -19939,8 +19941,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
19939
19941
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
19940
19942
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
19941
19943
|
}, 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>;
|
|
@@ -20183,6 +20183,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20183
20183
|
type: "emoji";
|
|
20184
20184
|
emoji: string;
|
|
20185
20185
|
} | undefined;
|
|
20186
|
+
children?: unknown[] | undefined;
|
|
20186
20187
|
cover?: {
|
|
20187
20188
|
type: "file";
|
|
20188
20189
|
file: {
|
|
@@ -20200,7 +20201,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20200
20201
|
url: string;
|
|
20201
20202
|
};
|
|
20202
20203
|
} | undefined;
|
|
20203
|
-
children?: unknown[] | undefined;
|
|
20204
20204
|
}, {
|
|
20205
20205
|
parent: {
|
|
20206
20206
|
type: "page_id";
|
|
@@ -20242,6 +20242,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20242
20242
|
type: "emoji";
|
|
20243
20243
|
emoji: string;
|
|
20244
20244
|
} | undefined;
|
|
20245
|
+
children?: unknown[] | undefined;
|
|
20245
20246
|
cover?: {
|
|
20246
20247
|
type: "file";
|
|
20247
20248
|
file: {
|
|
@@ -20259,7 +20260,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20259
20260
|
url: string;
|
|
20260
20261
|
};
|
|
20261
20262
|
} | undefined;
|
|
20262
|
-
children?: unknown[] | undefined;
|
|
20263
20263
|
}>, z.ZodObject<{
|
|
20264
20264
|
operation: z.ZodLiteral<"retrieve_page">;
|
|
20265
20265
|
page_id: z.ZodString;
|
|
@@ -20423,7 +20423,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20423
20423
|
page_id: string;
|
|
20424
20424
|
properties?: Record<string, unknown> | undefined;
|
|
20425
20425
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20426
|
-
archived?: boolean | undefined;
|
|
20427
20426
|
is_locked?: boolean | undefined;
|
|
20428
20427
|
icon?: {
|
|
20429
20428
|
type: "file";
|
|
@@ -20462,13 +20461,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20462
20461
|
url: string;
|
|
20463
20462
|
};
|
|
20464
20463
|
} | null | undefined;
|
|
20464
|
+
archived?: boolean | undefined;
|
|
20465
20465
|
in_trash?: boolean | undefined;
|
|
20466
20466
|
}, {
|
|
20467
20467
|
operation: "update_page";
|
|
20468
20468
|
page_id: string;
|
|
20469
20469
|
properties?: Record<string, unknown> | undefined;
|
|
20470
20470
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20471
|
-
archived?: boolean | undefined;
|
|
20472
20471
|
is_locked?: boolean | undefined;
|
|
20473
20472
|
icon?: {
|
|
20474
20473
|
type: "file";
|
|
@@ -20507,6 +20506,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
20507
20506
|
url: string;
|
|
20508
20507
|
};
|
|
20509
20508
|
} | null | undefined;
|
|
20509
|
+
archived?: boolean | undefined;
|
|
20510
20510
|
in_trash?: boolean | undefined;
|
|
20511
20511
|
}>, z.ZodObject<{
|
|
20512
20512
|
operation: z.ZodLiteral<"retrieve_database">;
|
|
@@ -21085,6 +21085,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21085
21085
|
}, "strip", z.ZodTypeAny, {
|
|
21086
21086
|
operation: "update_data_source";
|
|
21087
21087
|
data_source_id: string;
|
|
21088
|
+
properties?: Record<string, unknown> | undefined;
|
|
21088
21089
|
description?: {
|
|
21089
21090
|
type: "text" | "mention" | "equation";
|
|
21090
21091
|
text?: {
|
|
@@ -21104,7 +21105,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21104
21105
|
} | undefined;
|
|
21105
21106
|
href?: string | null | undefined;
|
|
21106
21107
|
}[] | undefined;
|
|
21107
|
-
properties?: Record<string, unknown> | undefined;
|
|
21108
21108
|
title?: {
|
|
21109
21109
|
type: "text" | "mention" | "equation";
|
|
21110
21110
|
text?: {
|
|
@@ -21153,6 +21153,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21153
21153
|
}, {
|
|
21154
21154
|
operation: "update_data_source";
|
|
21155
21155
|
data_source_id: string;
|
|
21156
|
+
properties?: Record<string, unknown> | undefined;
|
|
21156
21157
|
description?: {
|
|
21157
21158
|
type: "text" | "mention" | "equation";
|
|
21158
21159
|
text?: {
|
|
@@ -21172,7 +21173,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
21172
21173
|
} | undefined;
|
|
21173
21174
|
href?: string | null | undefined;
|
|
21174
21175
|
}[] | undefined;
|
|
21175
|
-
properties?: Record<string, unknown> | undefined;
|
|
21176
21176
|
title?: {
|
|
21177
21177
|
type: "text" | "mention" | "equation";
|
|
21178
21178
|
text?: {
|
|
@@ -22362,11 +22362,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22362
22362
|
page_id: z.ZodOptional<z.ZodString>;
|
|
22363
22363
|
block_id: z.ZodOptional<z.ZodString>;
|
|
22364
22364
|
}, "strip", z.ZodTypeAny, {
|
|
22365
|
-
page_id?: string | undefined;
|
|
22366
22365
|
block_id?: string | undefined;
|
|
22367
|
-
}, {
|
|
22368
22366
|
page_id?: string | undefined;
|
|
22367
|
+
}, {
|
|
22369
22368
|
block_id?: string | undefined;
|
|
22369
|
+
page_id?: string | undefined;
|
|
22370
22370
|
}>;
|
|
22371
22371
|
rich_text: z.ZodArray<z.ZodObject<{
|
|
22372
22372
|
type: z.ZodEnum<["text", "mention", "equation"]>;
|
|
@@ -22484,8 +22484,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22484
22484
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
22485
22485
|
}, "strip", z.ZodTypeAny, {
|
|
22486
22486
|
parent: {
|
|
22487
|
-
page_id?: string | undefined;
|
|
22488
22487
|
block_id?: string | undefined;
|
|
22488
|
+
page_id?: string | undefined;
|
|
22489
22489
|
};
|
|
22490
22490
|
operation: "create_comment";
|
|
22491
22491
|
rich_text: {
|
|
@@ -22520,8 +22520,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22520
22520
|
} | undefined;
|
|
22521
22521
|
}, {
|
|
22522
22522
|
parent: {
|
|
22523
|
-
page_id?: string | undefined;
|
|
22524
22523
|
block_id?: string | undefined;
|
|
22524
|
+
page_id?: string | undefined;
|
|
22525
22525
|
};
|
|
22526
22526
|
operation: "create_comment";
|
|
22527
22527
|
rich_text: {
|
|
@@ -22980,8 +22980,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
22980
22980
|
workspace: true;
|
|
22981
22981
|
};
|
|
22982
22982
|
archived: boolean;
|
|
22983
|
-
created_time: string;
|
|
22984
22983
|
last_edited_time: string;
|
|
22984
|
+
created_time: string;
|
|
22985
22985
|
created_by: {
|
|
22986
22986
|
object: "user";
|
|
22987
22987
|
id: string;
|
|
@@ -23073,8 +23073,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23073
23073
|
workspace: true;
|
|
23074
23074
|
};
|
|
23075
23075
|
archived: boolean;
|
|
23076
|
-
created_time: string;
|
|
23077
23076
|
last_edited_time: string;
|
|
23077
|
+
created_time: string;
|
|
23078
23078
|
created_by: {
|
|
23079
23079
|
object: "user";
|
|
23080
23080
|
id: string;
|
|
@@ -23171,8 +23171,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23171
23171
|
workspace: true;
|
|
23172
23172
|
};
|
|
23173
23173
|
archived: boolean;
|
|
23174
|
-
created_time: string;
|
|
23175
23174
|
last_edited_time: string;
|
|
23175
|
+
created_time: string;
|
|
23176
23176
|
created_by: {
|
|
23177
23177
|
object: "user";
|
|
23178
23178
|
id: string;
|
|
@@ -23269,8 +23269,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23269
23269
|
workspace: true;
|
|
23270
23270
|
};
|
|
23271
23271
|
archived: boolean;
|
|
23272
|
-
created_time: string;
|
|
23273
23272
|
last_edited_time: string;
|
|
23273
|
+
created_time: string;
|
|
23274
23274
|
created_by: {
|
|
23275
23275
|
object: "user";
|
|
23276
23276
|
id: string;
|
|
@@ -23684,8 +23684,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23684
23684
|
workspace: true;
|
|
23685
23685
|
};
|
|
23686
23686
|
archived: boolean;
|
|
23687
|
-
created_time: string;
|
|
23688
23687
|
last_edited_time: string;
|
|
23688
|
+
created_time: string;
|
|
23689
23689
|
created_by: {
|
|
23690
23690
|
object: "user";
|
|
23691
23691
|
id: string;
|
|
@@ -23777,8 +23777,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23777
23777
|
workspace: true;
|
|
23778
23778
|
};
|
|
23779
23779
|
archived: boolean;
|
|
23780
|
-
created_time: string;
|
|
23781
23780
|
last_edited_time: string;
|
|
23781
|
+
created_time: string;
|
|
23782
23782
|
created_by: {
|
|
23783
23783
|
object: "user";
|
|
23784
23784
|
id: string;
|
|
@@ -23875,8 +23875,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23875
23875
|
workspace: true;
|
|
23876
23876
|
};
|
|
23877
23877
|
archived: boolean;
|
|
23878
|
-
created_time: string;
|
|
23879
23878
|
last_edited_time: string;
|
|
23879
|
+
created_time: string;
|
|
23880
23880
|
created_by: {
|
|
23881
23881
|
object: "user";
|
|
23882
23882
|
id: string;
|
|
@@ -23973,8 +23973,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
23973
23973
|
workspace: true;
|
|
23974
23974
|
};
|
|
23975
23975
|
archived: boolean;
|
|
23976
|
-
created_time: string;
|
|
23977
23976
|
last_edited_time: string;
|
|
23977
|
+
created_time: string;
|
|
23978
23978
|
created_by: {
|
|
23979
23979
|
object: "user";
|
|
23980
23980
|
id: string;
|
|
@@ -24388,8 +24388,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24388
24388
|
workspace: true;
|
|
24389
24389
|
};
|
|
24390
24390
|
archived: boolean;
|
|
24391
|
-
created_time: string;
|
|
24392
24391
|
last_edited_time: string;
|
|
24392
|
+
created_time: string;
|
|
24393
24393
|
created_by: {
|
|
24394
24394
|
object: "user";
|
|
24395
24395
|
id: string;
|
|
@@ -24481,8 +24481,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24481
24481
|
workspace: true;
|
|
24482
24482
|
};
|
|
24483
24483
|
archived: boolean;
|
|
24484
|
-
created_time: string;
|
|
24485
24484
|
last_edited_time: string;
|
|
24485
|
+
created_time: string;
|
|
24486
24486
|
created_by: {
|
|
24487
24487
|
object: "user";
|
|
24488
24488
|
id: string;
|
|
@@ -24579,8 +24579,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24579
24579
|
workspace: true;
|
|
24580
24580
|
};
|
|
24581
24581
|
archived: boolean;
|
|
24582
|
-
created_time: string;
|
|
24583
24582
|
last_edited_time: string;
|
|
24583
|
+
created_time: string;
|
|
24584
24584
|
created_by: {
|
|
24585
24585
|
object: "user";
|
|
24586
24586
|
id: string;
|
|
@@ -24677,8 +24677,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
24677
24677
|
workspace: true;
|
|
24678
24678
|
};
|
|
24679
24679
|
archived: boolean;
|
|
24680
|
-
created_time: string;
|
|
24681
24680
|
last_edited_time: string;
|
|
24681
|
+
created_time: string;
|
|
24682
24682
|
created_by: {
|
|
24683
24683
|
object: "user";
|
|
24684
24684
|
id: string;
|
|
@@ -25322,8 +25322,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25322
25322
|
type: "workspace";
|
|
25323
25323
|
workspace: true;
|
|
25324
25324
|
};
|
|
25325
|
-
created_time: string;
|
|
25326
25325
|
last_edited_time: string;
|
|
25326
|
+
created_time: string;
|
|
25327
25327
|
data_sources: {
|
|
25328
25328
|
name: string;
|
|
25329
25329
|
id: string;
|
|
@@ -25414,8 +25414,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25414
25414
|
};
|
|
25415
25415
|
} | null | undefined;
|
|
25416
25416
|
in_trash?: boolean | undefined;
|
|
25417
|
-
public_url?: string | null | undefined;
|
|
25418
25417
|
is_inline?: boolean | undefined;
|
|
25418
|
+
public_url?: string | null | undefined;
|
|
25419
25419
|
}, {
|
|
25420
25420
|
object: "database";
|
|
25421
25421
|
title: {
|
|
@@ -25455,8 +25455,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25455
25455
|
type: "workspace";
|
|
25456
25456
|
workspace: true;
|
|
25457
25457
|
};
|
|
25458
|
-
created_time: string;
|
|
25459
25458
|
last_edited_time: string;
|
|
25459
|
+
created_time: string;
|
|
25460
25460
|
data_sources: {
|
|
25461
25461
|
name: string;
|
|
25462
25462
|
id: string;
|
|
@@ -25547,8 +25547,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25547
25547
|
};
|
|
25548
25548
|
} | null | undefined;
|
|
25549
25549
|
in_trash?: boolean | undefined;
|
|
25550
|
-
public_url?: string | null | undefined;
|
|
25551
25550
|
is_inline?: boolean | undefined;
|
|
25551
|
+
public_url?: string | null | undefined;
|
|
25552
25552
|
}>>;
|
|
25553
25553
|
}, "strip", z.ZodTypeAny, {
|
|
25554
25554
|
error: string;
|
|
@@ -25593,8 +25593,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25593
25593
|
type: "workspace";
|
|
25594
25594
|
workspace: true;
|
|
25595
25595
|
};
|
|
25596
|
-
created_time: string;
|
|
25597
25596
|
last_edited_time: string;
|
|
25597
|
+
created_time: string;
|
|
25598
25598
|
data_sources: {
|
|
25599
25599
|
name: string;
|
|
25600
25600
|
id: string;
|
|
@@ -25685,8 +25685,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25685
25685
|
};
|
|
25686
25686
|
} | null | undefined;
|
|
25687
25687
|
in_trash?: boolean | undefined;
|
|
25688
|
-
public_url?: string | null | undefined;
|
|
25689
25688
|
is_inline?: boolean | undefined;
|
|
25689
|
+
public_url?: string | null | undefined;
|
|
25690
25690
|
} | undefined;
|
|
25691
25691
|
}, {
|
|
25692
25692
|
error: string;
|
|
@@ -25731,8 +25731,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
25731
25731
|
type: "workspace";
|
|
25732
25732
|
workspace: true;
|
|
25733
25733
|
};
|
|
25734
|
-
created_time: string;
|
|
25735
25734
|
last_edited_time: string;
|
|
25735
|
+
created_time: string;
|
|
25736
25736
|
data_sources: {
|
|
25737
25737
|
name: string;
|
|
25738
25738
|
id: 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
|
-
public_url?: string | null | undefined;
|
|
25827
25826
|
is_inline?: boolean | undefined;
|
|
25827
|
+
public_url?: string | null | undefined;
|
|
25828
25828
|
} | undefined;
|
|
25829
25829
|
}>, z.ZodObject<{
|
|
25830
25830
|
operation: z.ZodLiteral<"retrieve_data_source">;
|
|
@@ -28133,6 +28133,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28133
28133
|
error: string;
|
|
28134
28134
|
success: boolean;
|
|
28135
28135
|
operation: "query_data_source";
|
|
28136
|
+
next_cursor?: string | null | undefined;
|
|
28137
|
+
has_more?: boolean | undefined;
|
|
28136
28138
|
results?: z.objectOutputType<{
|
|
28137
28139
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
28138
28140
|
id: z.ZodString;
|
|
@@ -28151,12 +28153,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28151
28153
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
28152
28154
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
28153
28155
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
28154
|
-
next_cursor?: string | null | undefined;
|
|
28155
|
-
has_more?: boolean | undefined;
|
|
28156
28156
|
}, {
|
|
28157
28157
|
error: string;
|
|
28158
28158
|
success: boolean;
|
|
28159
28159
|
operation: "query_data_source";
|
|
28160
|
+
next_cursor?: string | null | undefined;
|
|
28161
|
+
has_more?: boolean | undefined;
|
|
28160
28162
|
results?: z.objectInputType<{
|
|
28161
28163
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
28162
28164
|
id: z.ZodString;
|
|
@@ -28175,8 +28177,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
28175
28177
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
28176
28178
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
28177
28179
|
}, 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;
|
|
@@ -33241,8 +33241,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33241
33241
|
type: "workspace";
|
|
33242
33242
|
workspace: true;
|
|
33243
33243
|
};
|
|
33244
|
-
created_time: string;
|
|
33245
33244
|
last_edited_time: string;
|
|
33245
|
+
created_time: string;
|
|
33246
33246
|
data_sources: {
|
|
33247
33247
|
name: string;
|
|
33248
33248
|
id: string;
|
|
@@ -33333,8 +33333,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33333
33333
|
};
|
|
33334
33334
|
} | null | undefined;
|
|
33335
33335
|
in_trash?: boolean | undefined;
|
|
33336
|
-
public_url?: string | null | undefined;
|
|
33337
33336
|
is_inline?: boolean | undefined;
|
|
33337
|
+
public_url?: string | null | undefined;
|
|
33338
33338
|
}, {
|
|
33339
33339
|
object: "database";
|
|
33340
33340
|
title: {
|
|
@@ -33374,8 +33374,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33374
33374
|
type: "workspace";
|
|
33375
33375
|
workspace: true;
|
|
33376
33376
|
};
|
|
33377
|
-
created_time: string;
|
|
33378
33377
|
last_edited_time: string;
|
|
33378
|
+
created_time: string;
|
|
33379
33379
|
data_sources: {
|
|
33380
33380
|
name: string;
|
|
33381
33381
|
id: string;
|
|
@@ -33466,8 +33466,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33466
33466
|
};
|
|
33467
33467
|
} | null | undefined;
|
|
33468
33468
|
in_trash?: boolean | undefined;
|
|
33469
|
-
public_url?: string | null | undefined;
|
|
33470
33469
|
is_inline?: boolean | undefined;
|
|
33470
|
+
public_url?: string | null | undefined;
|
|
33471
33471
|
}>>;
|
|
33472
33472
|
}, "strip", z.ZodTypeAny, {
|
|
33473
33473
|
error: string;
|
|
@@ -33512,8 +33512,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33512
33512
|
type: "workspace";
|
|
33513
33513
|
workspace: true;
|
|
33514
33514
|
};
|
|
33515
|
-
created_time: string;
|
|
33516
33515
|
last_edited_time: string;
|
|
33516
|
+
created_time: string;
|
|
33517
33517
|
data_sources: {
|
|
33518
33518
|
name: string;
|
|
33519
33519
|
id: string;
|
|
@@ -33604,8 +33604,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33604
33604
|
};
|
|
33605
33605
|
} | null | undefined;
|
|
33606
33606
|
in_trash?: boolean | undefined;
|
|
33607
|
-
public_url?: string | null | undefined;
|
|
33608
33607
|
is_inline?: boolean | undefined;
|
|
33608
|
+
public_url?: string | null | undefined;
|
|
33609
33609
|
} | undefined;
|
|
33610
33610
|
}, {
|
|
33611
33611
|
error: string;
|
|
@@ -33650,8 +33650,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
33650
33650
|
type: "workspace";
|
|
33651
33651
|
workspace: true;
|
|
33652
33652
|
};
|
|
33653
|
-
created_time: string;
|
|
33654
33653
|
last_edited_time: string;
|
|
33654
|
+
created_time: string;
|
|
33655
33655
|
data_sources: {
|
|
33656
33656
|
name: string;
|
|
33657
33657
|
id: 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
|
-
public_url?: string | null | undefined;
|
|
33746
33745
|
is_inline?: boolean | undefined;
|
|
33746
|
+
public_url?: string | null | undefined;
|
|
33747
33747
|
} | undefined;
|
|
33748
33748
|
}>, z.ZodObject<{
|
|
33749
33749
|
operation: z.ZodLiteral<"update_database">;
|
|
@@ -34319,8 +34319,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34319
34319
|
type: "workspace";
|
|
34320
34320
|
workspace: true;
|
|
34321
34321
|
};
|
|
34322
|
-
created_time: string;
|
|
34323
34322
|
last_edited_time: string;
|
|
34323
|
+
created_time: string;
|
|
34324
34324
|
data_sources: {
|
|
34325
34325
|
name: string;
|
|
34326
34326
|
id: string;
|
|
@@ -34411,8 +34411,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34411
34411
|
};
|
|
34412
34412
|
} | null | undefined;
|
|
34413
34413
|
in_trash?: boolean | undefined;
|
|
34414
|
-
public_url?: string | null | undefined;
|
|
34415
34414
|
is_inline?: boolean | undefined;
|
|
34415
|
+
public_url?: string | null | undefined;
|
|
34416
34416
|
}, {
|
|
34417
34417
|
object: "database";
|
|
34418
34418
|
title: {
|
|
@@ -34452,8 +34452,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34452
34452
|
type: "workspace";
|
|
34453
34453
|
workspace: true;
|
|
34454
34454
|
};
|
|
34455
|
-
created_time: string;
|
|
34456
34455
|
last_edited_time: string;
|
|
34456
|
+
created_time: string;
|
|
34457
34457
|
data_sources: {
|
|
34458
34458
|
name: string;
|
|
34459
34459
|
id: string;
|
|
@@ -34544,8 +34544,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34544
34544
|
};
|
|
34545
34545
|
} | null | undefined;
|
|
34546
34546
|
in_trash?: boolean | undefined;
|
|
34547
|
-
public_url?: string | null | undefined;
|
|
34548
34547
|
is_inline?: boolean | undefined;
|
|
34548
|
+
public_url?: string | null | undefined;
|
|
34549
34549
|
}>>;
|
|
34550
34550
|
}, "strip", z.ZodTypeAny, {
|
|
34551
34551
|
error: string;
|
|
@@ -34590,8 +34590,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34590
34590
|
type: "workspace";
|
|
34591
34591
|
workspace: true;
|
|
34592
34592
|
};
|
|
34593
|
-
created_time: string;
|
|
34594
34593
|
last_edited_time: string;
|
|
34594
|
+
created_time: string;
|
|
34595
34595
|
data_sources: {
|
|
34596
34596
|
name: string;
|
|
34597
34597
|
id: string;
|
|
@@ -34682,8 +34682,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34682
34682
|
};
|
|
34683
34683
|
} | null | undefined;
|
|
34684
34684
|
in_trash?: boolean | undefined;
|
|
34685
|
-
public_url?: string | null | undefined;
|
|
34686
34685
|
is_inline?: boolean | undefined;
|
|
34686
|
+
public_url?: string | null | undefined;
|
|
34687
34687
|
} | undefined;
|
|
34688
34688
|
}, {
|
|
34689
34689
|
error: string;
|
|
@@ -34728,8 +34728,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
34728
34728
|
type: "workspace";
|
|
34729
34729
|
workspace: true;
|
|
34730
34730
|
};
|
|
34731
|
-
created_time: string;
|
|
34732
34731
|
last_edited_time: string;
|
|
34732
|
+
created_time: string;
|
|
34733
34733
|
data_sources: {
|
|
34734
34734
|
name: string;
|
|
34735
34735
|
id: 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
|
-
public_url?: string | null | undefined;
|
|
34824
34823
|
is_inline?: boolean | undefined;
|
|
34824
|
+
public_url?: string | null | undefined;
|
|
34825
34825
|
} | undefined;
|
|
34826
34826
|
}>, z.ZodObject<{
|
|
34827
34827
|
operation: z.ZodLiteral<"append_block_children">;
|
|
@@ -39076,32 +39076,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39076
39076
|
object: "comment";
|
|
39077
39077
|
id: string;
|
|
39078
39078
|
parent: {
|
|
39079
|
-
type: "
|
|
39080
|
-
page_id?: string | undefined;
|
|
39079
|
+
type: "block_id" | "page_id";
|
|
39081
39080
|
block_id?: string | undefined;
|
|
39081
|
+
page_id?: string | undefined;
|
|
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;
|
|
39105
39085
|
rich_text: {
|
|
39106
39086
|
type: "text" | "mention" | "equation";
|
|
39107
39087
|
text?: {
|
|
@@ -39121,18 +39101,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39121
39101
|
} | undefined;
|
|
39122
39102
|
href?: string | null | undefined;
|
|
39123
39103
|
}[];
|
|
39124
|
-
}, {
|
|
39125
|
-
object: "comment";
|
|
39126
|
-
id: string;
|
|
39127
|
-
parent: {
|
|
39128
|
-
type: "page_id" | "block_id";
|
|
39129
|
-
page_id?: string | undefined;
|
|
39130
|
-
block_id?: string | undefined;
|
|
39131
|
-
} & {
|
|
39132
|
-
[k: string]: unknown;
|
|
39133
|
-
};
|
|
39134
|
-
created_time: string;
|
|
39135
39104
|
last_edited_time: string;
|
|
39105
|
+
created_time: string;
|
|
39136
39106
|
created_by: {
|
|
39137
39107
|
object: "user";
|
|
39138
39108
|
id: string;
|
|
@@ -39151,6 +39121,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39151
39121
|
} | undefined;
|
|
39152
39122
|
};
|
|
39153
39123
|
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
|
+
};
|
|
39154
39134
|
rich_text: {
|
|
39155
39135
|
type: "text" | "mention" | "equation";
|
|
39156
39136
|
text?: {
|
|
@@ -39170,23 +39150,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39170
39150
|
} | undefined;
|
|
39171
39151
|
href?: string | null | undefined;
|
|
39172
39152
|
}[];
|
|
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: "page_id" | "block_id";
|
|
39183
|
-
page_id?: string | undefined;
|
|
39184
|
-
block_id?: string | undefined;
|
|
39185
|
-
} & {
|
|
39186
|
-
[k: string]: unknown;
|
|
39187
|
-
};
|
|
39188
|
-
created_time: string;
|
|
39189
39153
|
last_edited_time: string;
|
|
39154
|
+
created_time: string;
|
|
39190
39155
|
created_by: {
|
|
39191
39156
|
object: "user";
|
|
39192
39157
|
id: string;
|
|
@@ -39205,6 +39170,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39205
39170
|
} | undefined;
|
|
39206
39171
|
};
|
|
39207
39172
|
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
|
+
};
|
|
39208
39188
|
rich_text: {
|
|
39209
39189
|
type: "text" | "mention" | "equation";
|
|
39210
39190
|
text?: {
|
|
@@ -39224,23 +39204,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39224
39204
|
} | undefined;
|
|
39225
39205
|
href?: string | null | undefined;
|
|
39226
39206
|
}[];
|
|
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: "page_id" | "block_id";
|
|
39237
|
-
page_id?: string | undefined;
|
|
39238
|
-
block_id?: string | undefined;
|
|
39239
|
-
} & {
|
|
39240
|
-
[k: string]: unknown;
|
|
39241
|
-
};
|
|
39242
|
-
created_time: string;
|
|
39243
39207
|
last_edited_time: string;
|
|
39208
|
+
created_time: string;
|
|
39244
39209
|
created_by: {
|
|
39245
39210
|
object: "user";
|
|
39246
39211
|
id: string;
|
|
@@ -39259,6 +39224,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39259
39224
|
} | undefined;
|
|
39260
39225
|
};
|
|
39261
39226
|
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
|
+
};
|
|
39262
39242
|
rich_text: {
|
|
39263
39243
|
type: "text" | "mention" | "equation";
|
|
39264
39244
|
text?: {
|
|
@@ -39278,6 +39258,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39278
39258
|
} | undefined;
|
|
39279
39259
|
href?: string | null | undefined;
|
|
39280
39260
|
}[];
|
|
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">;
|
|
@@ -39460,32 +39460,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39460
39460
|
object: "comment";
|
|
39461
39461
|
id: string;
|
|
39462
39462
|
parent: {
|
|
39463
|
-
type: "
|
|
39464
|
-
page_id?: string | undefined;
|
|
39463
|
+
type: "block_id" | "page_id";
|
|
39465
39464
|
block_id?: string | undefined;
|
|
39465
|
+
page_id?: string | undefined;
|
|
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;
|
|
39489
39469
|
rich_text: {
|
|
39490
39470
|
type: "text" | "mention" | "equation";
|
|
39491
39471
|
text?: {
|
|
@@ -39505,18 +39485,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39505
39485
|
} | undefined;
|
|
39506
39486
|
href?: string | null | undefined;
|
|
39507
39487
|
}[];
|
|
39508
|
-
}, {
|
|
39509
|
-
object: "comment";
|
|
39510
|
-
id: string;
|
|
39511
|
-
parent: {
|
|
39512
|
-
type: "page_id" | "block_id";
|
|
39513
|
-
page_id?: string | undefined;
|
|
39514
|
-
block_id?: string | undefined;
|
|
39515
|
-
} & {
|
|
39516
|
-
[k: string]: unknown;
|
|
39517
|
-
};
|
|
39518
|
-
created_time: string;
|
|
39519
39488
|
last_edited_time: string;
|
|
39489
|
+
created_time: string;
|
|
39520
39490
|
created_by: {
|
|
39521
39491
|
object: "user";
|
|
39522
39492
|
id: string;
|
|
@@ -39535,6 +39505,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39535
39505
|
} | undefined;
|
|
39536
39506
|
};
|
|
39537
39507
|
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
|
+
};
|
|
39538
39518
|
rich_text: {
|
|
39539
39519
|
type: "text" | "mention" | "equation";
|
|
39540
39520
|
text?: {
|
|
@@ -39554,23 +39534,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39554
39534
|
} | undefined;
|
|
39555
39535
|
href?: string | null | undefined;
|
|
39556
39536
|
}[];
|
|
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: "page_id" | "block_id";
|
|
39567
|
-
page_id?: string | undefined;
|
|
39568
|
-
block_id?: string | undefined;
|
|
39569
|
-
} & {
|
|
39570
|
-
[k: string]: unknown;
|
|
39571
|
-
};
|
|
39572
|
-
created_time: string;
|
|
39573
39537
|
last_edited_time: string;
|
|
39538
|
+
created_time: string;
|
|
39574
39539
|
created_by: {
|
|
39575
39540
|
object: "user";
|
|
39576
39541
|
id: string;
|
|
@@ -39589,6 +39554,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39589
39554
|
} | undefined;
|
|
39590
39555
|
};
|
|
39591
39556
|
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
|
+
};
|
|
39592
39572
|
rich_text: {
|
|
39593
39573
|
type: "text" | "mention" | "equation";
|
|
39594
39574
|
text?: {
|
|
@@ -39608,23 +39588,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39608
39588
|
} | undefined;
|
|
39609
39589
|
href?: string | null | undefined;
|
|
39610
39590
|
}[];
|
|
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: "page_id" | "block_id";
|
|
39621
|
-
page_id?: string | undefined;
|
|
39622
|
-
block_id?: string | undefined;
|
|
39623
|
-
} & {
|
|
39624
|
-
[k: string]: unknown;
|
|
39625
|
-
};
|
|
39626
|
-
created_time: string;
|
|
39627
39591
|
last_edited_time: string;
|
|
39592
|
+
created_time: string;
|
|
39628
39593
|
created_by: {
|
|
39629
39594
|
object: "user";
|
|
39630
39595
|
id: string;
|
|
@@ -39643,6 +39608,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39643
39608
|
} | undefined;
|
|
39644
39609
|
};
|
|
39645
39610
|
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
|
+
};
|
|
39646
39626
|
rich_text: {
|
|
39647
39627
|
type: "text" | "mention" | "equation";
|
|
39648
39628
|
text?: {
|
|
@@ -39662,6 +39642,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39662
39642
|
} | undefined;
|
|
39663
39643
|
href?: string | null | undefined;
|
|
39664
39644
|
}[];
|
|
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">;
|
|
@@ -39848,6 +39848,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39848
39848
|
error: string;
|
|
39849
39849
|
success: boolean;
|
|
39850
39850
|
operation: "search";
|
|
39851
|
+
next_cursor?: string | null | undefined;
|
|
39852
|
+
has_more?: boolean | undefined;
|
|
39851
39853
|
results?: z.objectOutputType<{
|
|
39852
39854
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
39853
39855
|
id: z.ZodString;
|
|
@@ -39866,12 +39868,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39866
39868
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
39867
39869
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
39868
39870
|
}, z.ZodTypeAny, "passthrough">[] | undefined;
|
|
39869
|
-
next_cursor?: string | null | undefined;
|
|
39870
|
-
has_more?: boolean | undefined;
|
|
39871
39871
|
}, {
|
|
39872
39872
|
error: string;
|
|
39873
39873
|
success: boolean;
|
|
39874
39874
|
operation: "search";
|
|
39875
|
+
next_cursor?: string | null | undefined;
|
|
39876
|
+
has_more?: boolean | undefined;
|
|
39875
39877
|
results?: z.objectInputType<{
|
|
39876
39878
|
object: z.ZodEnum<["page", "data_source"]>;
|
|
39877
39879
|
id: z.ZodString;
|
|
@@ -39890,8 +39892,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
|
|
|
39890
39892
|
archived: z.ZodOptional<z.ZodBoolean>;
|
|
39891
39893
|
in_trash: z.ZodOptional<z.ZodBoolean>;
|
|
39892
39894
|
}, 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 ";
|