@bubblelab/bubble-core 0.1.201 → 0.1.202

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 (170) hide show
  1. package/dist/bubble-bundle.d.ts +203 -182
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +134 -134
  6. package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -1
  7. package/dist/bubbles/service-bubble/agi-inc.js +4 -6
  8. package/dist/bubbles/service-bubble/agi-inc.js.map +1 -1
  9. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  10. package/dist/bubbles/service-bubble/airtable.d.ts +154 -154
  11. package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
  12. package/dist/bubbles/service-bubble/airtable.js +8 -13
  13. package/dist/bubbles/service-bubble/airtable.js.map +1 -1
  14. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +10 -10
  15. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +8 -8
  16. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +24 -24
  17. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  18. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +56 -56
  19. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +76 -76
  20. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +20 -20
  21. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +26 -26
  22. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  23. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +208 -208
  24. package/dist/bubbles/service-bubble/apify/apify.d.ts +34 -34
  25. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +120 -120
  26. package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
  27. package/dist/bubbles/service-bubble/ashby/ashby.js +8 -10
  28. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  29. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
  30. package/dist/bubbles/service-bubble/attio/attio.d.ts +76 -76
  31. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +54 -54
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +64 -64
  33. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +38 -38
  34. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +54 -54
  35. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
  36. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +118 -118
  37. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
  38. package/dist/bubbles/service-bubble/crustdata/crustdata.js +16 -17
  39. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
  40. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +102 -102
  41. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  42. package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -1
  43. package/dist/bubbles/service-bubble/eleven-labs.js +12 -14
  44. package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -1
  45. package/dist/bubbles/service-bubble/firecrawl.d.ts +468 -468
  46. package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/firecrawl.js +3 -12
  48. package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
  49. package/dist/bubbles/service-bubble/followupboss.d.ts +534 -534
  50. package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/followupboss.js +12 -13
  52. package/dist/bubbles/service-bubble/followupboss.js.map +1 -1
  53. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +295 -295
  54. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
  55. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +11 -12
  56. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
  57. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +160 -160
  58. package/dist/bubbles/service-bubble/github.d.ts +144 -144
  59. package/dist/bubbles/service-bubble/gmail.d.ts +248 -248
  60. package/dist/bubbles/service-bubble/google-calendar.d.ts +64 -64
  61. package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
  62. package/dist/bubbles/service-bubble/google-calendar.js +10 -11
  63. package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
  64. package/dist/bubbles/service-bubble/google-drive.d.ts +154 -148
  65. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  66. package/dist/bubbles/service-bubble/google-drive.js +8 -1
  67. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  68. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  69. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
  70. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  71. package/dist/bubbles/service-bubble/http.d.ts +14 -14
  72. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +47 -47
  73. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +12 -12
  74. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  75. package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
  76. package/dist/bubbles/service-bubble/insforge-db.js +24 -26
  77. package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
  78. package/dist/bubbles/service-bubble/jira/jira.d.ts +91 -91
  79. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +69 -69
  80. package/dist/bubbles/service-bubble/linear/linear.d.ts +49 -49
  81. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +33 -33
  82. package/dist/bubbles/service-bubble/notion/notion.d.ts +444 -444
  83. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  84. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  85. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +43 -43
  86. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +51 -51
  87. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  88. package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
  89. package/dist/bubbles/service-bubble/resend.js +8 -13
  90. package/dist/bubbles/service-bubble/resend.js.map +1 -1
  91. package/dist/bubbles/service-bubble/s3/index.d.ts +4 -0
  92. package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -0
  93. package/dist/bubbles/service-bubble/s3/index.js +4 -0
  94. package/dist/bubbles/service-bubble/s3/index.js.map +1 -0
  95. package/dist/bubbles/service-bubble/s3/s3.d.ts +301 -0
  96. package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -0
  97. package/dist/bubbles/service-bubble/s3/s3.js +320 -0
  98. package/dist/bubbles/service-bubble/s3/s3.js.map +1 -0
  99. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +262 -0
  100. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -0
  101. package/dist/bubbles/service-bubble/s3/s3.schema.js +212 -0
  102. package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -0
  103. package/dist/bubbles/service-bubble/s3/s3.utils.d.ts +17 -0
  104. package/dist/bubbles/service-bubble/s3/s3.utils.d.ts.map +1 -0
  105. package/dist/bubbles/service-bubble/s3/s3.utils.js +46 -0
  106. package/dist/bubbles/service-bubble/s3/s3.utils.js.map +1 -0
  107. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +22 -22
  108. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
  109. package/dist/bubbles/service-bubble/slack/slack.d.ts +554 -554
  110. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  111. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +224 -224
  112. package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
  113. package/dist/bubbles/service-bubble/stripe/stripe.js +5 -7
  114. package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
  115. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +131 -131
  116. package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
  117. package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -1
  118. package/dist/bubbles/service-bubble/telegram.js +3 -3
  119. package/dist/bubbles/service-bubble/telegram.js.map +1 -1
  120. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +40 -40
  121. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +34 -34
  122. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  123. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +3 -3
  124. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  125. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  126. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +8 -8
  127. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  128. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  129. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  130. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  131. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  132. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  133. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  134. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +104 -104
  135. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  136. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  137. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  138. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
  139. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +919 -919
  140. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  141. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  142. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  143. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
  144. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +84 -84
  145. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +30 -30
  146. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  147. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  148. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +76 -76
  149. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  150. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +170 -170
  151. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  152. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  153. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  154. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  155. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +42 -42
  156. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
  157. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  158. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  159. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  160. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
  161. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  162. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  163. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +76 -76
  164. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  165. package/dist/bubbles.json +489 -3
  166. package/dist/index.d.ts +1 -0
  167. package/dist/index.d.ts.map +1 -1
  168. package/dist/index.js +1 -0
  169. package/dist/index.js.map +1 -1
  170. package/package.json +2 -2
@@ -192,6 +192,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
192
192
  }>]>>;
193
193
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
194
194
  }, "strip", z.ZodTypeAny, {
195
+ operation: "create_page";
195
196
  parent: {
196
197
  type: "page_id";
197
198
  page_id: string;
@@ -209,7 +210,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
209
210
  type: "workspace";
210
211
  workspace: true;
211
212
  };
212
- operation: "create_page";
213
213
  properties?: Record<string, unknown> | undefined;
214
214
  credentials?: Partial<Record<CredentialType, string>> | undefined;
215
215
  icon?: {
@@ -251,6 +251,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
251
251
  } | undefined;
252
252
  children?: unknown[] | undefined;
253
253
  }, {
254
+ operation: "create_page";
254
255
  parent: {
255
256
  type: "page_id";
256
257
  page_id: string;
@@ -268,7 +269,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
268
269
  type: "workspace";
269
270
  workspace: true;
270
271
  };
271
- operation: "create_page";
272
272
  properties?: Record<string, unknown> | undefined;
273
273
  credentials?: Partial<Record<CredentialType, string>> | undefined;
274
274
  icon?: {
@@ -597,21 +597,21 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
597
597
  page_size: number;
598
598
  filter?: Record<string, unknown> | undefined;
599
599
  credentials?: Partial<Record<CredentialType, string>> | undefined;
600
+ sorts?: unknown[] | undefined;
600
601
  database_id?: string | undefined;
601
602
  data_source_id?: string | undefined;
602
603
  filter_properties?: string[] | undefined;
603
- sorts?: unknown[] | undefined;
604
604
  start_cursor?: string | undefined;
605
605
  result_type?: "page" | "data_source" | undefined;
606
606
  }, {
607
607
  operation: "query_data_source";
608
608
  filter?: Record<string, unknown> | undefined;
609
609
  credentials?: Partial<Record<CredentialType, string>> | undefined;
610
+ sorts?: unknown[] | undefined;
610
611
  page_size?: number | undefined;
611
612
  database_id?: string | undefined;
612
613
  data_source_id?: string | undefined;
613
614
  filter_properties?: string[] | undefined;
614
- sorts?: unknown[] | undefined;
615
615
  start_cursor?: string | undefined;
616
616
  result_type?: "page" | "data_source" | undefined;
617
617
  }>, z.ZodObject<{
@@ -784,12 +784,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
784
784
  }>]>>;
785
785
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
786
786
  }, "strip", z.ZodTypeAny, {
787
+ operation: "create_data_source";
787
788
  properties: Record<string, unknown>;
788
789
  parent: {
789
790
  type: "database_id";
790
791
  database_id: string;
791
792
  };
792
- operation: "create_data_source";
793
793
  title?: {
794
794
  type: "text" | "mention" | "equation";
795
795
  text?: {
@@ -831,12 +831,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
831
831
  emoji: string;
832
832
  } | undefined;
833
833
  }, {
834
+ operation: "create_data_source";
834
835
  properties: Record<string, unknown>;
835
836
  parent: {
836
837
  type: "database_id";
837
838
  database_id: string;
838
839
  };
839
- operation: "create_data_source";
840
840
  title?: {
841
841
  type: "text" | "mention" | "equation";
842
842
  text?: {
@@ -1612,6 +1612,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1612
1612
  }>]>>;
1613
1613
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
1614
1614
  }, "strip", z.ZodTypeAny, {
1615
+ operation: "create_database";
1615
1616
  parent: {
1616
1617
  type: "workspace";
1617
1618
  workspace: boolean;
@@ -1621,7 +1622,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1621
1622
  page_id: string;
1622
1623
  workspace?: undefined;
1623
1624
  };
1624
- operation: "create_database";
1625
1625
  initial_data_source: {
1626
1626
  properties: Record<string, unknown>;
1627
1627
  };
@@ -1702,12 +1702,12 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
1702
1702
  };
1703
1703
  } | undefined;
1704
1704
  }, {
1705
+ operation: "create_database";
1705
1706
  parent: {
1706
1707
  type: "workspace" | "page_id";
1707
1708
  workspace?: true | undefined;
1708
1709
  page_id?: string | undefined;
1709
1710
  };
1710
- operation: "create_database";
1711
1711
  initial_data_source: {
1712
1712
  properties: Record<string, unknown>;
1713
1713
  };
@@ -2532,6 +2532,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2532
2532
  }>>;
2533
2533
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
2534
2534
  }, "strip", z.ZodTypeAny, {
2535
+ operation: "create_comment";
2535
2536
  parent: {
2536
2537
  block_id?: string | undefined;
2537
2538
  page_id?: string | undefined;
@@ -2555,7 +2556,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2555
2556
  } | undefined;
2556
2557
  href?: string | null | undefined;
2557
2558
  }[];
2558
- operation: "create_comment";
2559
2559
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2560
2560
  attachments?: {
2561
2561
  file_upload_id: string;
@@ -2568,6 +2568,7 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2568
2568
  } | undefined;
2569
2569
  } | undefined;
2570
2570
  }, {
2571
+ operation: "create_comment";
2571
2572
  parent: {
2572
2573
  block_id?: string | undefined;
2573
2574
  page_id?: string | undefined;
@@ -2591,7 +2592,6 @@ declare const NotionParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
2591
2592
  } | undefined;
2592
2593
  href?: string | null | undefined;
2593
2594
  }[];
2594
- operation: "create_comment";
2595
2595
  credentials?: Partial<Record<CredentialType, string>> | undefined;
2596
2596
  attachments?: {
2597
2597
  file_upload_id: string;
@@ -3009,8 +3009,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3009
3009
  }, "strip", z.ZodTypeAny, {
3010
3010
  object: "page";
3011
3011
  properties: Record<string, unknown>;
3012
- id: string;
3013
3012
  url: string;
3013
+ id: string;
3014
3014
  parent: {
3015
3015
  type: "page_id";
3016
3016
  page_id: string;
@@ -3102,8 +3102,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3102
3102
  }, {
3103
3103
  object: "page";
3104
3104
  properties: Record<string, unknown>;
3105
- id: string;
3106
3105
  url: string;
3106
+ id: string;
3107
3107
  parent: {
3108
3108
  type: "page_id";
3109
3109
  page_id: string;
@@ -3194,14 +3194,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3194
3194
  public_url?: string | null | undefined;
3195
3195
  }>>;
3196
3196
  }, "strip", z.ZodTypeAny, {
3197
- error: string;
3198
- success: boolean;
3199
3197
  operation: "create_page";
3198
+ success: boolean;
3199
+ error: string;
3200
3200
  page?: {
3201
3201
  object: "page";
3202
3202
  properties: Record<string, unknown>;
3203
- id: string;
3204
3203
  url: string;
3204
+ id: string;
3205
3205
  parent: {
3206
3206
  type: "page_id";
3207
3207
  page_id: string;
@@ -3292,14 +3292,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3292
3292
  public_url?: string | null | undefined;
3293
3293
  } | undefined;
3294
3294
  }, {
3295
- error: string;
3296
- success: boolean;
3297
3295
  operation: "create_page";
3296
+ success: boolean;
3297
+ error: string;
3298
3298
  page?: {
3299
3299
  object: "page";
3300
3300
  properties: Record<string, unknown>;
3301
- id: string;
3302
3301
  url: string;
3302
+ id: string;
3303
3303
  parent: {
3304
3304
  type: "page_id";
3305
3305
  page_id: string;
@@ -3713,8 +3713,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3713
3713
  }, "strip", z.ZodTypeAny, {
3714
3714
  object: "page";
3715
3715
  properties: Record<string, unknown>;
3716
- id: string;
3717
3716
  url: string;
3717
+ id: string;
3718
3718
  parent: {
3719
3719
  type: "page_id";
3720
3720
  page_id: string;
@@ -3806,8 +3806,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3806
3806
  }, {
3807
3807
  object: "page";
3808
3808
  properties: Record<string, unknown>;
3809
- id: string;
3810
3809
  url: string;
3810
+ id: string;
3811
3811
  parent: {
3812
3812
  type: "page_id";
3813
3813
  page_id: string;
@@ -3898,14 +3898,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3898
3898
  public_url?: string | null | undefined;
3899
3899
  }>>;
3900
3900
  }, "strip", z.ZodTypeAny, {
3901
- error: string;
3902
- success: boolean;
3903
3901
  operation: "retrieve_page";
3902
+ success: boolean;
3903
+ error: string;
3904
3904
  page?: {
3905
3905
  object: "page";
3906
3906
  properties: Record<string, unknown>;
3907
- id: string;
3908
3907
  url: string;
3908
+ id: string;
3909
3909
  parent: {
3910
3910
  type: "page_id";
3911
3911
  page_id: string;
@@ -3996,14 +3996,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
3996
3996
  public_url?: string | null | undefined;
3997
3997
  } | undefined;
3998
3998
  }, {
3999
- error: string;
4000
- success: boolean;
4001
3999
  operation: "retrieve_page";
4000
+ success: boolean;
4001
+ error: string;
4002
4002
  page?: {
4003
4003
  object: "page";
4004
4004
  properties: Record<string, unknown>;
4005
- id: string;
4006
4005
  url: string;
4006
+ id: string;
4007
4007
  parent: {
4008
4008
  type: "page_id";
4009
4009
  page_id: string;
@@ -4417,8 +4417,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4417
4417
  }, "strip", z.ZodTypeAny, {
4418
4418
  object: "page";
4419
4419
  properties: Record<string, unknown>;
4420
- id: string;
4421
4420
  url: string;
4421
+ id: string;
4422
4422
  parent: {
4423
4423
  type: "page_id";
4424
4424
  page_id: string;
@@ -4510,8 +4510,8 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4510
4510
  }, {
4511
4511
  object: "page";
4512
4512
  properties: Record<string, unknown>;
4513
- id: string;
4514
4513
  url: string;
4514
+ id: string;
4515
4515
  parent: {
4516
4516
  type: "page_id";
4517
4517
  page_id: string;
@@ -4602,14 +4602,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4602
4602
  public_url?: string | null | undefined;
4603
4603
  }>>;
4604
4604
  }, "strip", z.ZodTypeAny, {
4605
- error: string;
4606
- success: boolean;
4607
4605
  operation: "update_page";
4606
+ success: boolean;
4607
+ error: string;
4608
4608
  page?: {
4609
4609
  object: "page";
4610
4610
  properties: Record<string, unknown>;
4611
- id: string;
4612
4611
  url: string;
4612
+ id: string;
4613
4613
  parent: {
4614
4614
  type: "page_id";
4615
4615
  page_id: string;
@@ -4700,14 +4700,14 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
4700
4700
  public_url?: string | null | undefined;
4701
4701
  } | undefined;
4702
4702
  }, {
4703
- error: string;
4704
- success: boolean;
4705
4703
  operation: "update_page";
4704
+ success: boolean;
4705
+ error: string;
4706
4706
  page?: {
4707
4707
  object: "page";
4708
4708
  properties: Record<string, unknown>;
4709
- id: string;
4710
4709
  url: string;
4710
+ id: string;
4711
4711
  parent: {
4712
4712
  type: "page_id";
4713
4713
  page_id: string;
@@ -5600,9 +5600,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5600
5600
  is_inline?: boolean | undefined;
5601
5601
  }>>;
5602
5602
  }, "strip", z.ZodTypeAny, {
5603
- error: string;
5604
- success: boolean;
5605
5603
  operation: "retrieve_database";
5604
+ success: boolean;
5605
+ error: string;
5606
5606
  database?: {
5607
5607
  object: "database";
5608
5608
  title: {
@@ -5738,9 +5738,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
5738
5738
  is_inline?: boolean | undefined;
5739
5739
  } | undefined;
5740
5740
  }, {
5741
- error: string;
5742
- success: boolean;
5743
5741
  operation: "retrieve_database";
5742
+ success: boolean;
5743
+ error: string;
5744
5744
  database?: {
5745
5745
  object: "database";
5746
5746
  title: {
@@ -7219,9 +7219,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
7219
7219
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7220
7220
  }, z.ZodTypeAny, "passthrough">>>;
7221
7221
  }, "strip", z.ZodTypeAny, {
7222
- error: string;
7223
- success: boolean;
7224
7222
  operation: "retrieve_data_source";
7223
+ success: boolean;
7224
+ error: string;
7225
7225
  data_source?: z.objectOutputType<{
7226
7226
  object: z.ZodLiteral<"data_source">;
7227
7227
  id: z.ZodString;
@@ -7670,9 +7670,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
7670
7670
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7671
7671
  }, z.ZodTypeAny, "passthrough"> | undefined;
7672
7672
  }, {
7673
- error: string;
7674
- success: boolean;
7675
7673
  operation: "retrieve_data_source";
7674
+ success: boolean;
7675
+ error: string;
7676
7676
  data_source?: z.objectInputType<{
7677
7677
  object: z.ZodLiteral<"data_source">;
7678
7678
  id: z.ZodString;
@@ -8179,11 +8179,10 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
8179
8179
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8180
8180
  has_more: z.ZodOptional<z.ZodBoolean>;
8181
8181
  }, "strip", z.ZodTypeAny, {
8182
- error: string;
8183
- success: boolean;
8184
8182
  operation: "query_data_source";
8183
+ success: boolean;
8184
+ error: string;
8185
8185
  next_cursor?: string | null | undefined;
8186
- has_more?: boolean | undefined;
8187
8186
  results?: z.objectOutputType<{
8188
8187
  object: z.ZodEnum<["page", "data_source"]>;
8189
8188
  id: z.ZodString;
@@ -8202,12 +8201,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
8202
8201
  archived: z.ZodOptional<z.ZodBoolean>;
8203
8202
  in_trash: z.ZodOptional<z.ZodBoolean>;
8204
8203
  }, z.ZodTypeAny, "passthrough">[] | undefined;
8204
+ has_more?: boolean | undefined;
8205
8205
  }, {
8206
- error: string;
8207
- success: boolean;
8208
8206
  operation: "query_data_source";
8207
+ success: boolean;
8208
+ error: string;
8209
8209
  next_cursor?: string | null | undefined;
8210
- has_more?: boolean | undefined;
8211
8210
  results?: z.objectInputType<{
8212
8211
  object: z.ZodEnum<["page", "data_source"]>;
8213
8212
  id: z.ZodString;
@@ -8226,6 +8225,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
8226
8225
  archived: z.ZodOptional<z.ZodBoolean>;
8227
8226
  in_trash: z.ZodOptional<z.ZodBoolean>;
8228
8227
  }, z.ZodTypeAny, "passthrough">[] | undefined;
8228
+ has_more?: boolean | undefined;
8229
8229
  }>, z.ZodObject<{
8230
8230
  operation: z.ZodLiteral<"create_data_source">;
8231
8231
  success: z.ZodBoolean;
@@ -9570,9 +9570,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
9570
9570
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9571
9571
  }, z.ZodTypeAny, "passthrough">>>;
9572
9572
  }, "strip", z.ZodTypeAny, {
9573
- error: string;
9574
- success: boolean;
9575
9573
  operation: "create_data_source";
9574
+ success: boolean;
9575
+ error: string;
9576
9576
  dataSource?: z.objectOutputType<{
9577
9577
  object: z.ZodLiteral<"data_source">;
9578
9578
  id: z.ZodString;
@@ -10021,9 +10021,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
10021
10021
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10022
10022
  }, z.ZodTypeAny, "passthrough"> | undefined;
10023
10023
  }, {
10024
- error: string;
10025
- success: boolean;
10026
10024
  operation: "create_data_source";
10025
+ success: boolean;
10026
+ error: string;
10027
10027
  dataSource?: z.objectInputType<{
10028
10028
  object: z.ZodLiteral<"data_source">;
10029
10029
  id: z.ZodString;
@@ -11815,9 +11815,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
11815
11815
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11816
11816
  }, z.ZodTypeAny, "passthrough">>>;
11817
11817
  }, "strip", z.ZodTypeAny, {
11818
- error: string;
11819
- success: boolean;
11820
11818
  operation: "update_data_source";
11819
+ success: boolean;
11820
+ error: string;
11821
11821
  dataSource?: z.objectOutputType<{
11822
11822
  object: z.ZodLiteral<"data_source">;
11823
11823
  id: z.ZodString;
@@ -12266,9 +12266,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
12266
12266
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12267
12267
  }, z.ZodTypeAny, "passthrough"> | undefined;
12268
12268
  }, {
12269
- error: string;
12270
- success: boolean;
12271
12269
  operation: "update_data_source";
12270
+ success: boolean;
12271
+ error: string;
12272
12272
  dataSource?: z.objectInputType<{
12273
12273
  object: z.ZodLiteral<"data_source">;
12274
12274
  id: z.ZodString;
@@ -13519,9 +13519,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13519
13519
  is_inline?: boolean | undefined;
13520
13520
  }>>;
13521
13521
  }, "strip", z.ZodTypeAny, {
13522
- error: string;
13523
- success: boolean;
13524
13522
  operation: "create_database";
13523
+ success: boolean;
13524
+ error: string;
13525
13525
  database?: {
13526
13526
  object: "database";
13527
13527
  title: {
@@ -13657,9 +13657,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
13657
13657
  is_inline?: boolean | undefined;
13658
13658
  } | undefined;
13659
13659
  }, {
13660
- error: string;
13661
- success: boolean;
13662
13660
  operation: "create_database";
13661
+ success: boolean;
13662
+ error: string;
13663
13663
  database?: {
13664
13664
  object: "database";
13665
13665
  title: {
@@ -14597,9 +14597,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14597
14597
  is_inline?: boolean | undefined;
14598
14598
  }>>;
14599
14599
  }, "strip", z.ZodTypeAny, {
14600
- error: string;
14601
- success: boolean;
14602
14600
  operation: "update_database";
14601
+ success: boolean;
14602
+ error: string;
14603
14603
  database?: {
14604
14604
  object: "database";
14605
14605
  title: {
@@ -14735,9 +14735,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
14735
14735
  is_inline?: boolean | undefined;
14736
14736
  } | undefined;
14737
14737
  }, {
14738
- error: string;
14739
- success: boolean;
14740
14738
  operation: "update_database";
14739
+ success: boolean;
14740
+ error: string;
14741
14741
  database?: {
14742
14742
  object: "database";
14743
14743
  title: {
@@ -15480,9 +15480,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
15480
15480
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
15481
15481
  has_more: z.ZodOptional<z.ZodBoolean>;
15482
15482
  }, "strip", z.ZodTypeAny, {
15483
- error: string;
15484
- success: boolean;
15485
15483
  operation: "append_block_children";
15484
+ success: boolean;
15485
+ error: string;
15486
+ next_cursor?: string | null | undefined;
15487
+ has_more?: boolean | undefined;
15486
15488
  blocks?: z.objectOutputType<{
15487
15489
  object: z.ZodLiteral<"block">;
15488
15490
  id: z.ZodString;
@@ -15684,12 +15686,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
15684
15686
  in_trash: z.ZodOptional<z.ZodBoolean>;
15685
15687
  type: z.ZodString;
15686
15688
  }, z.ZodTypeAny, "passthrough">[] | undefined;
15687
- next_cursor?: string | null | undefined;
15688
- has_more?: boolean | undefined;
15689
15689
  }, {
15690
- error: string;
15691
- success: boolean;
15692
15690
  operation: "append_block_children";
15691
+ success: boolean;
15692
+ error: string;
15693
+ next_cursor?: string | null | undefined;
15694
+ has_more?: boolean | undefined;
15693
15695
  blocks?: z.objectInputType<{
15694
15696
  object: z.ZodLiteral<"block">;
15695
15697
  id: z.ZodString;
@@ -15891,8 +15893,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
15891
15893
  in_trash: z.ZodOptional<z.ZodBoolean>;
15892
15894
  type: z.ZodString;
15893
15895
  }, z.ZodTypeAny, "passthrough">[] | undefined;
15894
- next_cursor?: string | null | undefined;
15895
- has_more?: boolean | undefined;
15896
15896
  }>, z.ZodObject<{
15897
15897
  operation: z.ZodLiteral<"retrieve_block_children">;
15898
15898
  success: z.ZodBoolean;
@@ -16501,9 +16501,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16501
16501
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16502
16502
  has_more: z.ZodOptional<z.ZodBoolean>;
16503
16503
  }, "strip", z.ZodTypeAny, {
16504
- error: string;
16505
- success: boolean;
16506
16504
  operation: "retrieve_block_children";
16505
+ success: boolean;
16506
+ error: string;
16507
+ next_cursor?: string | null | undefined;
16508
+ has_more?: boolean | undefined;
16507
16509
  blocks?: z.objectOutputType<{
16508
16510
  object: z.ZodLiteral<"block">;
16509
16511
  id: z.ZodString;
@@ -16705,12 +16707,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16705
16707
  in_trash: z.ZodOptional<z.ZodBoolean>;
16706
16708
  type: z.ZodString;
16707
16709
  }, z.ZodTypeAny, "passthrough">[] | undefined;
16708
- next_cursor?: string | null | undefined;
16709
- has_more?: boolean | undefined;
16710
16710
  }, {
16711
- error: string;
16712
- success: boolean;
16713
16711
  operation: "retrieve_block_children";
16712
+ success: boolean;
16713
+ error: string;
16714
+ next_cursor?: string | null | undefined;
16715
+ has_more?: boolean | undefined;
16714
16716
  blocks?: z.objectInputType<{
16715
16717
  object: z.ZodLiteral<"block">;
16716
16718
  id: z.ZodString;
@@ -16912,8 +16914,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
16912
16914
  in_trash: z.ZodOptional<z.ZodBoolean>;
16913
16915
  type: z.ZodString;
16914
16916
  }, z.ZodTypeAny, "passthrough">[] | undefined;
16915
- next_cursor?: string | null | undefined;
16916
- has_more?: boolean | undefined;
16917
16917
  }>, z.ZodObject<{
16918
16918
  operation: z.ZodLiteral<"retrieve_block">;
16919
16919
  success: z.ZodBoolean;
@@ -17520,9 +17520,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17520
17520
  type: z.ZodString;
17521
17521
  }, z.ZodTypeAny, "passthrough">>>;
17522
17522
  }, "strip", z.ZodTypeAny, {
17523
- error: string;
17524
- success: boolean;
17525
17523
  operation: "retrieve_block";
17524
+ success: boolean;
17525
+ error: string;
17526
17526
  block?: z.objectOutputType<{
17527
17527
  object: z.ZodLiteral<"block">;
17528
17528
  id: z.ZodString;
@@ -17725,9 +17725,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
17725
17725
  type: z.ZodString;
17726
17726
  }, z.ZodTypeAny, "passthrough"> | undefined;
17727
17727
  }, {
17728
- error: string;
17729
- success: boolean;
17730
17728
  operation: "retrieve_block";
17729
+ success: boolean;
17730
+ error: string;
17731
17731
  block?: z.objectInputType<{
17732
17732
  object: z.ZodLiteral<"block">;
17733
17733
  id: z.ZodString;
@@ -18535,9 +18535,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
18535
18535
  type: z.ZodString;
18536
18536
  }, z.ZodTypeAny, "passthrough">>>;
18537
18537
  }, "strip", z.ZodTypeAny, {
18538
- error: string;
18539
- success: boolean;
18540
18538
  operation: "update_block";
18539
+ success: boolean;
18540
+ error: string;
18541
18541
  block?: z.objectOutputType<{
18542
18542
  object: z.ZodLiteral<"block">;
18543
18543
  id: z.ZodString;
@@ -18740,9 +18740,9 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
18740
18740
  type: z.ZodString;
18741
18741
  }, z.ZodTypeAny, "passthrough"> | undefined;
18742
18742
  }, {
18743
- error: string;
18744
- success: boolean;
18745
18743
  operation: "update_block";
18744
+ success: boolean;
18745
+ error: string;
18746
18746
  block?: z.objectInputType<{
18747
18747
  object: z.ZodLiteral<"block">;
18748
18748
  id: z.ZodString;
@@ -19131,6 +19131,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19131
19131
  } & {
19132
19132
  [k: string]: unknown;
19133
19133
  };
19134
+ created_time: string;
19135
+ last_edited_time: string;
19136
+ created_by: {
19137
+ object: "user";
19138
+ id: string;
19139
+ type?: "person" | "bot" | undefined;
19140
+ name?: string | undefined;
19141
+ person?: {
19142
+ email?: string | undefined;
19143
+ } | undefined;
19144
+ avatar_url?: string | null | undefined;
19145
+ bot?: {
19146
+ owner?: {
19147
+ type: "user" | "workspace";
19148
+ workspace?: boolean | undefined;
19149
+ } | undefined;
19150
+ workspace_name?: string | undefined;
19151
+ } | undefined;
19152
+ };
19153
+ discussion_id: string;
19134
19154
  rich_text: {
19135
19155
  type: "text" | "mention" | "equation";
19136
19156
  text?: {
@@ -19150,6 +19170,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19150
19170
  } | undefined;
19151
19171
  href?: string | null | undefined;
19152
19172
  }[];
19173
+ }, {
19174
+ object: "comment";
19175
+ id: string;
19176
+ parent: {
19177
+ type: "block_id" | "page_id";
19178
+ block_id?: string | undefined;
19179
+ page_id?: string | undefined;
19180
+ } & {
19181
+ [k: string]: unknown;
19182
+ };
19153
19183
  created_time: string;
19154
19184
  last_edited_time: string;
19155
19185
  created_by: {
@@ -19170,16 +19200,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19170
19200
  } | undefined;
19171
19201
  };
19172
19202
  discussion_id: string;
19173
- }, {
19174
- object: "comment";
19175
- id: string;
19176
- parent: {
19177
- type: "block_id" | "page_id";
19178
- block_id?: string | undefined;
19179
- page_id?: string | undefined;
19180
- } & {
19181
- [k: string]: unknown;
19182
- };
19183
19203
  rich_text: {
19184
19204
  type: "text" | "mention" | "equation";
19185
19205
  text?: {
@@ -19199,6 +19219,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19199
19219
  } | undefined;
19200
19220
  href?: string | null | undefined;
19201
19221
  }[];
19222
+ }>>;
19223
+ }, "strip", z.ZodTypeAny, {
19224
+ operation: "create_comment";
19225
+ success: boolean;
19226
+ error: string;
19227
+ comment?: {
19228
+ object: "comment";
19229
+ id: string;
19230
+ parent: {
19231
+ type: "block_id" | "page_id";
19232
+ block_id?: string | undefined;
19233
+ page_id?: string | undefined;
19234
+ } & {
19235
+ [k: string]: unknown;
19236
+ };
19202
19237
  created_time: string;
19203
19238
  last_edited_time: string;
19204
19239
  created_by: {
@@ -19219,21 +19254,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19219
19254
  } | undefined;
19220
19255
  };
19221
19256
  discussion_id: string;
19222
- }>>;
19223
- }, "strip", z.ZodTypeAny, {
19224
- error: string;
19225
- success: boolean;
19226
- operation: "create_comment";
19227
- comment?: {
19228
- object: "comment";
19229
- id: string;
19230
- parent: {
19231
- type: "block_id" | "page_id";
19232
- block_id?: string | undefined;
19233
- page_id?: string | undefined;
19234
- } & {
19235
- [k: string]: unknown;
19236
- };
19237
19257
  rich_text: {
19238
19258
  type: "text" | "mention" | "equation";
19239
19259
  text?: {
@@ -19253,6 +19273,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19253
19273
  } | undefined;
19254
19274
  href?: string | null | undefined;
19255
19275
  }[];
19276
+ } | undefined;
19277
+ }, {
19278
+ operation: "create_comment";
19279
+ success: boolean;
19280
+ error: string;
19281
+ comment?: {
19282
+ object: "comment";
19283
+ id: string;
19284
+ parent: {
19285
+ type: "block_id" | "page_id";
19286
+ block_id?: string | undefined;
19287
+ page_id?: string | undefined;
19288
+ } & {
19289
+ [k: string]: unknown;
19290
+ };
19256
19291
  created_time: string;
19257
19292
  last_edited_time: string;
19258
19293
  created_by: {
@@ -19273,21 +19308,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19273
19308
  } | undefined;
19274
19309
  };
19275
19310
  discussion_id: string;
19276
- } | undefined;
19277
- }, {
19278
- error: string;
19279
- success: boolean;
19280
- operation: "create_comment";
19281
- comment?: {
19282
- object: "comment";
19283
- id: string;
19284
- parent: {
19285
- type: "block_id" | "page_id";
19286
- block_id?: string | undefined;
19287
- page_id?: string | undefined;
19288
- } & {
19289
- [k: string]: unknown;
19290
- };
19291
19311
  rich_text: {
19292
19312
  type: "text" | "mention" | "equation";
19293
19313
  text?: {
@@ -19307,26 +19327,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19307
19327
  } | undefined;
19308
19328
  href?: string | null | undefined;
19309
19329
  }[];
19310
- created_time: string;
19311
- last_edited_time: string;
19312
- created_by: {
19313
- object: "user";
19314
- id: string;
19315
- type?: "person" | "bot" | undefined;
19316
- name?: string | undefined;
19317
- person?: {
19318
- email?: string | undefined;
19319
- } | undefined;
19320
- avatar_url?: string | null | undefined;
19321
- bot?: {
19322
- owner?: {
19323
- type: "user" | "workspace";
19324
- workspace?: boolean | undefined;
19325
- } | undefined;
19326
- workspace_name?: string | undefined;
19327
- } | undefined;
19328
- };
19329
- discussion_id: string;
19330
19330
  } | undefined;
19331
19331
  }>, z.ZodObject<{
19332
19332
  operation: z.ZodLiteral<"retrieve_comment">;
@@ -19515,6 +19515,26 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19515
19515
  } & {
19516
19516
  [k: string]: unknown;
19517
19517
  };
19518
+ created_time: string;
19519
+ last_edited_time: string;
19520
+ created_by: {
19521
+ object: "user";
19522
+ id: string;
19523
+ type?: "person" | "bot" | undefined;
19524
+ name?: string | undefined;
19525
+ person?: {
19526
+ email?: string | undefined;
19527
+ } | undefined;
19528
+ avatar_url?: string | null | undefined;
19529
+ bot?: {
19530
+ owner?: {
19531
+ type: "user" | "workspace";
19532
+ workspace?: boolean | undefined;
19533
+ } | undefined;
19534
+ workspace_name?: string | undefined;
19535
+ } | undefined;
19536
+ };
19537
+ discussion_id: string;
19518
19538
  rich_text: {
19519
19539
  type: "text" | "mention" | "equation";
19520
19540
  text?: {
@@ -19534,6 +19554,16 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19534
19554
  } | undefined;
19535
19555
  href?: string | null | undefined;
19536
19556
  }[];
19557
+ }, {
19558
+ object: "comment";
19559
+ id: string;
19560
+ parent: {
19561
+ type: "block_id" | "page_id";
19562
+ block_id?: string | undefined;
19563
+ page_id?: string | undefined;
19564
+ } & {
19565
+ [k: string]: unknown;
19566
+ };
19537
19567
  created_time: string;
19538
19568
  last_edited_time: string;
19539
19569
  created_by: {
@@ -19554,16 +19584,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19554
19584
  } | undefined;
19555
19585
  };
19556
19586
  discussion_id: string;
19557
- }, {
19558
- object: "comment";
19559
- id: string;
19560
- parent: {
19561
- type: "block_id" | "page_id";
19562
- block_id?: string | undefined;
19563
- page_id?: string | undefined;
19564
- } & {
19565
- [k: string]: unknown;
19566
- };
19567
19587
  rich_text: {
19568
19588
  type: "text" | "mention" | "equation";
19569
19589
  text?: {
@@ -19583,6 +19603,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19583
19603
  } | undefined;
19584
19604
  href?: string | null | undefined;
19585
19605
  }[];
19606
+ }>>;
19607
+ }, "strip", z.ZodTypeAny, {
19608
+ operation: "retrieve_comment";
19609
+ success: boolean;
19610
+ error: string;
19611
+ comment?: {
19612
+ object: "comment";
19613
+ id: string;
19614
+ parent: {
19615
+ type: "block_id" | "page_id";
19616
+ block_id?: string | undefined;
19617
+ page_id?: string | undefined;
19618
+ } & {
19619
+ [k: string]: unknown;
19620
+ };
19586
19621
  created_time: string;
19587
19622
  last_edited_time: string;
19588
19623
  created_by: {
@@ -19603,21 +19638,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19603
19638
  } | undefined;
19604
19639
  };
19605
19640
  discussion_id: string;
19606
- }>>;
19607
- }, "strip", z.ZodTypeAny, {
19608
- error: string;
19609
- success: boolean;
19610
- operation: "retrieve_comment";
19611
- comment?: {
19612
- object: "comment";
19613
- id: string;
19614
- parent: {
19615
- type: "block_id" | "page_id";
19616
- block_id?: string | undefined;
19617
- page_id?: string | undefined;
19618
- } & {
19619
- [k: string]: unknown;
19620
- };
19621
19641
  rich_text: {
19622
19642
  type: "text" | "mention" | "equation";
19623
19643
  text?: {
@@ -19637,6 +19657,21 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19637
19657
  } | undefined;
19638
19658
  href?: string | null | undefined;
19639
19659
  }[];
19660
+ } | undefined;
19661
+ }, {
19662
+ operation: "retrieve_comment";
19663
+ success: boolean;
19664
+ error: string;
19665
+ comment?: {
19666
+ object: "comment";
19667
+ id: string;
19668
+ parent: {
19669
+ type: "block_id" | "page_id";
19670
+ block_id?: string | undefined;
19671
+ page_id?: string | undefined;
19672
+ } & {
19673
+ [k: string]: unknown;
19674
+ };
19640
19675
  created_time: string;
19641
19676
  last_edited_time: string;
19642
19677
  created_by: {
@@ -19657,21 +19692,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19657
19692
  } | undefined;
19658
19693
  };
19659
19694
  discussion_id: string;
19660
- } | undefined;
19661
- }, {
19662
- error: string;
19663
- success: boolean;
19664
- operation: "retrieve_comment";
19665
- comment?: {
19666
- object: "comment";
19667
- id: string;
19668
- parent: {
19669
- type: "block_id" | "page_id";
19670
- block_id?: string | undefined;
19671
- page_id?: string | undefined;
19672
- } & {
19673
- [k: string]: unknown;
19674
- };
19675
19695
  rich_text: {
19676
19696
  type: "text" | "mention" | "equation";
19677
19697
  text?: {
@@ -19691,26 +19711,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19691
19711
  } | undefined;
19692
19712
  href?: string | null | undefined;
19693
19713
  }[];
19694
- created_time: string;
19695
- last_edited_time: string;
19696
- created_by: {
19697
- object: "user";
19698
- id: string;
19699
- type?: "person" | "bot" | undefined;
19700
- name?: string | undefined;
19701
- person?: {
19702
- email?: string | undefined;
19703
- } | undefined;
19704
- avatar_url?: string | null | undefined;
19705
- bot?: {
19706
- owner?: {
19707
- type: "user" | "workspace";
19708
- workspace?: boolean | undefined;
19709
- } | undefined;
19710
- workspace_name?: string | undefined;
19711
- } | undefined;
19712
- };
19713
- discussion_id: string;
19714
19714
  } | undefined;
19715
19715
  }>, z.ZodObject<{
19716
19716
  operation: z.ZodLiteral<"list_users">;
@@ -19790,9 +19790,11 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19790
19790
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19791
19791
  has_more: z.ZodOptional<z.ZodBoolean>;
19792
19792
  }, "strip", z.ZodTypeAny, {
19793
- error: string;
19794
- success: boolean;
19795
19793
  operation: "list_users";
19794
+ success: boolean;
19795
+ error: string;
19796
+ next_cursor?: string | null | undefined;
19797
+ has_more?: boolean | undefined;
19796
19798
  users?: {
19797
19799
  object: "user";
19798
19800
  id: string;
@@ -19810,12 +19812,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19810
19812
  workspace_name?: string | undefined;
19811
19813
  } | undefined;
19812
19814
  }[] | undefined;
19813
- next_cursor?: string | null | undefined;
19814
- has_more?: boolean | undefined;
19815
19815
  }, {
19816
- error: string;
19817
- success: boolean;
19818
19816
  operation: "list_users";
19817
+ success: boolean;
19818
+ error: string;
19819
+ next_cursor?: string | null | undefined;
19820
+ has_more?: boolean | undefined;
19819
19821
  users?: {
19820
19822
  object: "user";
19821
19823
  id: string;
@@ -19833,8 +19835,6 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19833
19835
  workspace_name?: string | undefined;
19834
19836
  } | undefined;
19835
19837
  }[] | undefined;
19836
- next_cursor?: string | null | undefined;
19837
- has_more?: boolean | undefined;
19838
19838
  }>, z.ZodObject<{
19839
19839
  operation: z.ZodLiteral<"search">;
19840
19840
  success: z.ZodBoolean;
@@ -19894,11 +19894,10 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19894
19894
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19895
19895
  has_more: z.ZodOptional<z.ZodBoolean>;
19896
19896
  }, "strip", z.ZodTypeAny, {
19897
- error: string;
19898
- success: boolean;
19899
19897
  operation: "search";
19898
+ success: boolean;
19899
+ error: string;
19900
19900
  next_cursor?: string | null | undefined;
19901
- has_more?: boolean | undefined;
19902
19901
  results?: z.objectOutputType<{
19903
19902
  object: z.ZodEnum<["page", "data_source"]>;
19904
19903
  id: z.ZodString;
@@ -19917,12 +19916,12 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19917
19916
  archived: z.ZodOptional<z.ZodBoolean>;
19918
19917
  in_trash: z.ZodOptional<z.ZodBoolean>;
19919
19918
  }, z.ZodTypeAny, "passthrough">[] | undefined;
19919
+ has_more?: boolean | undefined;
19920
19920
  }, {
19921
- error: string;
19922
- success: boolean;
19923
19921
  operation: "search";
19922
+ success: boolean;
19923
+ error: string;
19924
19924
  next_cursor?: string | null | undefined;
19925
- has_more?: boolean | undefined;
19926
19925
  results?: z.objectInputType<{
19927
19926
  object: z.ZodEnum<["page", "data_source"]>;
19928
19927
  id: z.ZodString;
@@ -19941,6 +19940,7 @@ declare const NotionResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
19941
19940
  archived: z.ZodOptional<z.ZodBoolean>;
19942
19941
  in_trash: z.ZodOptional<z.ZodBoolean>;
19943
19942
  }, z.ZodTypeAny, "passthrough">[] | undefined;
19943
+ has_more?: boolean | undefined;
19944
19944
  }>]>;
19945
19945
  type NotionParams = z.input<typeof NotionParamsSchema>;
19946
19946
  type NotionResult = z.output<typeof NotionResultSchema>;
@@ -20143,6 +20143,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20143
20143
  }>]>>;
20144
20144
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
20145
20145
  }, "strip", z.ZodTypeAny, {
20146
+ operation: "create_page";
20146
20147
  parent: {
20147
20148
  type: "page_id";
20148
20149
  page_id: string;
@@ -20160,7 +20161,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20160
20161
  type: "workspace";
20161
20162
  workspace: true;
20162
20163
  };
20163
- operation: "create_page";
20164
20164
  properties?: Record<string, unknown> | undefined;
20165
20165
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20166
20166
  icon?: {
@@ -20202,6 +20202,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20202
20202
  } | undefined;
20203
20203
  children?: unknown[] | undefined;
20204
20204
  }, {
20205
+ operation: "create_page";
20205
20206
  parent: {
20206
20207
  type: "page_id";
20207
20208
  page_id: string;
@@ -20219,7 +20220,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20219
20220
  type: "workspace";
20220
20221
  workspace: true;
20221
20222
  };
20222
- operation: "create_page";
20223
20223
  properties?: Record<string, unknown> | undefined;
20224
20224
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20225
20225
  icon?: {
@@ -20548,21 +20548,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20548
20548
  page_size: number;
20549
20549
  filter?: Record<string, unknown> | undefined;
20550
20550
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20551
+ sorts?: unknown[] | undefined;
20551
20552
  database_id?: string | undefined;
20552
20553
  data_source_id?: string | undefined;
20553
20554
  filter_properties?: string[] | undefined;
20554
- sorts?: unknown[] | undefined;
20555
20555
  start_cursor?: string | undefined;
20556
20556
  result_type?: "page" | "data_source" | undefined;
20557
20557
  }, {
20558
20558
  operation: "query_data_source";
20559
20559
  filter?: Record<string, unknown> | undefined;
20560
20560
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20561
+ sorts?: unknown[] | undefined;
20561
20562
  page_size?: number | undefined;
20562
20563
  database_id?: string | undefined;
20563
20564
  data_source_id?: string | undefined;
20564
20565
  filter_properties?: string[] | undefined;
20565
- sorts?: unknown[] | undefined;
20566
20566
  start_cursor?: string | undefined;
20567
20567
  result_type?: "page" | "data_source" | undefined;
20568
20568
  }>, z.ZodObject<{
@@ -20735,12 +20735,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20735
20735
  }>]>>;
20736
20736
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
20737
20737
  }, "strip", z.ZodTypeAny, {
20738
+ operation: "create_data_source";
20738
20739
  properties: Record<string, unknown>;
20739
20740
  parent: {
20740
20741
  type: "database_id";
20741
20742
  database_id: string;
20742
20743
  };
20743
- operation: "create_data_source";
20744
20744
  title?: {
20745
20745
  type: "text" | "mention" | "equation";
20746
20746
  text?: {
@@ -20782,12 +20782,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
20782
20782
  emoji: string;
20783
20783
  } | undefined;
20784
20784
  }, {
20785
+ operation: "create_data_source";
20785
20786
  properties: Record<string, unknown>;
20786
20787
  parent: {
20787
20788
  type: "database_id";
20788
20789
  database_id: string;
20789
20790
  };
20790
- operation: "create_data_source";
20791
20791
  title?: {
20792
20792
  type: "text" | "mention" | "equation";
20793
20793
  text?: {
@@ -21563,6 +21563,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21563
21563
  }>]>>;
21564
21564
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
21565
21565
  }, "strip", z.ZodTypeAny, {
21566
+ operation: "create_database";
21566
21567
  parent: {
21567
21568
  type: "workspace";
21568
21569
  workspace: boolean;
@@ -21572,7 +21573,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21572
21573
  page_id: string;
21573
21574
  workspace?: undefined;
21574
21575
  };
21575
- operation: "create_database";
21576
21576
  initial_data_source: {
21577
21577
  properties: Record<string, unknown>;
21578
21578
  };
@@ -21653,12 +21653,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
21653
21653
  };
21654
21654
  } | undefined;
21655
21655
  }, {
21656
+ operation: "create_database";
21656
21657
  parent: {
21657
21658
  type: "workspace" | "page_id";
21658
21659
  workspace?: true | undefined;
21659
21660
  page_id?: string | undefined;
21660
21661
  };
21661
- operation: "create_database";
21662
21662
  initial_data_source: {
21663
21663
  properties: Record<string, unknown>;
21664
21664
  };
@@ -22483,6 +22483,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22483
22483
  }>>;
22484
22484
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
22485
22485
  }, "strip", z.ZodTypeAny, {
22486
+ operation: "create_comment";
22486
22487
  parent: {
22487
22488
  block_id?: string | undefined;
22488
22489
  page_id?: string | undefined;
@@ -22506,7 +22507,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22506
22507
  } | undefined;
22507
22508
  href?: string | null | undefined;
22508
22509
  }[];
22509
- operation: "create_comment";
22510
22510
  credentials?: Partial<Record<CredentialType, string>> | undefined;
22511
22511
  attachments?: {
22512
22512
  file_upload_id: string;
@@ -22519,6 +22519,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22519
22519
  } | undefined;
22520
22520
  } | undefined;
22521
22521
  }, {
22522
+ operation: "create_comment";
22522
22523
  parent: {
22523
22524
  block_id?: string | undefined;
22524
22525
  page_id?: string | undefined;
@@ -22542,7 +22543,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22542
22543
  } | undefined;
22543
22544
  href?: string | null | undefined;
22544
22545
  }[];
22545
- operation: "create_comment";
22546
22546
  credentials?: Partial<Record<CredentialType, string>> | undefined;
22547
22547
  attachments?: {
22548
22548
  file_upload_id: string;
@@ -22960,8 +22960,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
22960
22960
  }, "strip", z.ZodTypeAny, {
22961
22961
  object: "page";
22962
22962
  properties: Record<string, unknown>;
22963
- id: string;
22964
22963
  url: string;
22964
+ id: string;
22965
22965
  parent: {
22966
22966
  type: "page_id";
22967
22967
  page_id: string;
@@ -23053,8 +23053,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23053
23053
  }, {
23054
23054
  object: "page";
23055
23055
  properties: Record<string, unknown>;
23056
- id: string;
23057
23056
  url: string;
23057
+ id: string;
23058
23058
  parent: {
23059
23059
  type: "page_id";
23060
23060
  page_id: string;
@@ -23145,14 +23145,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23145
23145
  public_url?: string | null | undefined;
23146
23146
  }>>;
23147
23147
  }, "strip", z.ZodTypeAny, {
23148
- error: string;
23149
- success: boolean;
23150
23148
  operation: "create_page";
23149
+ success: boolean;
23150
+ error: string;
23151
23151
  page?: {
23152
23152
  object: "page";
23153
23153
  properties: Record<string, unknown>;
23154
- id: string;
23155
23154
  url: string;
23155
+ id: string;
23156
23156
  parent: {
23157
23157
  type: "page_id";
23158
23158
  page_id: string;
@@ -23243,14 +23243,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23243
23243
  public_url?: string | null | undefined;
23244
23244
  } | undefined;
23245
23245
  }, {
23246
- error: string;
23247
- success: boolean;
23248
23246
  operation: "create_page";
23247
+ success: boolean;
23248
+ error: string;
23249
23249
  page?: {
23250
23250
  object: "page";
23251
23251
  properties: Record<string, unknown>;
23252
- id: string;
23253
23252
  url: string;
23253
+ id: string;
23254
23254
  parent: {
23255
23255
  type: "page_id";
23256
23256
  page_id: string;
@@ -23664,8 +23664,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23664
23664
  }, "strip", z.ZodTypeAny, {
23665
23665
  object: "page";
23666
23666
  properties: Record<string, unknown>;
23667
- id: string;
23668
23667
  url: string;
23668
+ id: string;
23669
23669
  parent: {
23670
23670
  type: "page_id";
23671
23671
  page_id: string;
@@ -23757,8 +23757,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23757
23757
  }, {
23758
23758
  object: "page";
23759
23759
  properties: Record<string, unknown>;
23760
- id: string;
23761
23760
  url: string;
23761
+ id: string;
23762
23762
  parent: {
23763
23763
  type: "page_id";
23764
23764
  page_id: string;
@@ -23849,14 +23849,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23849
23849
  public_url?: string | null | undefined;
23850
23850
  }>>;
23851
23851
  }, "strip", z.ZodTypeAny, {
23852
- error: string;
23853
- success: boolean;
23854
23852
  operation: "retrieve_page";
23853
+ success: boolean;
23854
+ error: string;
23855
23855
  page?: {
23856
23856
  object: "page";
23857
23857
  properties: Record<string, unknown>;
23858
- id: string;
23859
23858
  url: string;
23859
+ id: string;
23860
23860
  parent: {
23861
23861
  type: "page_id";
23862
23862
  page_id: string;
@@ -23947,14 +23947,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
23947
23947
  public_url?: string | null | undefined;
23948
23948
  } | undefined;
23949
23949
  }, {
23950
- error: string;
23951
- success: boolean;
23952
23950
  operation: "retrieve_page";
23951
+ success: boolean;
23952
+ error: string;
23953
23953
  page?: {
23954
23954
  object: "page";
23955
23955
  properties: Record<string, unknown>;
23956
- id: string;
23957
23956
  url: string;
23957
+ id: string;
23958
23958
  parent: {
23959
23959
  type: "page_id";
23960
23960
  page_id: string;
@@ -24368,8 +24368,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24368
24368
  }, "strip", z.ZodTypeAny, {
24369
24369
  object: "page";
24370
24370
  properties: Record<string, unknown>;
24371
- id: string;
24372
24371
  url: string;
24372
+ id: string;
24373
24373
  parent: {
24374
24374
  type: "page_id";
24375
24375
  page_id: string;
@@ -24461,8 +24461,8 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24461
24461
  }, {
24462
24462
  object: "page";
24463
24463
  properties: Record<string, unknown>;
24464
- id: string;
24465
24464
  url: string;
24465
+ id: string;
24466
24466
  parent: {
24467
24467
  type: "page_id";
24468
24468
  page_id: string;
@@ -24553,14 +24553,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24553
24553
  public_url?: string | null | undefined;
24554
24554
  }>>;
24555
24555
  }, "strip", z.ZodTypeAny, {
24556
- error: string;
24557
- success: boolean;
24558
24556
  operation: "update_page";
24557
+ success: boolean;
24558
+ error: string;
24559
24559
  page?: {
24560
24560
  object: "page";
24561
24561
  properties: Record<string, unknown>;
24562
- id: string;
24563
24562
  url: string;
24563
+ id: string;
24564
24564
  parent: {
24565
24565
  type: "page_id";
24566
24566
  page_id: string;
@@ -24651,14 +24651,14 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
24651
24651
  public_url?: string | null | undefined;
24652
24652
  } | undefined;
24653
24653
  }, {
24654
- error: string;
24655
- success: boolean;
24656
24654
  operation: "update_page";
24655
+ success: boolean;
24656
+ error: string;
24657
24657
  page?: {
24658
24658
  object: "page";
24659
24659
  properties: Record<string, unknown>;
24660
- id: string;
24661
24660
  url: string;
24661
+ id: string;
24662
24662
  parent: {
24663
24663
  type: "page_id";
24664
24664
  page_id: string;
@@ -25551,9 +25551,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25551
25551
  is_inline?: boolean | undefined;
25552
25552
  }>>;
25553
25553
  }, "strip", z.ZodTypeAny, {
25554
- error: string;
25555
- success: boolean;
25556
25554
  operation: "retrieve_database";
25555
+ success: boolean;
25556
+ error: string;
25557
25557
  database?: {
25558
25558
  object: "database";
25559
25559
  title: {
@@ -25689,9 +25689,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
25689
25689
  is_inline?: boolean | undefined;
25690
25690
  } | undefined;
25691
25691
  }, {
25692
- error: string;
25693
- success: boolean;
25694
25692
  operation: "retrieve_database";
25693
+ success: boolean;
25694
+ error: string;
25695
25695
  database?: {
25696
25696
  object: "database";
25697
25697
  title: {
@@ -27170,9 +27170,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
27170
27170
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27171
27171
  }, z.ZodTypeAny, "passthrough">>>;
27172
27172
  }, "strip", z.ZodTypeAny, {
27173
- error: string;
27174
- success: boolean;
27175
27173
  operation: "retrieve_data_source";
27174
+ success: boolean;
27175
+ error: string;
27176
27176
  data_source?: z.objectOutputType<{
27177
27177
  object: z.ZodLiteral<"data_source">;
27178
27178
  id: z.ZodString;
@@ -27621,9 +27621,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
27621
27621
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27622
27622
  }, z.ZodTypeAny, "passthrough"> | undefined;
27623
27623
  }, {
27624
- error: string;
27625
- success: boolean;
27626
27624
  operation: "retrieve_data_source";
27625
+ success: boolean;
27626
+ error: string;
27627
27627
  data_source?: z.objectInputType<{
27628
27628
  object: z.ZodLiteral<"data_source">;
27629
27629
  id: z.ZodString;
@@ -28130,11 +28130,10 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28130
28130
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
28131
28131
  has_more: z.ZodOptional<z.ZodBoolean>;
28132
28132
  }, "strip", z.ZodTypeAny, {
28133
- error: string;
28134
- success: boolean;
28135
28133
  operation: "query_data_source";
28134
+ success: boolean;
28135
+ error: string;
28136
28136
  next_cursor?: string | null | undefined;
28137
- has_more?: boolean | undefined;
28138
28137
  results?: z.objectOutputType<{
28139
28138
  object: z.ZodEnum<["page", "data_source"]>;
28140
28139
  id: z.ZodString;
@@ -28153,12 +28152,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28153
28152
  archived: z.ZodOptional<z.ZodBoolean>;
28154
28153
  in_trash: z.ZodOptional<z.ZodBoolean>;
28155
28154
  }, z.ZodTypeAny, "passthrough">[] | undefined;
28155
+ has_more?: boolean | undefined;
28156
28156
  }, {
28157
- error: string;
28158
- success: boolean;
28159
28157
  operation: "query_data_source";
28158
+ success: boolean;
28159
+ error: string;
28160
28160
  next_cursor?: string | null | undefined;
28161
- has_more?: boolean | undefined;
28162
28161
  results?: z.objectInputType<{
28163
28162
  object: z.ZodEnum<["page", "data_source"]>;
28164
28163
  id: z.ZodString;
@@ -28177,6 +28176,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
28177
28176
  archived: z.ZodOptional<z.ZodBoolean>;
28178
28177
  in_trash: z.ZodOptional<z.ZodBoolean>;
28179
28178
  }, z.ZodTypeAny, "passthrough">[] | undefined;
28179
+ has_more?: boolean | undefined;
28180
28180
  }>, z.ZodObject<{
28181
28181
  operation: z.ZodLiteral<"create_data_source">;
28182
28182
  success: z.ZodBoolean;
@@ -29521,9 +29521,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29521
29521
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29522
29522
  }, z.ZodTypeAny, "passthrough">>>;
29523
29523
  }, "strip", z.ZodTypeAny, {
29524
- error: string;
29525
- success: boolean;
29526
29524
  operation: "create_data_source";
29525
+ success: boolean;
29526
+ error: string;
29527
29527
  dataSource?: z.objectOutputType<{
29528
29528
  object: z.ZodLiteral<"data_source">;
29529
29529
  id: z.ZodString;
@@ -29972,9 +29972,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
29972
29972
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
29973
29973
  }, z.ZodTypeAny, "passthrough"> | undefined;
29974
29974
  }, {
29975
- error: string;
29976
- success: boolean;
29977
29975
  operation: "create_data_source";
29976
+ success: boolean;
29977
+ error: string;
29978
29978
  dataSource?: z.objectInputType<{
29979
29979
  object: z.ZodLiteral<"data_source">;
29980
29980
  id: z.ZodString;
@@ -31766,9 +31766,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
31766
31766
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31767
31767
  }, z.ZodTypeAny, "passthrough">>>;
31768
31768
  }, "strip", z.ZodTypeAny, {
31769
- error: string;
31770
- success: boolean;
31771
31769
  operation: "update_data_source";
31770
+ success: boolean;
31771
+ error: string;
31772
31772
  dataSource?: z.objectOutputType<{
31773
31773
  object: z.ZodLiteral<"data_source">;
31774
31774
  id: z.ZodString;
@@ -32217,9 +32217,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
32217
32217
  public_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
32218
32218
  }, z.ZodTypeAny, "passthrough"> | undefined;
32219
32219
  }, {
32220
- error: string;
32221
- success: boolean;
32222
32220
  operation: "update_data_source";
32221
+ success: boolean;
32222
+ error: string;
32223
32223
  dataSource?: z.objectInputType<{
32224
32224
  object: z.ZodLiteral<"data_source">;
32225
32225
  id: z.ZodString;
@@ -33470,9 +33470,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33470
33470
  is_inline?: boolean | undefined;
33471
33471
  }>>;
33472
33472
  }, "strip", z.ZodTypeAny, {
33473
- error: string;
33474
- success: boolean;
33475
33473
  operation: "create_database";
33474
+ success: boolean;
33475
+ error: string;
33476
33476
  database?: {
33477
33477
  object: "database";
33478
33478
  title: {
@@ -33608,9 +33608,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
33608
33608
  is_inline?: boolean | undefined;
33609
33609
  } | undefined;
33610
33610
  }, {
33611
- error: string;
33612
- success: boolean;
33613
33611
  operation: "create_database";
33612
+ success: boolean;
33613
+ error: string;
33614
33614
  database?: {
33615
33615
  object: "database";
33616
33616
  title: {
@@ -34548,9 +34548,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34548
34548
  is_inline?: boolean | undefined;
34549
34549
  }>>;
34550
34550
  }, "strip", z.ZodTypeAny, {
34551
- error: string;
34552
- success: boolean;
34553
34551
  operation: "update_database";
34552
+ success: boolean;
34553
+ error: string;
34554
34554
  database?: {
34555
34555
  object: "database";
34556
34556
  title: {
@@ -34686,9 +34686,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
34686
34686
  is_inline?: boolean | undefined;
34687
34687
  } | undefined;
34688
34688
  }, {
34689
- error: string;
34690
- success: boolean;
34691
34689
  operation: "update_database";
34690
+ success: boolean;
34691
+ error: string;
34692
34692
  database?: {
34693
34693
  object: "database";
34694
34694
  title: {
@@ -35431,9 +35431,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35431
35431
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
35432
35432
  has_more: z.ZodOptional<z.ZodBoolean>;
35433
35433
  }, "strip", z.ZodTypeAny, {
35434
- error: string;
35435
- success: boolean;
35436
35434
  operation: "append_block_children";
35435
+ success: boolean;
35436
+ error: string;
35437
+ next_cursor?: string | null | undefined;
35438
+ has_more?: boolean | undefined;
35437
35439
  blocks?: z.objectOutputType<{
35438
35440
  object: z.ZodLiteral<"block">;
35439
35441
  id: z.ZodString;
@@ -35635,12 +35637,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35635
35637
  in_trash: z.ZodOptional<z.ZodBoolean>;
35636
35638
  type: z.ZodString;
35637
35639
  }, z.ZodTypeAny, "passthrough">[] | undefined;
35638
- next_cursor?: string | null | undefined;
35639
- has_more?: boolean | undefined;
35640
35640
  }, {
35641
- error: string;
35642
- success: boolean;
35643
35641
  operation: "append_block_children";
35642
+ success: boolean;
35643
+ error: string;
35644
+ next_cursor?: string | null | undefined;
35645
+ has_more?: boolean | undefined;
35644
35646
  blocks?: z.objectInputType<{
35645
35647
  object: z.ZodLiteral<"block">;
35646
35648
  id: z.ZodString;
@@ -35842,8 +35844,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
35842
35844
  in_trash: z.ZodOptional<z.ZodBoolean>;
35843
35845
  type: z.ZodString;
35844
35846
  }, z.ZodTypeAny, "passthrough">[] | undefined;
35845
- next_cursor?: string | null | undefined;
35846
- has_more?: boolean | undefined;
35847
35847
  }>, z.ZodObject<{
35848
35848
  operation: z.ZodLiteral<"retrieve_block_children">;
35849
35849
  success: z.ZodBoolean;
@@ -36452,9 +36452,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
36452
36452
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
36453
36453
  has_more: z.ZodOptional<z.ZodBoolean>;
36454
36454
  }, "strip", z.ZodTypeAny, {
36455
- error: string;
36456
- success: boolean;
36457
36455
  operation: "retrieve_block_children";
36456
+ success: boolean;
36457
+ error: string;
36458
+ next_cursor?: string | null | undefined;
36459
+ has_more?: boolean | undefined;
36458
36460
  blocks?: z.objectOutputType<{
36459
36461
  object: z.ZodLiteral<"block">;
36460
36462
  id: z.ZodString;
@@ -36656,12 +36658,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
36656
36658
  in_trash: z.ZodOptional<z.ZodBoolean>;
36657
36659
  type: z.ZodString;
36658
36660
  }, z.ZodTypeAny, "passthrough">[] | undefined;
36659
- next_cursor?: string | null | undefined;
36660
- has_more?: boolean | undefined;
36661
36661
  }, {
36662
- error: string;
36663
- success: boolean;
36664
36662
  operation: "retrieve_block_children";
36663
+ success: boolean;
36664
+ error: string;
36665
+ next_cursor?: string | null | undefined;
36666
+ has_more?: boolean | undefined;
36665
36667
  blocks?: z.objectInputType<{
36666
36668
  object: z.ZodLiteral<"block">;
36667
36669
  id: z.ZodString;
@@ -36863,8 +36865,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
36863
36865
  in_trash: z.ZodOptional<z.ZodBoolean>;
36864
36866
  type: z.ZodString;
36865
36867
  }, z.ZodTypeAny, "passthrough">[] | undefined;
36866
- next_cursor?: string | null | undefined;
36867
- has_more?: boolean | undefined;
36868
36868
  }>, z.ZodObject<{
36869
36869
  operation: z.ZodLiteral<"retrieve_block">;
36870
36870
  success: z.ZodBoolean;
@@ -37471,9 +37471,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
37471
37471
  type: z.ZodString;
37472
37472
  }, z.ZodTypeAny, "passthrough">>>;
37473
37473
  }, "strip", z.ZodTypeAny, {
37474
- error: string;
37475
- success: boolean;
37476
37474
  operation: "retrieve_block";
37475
+ success: boolean;
37476
+ error: string;
37477
37477
  block?: z.objectOutputType<{
37478
37478
  object: z.ZodLiteral<"block">;
37479
37479
  id: z.ZodString;
@@ -37676,9 +37676,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
37676
37676
  type: z.ZodString;
37677
37677
  }, z.ZodTypeAny, "passthrough"> | undefined;
37678
37678
  }, {
37679
- error: string;
37680
- success: boolean;
37681
37679
  operation: "retrieve_block";
37680
+ success: boolean;
37681
+ error: string;
37682
37682
  block?: z.objectInputType<{
37683
37683
  object: z.ZodLiteral<"block">;
37684
37684
  id: z.ZodString;
@@ -38486,9 +38486,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
38486
38486
  type: z.ZodString;
38487
38487
  }, z.ZodTypeAny, "passthrough">>>;
38488
38488
  }, "strip", z.ZodTypeAny, {
38489
- error: string;
38490
- success: boolean;
38491
38489
  operation: "update_block";
38490
+ success: boolean;
38491
+ error: string;
38492
38492
  block?: z.objectOutputType<{
38493
38493
  object: z.ZodLiteral<"block">;
38494
38494
  id: z.ZodString;
@@ -38691,9 +38691,9 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
38691
38691
  type: z.ZodString;
38692
38692
  }, z.ZodTypeAny, "passthrough"> | undefined;
38693
38693
  }, {
38694
- error: string;
38695
- success: boolean;
38696
38694
  operation: "update_block";
38695
+ success: boolean;
38696
+ error: string;
38697
38697
  block?: z.objectInputType<{
38698
38698
  object: z.ZodLiteral<"block">;
38699
38699
  id: z.ZodString;
@@ -39082,6 +39082,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39082
39082
  } & {
39083
39083
  [k: string]: unknown;
39084
39084
  };
39085
+ created_time: string;
39086
+ last_edited_time: string;
39087
+ created_by: {
39088
+ object: "user";
39089
+ id: string;
39090
+ type?: "person" | "bot" | undefined;
39091
+ name?: string | undefined;
39092
+ person?: {
39093
+ email?: string | undefined;
39094
+ } | undefined;
39095
+ avatar_url?: string | null | undefined;
39096
+ bot?: {
39097
+ owner?: {
39098
+ type: "user" | "workspace";
39099
+ workspace?: boolean | undefined;
39100
+ } | undefined;
39101
+ workspace_name?: string | undefined;
39102
+ } | undefined;
39103
+ };
39104
+ discussion_id: string;
39085
39105
  rich_text: {
39086
39106
  type: "text" | "mention" | "equation";
39087
39107
  text?: {
@@ -39101,6 +39121,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39101
39121
  } | undefined;
39102
39122
  href?: string | null | undefined;
39103
39123
  }[];
39124
+ }, {
39125
+ object: "comment";
39126
+ id: string;
39127
+ parent: {
39128
+ type: "block_id" | "page_id";
39129
+ block_id?: string | undefined;
39130
+ page_id?: string | undefined;
39131
+ } & {
39132
+ [k: string]: unknown;
39133
+ };
39104
39134
  created_time: string;
39105
39135
  last_edited_time: string;
39106
39136
  created_by: {
@@ -39121,16 +39151,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39121
39151
  } | undefined;
39122
39152
  };
39123
39153
  discussion_id: string;
39124
- }, {
39125
- object: "comment";
39126
- id: string;
39127
- parent: {
39128
- type: "block_id" | "page_id";
39129
- block_id?: string | undefined;
39130
- page_id?: string | undefined;
39131
- } & {
39132
- [k: string]: unknown;
39133
- };
39134
39154
  rich_text: {
39135
39155
  type: "text" | "mention" | "equation";
39136
39156
  text?: {
@@ -39150,6 +39170,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39150
39170
  } | undefined;
39151
39171
  href?: string | null | undefined;
39152
39172
  }[];
39173
+ }>>;
39174
+ }, "strip", z.ZodTypeAny, {
39175
+ operation: "create_comment";
39176
+ success: boolean;
39177
+ error: string;
39178
+ comment?: {
39179
+ object: "comment";
39180
+ id: string;
39181
+ parent: {
39182
+ type: "block_id" | "page_id";
39183
+ block_id?: string | undefined;
39184
+ page_id?: string | undefined;
39185
+ } & {
39186
+ [k: string]: unknown;
39187
+ };
39153
39188
  created_time: string;
39154
39189
  last_edited_time: string;
39155
39190
  created_by: {
@@ -39170,21 +39205,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39170
39205
  } | undefined;
39171
39206
  };
39172
39207
  discussion_id: string;
39173
- }>>;
39174
- }, "strip", z.ZodTypeAny, {
39175
- error: string;
39176
- success: boolean;
39177
- operation: "create_comment";
39178
- comment?: {
39179
- object: "comment";
39180
- id: string;
39181
- parent: {
39182
- type: "block_id" | "page_id";
39183
- block_id?: string | undefined;
39184
- page_id?: string | undefined;
39185
- } & {
39186
- [k: string]: unknown;
39187
- };
39188
39208
  rich_text: {
39189
39209
  type: "text" | "mention" | "equation";
39190
39210
  text?: {
@@ -39204,6 +39224,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39204
39224
  } | undefined;
39205
39225
  href?: string | null | undefined;
39206
39226
  }[];
39227
+ } | undefined;
39228
+ }, {
39229
+ operation: "create_comment";
39230
+ success: boolean;
39231
+ error: string;
39232
+ comment?: {
39233
+ object: "comment";
39234
+ id: string;
39235
+ parent: {
39236
+ type: "block_id" | "page_id";
39237
+ block_id?: string | undefined;
39238
+ page_id?: string | undefined;
39239
+ } & {
39240
+ [k: string]: unknown;
39241
+ };
39207
39242
  created_time: string;
39208
39243
  last_edited_time: string;
39209
39244
  created_by: {
@@ -39224,21 +39259,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39224
39259
  } | undefined;
39225
39260
  };
39226
39261
  discussion_id: string;
39227
- } | undefined;
39228
- }, {
39229
- error: string;
39230
- success: boolean;
39231
- operation: "create_comment";
39232
- comment?: {
39233
- object: "comment";
39234
- id: string;
39235
- parent: {
39236
- type: "block_id" | "page_id";
39237
- block_id?: string | undefined;
39238
- page_id?: string | undefined;
39239
- } & {
39240
- [k: string]: unknown;
39241
- };
39242
39262
  rich_text: {
39243
39263
  type: "text" | "mention" | "equation";
39244
39264
  text?: {
@@ -39258,26 +39278,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39258
39278
  } | undefined;
39259
39279
  href?: string | null | undefined;
39260
39280
  }[];
39261
- created_time: string;
39262
- last_edited_time: string;
39263
- created_by: {
39264
- object: "user";
39265
- id: string;
39266
- type?: "person" | "bot" | undefined;
39267
- name?: string | undefined;
39268
- person?: {
39269
- email?: string | undefined;
39270
- } | undefined;
39271
- avatar_url?: string | null | undefined;
39272
- bot?: {
39273
- owner?: {
39274
- type: "user" | "workspace";
39275
- workspace?: boolean | undefined;
39276
- } | undefined;
39277
- workspace_name?: string | undefined;
39278
- } | undefined;
39279
- };
39280
- discussion_id: string;
39281
39281
  } | undefined;
39282
39282
  }>, z.ZodObject<{
39283
39283
  operation: z.ZodLiteral<"retrieve_comment">;
@@ -39466,6 +39466,26 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39466
39466
  } & {
39467
39467
  [k: string]: unknown;
39468
39468
  };
39469
+ created_time: string;
39470
+ last_edited_time: string;
39471
+ created_by: {
39472
+ object: "user";
39473
+ id: string;
39474
+ type?: "person" | "bot" | undefined;
39475
+ name?: string | undefined;
39476
+ person?: {
39477
+ email?: string | undefined;
39478
+ } | undefined;
39479
+ avatar_url?: string | null | undefined;
39480
+ bot?: {
39481
+ owner?: {
39482
+ type: "user" | "workspace";
39483
+ workspace?: boolean | undefined;
39484
+ } | undefined;
39485
+ workspace_name?: string | undefined;
39486
+ } | undefined;
39487
+ };
39488
+ discussion_id: string;
39469
39489
  rich_text: {
39470
39490
  type: "text" | "mention" | "equation";
39471
39491
  text?: {
@@ -39485,6 +39505,16 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39485
39505
  } | undefined;
39486
39506
  href?: string | null | undefined;
39487
39507
  }[];
39508
+ }, {
39509
+ object: "comment";
39510
+ id: string;
39511
+ parent: {
39512
+ type: "block_id" | "page_id";
39513
+ block_id?: string | undefined;
39514
+ page_id?: string | undefined;
39515
+ } & {
39516
+ [k: string]: unknown;
39517
+ };
39488
39518
  created_time: string;
39489
39519
  last_edited_time: string;
39490
39520
  created_by: {
@@ -39505,16 +39535,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39505
39535
  } | undefined;
39506
39536
  };
39507
39537
  discussion_id: string;
39508
- }, {
39509
- object: "comment";
39510
- id: string;
39511
- parent: {
39512
- type: "block_id" | "page_id";
39513
- block_id?: string | undefined;
39514
- page_id?: string | undefined;
39515
- } & {
39516
- [k: string]: unknown;
39517
- };
39518
39538
  rich_text: {
39519
39539
  type: "text" | "mention" | "equation";
39520
39540
  text?: {
@@ -39534,6 +39554,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39534
39554
  } | undefined;
39535
39555
  href?: string | null | undefined;
39536
39556
  }[];
39557
+ }>>;
39558
+ }, "strip", z.ZodTypeAny, {
39559
+ operation: "retrieve_comment";
39560
+ success: boolean;
39561
+ error: string;
39562
+ comment?: {
39563
+ object: "comment";
39564
+ id: string;
39565
+ parent: {
39566
+ type: "block_id" | "page_id";
39567
+ block_id?: string | undefined;
39568
+ page_id?: string | undefined;
39569
+ } & {
39570
+ [k: string]: unknown;
39571
+ };
39537
39572
  created_time: string;
39538
39573
  last_edited_time: string;
39539
39574
  created_by: {
@@ -39554,21 +39589,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39554
39589
  } | undefined;
39555
39590
  };
39556
39591
  discussion_id: string;
39557
- }>>;
39558
- }, "strip", z.ZodTypeAny, {
39559
- error: string;
39560
- success: boolean;
39561
- operation: "retrieve_comment";
39562
- comment?: {
39563
- object: "comment";
39564
- id: string;
39565
- parent: {
39566
- type: "block_id" | "page_id";
39567
- block_id?: string | undefined;
39568
- page_id?: string | undefined;
39569
- } & {
39570
- [k: string]: unknown;
39571
- };
39572
39592
  rich_text: {
39573
39593
  type: "text" | "mention" | "equation";
39574
39594
  text?: {
@@ -39588,6 +39608,21 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39588
39608
  } | undefined;
39589
39609
  href?: string | null | undefined;
39590
39610
  }[];
39611
+ } | undefined;
39612
+ }, {
39613
+ operation: "retrieve_comment";
39614
+ success: boolean;
39615
+ error: string;
39616
+ comment?: {
39617
+ object: "comment";
39618
+ id: string;
39619
+ parent: {
39620
+ type: "block_id" | "page_id";
39621
+ block_id?: string | undefined;
39622
+ page_id?: string | undefined;
39623
+ } & {
39624
+ [k: string]: unknown;
39625
+ };
39591
39626
  created_time: string;
39592
39627
  last_edited_time: string;
39593
39628
  created_by: {
@@ -39608,21 +39643,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39608
39643
  } | undefined;
39609
39644
  };
39610
39645
  discussion_id: string;
39611
- } | undefined;
39612
- }, {
39613
- error: string;
39614
- success: boolean;
39615
- operation: "retrieve_comment";
39616
- comment?: {
39617
- object: "comment";
39618
- id: string;
39619
- parent: {
39620
- type: "block_id" | "page_id";
39621
- block_id?: string | undefined;
39622
- page_id?: string | undefined;
39623
- } & {
39624
- [k: string]: unknown;
39625
- };
39626
39646
  rich_text: {
39627
39647
  type: "text" | "mention" | "equation";
39628
39648
  text?: {
@@ -39642,26 +39662,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39642
39662
  } | undefined;
39643
39663
  href?: string | null | undefined;
39644
39664
  }[];
39645
- created_time: string;
39646
- last_edited_time: string;
39647
- created_by: {
39648
- object: "user";
39649
- id: string;
39650
- type?: "person" | "bot" | undefined;
39651
- name?: string | undefined;
39652
- person?: {
39653
- email?: string | undefined;
39654
- } | undefined;
39655
- avatar_url?: string | null | undefined;
39656
- bot?: {
39657
- owner?: {
39658
- type: "user" | "workspace";
39659
- workspace?: boolean | undefined;
39660
- } | undefined;
39661
- workspace_name?: string | undefined;
39662
- } | undefined;
39663
- };
39664
- discussion_id: string;
39665
39665
  } | undefined;
39666
39666
  }>, z.ZodObject<{
39667
39667
  operation: z.ZodLiteral<"list_users">;
@@ -39741,9 +39741,11 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39741
39741
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39742
39742
  has_more: z.ZodOptional<z.ZodBoolean>;
39743
39743
  }, "strip", z.ZodTypeAny, {
39744
- error: string;
39745
- success: boolean;
39746
39744
  operation: "list_users";
39745
+ success: boolean;
39746
+ error: string;
39747
+ next_cursor?: string | null | undefined;
39748
+ has_more?: boolean | undefined;
39747
39749
  users?: {
39748
39750
  object: "user";
39749
39751
  id: string;
@@ -39761,12 +39763,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39761
39763
  workspace_name?: string | undefined;
39762
39764
  } | undefined;
39763
39765
  }[] | undefined;
39764
- next_cursor?: string | null | undefined;
39765
- has_more?: boolean | undefined;
39766
39766
  }, {
39767
- error: string;
39768
- success: boolean;
39769
39767
  operation: "list_users";
39768
+ success: boolean;
39769
+ error: string;
39770
+ next_cursor?: string | null | undefined;
39771
+ has_more?: boolean | undefined;
39770
39772
  users?: {
39771
39773
  object: "user";
39772
39774
  id: string;
@@ -39784,8 +39786,6 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39784
39786
  workspace_name?: string | undefined;
39785
39787
  } | undefined;
39786
39788
  }[] | undefined;
39787
- next_cursor?: string | null | undefined;
39788
- has_more?: boolean | undefined;
39789
39789
  }>, z.ZodObject<{
39790
39790
  operation: z.ZodLiteral<"search">;
39791
39791
  success: z.ZodBoolean;
@@ -39845,11 +39845,10 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39845
39845
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
39846
39846
  has_more: z.ZodOptional<z.ZodBoolean>;
39847
39847
  }, "strip", z.ZodTypeAny, {
39848
- error: string;
39849
- success: boolean;
39850
39848
  operation: "search";
39849
+ success: boolean;
39850
+ error: string;
39851
39851
  next_cursor?: string | null | undefined;
39852
- has_more?: boolean | undefined;
39853
39852
  results?: z.objectOutputType<{
39854
39853
  object: z.ZodEnum<["page", "data_source"]>;
39855
39854
  id: z.ZodString;
@@ -39868,12 +39867,12 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39868
39867
  archived: z.ZodOptional<z.ZodBoolean>;
39869
39868
  in_trash: z.ZodOptional<z.ZodBoolean>;
39870
39869
  }, z.ZodTypeAny, "passthrough">[] | undefined;
39870
+ has_more?: boolean | undefined;
39871
39871
  }, {
39872
- error: string;
39873
- success: boolean;
39874
39872
  operation: "search";
39873
+ success: boolean;
39874
+ error: string;
39875
39875
  next_cursor?: string | null | undefined;
39876
- has_more?: boolean | undefined;
39877
39876
  results?: z.objectInputType<{
39878
39877
  object: z.ZodEnum<["page", "data_source"]>;
39879
39878
  id: z.ZodString;
@@ -39892,6 +39891,7 @@ export declare class NotionBubble<T extends NotionParams = NotionParams> extends
39892
39891
  archived: z.ZodOptional<z.ZodBoolean>;
39893
39892
  in_trash: z.ZodOptional<z.ZodBoolean>;
39894
39893
  }, z.ZodTypeAny, "passthrough">[] | undefined;
39894
+ has_more?: boolean | undefined;
39895
39895
  }>]>;
39896
39896
  static readonly shortDescription = "Notion API integration for pages, databases, and blocks";
39897
39897
  static readonly longDescription = "\n Comprehensive Notion API integration for managing pages, databases, blocks, and comments.\n \n Features:\n - Create, retrieve, and update pages\n - Manage databases and data sources\n - Query data sources with filters and sorting\n - Search pages and data sources by title\n - Append and retrieve block children\n - Create and retrieve comments\n - List workspace users\n \n Use cases:\n - Content management and automation\n - Database operations and queries\n - Page creation and updates\n - Search and discovery of pages and data sources\n - Block manipulation\n - Comment management\n - Workspace user management\n \n Security Features:\n - OAuth token authentication\n - Parameter validation\n - Comprehensive error handling\n - Respects Notion API versioning (2025-09-03)\n ";