@bubblelab/bubble-core 0.1.39 → 0.1.40

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist/bubble-bundle.d.ts +81 -81
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +114 -114
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +70 -70
  4. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.js +5 -0
  6. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  7. package/dist/bubbles/service-bubble/airtable.d.ts +122 -122
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +12 -12
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +144 -144
  10. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +51 -51
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +84 -84
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +835 -835
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +474 -474
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +275 -275
  16. package/dist/bubbles/service-bubble/github.d.ts +196 -196
  17. package/dist/bubbles/service-bubble/gmail.d.ts +138 -138
  18. package/dist/bubbles/service-bubble/google-calendar.d.ts +136 -136
  19. package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
  20. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +68 -68
  21. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  22. package/dist/bubbles/service-bubble/http.d.ts +12 -12
  23. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  24. package/dist/bubbles/service-bubble/jira/jira.d.ts +59 -59
  25. package/dist/bubbles/service-bubble/notion/notion.d.ts +244 -244
  26. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/resend.d.ts +16 -16
  28. package/dist/bubbles/service-bubble/slack/slack.d.ts +442 -442
  29. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  30. package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
  31. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +26 -26
  32. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  33. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  34. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  35. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +66 -66
  36. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  37. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  38. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +28 -28
  39. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
  40. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +422 -422
  41. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +8 -8
  42. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +108 -108
  43. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
  44. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
  45. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  46. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +24 -24
  47. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  48. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +113 -113
  49. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  51. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
  52. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  53. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +8 -8
  54. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  55. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +4 -4
  56. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  57. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
  58. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  59. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +6 -6
  60. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +66 -66
  61. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  62. package/dist/bubbles.json +1 -1
  63. package/package.json +2 -2
@@ -192,7 +192,6 @@ 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";
196
195
  parent: {
197
196
  type: "page_id";
198
197
  page_id: string;
@@ -210,6 +209,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
210
209
  type: "workspace";
211
210
  workspace: true;
212
211
  };
212
+ operation: "create_page";
213
213
  properties?: Record<string, unknown> | undefined;
214
214
  credentials?: Partial<Record<CredentialType, string>> | undefined;
215
215
  icon?: {
@@ -251,7 +251,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
251
251
  } | undefined;
252
252
  children?: unknown[] | undefined;
253
253
  }, {
254
- operation: "create_page";
255
254
  parent: {
256
255
  type: "page_id";
257
256
  page_id: string;
@@ -269,6 +268,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
269
268
  type: "workspace";
270
269
  workspace: true;
271
270
  };
271
+ operation: "create_page";
272
272
  properties?: Record<string, unknown> | undefined;
273
273
  credentials?: Partial<Record<CredentialType, string>> | undefined;
274
274
  icon?: {
@@ -585,8 +585,8 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
585
585
  data_source_id: string;
586
586
  filter?: Record<string, unknown> | undefined;
587
587
  credentials?: Partial<Record<CredentialType, string>> | undefined;
588
- sorts?: unknown[] | undefined;
589
588
  filter_properties?: string[] | undefined;
589
+ sorts?: unknown[] | undefined;
590
590
  start_cursor?: string | undefined;
591
591
  result_type?: "page" | "data_source" | undefined;
592
592
  }, {
@@ -594,9 +594,9 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
594
594
  data_source_id: string;
595
595
  filter?: Record<string, unknown> | undefined;
596
596
  credentials?: Partial<Record<CredentialType, string>> | undefined;
597
- sorts?: unknown[] | undefined;
598
597
  page_size?: number | undefined;
599
598
  filter_properties?: string[] | undefined;
599
+ sorts?: unknown[] | undefined;
600
600
  start_cursor?: string | undefined;
601
601
  result_type?: "page" | "data_source" | undefined;
602
602
  }>, z.ZodObject<{
@@ -769,12 +769,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
769
769
  }>]>>;
770
770
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
771
771
  }, "strip", z.ZodTypeAny, {
772
- operation: "create_data_source";
773
772
  properties: Record<string, unknown>;
774
773
  parent: {
775
774
  type: "database_id";
776
775
  database_id: string;
777
776
  };
777
+ operation: "create_data_source";
778
778
  title?: {
779
779
  type: "text" | "mention" | "equation";
780
780
  text?: {
@@ -816,12 +816,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
816
816
  emoji: string;
817
817
  } | undefined;
818
818
  }, {
819
- operation: "create_data_source";
820
819
  properties: Record<string, unknown>;
821
820
  parent: {
822
821
  type: "database_id";
823
822
  database_id: string;
824
823
  };
824
+ operation: "create_data_source";
825
825
  title?: {
826
826
  type: "text" | "mention" | "equation";
827
827
  text?: {
@@ -1119,7 +1119,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1119
1119
  }, "strip", z.ZodTypeAny, {
1120
1120
  operation: "update_data_source";
1121
1121
  data_source_id: string;
1122
- properties?: Record<string, unknown> | undefined;
1123
1122
  description?: {
1124
1123
  type: "text" | "mention" | "equation";
1125
1124
  text?: {
@@ -1139,6 +1138,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1139
1138
  } | undefined;
1140
1139
  href?: string | null | undefined;
1141
1140
  }[] | undefined;
1141
+ properties?: Record<string, unknown> | undefined;
1142
1142
  title?: {
1143
1143
  type: "text" | "mention" | "equation";
1144
1144
  text?: {
@@ -1187,7 +1187,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1187
1187
  }, {
1188
1188
  operation: "update_data_source";
1189
1189
  data_source_id: string;
1190
- properties?: Record<string, unknown> | undefined;
1191
1190
  description?: {
1192
1191
  type: "text" | "mention" | "equation";
1193
1192
  text?: {
@@ -1207,6 +1206,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1207
1206
  } | undefined;
1208
1207
  href?: string | null | undefined;
1209
1208
  }[] | undefined;
1209
+ properties?: Record<string, unknown> | undefined;
1210
1210
  title?: {
1211
1211
  type: "text" | "mention" | "equation";
1212
1212
  text?: {
@@ -1597,7 +1597,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1597
1597
  }>]>>;
1598
1598
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1599
1599
  }, "strip", z.ZodTypeAny, {
1600
- operation: "create_database";
1601
1600
  parent: {
1602
1601
  type: "workspace";
1603
1602
  workspace: boolean;
@@ -1607,6 +1606,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1607
1606
  page_id: string;
1608
1607
  workspace?: undefined;
1609
1608
  };
1609
+ operation: "create_database";
1610
1610
  initial_data_source: {
1611
1611
  properties: Record<string, unknown>;
1612
1612
  };
@@ -1687,12 +1687,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1687
1687
  };
1688
1688
  } | undefined;
1689
1689
  }, {
1690
- operation: "create_database";
1691
1690
  parent: {
1692
1691
  type: "workspace" | "page_id";
1693
1692
  workspace?: true | undefined;
1694
1693
  page_id?: string | undefined;
1695
1694
  };
1695
+ operation: "create_database";
1696
1696
  initial_data_source: {
1697
1697
  properties: Record<string, unknown>;
1698
1698
  };
@@ -2517,11 +2517,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2517
2517
  }>>;
2518
2518
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
2519
2519
  }, "strip", z.ZodTypeAny, {
2520
- operation: "create_comment";
2521
2520
  parent: {
2522
2521
  block_id?: string | undefined;
2523
2522
  page_id?: string | undefined;
2524
2523
  };
2524
+ operation: "create_comment";
2525
2525
  rich_text: {
2526
2526
  type: "text" | "mention" | "equation";
2527
2527
  text?: {
@@ -2553,11 +2553,11 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2553
2553
  } | undefined;
2554
2554
  } | undefined;
2555
2555
  }, {
2556
- operation: "create_comment";
2557
2556
  parent: {
2558
2557
  block_id?: string | undefined;
2559
2558
  page_id?: string | undefined;
2560
2559
  };
2560
+ operation: "create_comment";
2561
2561
  rich_text: {
2562
2562
  type: "text" | "mention" | "equation";
2563
2563
  text?: {
@@ -2995,7 +2995,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2995
2995
  object: "page";
2996
2996
  properties: Record<string, unknown>;
2997
2997
  url: string;
2998
- id: string;
2999
2998
  parent: {
3000
2999
  type: "page_id";
3001
3000
  page_id: string;
@@ -3013,6 +3012,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3013
3012
  type: "workspace";
3014
3013
  workspace: true;
3015
3014
  };
3015
+ id: string;
3016
3016
  created_time: string;
3017
3017
  last_edited_time: string;
3018
3018
  created_by: {
@@ -3088,7 +3088,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3088
3088
  object: "page";
3089
3089
  properties: Record<string, unknown>;
3090
3090
  url: string;
3091
- id: string;
3092
3091
  parent: {
3093
3092
  type: "page_id";
3094
3093
  page_id: string;
@@ -3106,6 +3105,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3106
3105
  type: "workspace";
3107
3106
  workspace: true;
3108
3107
  };
3108
+ id: string;
3109
3109
  created_time: string;
3110
3110
  last_edited_time: string;
3111
3111
  created_by: {
@@ -3179,14 +3179,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3179
3179
  public_url?: string | null | undefined;
3180
3180
  }>>;
3181
3181
  }, "strip", z.ZodTypeAny, {
3182
- operation: "create_page";
3183
- success: boolean;
3184
3182
  error: string;
3183
+ success: boolean;
3184
+ operation: "create_page";
3185
3185
  page?: {
3186
3186
  object: "page";
3187
3187
  properties: Record<string, unknown>;
3188
3188
  url: string;
3189
- id: string;
3190
3189
  parent: {
3191
3190
  type: "page_id";
3192
3191
  page_id: string;
@@ -3204,6 +3203,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3204
3203
  type: "workspace";
3205
3204
  workspace: true;
3206
3205
  };
3206
+ id: string;
3207
3207
  created_time: string;
3208
3208
  last_edited_time: string;
3209
3209
  created_by: {
@@ -3277,14 +3277,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3277
3277
  public_url?: string | null | undefined;
3278
3278
  } | undefined;
3279
3279
  }, {
3280
- operation: "create_page";
3281
- success: boolean;
3282
3280
  error: string;
3281
+ success: boolean;
3282
+ operation: "create_page";
3283
3283
  page?: {
3284
3284
  object: "page";
3285
3285
  properties: Record<string, unknown>;
3286
3286
  url: string;
3287
- id: string;
3288
3287
  parent: {
3289
3288
  type: "page_id";
3290
3289
  page_id: string;
@@ -3302,6 +3301,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3302
3301
  type: "workspace";
3303
3302
  workspace: true;
3304
3303
  };
3304
+ id: string;
3305
3305
  created_time: string;
3306
3306
  last_edited_time: string;
3307
3307
  created_by: {
@@ -3699,7 +3699,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3699
3699
  object: "page";
3700
3700
  properties: Record<string, unknown>;
3701
3701
  url: string;
3702
- id: string;
3703
3702
  parent: {
3704
3703
  type: "page_id";
3705
3704
  page_id: string;
@@ -3717,6 +3716,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3717
3716
  type: "workspace";
3718
3717
  workspace: true;
3719
3718
  };
3719
+ id: string;
3720
3720
  created_time: string;
3721
3721
  last_edited_time: string;
3722
3722
  created_by: {
@@ -3792,7 +3792,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3792
3792
  object: "page";
3793
3793
  properties: Record<string, unknown>;
3794
3794
  url: string;
3795
- id: string;
3796
3795
  parent: {
3797
3796
  type: "page_id";
3798
3797
  page_id: string;
@@ -3810,6 +3809,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3810
3809
  type: "workspace";
3811
3810
  workspace: true;
3812
3811
  };
3812
+ id: string;
3813
3813
  created_time: string;
3814
3814
  last_edited_time: string;
3815
3815
  created_by: {
@@ -3883,14 +3883,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3883
3883
  public_url?: string | null | undefined;
3884
3884
  }>>;
3885
3885
  }, "strip", z.ZodTypeAny, {
3886
- operation: "retrieve_page";
3887
- success: boolean;
3888
3886
  error: string;
3887
+ success: boolean;
3888
+ operation: "retrieve_page";
3889
3889
  page?: {
3890
3890
  object: "page";
3891
3891
  properties: Record<string, unknown>;
3892
3892
  url: string;
3893
- id: string;
3894
3893
  parent: {
3895
3894
  type: "page_id";
3896
3895
  page_id: string;
@@ -3908,6 +3907,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3908
3907
  type: "workspace";
3909
3908
  workspace: true;
3910
3909
  };
3910
+ id: string;
3911
3911
  created_time: string;
3912
3912
  last_edited_time: string;
3913
3913
  created_by: {
@@ -3981,14 +3981,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3981
3981
  public_url?: string | null | undefined;
3982
3982
  } | undefined;
3983
3983
  }, {
3984
- operation: "retrieve_page";
3985
- success: boolean;
3986
3984
  error: string;
3985
+ success: boolean;
3986
+ operation: "retrieve_page";
3987
3987
  page?: {
3988
3988
  object: "page";
3989
3989
  properties: Record<string, unknown>;
3990
3990
  url: string;
3991
- id: string;
3992
3991
  parent: {
3993
3992
  type: "page_id";
3994
3993
  page_id: string;
@@ -4006,6 +4005,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4006
4005
  type: "workspace";
4007
4006
  workspace: true;
4008
4007
  };
4008
+ id: string;
4009
4009
  created_time: string;
4010
4010
  last_edited_time: string;
4011
4011
  created_by: {
@@ -4403,7 +4403,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4403
4403
  object: "page";
4404
4404
  properties: Record<string, unknown>;
4405
4405
  url: string;
4406
- id: string;
4407
4406
  parent: {
4408
4407
  type: "page_id";
4409
4408
  page_id: string;
@@ -4421,6 +4420,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4421
4420
  type: "workspace";
4422
4421
  workspace: true;
4423
4422
  };
4423
+ id: string;
4424
4424
  created_time: string;
4425
4425
  last_edited_time: string;
4426
4426
  created_by: {
@@ -4496,7 +4496,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4496
4496
  object: "page";
4497
4497
  properties: Record<string, unknown>;
4498
4498
  url: string;
4499
- id: string;
4500
4499
  parent: {
4501
4500
  type: "page_id";
4502
4501
  page_id: string;
@@ -4514,6 +4513,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4514
4513
  type: "workspace";
4515
4514
  workspace: true;
4516
4515
  };
4516
+ id: string;
4517
4517
  created_time: string;
4518
4518
  last_edited_time: string;
4519
4519
  created_by: {
@@ -4587,14 +4587,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4587
4587
  public_url?: string | null | undefined;
4588
4588
  }>>;
4589
4589
  }, "strip", z.ZodTypeAny, {
4590
- operation: "update_page";
4591
- success: boolean;
4592
4590
  error: string;
4591
+ success: boolean;
4592
+ operation: "update_page";
4593
4593
  page?: {
4594
4594
  object: "page";
4595
4595
  properties: Record<string, unknown>;
4596
4596
  url: string;
4597
- id: string;
4598
4597
  parent: {
4599
4598
  type: "page_id";
4600
4599
  page_id: string;
@@ -4612,6 +4611,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4612
4611
  type: "workspace";
4613
4612
  workspace: true;
4614
4613
  };
4614
+ id: string;
4615
4615
  created_time: string;
4616
4616
  last_edited_time: string;
4617
4617
  created_by: {
@@ -4685,14 +4685,13 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4685
4685
  public_url?: string | null | undefined;
4686
4686
  } | undefined;
4687
4687
  }, {
4688
- operation: "update_page";
4689
- success: boolean;
4690
4688
  error: string;
4689
+ success: boolean;
4690
+ operation: "update_page";
4691
4691
  page?: {
4692
4692
  object: "page";
4693
4693
  properties: Record<string, unknown>;
4694
4694
  url: string;
4695
- id: string;
4696
4695
  parent: {
4697
4696
  type: "page_id";
4698
4697
  page_id: string;
@@ -4710,6 +4709,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4710
4709
  type: "workspace";
4711
4710
  workspace: true;
4712
4711
  };
4712
+ id: string;
4713
4713
  created_time: string;
4714
4714
  last_edited_time: string;
4715
4715
  created_by: {
@@ -5338,7 +5338,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5338
5338
  } | undefined;
5339
5339
  href?: string | null | undefined;
5340
5340
  }[];
5341
- id: string;
5342
5341
  parent: {
5343
5342
  type: "page_id";
5344
5343
  page_id: string;
@@ -5356,6 +5355,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5356
5355
  type: "workspace";
5357
5356
  workspace: true;
5358
5357
  };
5358
+ id: string;
5359
5359
  created_time: string;
5360
5360
  last_edited_time: string;
5361
5361
  data_sources: {
@@ -5471,7 +5471,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5471
5471
  } | undefined;
5472
5472
  href?: string | null | undefined;
5473
5473
  }[];
5474
- id: string;
5475
5474
  parent: {
5476
5475
  type: "page_id";
5477
5476
  page_id: string;
@@ -5489,6 +5488,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5489
5488
  type: "workspace";
5490
5489
  workspace: true;
5491
5490
  };
5491
+ id: string;
5492
5492
  created_time: string;
5493
5493
  last_edited_time: string;
5494
5494
  data_sources: {
@@ -5585,9 +5585,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5585
5585
  is_inline?: boolean | undefined;
5586
5586
  }>>;
5587
5587
  }, "strip", z.ZodTypeAny, {
5588
- operation: "retrieve_database";
5589
- success: boolean;
5590
5588
  error: string;
5589
+ success: boolean;
5590
+ operation: "retrieve_database";
5591
5591
  database?: {
5592
5592
  object: "database";
5593
5593
  title: {
@@ -5609,7 +5609,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5609
5609
  } | undefined;
5610
5610
  href?: string | null | undefined;
5611
5611
  }[];
5612
- id: string;
5613
5612
  parent: {
5614
5613
  type: "page_id";
5615
5614
  page_id: string;
@@ -5627,6 +5626,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5627
5626
  type: "workspace";
5628
5627
  workspace: true;
5629
5628
  };
5629
+ id: string;
5630
5630
  created_time: string;
5631
5631
  last_edited_time: string;
5632
5632
  data_sources: {
@@ -5723,9 +5723,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5723
5723
  is_inline?: boolean | undefined;
5724
5724
  } | undefined;
5725
5725
  }, {
5726
- operation: "retrieve_database";
5727
- success: boolean;
5728
5726
  error: string;
5727
+ success: boolean;
5728
+ operation: "retrieve_database";
5729
5729
  database?: {
5730
5730
  object: "database";
5731
5731
  title: {
@@ -5747,7 +5747,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5747
5747
  } | undefined;
5748
5748
  href?: string | null | undefined;
5749
5749
  }[];
5750
- id: string;
5751
5750
  parent: {
5752
5751
  type: "page_id";
5753
5752
  page_id: string;
@@ -5765,6 +5764,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5765
5764
  type: "workspace";
5766
5765
  workspace: true;
5767
5766
  };
5767
+ id: string;
5768
5768
  created_time: string;
5769
5769
  last_edited_time: string;
5770
5770
  data_sources: {
@@ -5919,10 +5919,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5919
5919
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5920
5920
  has_more: z.ZodOptional<z.ZodBoolean>;
5921
5921
  }, "strip", z.ZodTypeAny, {
5922
- operation: "query_data_source";
5923
- success: boolean;
5924
5922
  error: string;
5923
+ success: boolean;
5924
+ operation: "query_data_source";
5925
5925
  next_cursor?: string | null | undefined;
5926
+ has_more?: boolean | undefined;
5926
5927
  results?: z.objectOutputType<{
5927
5928
  object: z.ZodEnum<["page", "data_source"]>;
5928
5929
  id: z.ZodString;
@@ -5941,12 +5942,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5941
5942
  archived: z.ZodOptional<z.ZodBoolean>;
5942
5943
  in_trash: z.ZodOptional<z.ZodBoolean>;
5943
5944
  }, z.ZodTypeAny, "passthrough">[] | undefined;
5944
- has_more?: boolean | undefined;
5945
5945
  }, {
5946
- operation: "query_data_source";
5947
- success: boolean;
5948
5946
  error: string;
5947
+ success: boolean;
5948
+ operation: "query_data_source";
5949
5949
  next_cursor?: string | null | undefined;
5950
+ has_more?: boolean | undefined;
5950
5951
  results?: z.objectInputType<{
5951
5952
  object: z.ZodEnum<["page", "data_source"]>;
5952
5953
  id: z.ZodString;
@@ -5965,7 +5966,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5965
5966
  archived: z.ZodOptional<z.ZodBoolean>;
5966
5967
  in_trash: z.ZodOptional<z.ZodBoolean>;
5967
5968
  }, z.ZodTypeAny, "passthrough">[] | undefined;
5968
- has_more?: boolean | undefined;
5969
5969
  }>, z.ZodObject<{
5970
5970
  operation: z.ZodLiteral<"create_data_source">;
5971
5971
  success: z.ZodBoolean;
@@ -7310,9 +7310,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
7310
7310
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7311
7311
  }, z.ZodTypeAny, "passthrough">>>;
7312
7312
  }, "strip", z.ZodTypeAny, {
7313
- operation: "create_data_source";
7314
- success: boolean;
7315
7313
  error: string;
7314
+ success: boolean;
7315
+ operation: "create_data_source";
7316
7316
  dataSource?: z.objectOutputType<{
7317
7317
  object: z.ZodLiteral<"data_source">;
7318
7318
  id: z.ZodString;
@@ -7761,9 +7761,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
7761
7761
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7762
7762
  }, z.ZodTypeAny, "passthrough"> | undefined;
7763
7763
  }, {
7764
- operation: "create_data_source";
7765
- success: boolean;
7766
7764
  error: string;
7765
+ success: boolean;
7766
+ operation: "create_data_source";
7767
7767
  dataSource?: z.objectInputType<{
7768
7768
  object: z.ZodLiteral<"data_source">;
7769
7769
  id: z.ZodString;
@@ -9555,9 +9555,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
9555
9555
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9556
9556
  }, z.ZodTypeAny, "passthrough">>>;
9557
9557
  }, "strip", z.ZodTypeAny, {
9558
- operation: "update_data_source";
9559
- success: boolean;
9560
9558
  error: string;
9559
+ success: boolean;
9560
+ operation: "update_data_source";
9561
9561
  dataSource?: z.objectOutputType<{
9562
9562
  object: z.ZodLiteral<"data_source">;
9563
9563
  id: z.ZodString;
@@ -10006,9 +10006,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
10006
10006
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10007
10007
  }, z.ZodTypeAny, "passthrough"> | undefined;
10008
10008
  }, {
10009
- operation: "update_data_source";
10010
- success: boolean;
10011
10009
  error: string;
10010
+ success: boolean;
10011
+ operation: "update_data_source";
10012
10012
  dataSource?: z.objectInputType<{
10013
10013
  object: z.ZodLiteral<"data_source">;
10014
10014
  id: z.ZodString;
@@ -11012,7 +11012,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11012
11012
  } | undefined;
11013
11013
  href?: string | null | undefined;
11014
11014
  }[];
11015
- id: string;
11016
11015
  parent: {
11017
11016
  type: "page_id";
11018
11017
  page_id: string;
@@ -11030,6 +11029,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11030
11029
  type: "workspace";
11031
11030
  workspace: true;
11032
11031
  };
11032
+ id: string;
11033
11033
  created_time: string;
11034
11034
  last_edited_time: string;
11035
11035
  data_sources: {
@@ -11145,7 +11145,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11145
11145
  } | undefined;
11146
11146
  href?: string | null | undefined;
11147
11147
  }[];
11148
- id: string;
11149
11148
  parent: {
11150
11149
  type: "page_id";
11151
11150
  page_id: string;
@@ -11163,6 +11162,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11163
11162
  type: "workspace";
11164
11163
  workspace: true;
11165
11164
  };
11165
+ id: string;
11166
11166
  created_time: string;
11167
11167
  last_edited_time: string;
11168
11168
  data_sources: {
@@ -11259,9 +11259,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11259
11259
  is_inline?: boolean | undefined;
11260
11260
  }>>;
11261
11261
  }, "strip", z.ZodTypeAny, {
11262
- operation: "create_database";
11263
- success: boolean;
11264
11262
  error: string;
11263
+ success: boolean;
11264
+ operation: "create_database";
11265
11265
  database?: {
11266
11266
  object: "database";
11267
11267
  title: {
@@ -11283,7 +11283,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11283
11283
  } | undefined;
11284
11284
  href?: string | null | undefined;
11285
11285
  }[];
11286
- id: string;
11287
11286
  parent: {
11288
11287
  type: "page_id";
11289
11288
  page_id: string;
@@ -11301,6 +11300,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11301
11300
  type: "workspace";
11302
11301
  workspace: true;
11303
11302
  };
11303
+ id: string;
11304
11304
  created_time: string;
11305
11305
  last_edited_time: string;
11306
11306
  data_sources: {
@@ -11397,9 +11397,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11397
11397
  is_inline?: boolean | undefined;
11398
11398
  } | undefined;
11399
11399
  }, {
11400
- operation: "create_database";
11401
- success: boolean;
11402
11400
  error: string;
11401
+ success: boolean;
11402
+ operation: "create_database";
11403
11403
  database?: {
11404
11404
  object: "database";
11405
11405
  title: {
@@ -11421,7 +11421,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11421
11421
  } | undefined;
11422
11422
  href?: string | null | undefined;
11423
11423
  }[];
11424
- id: string;
11425
11424
  parent: {
11426
11425
  type: "page_id";
11427
11426
  page_id: string;
@@ -11439,6 +11438,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11439
11438
  type: "workspace";
11440
11439
  workspace: true;
11441
11440
  };
11441
+ id: string;
11442
11442
  created_time: string;
11443
11443
  last_edited_time: string;
11444
11444
  data_sources: {
@@ -12090,7 +12090,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12090
12090
  } | undefined;
12091
12091
  href?: string | null | undefined;
12092
12092
  }[];
12093
- id: string;
12094
12093
  parent: {
12095
12094
  type: "page_id";
12096
12095
  page_id: string;
@@ -12108,6 +12107,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12108
12107
  type: "workspace";
12109
12108
  workspace: true;
12110
12109
  };
12110
+ id: string;
12111
12111
  created_time: string;
12112
12112
  last_edited_time: string;
12113
12113
  data_sources: {
@@ -12223,7 +12223,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12223
12223
  } | undefined;
12224
12224
  href?: string | null | undefined;
12225
12225
  }[];
12226
- id: string;
12227
12226
  parent: {
12228
12227
  type: "page_id";
12229
12228
  page_id: string;
@@ -12241,6 +12240,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12241
12240
  type: "workspace";
12242
12241
  workspace: true;
12243
12242
  };
12243
+ id: string;
12244
12244
  created_time: string;
12245
12245
  last_edited_time: string;
12246
12246
  data_sources: {
@@ -12337,9 +12337,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12337
12337
  is_inline?: boolean | undefined;
12338
12338
  }>>;
12339
12339
  }, "strip", z.ZodTypeAny, {
12340
- operation: "update_database";
12341
- success: boolean;
12342
12340
  error: string;
12341
+ success: boolean;
12342
+ operation: "update_database";
12343
12343
  database?: {
12344
12344
  object: "database";
12345
12345
  title: {
@@ -12361,7 +12361,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12361
12361
  } | undefined;
12362
12362
  href?: string | null | undefined;
12363
12363
  }[];
12364
- id: string;
12365
12364
  parent: {
12366
12365
  type: "page_id";
12367
12366
  page_id: string;
@@ -12379,6 +12378,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12379
12378
  type: "workspace";
12380
12379
  workspace: true;
12381
12380
  };
12381
+ id: string;
12382
12382
  created_time: string;
12383
12383
  last_edited_time: string;
12384
12384
  data_sources: {
@@ -12475,9 +12475,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12475
12475
  is_inline?: boolean | undefined;
12476
12476
  } | undefined;
12477
12477
  }, {
12478
- operation: "update_database";
12479
- success: boolean;
12480
12478
  error: string;
12479
+ success: boolean;
12480
+ operation: "update_database";
12481
12481
  database?: {
12482
12482
  object: "database";
12483
12483
  title: {
@@ -12499,7 +12499,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12499
12499
  } | undefined;
12500
12500
  href?: string | null | undefined;
12501
12501
  }[];
12502
- id: string;
12503
12502
  parent: {
12504
12503
  type: "page_id";
12505
12504
  page_id: string;
@@ -12517,6 +12516,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12517
12516
  type: "workspace";
12518
12517
  workspace: true;
12519
12518
  };
12519
+ id: string;
12520
12520
  created_time: string;
12521
12521
  last_edited_time: string;
12522
12522
  data_sources: {
@@ -13220,10 +13220,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13220
13220
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13221
13221
  has_more: z.ZodOptional<z.ZodBoolean>;
13222
13222
  }, "strip", z.ZodTypeAny, {
13223
- operation: "append_block_children";
13224
- success: boolean;
13225
13223
  error: string;
13226
- next_cursor?: string | null | undefined;
13224
+ success: boolean;
13225
+ operation: "append_block_children";
13227
13226
  blocks?: z.objectOutputType<{
13228
13227
  object: z.ZodLiteral<"block">;
13229
13228
  id: z.ZodString;
@@ -13425,12 +13424,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13425
13424
  in_trash: z.ZodOptional<z.ZodBoolean>;
13426
13425
  type: z.ZodString;
13427
13426
  }, z.ZodTypeAny, "passthrough">[] | undefined;
13427
+ next_cursor?: string | null | undefined;
13428
13428
  has_more?: boolean | undefined;
13429
13429
  }, {
13430
- operation: "append_block_children";
13431
- success: boolean;
13432
13430
  error: string;
13433
- next_cursor?: string | null | undefined;
13431
+ success: boolean;
13432
+ operation: "append_block_children";
13434
13433
  blocks?: z.objectInputType<{
13435
13434
  object: z.ZodLiteral<"block">;
13436
13435
  id: z.ZodString;
@@ -13632,6 +13631,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13632
13631
  in_trash: z.ZodOptional<z.ZodBoolean>;
13633
13632
  type: z.ZodString;
13634
13633
  }, z.ZodTypeAny, "passthrough">[] | undefined;
13634
+ next_cursor?: string | null | undefined;
13635
13635
  has_more?: boolean | undefined;
13636
13636
  }>, z.ZodObject<{
13637
13637
  operation: z.ZodLiteral<"retrieve_block_children">;
@@ -14241,10 +14241,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14241
14241
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
14242
14242
  has_more: z.ZodOptional<z.ZodBoolean>;
14243
14243
  }, "strip", z.ZodTypeAny, {
14244
- operation: "retrieve_block_children";
14245
- success: boolean;
14246
14244
  error: string;
14247
- next_cursor?: string | null | undefined;
14245
+ success: boolean;
14246
+ operation: "retrieve_block_children";
14248
14247
  blocks?: z.objectOutputType<{
14249
14248
  object: z.ZodLiteral<"block">;
14250
14249
  id: z.ZodString;
@@ -14446,12 +14445,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14446
14445
  in_trash: z.ZodOptional<z.ZodBoolean>;
14447
14446
  type: z.ZodString;
14448
14447
  }, z.ZodTypeAny, "passthrough">[] | undefined;
14448
+ next_cursor?: string | null | undefined;
14449
14449
  has_more?: boolean | undefined;
14450
14450
  }, {
14451
- operation: "retrieve_block_children";
14452
- success: boolean;
14453
14451
  error: string;
14454
- next_cursor?: string | null | undefined;
14452
+ success: boolean;
14453
+ operation: "retrieve_block_children";
14455
14454
  blocks?: z.objectInputType<{
14456
14455
  object: z.ZodLiteral<"block">;
14457
14456
  id: z.ZodString;
@@ -14653,6 +14652,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14653
14652
  in_trash: z.ZodOptional<z.ZodBoolean>;
14654
14653
  type: z.ZodString;
14655
14654
  }, z.ZodTypeAny, "passthrough">[] | undefined;
14655
+ next_cursor?: string | null | undefined;
14656
14656
  has_more?: boolean | undefined;
14657
14657
  }>, z.ZodObject<{
14658
14658
  operation: z.ZodLiteral<"retrieve_block">;
@@ -15260,9 +15260,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
15260
15260
  type: z.ZodString;
15261
15261
  }, z.ZodTypeAny, "passthrough">>>;
15262
15262
  }, "strip", z.ZodTypeAny, {
15263
- operation: "retrieve_block";
15264
- success: boolean;
15265
15263
  error: string;
15264
+ success: boolean;
15265
+ operation: "retrieve_block";
15266
15266
  block?: z.objectOutputType<{
15267
15267
  object: z.ZodLiteral<"block">;
15268
15268
  id: z.ZodString;
@@ -15465,9 +15465,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
15465
15465
  type: z.ZodString;
15466
15466
  }, z.ZodTypeAny, "passthrough"> | undefined;
15467
15467
  }, {
15468
- operation: "retrieve_block";
15469
- success: boolean;
15470
15468
  error: string;
15469
+ success: boolean;
15470
+ operation: "retrieve_block";
15471
15471
  block?: z.objectInputType<{
15472
15472
  object: z.ZodLiteral<"block">;
15473
15473
  id: z.ZodString;
@@ -16275,9 +16275,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16275
16275
  type: z.ZodString;
16276
16276
  }, z.ZodTypeAny, "passthrough">>>;
16277
16277
  }, "strip", z.ZodTypeAny, {
16278
- operation: "update_block";
16279
- success: boolean;
16280
16278
  error: string;
16279
+ success: boolean;
16280
+ operation: "update_block";
16281
16281
  block?: z.objectOutputType<{
16282
16282
  object: z.ZodLiteral<"block">;
16283
16283
  id: z.ZodString;
@@ -16480,9 +16480,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16480
16480
  type: z.ZodString;
16481
16481
  }, z.ZodTypeAny, "passthrough"> | undefined;
16482
16482
  }, {
16483
- operation: "update_block";
16484
- success: boolean;
16485
16483
  error: string;
16484
+ success: boolean;
16485
+ operation: "update_block";
16486
16486
  block?: z.objectInputType<{
16487
16487
  object: z.ZodLiteral<"block">;
16488
16488
  id: z.ZodString;
@@ -16863,7 +16863,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16863
16863
  }>, "many">;
16864
16864
  }, "strip", z.ZodTypeAny, {
16865
16865
  object: "comment";
16866
- id: string;
16867
16866
  parent: {
16868
16867
  type: "block_id" | "page_id";
16869
16868
  block_id?: string | undefined;
@@ -16871,6 +16870,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16871
16870
  } & {
16872
16871
  [k: string]: unknown;
16873
16872
  };
16873
+ id: string;
16874
16874
  created_time: string;
16875
16875
  last_edited_time: string;
16876
16876
  created_by: {
@@ -16912,7 +16912,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16912
16912
  }[];
16913
16913
  }, {
16914
16914
  object: "comment";
16915
- id: string;
16916
16915
  parent: {
16917
16916
  type: "block_id" | "page_id";
16918
16917
  block_id?: string | undefined;
@@ -16920,6 +16919,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16920
16919
  } & {
16921
16920
  [k: string]: unknown;
16922
16921
  };
16922
+ id: string;
16923
16923
  created_time: string;
16924
16924
  last_edited_time: string;
16925
16925
  created_by: {
@@ -16961,12 +16961,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16961
16961
  }[];
16962
16962
  }>>;
16963
16963
  }, "strip", z.ZodTypeAny, {
16964
- operation: "create_comment";
16965
- success: boolean;
16966
16964
  error: string;
16965
+ success: boolean;
16966
+ operation: "create_comment";
16967
16967
  comment?: {
16968
16968
  object: "comment";
16969
- id: string;
16970
16969
  parent: {
16971
16970
  type: "block_id" | "page_id";
16972
16971
  block_id?: string | undefined;
@@ -16974,6 +16973,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16974
16973
  } & {
16975
16974
  [k: string]: unknown;
16976
16975
  };
16976
+ id: string;
16977
16977
  created_time: string;
16978
16978
  last_edited_time: string;
16979
16979
  created_by: {
@@ -17015,12 +17015,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17015
17015
  }[];
17016
17016
  } | undefined;
17017
17017
  }, {
17018
- operation: "create_comment";
17019
- success: boolean;
17020
17018
  error: string;
17019
+ success: boolean;
17020
+ operation: "create_comment";
17021
17021
  comment?: {
17022
17022
  object: "comment";
17023
- id: string;
17024
17023
  parent: {
17025
17024
  type: "block_id" | "page_id";
17026
17025
  block_id?: string | undefined;
@@ -17028,6 +17027,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17028
17027
  } & {
17029
17028
  [k: string]: unknown;
17030
17029
  };
17030
+ id: string;
17031
17031
  created_time: string;
17032
17032
  last_edited_time: string;
17033
17033
  created_by: {
@@ -17247,7 +17247,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17247
17247
  }>, "many">;
17248
17248
  }, "strip", z.ZodTypeAny, {
17249
17249
  object: "comment";
17250
- id: string;
17251
17250
  parent: {
17252
17251
  type: "block_id" | "page_id";
17253
17252
  block_id?: string | undefined;
@@ -17255,6 +17254,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17255
17254
  } & {
17256
17255
  [k: string]: unknown;
17257
17256
  };
17257
+ id: string;
17258
17258
  created_time: string;
17259
17259
  last_edited_time: string;
17260
17260
  created_by: {
@@ -17296,7 +17296,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17296
17296
  }[];
17297
17297
  }, {
17298
17298
  object: "comment";
17299
- id: string;
17300
17299
  parent: {
17301
17300
  type: "block_id" | "page_id";
17302
17301
  block_id?: string | undefined;
@@ -17304,6 +17303,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17304
17303
  } & {
17305
17304
  [k: string]: unknown;
17306
17305
  };
17306
+ id: string;
17307
17307
  created_time: string;
17308
17308
  last_edited_time: string;
17309
17309
  created_by: {
@@ -17345,12 +17345,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17345
17345
  }[];
17346
17346
  }>>;
17347
17347
  }, "strip", z.ZodTypeAny, {
17348
- operation: "retrieve_comment";
17349
- success: boolean;
17350
17348
  error: string;
17349
+ success: boolean;
17350
+ operation: "retrieve_comment";
17351
17351
  comment?: {
17352
17352
  object: "comment";
17353
- id: string;
17354
17353
  parent: {
17355
17354
  type: "block_id" | "page_id";
17356
17355
  block_id?: string | undefined;
@@ -17358,6 +17357,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17358
17357
  } & {
17359
17358
  [k: string]: unknown;
17360
17359
  };
17360
+ id: string;
17361
17361
  created_time: string;
17362
17362
  last_edited_time: string;
17363
17363
  created_by: {
@@ -17399,12 +17399,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17399
17399
  }[];
17400
17400
  } | undefined;
17401
17401
  }, {
17402
- operation: "retrieve_comment";
17403
- success: boolean;
17404
17402
  error: string;
17403
+ success: boolean;
17404
+ operation: "retrieve_comment";
17405
17405
  comment?: {
17406
17406
  object: "comment";
17407
- id: string;
17408
17407
  parent: {
17409
17408
  type: "block_id" | "page_id";
17410
17409
  block_id?: string | undefined;
@@ -17412,6 +17411,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17412
17411
  } & {
17413
17412
  [k: string]: unknown;
17414
17413
  };
17414
+ id: string;
17415
17415
  created_time: string;
17416
17416
  last_edited_time: string;
17417
17417
  created_by: {
@@ -17530,10 +17530,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17530
17530
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17531
17531
  has_more: z.ZodOptional<z.ZodBoolean>;
17532
17532
  }, "strip", z.ZodTypeAny, {
17533
- operation: "list_users";
17534
- success: boolean;
17535
17533
  error: string;
17536
- next_cursor?: string | null | undefined;
17534
+ success: boolean;
17535
+ operation: "list_users";
17537
17536
  users?: {
17538
17537
  object: "user";
17539
17538
  id: string;
@@ -17551,12 +17550,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17551
17550
  workspace_name?: string | undefined;
17552
17551
  } | undefined;
17553
17552
  }[] | undefined;
17553
+ next_cursor?: string | null | undefined;
17554
17554
  has_more?: boolean | undefined;
17555
17555
  }, {
17556
- operation: "list_users";
17557
- success: boolean;
17558
17556
  error: string;
17559
- next_cursor?: string | null | undefined;
17557
+ success: boolean;
17558
+ operation: "list_users";
17560
17559
  users?: {
17561
17560
  object: "user";
17562
17561
  id: string;
@@ -17574,6 +17573,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17574
17573
  workspace_name?: string | undefined;
17575
17574
  } | undefined;
17576
17575
  }[] | undefined;
17576
+ next_cursor?: string | null | undefined;
17577
17577
  has_more?: boolean | undefined;
17578
17578
  }>, z.ZodObject<{
17579
17579
  operation: z.ZodLiteral<"search">;
@@ -17634,10 +17634,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17634
17634
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17635
17635
  has_more: z.ZodOptional<z.ZodBoolean>;
17636
17636
  }, "strip", z.ZodTypeAny, {
17637
- operation: "search";
17638
- success: boolean;
17639
17637
  error: string;
17638
+ success: boolean;
17639
+ operation: "search";
17640
17640
  next_cursor?: string | null | undefined;
17641
+ has_more?: boolean | undefined;
17641
17642
  results?: z.objectOutputType<{
17642
17643
  object: z.ZodEnum<["page", "data_source"]>;
17643
17644
  id: z.ZodString;
@@ -17656,12 +17657,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17656
17657
  archived: z.ZodOptional<z.ZodBoolean>;
17657
17658
  in_trash: z.ZodOptional<z.ZodBoolean>;
17658
17659
  }, z.ZodTypeAny, "passthrough">[] | undefined;
17659
- has_more?: boolean | undefined;
17660
17660
  }, {
17661
- operation: "search";
17662
- success: boolean;
17663
17661
  error: string;
17662
+ success: boolean;
17663
+ operation: "search";
17664
17664
  next_cursor?: string | null | undefined;
17665
+ has_more?: boolean | undefined;
17665
17666
  results?: z.objectInputType<{
17666
17667
  object: z.ZodEnum<["page", "data_source"]>;
17667
17668
  id: z.ZodString;
@@ -17680,7 +17681,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17680
17681
  archived: z.ZodOptional<z.ZodBoolean>;
17681
17682
  in_trash: z.ZodOptional<z.ZodBoolean>;
17682
17683
  }, z.ZodTypeAny, "passthrough">[] | undefined;
17683
- has_more?: boolean | undefined;
17684
17684
  }>]>;
17685
17685
  type NotionParams = z.input<typeof NotionParamsSchema>;
17686
17686
  type NotionResult = z.output<typeof NotionResultSchema>;
@@ -17883,7 +17883,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
17883
17883
  }>]>>;
17884
17884
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
17885
17885
  }, "strip", z.ZodTypeAny, {
17886
- operation: "create_page";
17887
17886
  parent: {
17888
17887
  type: "page_id";
17889
17888
  page_id: string;
@@ -17901,6 +17900,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
17901
17900
  type: "workspace";
17902
17901
  workspace: true;
17903
17902
  };
17903
+ operation: "create_page";
17904
17904
  properties?: Record<string, unknown> | undefined;
17905
17905
  credentials?: Partial<Record<CredentialType, string>> | undefined;
17906
17906
  icon?: {
@@ -17942,7 +17942,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
17942
17942
  } | undefined;
17943
17943
  children?: unknown[] | undefined;
17944
17944
  }, {
17945
- operation: "create_page";
17946
17945
  parent: {
17947
17946
  type: "page_id";
17948
17947
  page_id: string;
@@ -17960,6 +17959,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
17960
17959
  type: "workspace";
17961
17960
  workspace: true;
17962
17961
  };
17962
+ operation: "create_page";
17963
17963
  properties?: Record<string, unknown> | undefined;
17964
17964
  credentials?: Partial<Record<CredentialType, string>> | undefined;
17965
17965
  icon?: {
@@ -18276,8 +18276,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18276
18276
  data_source_id: string;
18277
18277
  filter?: Record<string, unknown> | undefined;
18278
18278
  credentials?: Partial<Record<CredentialType, string>> | undefined;
18279
- sorts?: unknown[] | undefined;
18280
18279
  filter_properties?: string[] | undefined;
18280
+ sorts?: unknown[] | undefined;
18281
18281
  start_cursor?: string | undefined;
18282
18282
  result_type?: "page" | "data_source" | undefined;
18283
18283
  }, {
@@ -18285,9 +18285,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18285
18285
  data_source_id: string;
18286
18286
  filter?: Record<string, unknown> | undefined;
18287
18287
  credentials?: Partial<Record<CredentialType, string>> | undefined;
18288
- sorts?: unknown[] | undefined;
18289
18288
  page_size?: number | undefined;
18290
18289
  filter_properties?: string[] | undefined;
18290
+ sorts?: unknown[] | undefined;
18291
18291
  start_cursor?: string | undefined;
18292
18292
  result_type?: "page" | "data_source" | undefined;
18293
18293
  }>, z.ZodObject<{
@@ -18460,12 +18460,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18460
18460
  }>]>>;
18461
18461
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
18462
18462
  }, "strip", z.ZodTypeAny, {
18463
- operation: "create_data_source";
18464
18463
  properties: Record<string, unknown>;
18465
18464
  parent: {
18466
18465
  type: "database_id";
18467
18466
  database_id: string;
18468
18467
  };
18468
+ operation: "create_data_source";
18469
18469
  title?: {
18470
18470
  type: "text" | "mention" | "equation";
18471
18471
  text?: {
@@ -18507,12 +18507,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18507
18507
  emoji: string;
18508
18508
  } | undefined;
18509
18509
  }, {
18510
- operation: "create_data_source";
18511
18510
  properties: Record<string, unknown>;
18512
18511
  parent: {
18513
18512
  type: "database_id";
18514
18513
  database_id: string;
18515
18514
  };
18515
+ operation: "create_data_source";
18516
18516
  title?: {
18517
18517
  type: "text" | "mention" | "equation";
18518
18518
  text?: {
@@ -18810,7 +18810,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18810
18810
  }, "strip", z.ZodTypeAny, {
18811
18811
  operation: "update_data_source";
18812
18812
  data_source_id: string;
18813
- properties?: Record<string, unknown> | undefined;
18814
18813
  description?: {
18815
18814
  type: "text" | "mention" | "equation";
18816
18815
  text?: {
@@ -18830,6 +18829,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18830
18829
  } | undefined;
18831
18830
  href?: string | null | undefined;
18832
18831
  }[] | undefined;
18832
+ properties?: Record<string, unknown> | undefined;
18833
18833
  title?: {
18834
18834
  type: "text" | "mention" | "equation";
18835
18835
  text?: {
@@ -18878,7 +18878,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18878
18878
  }, {
18879
18879
  operation: "update_data_source";
18880
18880
  data_source_id: string;
18881
- properties?: Record<string, unknown> | undefined;
18882
18881
  description?: {
18883
18882
  type: "text" | "mention" | "equation";
18884
18883
  text?: {
@@ -18898,6 +18897,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
18898
18897
  } | undefined;
18899
18898
  href?: string | null | undefined;
18900
18899
  }[] | undefined;
18900
+ properties?: Record<string, unknown> | undefined;
18901
18901
  title?: {
18902
18902
  type: "text" | "mention" | "equation";
18903
18903
  text?: {
@@ -19288,7 +19288,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
19288
19288
  }>]>>;
19289
19289
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
19290
19290
  }, "strip", z.ZodTypeAny, {
19291
- operation: "create_database";
19292
19291
  parent: {
19293
19292
  type: "workspace";
19294
19293
  workspace: boolean;
@@ -19298,6 +19297,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
19298
19297
  page_id: string;
19299
19298
  workspace?: undefined;
19300
19299
  };
19300
+ operation: "create_database";
19301
19301
  initial_data_source: {
19302
19302
  properties: Record<string, unknown>;
19303
19303
  };
@@ -19378,12 +19378,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
19378
19378
  };
19379
19379
  } | undefined;
19380
19380
  }, {
19381
- operation: "create_database";
19382
19381
  parent: {
19383
19382
  type: "workspace" | "page_id";
19384
19383
  workspace?: true | undefined;
19385
19384
  page_id?: string | undefined;
19386
19385
  };
19386
+ operation: "create_database";
19387
19387
  initial_data_source: {
19388
19388
  properties: Record<string, unknown>;
19389
19389
  };
@@ -20208,11 +20208,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20208
20208
  }>>;
20209
20209
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
20210
20210
  }, "strip", z.ZodTypeAny, {
20211
- operation: "create_comment";
20212
20211
  parent: {
20213
20212
  block_id?: string | undefined;
20214
20213
  page_id?: string | undefined;
20215
20214
  };
20215
+ operation: "create_comment";
20216
20216
  rich_text: {
20217
20217
  type: "text" | "mention" | "equation";
20218
20218
  text?: {
@@ -20244,11 +20244,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20244
20244
  } | undefined;
20245
20245
  } | undefined;
20246
20246
  }, {
20247
- operation: "create_comment";
20248
20247
  parent: {
20249
20248
  block_id?: string | undefined;
20250
20249
  page_id?: string | undefined;
20251
20250
  };
20251
+ operation: "create_comment";
20252
20252
  rich_text: {
20253
20253
  type: "text" | "mention" | "equation";
20254
20254
  text?: {
@@ -20686,7 +20686,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20686
20686
  object: "page";
20687
20687
  properties: Record<string, unknown>;
20688
20688
  url: string;
20689
- id: string;
20690
20689
  parent: {
20691
20690
  type: "page_id";
20692
20691
  page_id: string;
@@ -20704,6 +20703,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20704
20703
  type: "workspace";
20705
20704
  workspace: true;
20706
20705
  };
20706
+ id: string;
20707
20707
  created_time: string;
20708
20708
  last_edited_time: string;
20709
20709
  created_by: {
@@ -20779,7 +20779,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20779
20779
  object: "page";
20780
20780
  properties: Record<string, unknown>;
20781
20781
  url: string;
20782
- id: string;
20783
20782
  parent: {
20784
20783
  type: "page_id";
20785
20784
  page_id: string;
@@ -20797,6 +20796,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20797
20796
  type: "workspace";
20798
20797
  workspace: true;
20799
20798
  };
20799
+ id: string;
20800
20800
  created_time: string;
20801
20801
  last_edited_time: string;
20802
20802
  created_by: {
@@ -20870,14 +20870,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20870
20870
  public_url?: string | null | undefined;
20871
20871
  }>>;
20872
20872
  }, "strip", z.ZodTypeAny, {
20873
- operation: "create_page";
20874
- success: boolean;
20875
20873
  error: string;
20874
+ success: boolean;
20875
+ operation: "create_page";
20876
20876
  page?: {
20877
20877
  object: "page";
20878
20878
  properties: Record<string, unknown>;
20879
20879
  url: string;
20880
- id: string;
20881
20880
  parent: {
20882
20881
  type: "page_id";
20883
20882
  page_id: string;
@@ -20895,6 +20894,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20895
20894
  type: "workspace";
20896
20895
  workspace: true;
20897
20896
  };
20897
+ id: string;
20898
20898
  created_time: string;
20899
20899
  last_edited_time: string;
20900
20900
  created_by: {
@@ -20968,14 +20968,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20968
20968
  public_url?: string | null | undefined;
20969
20969
  } | undefined;
20970
20970
  }, {
20971
- operation: "create_page";
20972
- success: boolean;
20973
20971
  error: string;
20972
+ success: boolean;
20973
+ operation: "create_page";
20974
20974
  page?: {
20975
20975
  object: "page";
20976
20976
  properties: Record<string, unknown>;
20977
20977
  url: string;
20978
- id: string;
20979
20978
  parent: {
20980
20979
  type: "page_id";
20981
20980
  page_id: string;
@@ -20993,6 +20992,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20993
20992
  type: "workspace";
20994
20993
  workspace: true;
20995
20994
  };
20995
+ id: string;
20996
20996
  created_time: string;
20997
20997
  last_edited_time: string;
20998
20998
  created_by: {
@@ -21390,7 +21390,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21390
21390
  object: "page";
21391
21391
  properties: Record<string, unknown>;
21392
21392
  url: string;
21393
- id: string;
21394
21393
  parent: {
21395
21394
  type: "page_id";
21396
21395
  page_id: string;
@@ -21408,6 +21407,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21408
21407
  type: "workspace";
21409
21408
  workspace: true;
21410
21409
  };
21410
+ id: string;
21411
21411
  created_time: string;
21412
21412
  last_edited_time: string;
21413
21413
  created_by: {
@@ -21483,7 +21483,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21483
21483
  object: "page";
21484
21484
  properties: Record<string, unknown>;
21485
21485
  url: string;
21486
- id: string;
21487
21486
  parent: {
21488
21487
  type: "page_id";
21489
21488
  page_id: string;
@@ -21501,6 +21500,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21501
21500
  type: "workspace";
21502
21501
  workspace: true;
21503
21502
  };
21503
+ id: string;
21504
21504
  created_time: string;
21505
21505
  last_edited_time: string;
21506
21506
  created_by: {
@@ -21574,14 +21574,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21574
21574
  public_url?: string | null | undefined;
21575
21575
  }>>;
21576
21576
  }, "strip", z.ZodTypeAny, {
21577
- operation: "retrieve_page";
21578
- success: boolean;
21579
21577
  error: string;
21578
+ success: boolean;
21579
+ operation: "retrieve_page";
21580
21580
  page?: {
21581
21581
  object: "page";
21582
21582
  properties: Record<string, unknown>;
21583
21583
  url: string;
21584
- id: string;
21585
21584
  parent: {
21586
21585
  type: "page_id";
21587
21586
  page_id: string;
@@ -21599,6 +21598,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21599
21598
  type: "workspace";
21600
21599
  workspace: true;
21601
21600
  };
21601
+ id: string;
21602
21602
  created_time: string;
21603
21603
  last_edited_time: string;
21604
21604
  created_by: {
@@ -21672,14 +21672,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21672
21672
  public_url?: string | null | undefined;
21673
21673
  } | undefined;
21674
21674
  }, {
21675
- operation: "retrieve_page";
21676
- success: boolean;
21677
21675
  error: string;
21676
+ success: boolean;
21677
+ operation: "retrieve_page";
21678
21678
  page?: {
21679
21679
  object: "page";
21680
21680
  properties: Record<string, unknown>;
21681
21681
  url: string;
21682
- id: string;
21683
21682
  parent: {
21684
21683
  type: "page_id";
21685
21684
  page_id: string;
@@ -21697,6 +21696,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21697
21696
  type: "workspace";
21698
21697
  workspace: true;
21699
21698
  };
21699
+ id: string;
21700
21700
  created_time: string;
21701
21701
  last_edited_time: string;
21702
21702
  created_by: {
@@ -22094,7 +22094,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22094
22094
  object: "page";
22095
22095
  properties: Record<string, unknown>;
22096
22096
  url: string;
22097
- id: string;
22098
22097
  parent: {
22099
22098
  type: "page_id";
22100
22099
  page_id: string;
@@ -22112,6 +22111,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22112
22111
  type: "workspace";
22113
22112
  workspace: true;
22114
22113
  };
22114
+ id: string;
22115
22115
  created_time: string;
22116
22116
  last_edited_time: string;
22117
22117
  created_by: {
@@ -22187,7 +22187,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22187
22187
  object: "page";
22188
22188
  properties: Record<string, unknown>;
22189
22189
  url: string;
22190
- id: string;
22191
22190
  parent: {
22192
22191
  type: "page_id";
22193
22192
  page_id: string;
@@ -22205,6 +22204,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22205
22204
  type: "workspace";
22206
22205
  workspace: true;
22207
22206
  };
22207
+ id: string;
22208
22208
  created_time: string;
22209
22209
  last_edited_time: string;
22210
22210
  created_by: {
@@ -22278,14 +22278,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22278
22278
  public_url?: string | null | undefined;
22279
22279
  }>>;
22280
22280
  }, "strip", z.ZodTypeAny, {
22281
- operation: "update_page";
22282
- success: boolean;
22283
22281
  error: string;
22282
+ success: boolean;
22283
+ operation: "update_page";
22284
22284
  page?: {
22285
22285
  object: "page";
22286
22286
  properties: Record<string, unknown>;
22287
22287
  url: string;
22288
- id: string;
22289
22288
  parent: {
22290
22289
  type: "page_id";
22291
22290
  page_id: string;
@@ -22303,6 +22302,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22303
22302
  type: "workspace";
22304
22303
  workspace: true;
22305
22304
  };
22305
+ id: string;
22306
22306
  created_time: string;
22307
22307
  last_edited_time: string;
22308
22308
  created_by: {
@@ -22376,14 +22376,13 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22376
22376
  public_url?: string | null | undefined;
22377
22377
  } | undefined;
22378
22378
  }, {
22379
- operation: "update_page";
22380
- success: boolean;
22381
22379
  error: string;
22380
+ success: boolean;
22381
+ operation: "update_page";
22382
22382
  page?: {
22383
22383
  object: "page";
22384
22384
  properties: Record<string, unknown>;
22385
22385
  url: string;
22386
- id: string;
22387
22386
  parent: {
22388
22387
  type: "page_id";
22389
22388
  page_id: string;
@@ -22401,6 +22400,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22401
22400
  type: "workspace";
22402
22401
  workspace: true;
22403
22402
  };
22403
+ id: string;
22404
22404
  created_time: string;
22405
22405
  last_edited_time: string;
22406
22406
  created_by: {
@@ -23029,7 +23029,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23029
23029
  } | undefined;
23030
23030
  href?: string | null | undefined;
23031
23031
  }[];
23032
- id: string;
23033
23032
  parent: {
23034
23033
  type: "page_id";
23035
23034
  page_id: string;
@@ -23047,6 +23046,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23047
23046
  type: "workspace";
23048
23047
  workspace: true;
23049
23048
  };
23049
+ id: string;
23050
23050
  created_time: string;
23051
23051
  last_edited_time: string;
23052
23052
  data_sources: {
@@ -23162,7 +23162,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23162
23162
  } | undefined;
23163
23163
  href?: string | null | undefined;
23164
23164
  }[];
23165
- id: string;
23166
23165
  parent: {
23167
23166
  type: "page_id";
23168
23167
  page_id: string;
@@ -23180,6 +23179,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23180
23179
  type: "workspace";
23181
23180
  workspace: true;
23182
23181
  };
23182
+ id: string;
23183
23183
  created_time: string;
23184
23184
  last_edited_time: string;
23185
23185
  data_sources: {
@@ -23276,9 +23276,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23276
23276
  is_inline?: boolean | undefined;
23277
23277
  }>>;
23278
23278
  }, "strip", z.ZodTypeAny, {
23279
- operation: "retrieve_database";
23280
- success: boolean;
23281
23279
  error: string;
23280
+ success: boolean;
23281
+ operation: "retrieve_database";
23282
23282
  database?: {
23283
23283
  object: "database";
23284
23284
  title: {
@@ -23300,7 +23300,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23300
23300
  } | undefined;
23301
23301
  href?: string | null | undefined;
23302
23302
  }[];
23303
- id: string;
23304
23303
  parent: {
23305
23304
  type: "page_id";
23306
23305
  page_id: string;
@@ -23318,6 +23317,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23318
23317
  type: "workspace";
23319
23318
  workspace: true;
23320
23319
  };
23320
+ id: string;
23321
23321
  created_time: string;
23322
23322
  last_edited_time: string;
23323
23323
  data_sources: {
@@ -23414,9 +23414,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23414
23414
  is_inline?: boolean | undefined;
23415
23415
  } | undefined;
23416
23416
  }, {
23417
- operation: "retrieve_database";
23418
- success: boolean;
23419
23417
  error: string;
23418
+ success: boolean;
23419
+ operation: "retrieve_database";
23420
23420
  database?: {
23421
23421
  object: "database";
23422
23422
  title: {
@@ -23438,7 +23438,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23438
23438
  } | undefined;
23439
23439
  href?: string | null | undefined;
23440
23440
  }[];
23441
- id: string;
23442
23441
  parent: {
23443
23442
  type: "page_id";
23444
23443
  page_id: string;
@@ -23456,6 +23455,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23456
23455
  type: "workspace";
23457
23456
  workspace: true;
23458
23457
  };
23458
+ id: string;
23459
23459
  created_time: string;
23460
23460
  last_edited_time: string;
23461
23461
  data_sources: {
@@ -23610,10 +23610,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23610
23610
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23611
23611
  has_more: z.ZodOptional<z.ZodBoolean>;
23612
23612
  }, "strip", z.ZodTypeAny, {
23613
- operation: "query_data_source";
23614
- success: boolean;
23615
23613
  error: string;
23614
+ success: boolean;
23615
+ operation: "query_data_source";
23616
23616
  next_cursor?: string | null | undefined;
23617
+ has_more?: boolean | undefined;
23617
23618
  results?: z.objectOutputType<{
23618
23619
  object: z.ZodEnum<["page", "data_source"]>;
23619
23620
  id: z.ZodString;
@@ -23632,12 +23633,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23632
23633
  archived: z.ZodOptional<z.ZodBoolean>;
23633
23634
  in_trash: z.ZodOptional<z.ZodBoolean>;
23634
23635
  }, z.ZodTypeAny, "passthrough">[] | undefined;
23635
- has_more?: boolean | undefined;
23636
23636
  }, {
23637
- operation: "query_data_source";
23638
- success: boolean;
23639
23637
  error: string;
23638
+ success: boolean;
23639
+ operation: "query_data_source";
23640
23640
  next_cursor?: string | null | undefined;
23641
+ has_more?: boolean | undefined;
23641
23642
  results?: z.objectInputType<{
23642
23643
  object: z.ZodEnum<["page", "data_source"]>;
23643
23644
  id: z.ZodString;
@@ -23656,7 +23657,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23656
23657
  archived: z.ZodOptional<z.ZodBoolean>;
23657
23658
  in_trash: z.ZodOptional<z.ZodBoolean>;
23658
23659
  }, z.ZodTypeAny, "passthrough">[] | undefined;
23659
- has_more?: boolean | undefined;
23660
23660
  }>, z.ZodObject<{
23661
23661
  operation: z.ZodLiteral<"create_data_source">;
23662
23662
  success: z.ZodBoolean;
@@ -25001,9 +25001,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25001
25001
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25002
25002
  }, z.ZodTypeAny, "passthrough">>>;
25003
25003
  }, "strip", z.ZodTypeAny, {
25004
- operation: "create_data_source";
25005
- success: boolean;
25006
25004
  error: string;
25005
+ success: boolean;
25006
+ operation: "create_data_source";
25007
25007
  dataSource?: z.objectOutputType<{
25008
25008
  object: z.ZodLiteral<"data_source">;
25009
25009
  id: z.ZodString;
@@ -25452,9 +25452,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25452
25452
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25453
25453
  }, z.ZodTypeAny, "passthrough"> | undefined;
25454
25454
  }, {
25455
- operation: "create_data_source";
25456
- success: boolean;
25457
25455
  error: string;
25456
+ success: boolean;
25457
+ operation: "create_data_source";
25458
25458
  dataSource?: z.objectInputType<{
25459
25459
  object: z.ZodLiteral<"data_source">;
25460
25460
  id: z.ZodString;
@@ -27246,9 +27246,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
27246
27246
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27247
27247
  }, z.ZodTypeAny, "passthrough">>>;
27248
27248
  }, "strip", z.ZodTypeAny, {
27249
- operation: "update_data_source";
27250
- success: boolean;
27251
27249
  error: string;
27250
+ success: boolean;
27251
+ operation: "update_data_source";
27252
27252
  dataSource?: z.objectOutputType<{
27253
27253
  object: z.ZodLiteral<"data_source">;
27254
27254
  id: z.ZodString;
@@ -27697,9 +27697,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
27697
27697
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27698
27698
  }, z.ZodTypeAny, "passthrough"> | undefined;
27699
27699
  }, {
27700
- operation: "update_data_source";
27701
- success: boolean;
27702
27700
  error: string;
27701
+ success: boolean;
27702
+ operation: "update_data_source";
27703
27703
  dataSource?: z.objectInputType<{
27704
27704
  object: z.ZodLiteral<"data_source">;
27705
27705
  id: z.ZodString;
@@ -28703,7 +28703,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28703
28703
  } | undefined;
28704
28704
  href?: string | null | undefined;
28705
28705
  }[];
28706
- id: string;
28707
28706
  parent: {
28708
28707
  type: "page_id";
28709
28708
  page_id: string;
@@ -28721,6 +28720,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28721
28720
  type: "workspace";
28722
28721
  workspace: true;
28723
28722
  };
28723
+ id: string;
28724
28724
  created_time: string;
28725
28725
  last_edited_time: string;
28726
28726
  data_sources: {
@@ -28836,7 +28836,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28836
28836
  } | undefined;
28837
28837
  href?: string | null | undefined;
28838
28838
  }[];
28839
- id: string;
28840
28839
  parent: {
28841
28840
  type: "page_id";
28842
28841
  page_id: string;
@@ -28854,6 +28853,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28854
28853
  type: "workspace";
28855
28854
  workspace: true;
28856
28855
  };
28856
+ id: string;
28857
28857
  created_time: string;
28858
28858
  last_edited_time: string;
28859
28859
  data_sources: {
@@ -28950,9 +28950,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28950
28950
  is_inline?: boolean | undefined;
28951
28951
  }>>;
28952
28952
  }, "strip", z.ZodTypeAny, {
28953
- operation: "create_database";
28954
- success: boolean;
28955
28953
  error: string;
28954
+ success: boolean;
28955
+ operation: "create_database";
28956
28956
  database?: {
28957
28957
  object: "database";
28958
28958
  title: {
@@ -28974,7 +28974,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28974
28974
  } | undefined;
28975
28975
  href?: string | null | undefined;
28976
28976
  }[];
28977
- id: string;
28978
28977
  parent: {
28979
28978
  type: "page_id";
28980
28979
  page_id: string;
@@ -28992,6 +28991,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28992
28991
  type: "workspace";
28993
28992
  workspace: true;
28994
28993
  };
28994
+ id: string;
28995
28995
  created_time: string;
28996
28996
  last_edited_time: string;
28997
28997
  data_sources: {
@@ -29088,9 +29088,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29088
29088
  is_inline?: boolean | undefined;
29089
29089
  } | undefined;
29090
29090
  }, {
29091
- operation: "create_database";
29092
- success: boolean;
29093
29091
  error: string;
29092
+ success: boolean;
29093
+ operation: "create_database";
29094
29094
  database?: {
29095
29095
  object: "database";
29096
29096
  title: {
@@ -29112,7 +29112,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29112
29112
  } | undefined;
29113
29113
  href?: string | null | undefined;
29114
29114
  }[];
29115
- id: string;
29116
29115
  parent: {
29117
29116
  type: "page_id";
29118
29117
  page_id: string;
@@ -29130,6 +29129,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29130
29129
  type: "workspace";
29131
29130
  workspace: true;
29132
29131
  };
29132
+ id: string;
29133
29133
  created_time: string;
29134
29134
  last_edited_time: string;
29135
29135
  data_sources: {
@@ -29781,7 +29781,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29781
29781
  } | undefined;
29782
29782
  href?: string | null | undefined;
29783
29783
  }[];
29784
- id: string;
29785
29784
  parent: {
29786
29785
  type: "page_id";
29787
29786
  page_id: string;
@@ -29799,6 +29798,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29799
29798
  type: "workspace";
29800
29799
  workspace: true;
29801
29800
  };
29801
+ id: string;
29802
29802
  created_time: string;
29803
29803
  last_edited_time: string;
29804
29804
  data_sources: {
@@ -29914,7 +29914,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29914
29914
  } | undefined;
29915
29915
  href?: string | null | undefined;
29916
29916
  }[];
29917
- id: string;
29918
29917
  parent: {
29919
29918
  type: "page_id";
29920
29919
  page_id: string;
@@ -29932,6 +29931,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29932
29931
  type: "workspace";
29933
29932
  workspace: true;
29934
29933
  };
29934
+ id: string;
29935
29935
  created_time: string;
29936
29936
  last_edited_time: string;
29937
29937
  data_sources: {
@@ -30028,9 +30028,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30028
30028
  is_inline?: boolean | undefined;
30029
30029
  }>>;
30030
30030
  }, "strip", z.ZodTypeAny, {
30031
- operation: "update_database";
30032
- success: boolean;
30033
30031
  error: string;
30032
+ success: boolean;
30033
+ operation: "update_database";
30034
30034
  database?: {
30035
30035
  object: "database";
30036
30036
  title: {
@@ -30052,7 +30052,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30052
30052
  } | undefined;
30053
30053
  href?: string | null | undefined;
30054
30054
  }[];
30055
- id: string;
30056
30055
  parent: {
30057
30056
  type: "page_id";
30058
30057
  page_id: string;
@@ -30070,6 +30069,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30070
30069
  type: "workspace";
30071
30070
  workspace: true;
30072
30071
  };
30072
+ id: string;
30073
30073
  created_time: string;
30074
30074
  last_edited_time: string;
30075
30075
  data_sources: {
@@ -30166,9 +30166,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30166
30166
  is_inline?: boolean | undefined;
30167
30167
  } | undefined;
30168
30168
  }, {
30169
- operation: "update_database";
30170
- success: boolean;
30171
30169
  error: string;
30170
+ success: boolean;
30171
+ operation: "update_database";
30172
30172
  database?: {
30173
30173
  object: "database";
30174
30174
  title: {
@@ -30190,7 +30190,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30190
30190
  } | undefined;
30191
30191
  href?: string | null | undefined;
30192
30192
  }[];
30193
- id: string;
30194
30193
  parent: {
30195
30194
  type: "page_id";
30196
30195
  page_id: string;
@@ -30208,6 +30207,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30208
30207
  type: "workspace";
30209
30208
  workspace: true;
30210
30209
  };
30210
+ id: string;
30211
30211
  created_time: string;
30212
30212
  last_edited_time: string;
30213
30213
  data_sources: {
@@ -30911,10 +30911,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
30911
30911
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30912
30912
  has_more: z.ZodOptional<z.ZodBoolean>;
30913
30913
  }, "strip", z.ZodTypeAny, {
30914
- operation: "append_block_children";
30915
- success: boolean;
30916
30914
  error: string;
30917
- next_cursor?: string | null | undefined;
30915
+ success: boolean;
30916
+ operation: "append_block_children";
30918
30917
  blocks?: z.objectOutputType<{
30919
30918
  object: z.ZodLiteral<"block">;
30920
30919
  id: z.ZodString;
@@ -31116,12 +31115,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
31116
31115
  in_trash: z.ZodOptional<z.ZodBoolean>;
31117
31116
  type: z.ZodString;
31118
31117
  }, z.ZodTypeAny, "passthrough">[] | undefined;
31118
+ next_cursor?: string | null | undefined;
31119
31119
  has_more?: boolean | undefined;
31120
31120
  }, {
31121
- operation: "append_block_children";
31122
- success: boolean;
31123
31121
  error: string;
31124
- next_cursor?: string | null | undefined;
31122
+ success: boolean;
31123
+ operation: "append_block_children";
31125
31124
  blocks?: z.objectInputType<{
31126
31125
  object: z.ZodLiteral<"block">;
31127
31126
  id: z.ZodString;
@@ -31323,6 +31322,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
31323
31322
  in_trash: z.ZodOptional<z.ZodBoolean>;
31324
31323
  type: z.ZodString;
31325
31324
  }, z.ZodTypeAny, "passthrough">[] | undefined;
31325
+ next_cursor?: string | null | undefined;
31326
31326
  has_more?: boolean | undefined;
31327
31327
  }>, z.ZodObject<{
31328
31328
  operation: z.ZodLiteral<"retrieve_block_children">;
@@ -31932,10 +31932,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
31932
31932
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31933
31933
  has_more: z.ZodOptional<z.ZodBoolean>;
31934
31934
  }, "strip", z.ZodTypeAny, {
31935
- operation: "retrieve_block_children";
31936
- success: boolean;
31937
31935
  error: string;
31938
- next_cursor?: string | null | undefined;
31936
+ success: boolean;
31937
+ operation: "retrieve_block_children";
31939
31938
  blocks?: z.objectOutputType<{
31940
31939
  object: z.ZodLiteral<"block">;
31941
31940
  id: z.ZodString;
@@ -32137,12 +32136,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
32137
32136
  in_trash: z.ZodOptional<z.ZodBoolean>;
32138
32137
  type: z.ZodString;
32139
32138
  }, z.ZodTypeAny, "passthrough">[] | undefined;
32139
+ next_cursor?: string | null | undefined;
32140
32140
  has_more?: boolean | undefined;
32141
32141
  }, {
32142
- operation: "retrieve_block_children";
32143
- success: boolean;
32144
32142
  error: string;
32145
- next_cursor?: string | null | undefined;
32143
+ success: boolean;
32144
+ operation: "retrieve_block_children";
32146
32145
  blocks?: z.objectInputType<{
32147
32146
  object: z.ZodLiteral<"block">;
32148
32147
  id: z.ZodString;
@@ -32344,6 +32343,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
32344
32343
  in_trash: z.ZodOptional<z.ZodBoolean>;
32345
32344
  type: z.ZodString;
32346
32345
  }, z.ZodTypeAny, "passthrough">[] | undefined;
32346
+ next_cursor?: string | null | undefined;
32347
32347
  has_more?: boolean | undefined;
32348
32348
  }>, z.ZodObject<{
32349
32349
  operation: z.ZodLiteral<"retrieve_block">;
@@ -32951,9 +32951,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
32951
32951
  type: z.ZodString;
32952
32952
  }, z.ZodTypeAny, "passthrough">>>;
32953
32953
  }, "strip", z.ZodTypeAny, {
32954
- operation: "retrieve_block";
32955
- success: boolean;
32956
32954
  error: string;
32955
+ success: boolean;
32956
+ operation: "retrieve_block";
32957
32957
  block?: z.objectOutputType<{
32958
32958
  object: z.ZodLiteral<"block">;
32959
32959
  id: z.ZodString;
@@ -33156,9 +33156,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33156
33156
  type: z.ZodString;
33157
33157
  }, z.ZodTypeAny, "passthrough"> | undefined;
33158
33158
  }, {
33159
- operation: "retrieve_block";
33160
- success: boolean;
33161
33159
  error: string;
33160
+ success: boolean;
33161
+ operation: "retrieve_block";
33162
33162
  block?: z.objectInputType<{
33163
33163
  object: z.ZodLiteral<"block">;
33164
33164
  id: z.ZodString;
@@ -33966,9 +33966,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33966
33966
  type: z.ZodString;
33967
33967
  }, z.ZodTypeAny, "passthrough">>>;
33968
33968
  }, "strip", z.ZodTypeAny, {
33969
- operation: "update_block";
33970
- success: boolean;
33971
33969
  error: string;
33970
+ success: boolean;
33971
+ operation: "update_block";
33972
33972
  block?: z.objectOutputType<{
33973
33973
  object: z.ZodLiteral<"block">;
33974
33974
  id: z.ZodString;
@@ -34171,9 +34171,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34171
34171
  type: z.ZodString;
34172
34172
  }, z.ZodTypeAny, "passthrough"> | undefined;
34173
34173
  }, {
34174
- operation: "update_block";
34175
- success: boolean;
34176
34174
  error: string;
34175
+ success: boolean;
34176
+ operation: "update_block";
34177
34177
  block?: z.objectInputType<{
34178
34178
  object: z.ZodLiteral<"block">;
34179
34179
  id: z.ZodString;
@@ -34554,7 +34554,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34554
34554
  }>, "many">;
34555
34555
  }, "strip", z.ZodTypeAny, {
34556
34556
  object: "comment";
34557
- id: string;
34558
34557
  parent: {
34559
34558
  type: "block_id" | "page_id";
34560
34559
  block_id?: string | undefined;
@@ -34562,6 +34561,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34562
34561
  } & {
34563
34562
  [k: string]: unknown;
34564
34563
  };
34564
+ id: string;
34565
34565
  created_time: string;
34566
34566
  last_edited_time: string;
34567
34567
  created_by: {
@@ -34603,7 +34603,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34603
34603
  }[];
34604
34604
  }, {
34605
34605
  object: "comment";
34606
- id: string;
34607
34606
  parent: {
34608
34607
  type: "block_id" | "page_id";
34609
34608
  block_id?: string | undefined;
@@ -34611,6 +34610,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34611
34610
  } & {
34612
34611
  [k: string]: unknown;
34613
34612
  };
34613
+ id: string;
34614
34614
  created_time: string;
34615
34615
  last_edited_time: string;
34616
34616
  created_by: {
@@ -34652,12 +34652,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34652
34652
  }[];
34653
34653
  }>>;
34654
34654
  }, "strip", z.ZodTypeAny, {
34655
- operation: "create_comment";
34656
- success: boolean;
34657
34655
  error: string;
34656
+ success: boolean;
34657
+ operation: "create_comment";
34658
34658
  comment?: {
34659
34659
  object: "comment";
34660
- id: string;
34661
34660
  parent: {
34662
34661
  type: "block_id" | "page_id";
34663
34662
  block_id?: string | undefined;
@@ -34665,6 +34664,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34665
34664
  } & {
34666
34665
  [k: string]: unknown;
34667
34666
  };
34667
+ id: string;
34668
34668
  created_time: string;
34669
34669
  last_edited_time: string;
34670
34670
  created_by: {
@@ -34706,12 +34706,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34706
34706
  }[];
34707
34707
  } | undefined;
34708
34708
  }, {
34709
- operation: "create_comment";
34710
- success: boolean;
34711
34709
  error: string;
34710
+ success: boolean;
34711
+ operation: "create_comment";
34712
34712
  comment?: {
34713
34713
  object: "comment";
34714
- id: string;
34715
34714
  parent: {
34716
34715
  type: "block_id" | "page_id";
34717
34716
  block_id?: string | undefined;
@@ -34719,6 +34718,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34719
34718
  } & {
34720
34719
  [k: string]: unknown;
34721
34720
  };
34721
+ id: string;
34722
34722
  created_time: string;
34723
34723
  last_edited_time: string;
34724
34724
  created_by: {
@@ -34938,7 +34938,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34938
34938
  }>, "many">;
34939
34939
  }, "strip", z.ZodTypeAny, {
34940
34940
  object: "comment";
34941
- id: string;
34942
34941
  parent: {
34943
34942
  type: "block_id" | "page_id";
34944
34943
  block_id?: string | undefined;
@@ -34946,6 +34945,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34946
34945
  } & {
34947
34946
  [k: string]: unknown;
34948
34947
  };
34948
+ id: string;
34949
34949
  created_time: string;
34950
34950
  last_edited_time: string;
34951
34951
  created_by: {
@@ -34987,7 +34987,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34987
34987
  }[];
34988
34988
  }, {
34989
34989
  object: "comment";
34990
- id: string;
34991
34990
  parent: {
34992
34991
  type: "block_id" | "page_id";
34993
34992
  block_id?: string | undefined;
@@ -34995,6 +34994,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34995
34994
  } & {
34996
34995
  [k: string]: unknown;
34997
34996
  };
34997
+ id: string;
34998
34998
  created_time: string;
34999
34999
  last_edited_time: string;
35000
35000
  created_by: {
@@ -35036,12 +35036,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35036
35036
  }[];
35037
35037
  }>>;
35038
35038
  }, "strip", z.ZodTypeAny, {
35039
- operation: "retrieve_comment";
35040
- success: boolean;
35041
35039
  error: string;
35040
+ success: boolean;
35041
+ operation: "retrieve_comment";
35042
35042
  comment?: {
35043
35043
  object: "comment";
35044
- id: string;
35045
35044
  parent: {
35046
35045
  type: "block_id" | "page_id";
35047
35046
  block_id?: string | undefined;
@@ -35049,6 +35048,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35049
35048
  } & {
35050
35049
  [k: string]: unknown;
35051
35050
  };
35051
+ id: string;
35052
35052
  created_time: string;
35053
35053
  last_edited_time: string;
35054
35054
  created_by: {
@@ -35090,12 +35090,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35090
35090
  }[];
35091
35091
  } | undefined;
35092
35092
  }, {
35093
- operation: "retrieve_comment";
35094
- success: boolean;
35095
35093
  error: string;
35094
+ success: boolean;
35095
+ operation: "retrieve_comment";
35096
35096
  comment?: {
35097
35097
  object: "comment";
35098
- id: string;
35099
35098
  parent: {
35100
35099
  type: "block_id" | "page_id";
35101
35100
  block_id?: string | undefined;
@@ -35103,6 +35102,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35103
35102
  } & {
35104
35103
  [k: string]: unknown;
35105
35104
  };
35105
+ id: string;
35106
35106
  created_time: string;
35107
35107
  last_edited_time: string;
35108
35108
  created_by: {
@@ -35221,10 +35221,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35221
35221
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35222
35222
  has_more: z.ZodOptional<z.ZodBoolean>;
35223
35223
  }, "strip", z.ZodTypeAny, {
35224
- operation: "list_users";
35225
- success: boolean;
35226
35224
  error: string;
35227
- next_cursor?: string | null | undefined;
35225
+ success: boolean;
35226
+ operation: "list_users";
35228
35227
  users?: {
35229
35228
  object: "user";
35230
35229
  id: string;
@@ -35242,12 +35241,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35242
35241
  workspace_name?: string | undefined;
35243
35242
  } | undefined;
35244
35243
  }[] | undefined;
35244
+ next_cursor?: string | null | undefined;
35245
35245
  has_more?: boolean | undefined;
35246
35246
  }, {
35247
- operation: "list_users";
35248
- success: boolean;
35249
35247
  error: string;
35250
- next_cursor?: string | null | undefined;
35248
+ success: boolean;
35249
+ operation: "list_users";
35251
35250
  users?: {
35252
35251
  object: "user";
35253
35252
  id: string;
@@ -35265,6 +35264,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35265
35264
  workspace_name?: string | undefined;
35266
35265
  } | undefined;
35267
35266
  }[] | undefined;
35267
+ next_cursor?: string | null | undefined;
35268
35268
  has_more?: boolean | undefined;
35269
35269
  }>, z.ZodObject<{
35270
35270
  operation: z.ZodLiteral<"search">;
@@ -35325,10 +35325,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35325
35325
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35326
35326
  has_more: z.ZodOptional<z.ZodBoolean>;
35327
35327
  }, "strip", z.ZodTypeAny, {
35328
- operation: "search";
35329
- success: boolean;
35330
35328
  error: string;
35329
+ success: boolean;
35330
+ operation: "search";
35331
35331
  next_cursor?: string | null | undefined;
35332
+ has_more?: boolean | undefined;
35332
35333
  results?: z.objectOutputType<{
35333
35334
  object: z.ZodEnum<["page", "data_source"]>;
35334
35335
  id: z.ZodString;
@@ -35347,12 +35348,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35347
35348
  archived: z.ZodOptional<z.ZodBoolean>;
35348
35349
  in_trash: z.ZodOptional<z.ZodBoolean>;
35349
35350
  }, z.ZodTypeAny, "passthrough">[] | undefined;
35350
- has_more?: boolean | undefined;
35351
35351
  }, {
35352
- operation: "search";
35353
- success: boolean;
35354
35352
  error: string;
35353
+ success: boolean;
35354
+ operation: "search";
35355
35355
  next_cursor?: string | null | undefined;
35356
+ has_more?: boolean | undefined;
35356
35357
  results?: z.objectInputType<{
35357
35358
  object: z.ZodEnum<["page", "data_source"]>;
35358
35359
  id: z.ZodString;
@@ -35371,7 +35372,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35371
35372
  archived: z.ZodOptional<z.ZodBoolean>;
35372
35373
  in_trash: z.ZodOptional<z.ZodBoolean>;
35373
35374
  }, z.ZodTypeAny, "passthrough">[] | undefined;
35374
- has_more?: boolean | undefined;
35375
35375
  }>]>;
35376
35376
  static readonly shortDescription = "Notion API integration for pages, databases, and blocks";
35377
35377
  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 ";